From owner-freebsd-amd64@FreeBSD.ORG Thu Mar 25 04:55:53 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B21A16A4CE for ; Thu, 25 Mar 2004 04:55:53 -0800 (PST) Received: from pandora.cs.kun.nl (pandora.cs.kun.nl [131.174.33.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D14743D55 for ; Thu, 25 Mar 2004 04:55:52 -0800 (PST) (envelope-from adridg@cs.kun.nl) Received: from odin.cs.kun.nl [131.174.33.33] (helo=localhost) by pandora.cs.kun.nl (8.12.10/3.67) with ESMTP id i2PCtpSi000019; Thu, 25 Mar 2004 13:55:51 +0100 (MET) From: Adriaan de Groot To: freebsd-amd64@freebsd.org Date: Thu, 25 Mar 2004 13:55:46 +0100 User-Agent: KMail/1.6.51 References: <193.170.217.106.1080218575.wm@webmail.inode.at> In-Reply-To: <193.170.217.106.1080218575.wm@webmail.inode.at> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200403251355.51133.adridg@cs.kun.nl> Subject: Re: amd64 and mod_php4 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2004 12:55:53 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 25 March 2004 13:42, markus@schanovsky.at wrote: > If I include to make with mssql-support (and I need this support, this is > the reason for this machine!) compiling stops with the following message: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D > /usr/bin/ld: /usr/local/lib/libsybdb.a(dblib.o): relocation R_X86_64_32 > can not be used when making a shared object; recompile with -fPIC > /usr/local/lib/libsybdb.a(dblib.o): could not read symbols: Bad value > *** Error code 1 > > Has anyone a hint or a solution? The compiler has already given you a suggestion: recompile with -fPIC. Not = the=20 thing you're working on, but whatever provides /usr/local/lib/libsybdb.a. H= ow=20 you achieve that may take some jiggery-pokery (CFLAGS=3D-fPIC before config= ure,=20 perhaps).=20 =2D --=20 pub 1024D/FEA2A3FE 2002-06-18 Adriaan de Groot Would you like a freem? =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAYtbXdqzuAf6io/4RAghyAKCaTxIaEK4zi+O477WneU6jtgM0AQCePuXA DANFLPi48pzUuer8IFAdGEE=3D =3DmqUv =2D----END PGP SIGNATURE-----