[AWS] error "aws-net-std__gnat.ali is obsolete and read-only"

Pascal Obry pascal at obry.net
Thu Oct 2 19:13:16 CEST 2014


Le jeudi 02 octobre 2014 à 23:03 +1000, Babak a écrit : 
> Can anyone help me with the error below?
> 
> 
> running on Ubuntu 14.04
> 
> 
> host> gnatmake -d -P/var/www/hello/hello.gpr main.adb
> gnatbind -shared -I- -x /var/www/hello/build/main.ali
> error: "aws-net-std__gnat.adb" must be compiled
> error: ("/usr/lib/ada/adalib/aws/aws-net-std__gnat.ali" is obsolete
> and read-only)
> error: "g-socket.adb" must be compiled
> error: ("/usr/lib/gcc/x86_64-linux-gnu/4.6/adalib/g-socket.ali" is
> obsolete and read-only)
> error: "g-soliop.ads" must be compiled
> error: ("/usr/lib/gcc/x86_64-linux-gnu/4.6/adalib/g-soliop.ali" is
> obsolete and read-only)
> error: "g-socthi.adb" must be compiled
> error: ("/usr/lib/gcc/x86_64-linux-gnu/4.6/adalib/g-socthi.ali" is
> obsolete and read-only)
> error: "g-sothco.adb" must be compiled
> error: ("/usr/lib/gcc/x86_64-linux-gnu/4.6/adalib/g-sothco.ali" is
> obsolete and read-only)
> error: "g-soccon.ads" must be compiled
> error: ("/usr/lib/gcc/x86_64-linux-gnu/4.6/adalib/g-soccon.ali" is
> obsolete and read-only)
> gnatmake: *** bind failed.

To me this looks like you've compiled AWS with a different compiler that
you are using to compile main.adb.

This is not correct in Ada and the binder displays this set of error. 
-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://v2p.fr.eu.org
  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B



More information about the AWS mailing list