[kaffe] hp-ux fails to link

Riccardo zuse at libero.it
Mon Feb 28 07:11:26 PST 2005


Hey,

I gave grid, the old PA-RISC box running hp-ux 10.20 with gcc 2.95 a 
spin.

It fails with the following error (a clean build, freshly configured in 
a new directory):
gcc -shared -fPIC -Wl,+h -Wl,libreplace-1.1.x-cvs.sl -Wl,+b -Wl,/usr/
local/kaffe/jre/lib/parisc -o .libs/libreplace-1.1.x-cvs.sl  .libs/
dummyin6.o .libs/getaddrinfo.o .libs/getifaddrs.o .libs/inet_pton.o .
libs/inet_ntop.o .libs/memset.o .libs/semaphores.o  -L/usr/local/lib -lc 
/usr/ccs/bin/ld: DP relative code in file .libs/getaddrinfo.o - shared 
library must be position
    independent.  Use +z or +Z to recompile.
collect2: ld returned 1 exit status
gmake[1]: *** [libreplace.la] Error 1
gmake[1]: Leaving directory `/disk2/build/kaffe-cvs/intrp-jthreads/
replace'
gmake: *** [all-recursive] Error 1

cheers,
   Riccardo





More information about the kaffe mailing list