[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Error building libgtkada2



Am Mittwoch, den 27.04.2005, 11:07 -0400 schrieb Lennart Sorensen:
....
> [snip]
> > /usr/bin/ld: /usr/lib/gcc-lib/x86_64-linux/3.3.5/adalib/libgnat.a(a-chahan.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
> 
> This message too looks a bit odd.  Are you building a dynamic or
> staticly linked program?  It appears to be trying to include the static
> libgnat.a (not that it appears to exist if the line below is right).
....

ehm... I don't know?! 

...
> > /usr/lib/gcc-lib/x86_64-linux/3.3.5/adalib/libgnat.a: could not read
> 
> Which gnat package did you install?
...

||/ Name           Version        Description
+++-==============-==============-============================================
ii  gnat-3.3       3.3.5-12       The GNU Ada compiler

it is possible to switch betwen building a static and dynamic linkd
program?

thanks Alex



Reply to: