[AWS] Simple Build Issue

Joseph Montanez jmontanez at gorilla3d.com
Wed Aug 10 12:37:15 CEST 2011


So I've install 2011 into /usr/gnat however running into it not
finding libc.so ...

joseph at joseph-laptop:~/aws$ make setup
i686-pc-linux-gnu-gcc check_config.o -o check_config
/usr/bin/../libexec/gcc/i686-pc-linux-gnu/4.5.3/ld: cannot find -lc
collect2: ld returned 1 exit status
gprbuild: link of check_config.c failed
Setup OS specific definitions
make[1]: ../.build/native/release/../setup/check_config: Command not found
make[1]: *** [../.build/native/release/../setup/src/aws-os_lib.ads] Error 127
make: *** [config_setup] Error 2

My libc.so is located:
/usr/lib/i386-linux-gnu/libc.so

So i tried just to link the library:
sudo ln -s /usr/lib/i386-linux-gnu/libc.a /usr/gnat/lib/libc.a

And got:
joseph at joseph-laptop:~/aws$ make setupi686-pc-linux-gnu-gcc
check_config.o -o check_config
/usr/bin/../libexec/gcc/i686-pc-linux-gnu/4.5.3/ld: dynamic
STT_GNU_IFUNC symbol `strcmp' with pointer equality in
`/usr/gnat/lib/libc.a(strcmp.o)' can not be used when making an
executable; recompile with -fPIE and relink with -pie
collect2: ld returned 1 exit status
gprbuild: link of check_config.c failed
Setup OS specific definitions
make[1]: ../.build/native/release/../setup/check_config: Command not found
make[1]: *** [../.build/native/release/../setup/src/aws-os_lib.ads] Error 127
make: *** [config_setup] Error 2

I also tried the work around in this blog:
http://blog.adalabs.com/post/2011/07/26/AWS-GPL-2.10.0-(2011)-on-Ubuntu-11.04
. Any ideas?




On Tue, Aug 9, 2011 at 10:54 AM, Joseph Montanez
<jmontanez at gorilla3d.com> wrote:
>> Get the newest GNAT-GPL-2011 from the
>
> Sorry I had gone off the README. I'll compile the newest version
> tonight. Thanks so much!
>
>
> On Tue, Aug 9, 2011 at 3:15 AM, Ludovic Brenta
> <ludovic at ludovic-brenta.org> wrote:
>>
>> Pascal Obry wrote:
>>> Le 09/08/2011 09:29, Dmitriy Anisimkov a écrit :
>>>> Get the newest GNAT-GPL-2011 from the
>>>> http://libre.adacore.com/libre/download/
>>>
>>> Yep, I think AWS still compiles with GNAT GPL-2010 but not with older
>>> versions.
>>
>> Or, if that's too much trouble, try aptitude install libaws2.7-dev.
>>
>> --
>> Ludovic Brenta.
>>
>> _______________________________________________
>> AWS mailing list
>> AWS at lists.adacore.com
>> /no-more-mailman.html
>>
>
>
>
> --
> Joseph Montanez
> Web Developer
> Gorilla3D
> Design, Develop, Deploy
>



-- 
Joseph Montanez
Web Developer
Gorilla3D
Design, Develop, Deploy


More information about the AWS mailing list