On 8/14/06, Arnie Stender <[EMAIL PROTECTED]> wrote:
I'm trying to get GAIM running on my pure 64 AMD64 Athlon [BC]LFS
system and have run into te same errors I was getting while trying to
compile Thunderbird. Namely the following:
/bin/sh ../../libtool --silent --tag=CC --mode=link gcc -fPIC -Wall -g3
-o perl.la -rpath /usr/lib/gaim -module -avoid-version -lglib-2.0
- -Wl,-E -L/usr/local/lib
/usr/lib/perl5/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a
- -L/usr/lib/perl5/5.8.8/x86_64-linux/CORE -lperl -lnsl -ldl -lm -lcrypt
- -lutil -lc perl.lo perl-common.lo perl-handlers.lo -Wl,-E
- -L/usr/local/lib
/usr/lib/perl5/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a
- -L/usr/lib/perl5/5.8.8/x86_64-linux/CORE -lperl -lnsl -ldl -lm -lcrypt
- -lutil -lc -lnsl
*** Warning: Linking the shared library perl.la against the
*** static library
/usr/lib/perl5/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a is not
portable!
/usr/bin/ld:
/usr/lib/perl5/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o):
relocation R_X86_64_32 against `a local symbol' can not be used when
making a shared object; recompile with -fPIC
/usr/lib/perl5/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a: could
not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [perl.la] Error 1
make[3]: Leaving directory `/usr/src/secondary/gaim-1.5.0/plugins/perl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/secondary/gaim-1.5.0/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/secondary/gaim-1.5.0'
make: *** [all] Error 2
Unlike Thunderbird the -fPIC flag was not included by default but I
found the configure option where I could include it and did. The results
of that try are what is above.
What happens when you don't force in the -fPIC?
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page