From owner-freebsd-java@FreeBSD.ORG Mon Jun 13 08:50:35 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F72316A41C; Mon, 13 Jun 2005 08:50:35 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CCE643D1D; Mon, 13 Jun 2005 08:50:35 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id EA398F1C4C; Mon, 13 Jun 2005 01:50:34 -0700 (PDT) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03842-03; Mon, 13 Jun 2005 01:50:33 -0700 (PDT) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 726FBF184C; Mon, 13 Jun 2005 01:50:33 -0700 (PDT) From: Sean McNeil To: dR In-Reply-To: <20050613045607.97462.qmail@web52301.mail.yahoo.com> References: <20050613045607.97462.qmail@web52301.mail.yahoo.com> Content-Type: text/plain Organization: Sean McNeil Consulting, Inc Date: Mon, 13 Jun 2005 01:50:33 -0700 Message-Id: <1118652633.4362.0.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com Cc: freebsd-amd64@freebsd.org, freebsd-java@freebsd.org Subject: Re: jdk15 amd64 error: "recompile with -fPIC" ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sean@mcneil.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2005 08:50:35 -0000 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