Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2005 01:50:33 -0700
From:      Sean McNeil <sean@mcneil.com>
To:        dR <dystopianrebel@yahoo.com>
Cc:        freebsd-amd64@freebsd.org, freebsd-java@freebsd.org
Subject:   Re: jdk15 amd64 error: "recompile with -fPIC" ?
Message-ID:  <1118652633.4362.0.camel@server.mcneil.com>
In-Reply-To: <20050613045607.97462.qmail@web52301.mail.yahoo.com>
References:  <20050613045607.97462.qmail@web52301.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1118652633.4362.0.camel>