Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2007 03:15:10 +0100 (CET)
From:      "Arne H. Juul" <arnej@pvv.ntnu.no>
To:        Free BSD <freebsd@vfemail.net>
Cc:        freebsd-java@FreeBSD.org
Subject:   Re: JDK 1.5 does not build on AMD-64
Message-ID:  <Pine.LNX.4.62.0702250313120.32132@decibel.pvv.ntnu.no>
In-Reply-To: <45E0DAB0.6010809@vfemail.net>
References:  <45E0DAB0.6010809@vfemail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 25 Feb 2007, Free BSD wrote:
> /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

where does /usr/X11R6/lib/libXm.a come from? it needs to be compiled
from /usr/ports/x11-toolkits/open-motif according to the jdk15/Makefile
at least, and it should contain relocatable objects, like this:

$ ar xv /usr/X11R6/lib/libXm.a CascadeB.o
x - CascadeB.o
$ file CascadeB.o 
CascadeB.o: ELF 64-bit LSB relocatable, AMD x86-64, version 1 (FreeBSD),
not stripped

   -  Arne H. J.



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