From owner-freebsd-ports@FreeBSD.ORG Mon May 16 13:22:18 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6409516A4CE; Mon, 16 May 2005 13:22:18 +0000 (GMT) Received: from multiplay.co.uk (www1.multiplay.co.uk [212.42.16.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 947ED43DE7; Mon, 16 May 2005 13:22:17 +0000 (GMT) (envelope-from killing@multiplay.co.uk) Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [212.42.16.7]) (MDaemon.PRO.v8.0.2.R) with ESMTP id md50001413876.msg; Mon, 16 May 2005 14:17:45 +0100 Message-ID: <03e401c55a1a$34d3c330$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: , Date: Mon, 16 May 2005 14:21:41 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Spam-Processed: multiplay.co.uk, Mon, 16 May 2005 14:17:45 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-MDAV-Processed: multiplay.co.uk, Mon, 16 May 2005 14:17:47 +0100 Subject: amd64 compile of rrdtool ( relocation R_X86_64_32 error ) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2005 13:22:18 -0000 When compiling rrdtool on amd64 I get the follow. Having read around about the message I must say I'm none the wiser. I've tried adding -fPIC to the rrd_private compile but that doesnt seem to have any effect. What am I missing? [log] /bin/sh /usr/local/bin/libtool15 --mode=link cc -O -pipe -I/usr/local/include -L/usr/local/lib -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -o librrd_private.la -static -fPIC gdpng.lo getopt.lo getopt1.lo gifsize.lo parsetime.lo pngsize.lo rrd_create.lo rrd_diff.lo rrd_dump.lo rrd_info.lo rrd_error.lo rrd_fetch.lo rrd_format.lo rrd_graph.lo rrd_last.lo rrd_open.lo rrd_resize.lo rrd_restore.lo rrd_tune.lo rrd_update.lo rrd_xport.lo ../cgilib-0.4/librrd_cgi.la ../gd1.3/librrd_gd.la ../libpng-1.0.9/librrd_png.la -lz -lm [/log] [error] rm -f blib/arch/auto/RRDs/RRDs.so LD_RUN_PATH="" cc -shared -L/usr/local/lib RRDs.o -L../src/.libs/ -lrrd_private -lz -lm -o blib/arch/auto/RRDs/RRDs.so /usr/bin/ld: ../src/.libs//librrd_private.a(getopt.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC ../src/.libs//librrd_private.a: could not read symbols: Bad value [/error] ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to postmaster@multiplay.co.uk.