[kaffe] Linux x86_64 Build error

Michael Franz mvfranz at gmail.com
Thu Feb 24 19:15:37 PST 2005


The latest head has these errors:
gcc -shared  .libs/dummyin6.o .libs/getaddrinfo.o .libs/getifaddrs.o
.libs/inet_pton.o .libs/inet_ntop.o .libs/memset.o .libs/semaphores.o 
 -pthread -Wl,-soname -Wl,libreplace-1.1.x-cvs.so -o
.libs/libreplace-1.1.x-cvs.so
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld:
.libs/getaddrinfo.o: relocation R_X86_64_32 against `a local symbol'
can not be used when making a shared object; recompile with -fPIC
.libs/getaddrinfo.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libreplace.la] Error 1


This was after a clean checkout.  I had done an update and a
successful build.  I tried to reconfigure and got an error.  At first
I thought it was an issue with make distclean not able to clean up
after configuring for cross compiling.

Michael




More information about the kaffe mailing list