From owner-freebsd-current@FreeBSD.ORG Thu Jan 12 07:58:03 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51CB516A420 for ; Thu, 12 Jan 2006 07:58:03 +0000 (GMT) (envelope-from Hartmut.Brandt@dlr.de) Received: from smtp-3.dlr.de (smtp-3.dlr.de [195.37.61.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id B241043D45 for ; Thu, 12 Jan 2006 07:58:01 +0000 (GMT) (envelope-from Hartmut.Brandt@dlr.de) Received: from beagle.kn.op.dlr.de ([129.247.173.6]) by smtp-3.dlr.de over TLS secured channel with Microsoft SMTPSVC(6.0.3790.211); Thu, 12 Jan 2006 08:57:59 +0100 Date: Thu, 12 Jan 2006 08:58:01 +0100 (CET) From: Harti Brandt X-X-Sender: brandt_h@beagle.kn.op.dlr.de To: Peter Carah In-Reply-To: <43C60A57.3040405@altadena.net> Message-ID: <20060112085736.L34596@beagle.kn.op.dlr.de> References: <43C60A57.3040405@altadena.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 12 Jan 2006 07:57:59.0234 (UTC) FILETIME=[E79C5220:01C6174D] Cc: current@freebsd.org Subject: Re: Problem building new bsnmpd import on amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Harti Brandt List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2006 07:58:03 -0000 This should been fixed now (by building a shareable libdisk). harti On Wed, 11 Jan 2006, Peter Carah wrote: PC>I'm seeing a problem with the new import of bsnmpd; it refuses to build on my PC>amd64 (with native fbsd). substituting -fPIC resulted in no change; the hint PC>that ld gave is insufficient (or unrelated?). PC> PC>-- Pete PC>--------------------------------------------------------------------------------- PC>........ PC>cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -DNDEBUG -I/usr/src/usr.sbin/bsnmp PC>d/modules/snmp_hostres/../../../lpr/common_source -I. -c /usr/src/usr.sbin/bsnmp PC>d/modules/snmp_hostres/../../../lpr/common_source/printcap.c -o printcap.So PC>cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -DNDEBUG -I/usr/src/usr.sbin/bsnm PC>error PC>-Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-pro PC>totypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wsha PC>dow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs PC>-Wredundant-decls -c hostres_tree.c -o hostres_tree.So PC>building shared library snmp_hostres.so.4 PC>/usr/obj/usr/src/tmp/usr/bin/ld: /usr/obj/usr/src/tmp/usr/lib/libdisk.a(disk.o): PC> relocation R_X86_64_32S can not be used when making a shared object; recompile PC>with -fPIC PC>/usr/obj/usr/src/tmp/usr/lib/libdisk.a: could not read symbols: Bad value PC>*** Error code 1 PC> PC>Stop in /usr/src/usr.sbin/bsnmpd/modules/snmp_hostres. PC>*** Error code 1 PC> PC>Stop in /usr/src/usr.sbin/bsnmpd/modules. PC>*** Error code 1 PC> PC>Stop in /usr/src/usr.sbin/bsnmpd. PC>*** Error code 1 PC> PC>Stop in /usr/src/usr.sbin. PC>*** Error code 1 PC> PC>Stop in /usr/src. PC>*** Error code 1 PC> PC>Stop in /usr/src. PC>*** Error code 1 PC> PC>Stop in /usr/src. PC>------------------------------------------------------------------------------ PC>_______________________________________________ PC>freebsd-current@freebsd.org mailing list PC>http://lists.freebsd.org/mailman/listinfo/freebsd-current PC>To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" PC> PC> PC>