jdk15 amd64 error: "recompile with -fPIC" ?

Sean McNeil sean at mcneil.com
Mon Jun 13 08:50:35 GMT 2005


On Sun, 2005-06-12 at 21:56 -0700, dR wrote:
> If my life depended on getting amd64-native Java...  I
> would not be writing to you now. ;o)
> 
> My computer:
> amd64 + FreeBSD 5.4 Release + working Linux Java
> 
> Compiling the jdk15 port, I get by the "permissions
> for javac" error using the script hack mentioned in
> the list archive. With that done, I issue "make
> build". Then I see this:
> 
> /usr/bin/ld: /usr/X11R6/lib/libXm.a(CascadeB.o):
> relocation R_X86_64_32 can not be used when making a
> shared object; recompile with -fPIC
> /usr/X11R6/lib/libXm.a: could not read symbols: Bad
> value
> gmake[4]: ***
> [/disk2/usr2/freebsd_ports/ports/java/jdk15/work/control/build/bsd-amd64/lib/amd64/motif21/libmawt.so]
> Error 1
> 
> I would truly appreciate some help with this. 

You are missing some shared libraries most likely.  Check

server# ls /usr/X11R6/lib/libXm*
/usr/X11R6/lib/libXm.a          /usr/X11R6/lib/libXmu.so.6
/usr/X11R6/lib/libXm.so         /usr/X11R6/lib/libXmuu.a
/usr/X11R6/lib/libXm.so.3       /usr/X11R6/lib/libXmuu.so
/usr/X11R6/lib/libXmu.a         /usr/X11R6/lib/libXmuu.so.1
/usr/X11R6/lib/libXmu.so




More information about the freebsd-amd64 mailing list