From owner-freebsd-current@FreeBSD.ORG Thu Jan 12 07:50:52 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 00B1316A41F for ; Thu, 12 Jan 2006 07:50:52 +0000 (GMT) (envelope-from pete@altadena.net) Received: from puffin.altadena.net (puffin.altadena.net [207.151.161.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1BE243D58 for ; Thu, 12 Jan 2006 07:50:49 +0000 (GMT) (envelope-from pete@altadena.net) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=2.puffin; d=altadena.net; b=F83wAjKctbU4k2D2cbRLDk0glTn2CijOMNxV63gPJZ8GAArFDOVUsMp5nbLxpxCPd3BLzXvrs1bIfKazcM7aCL1RlYscoK6Rc2hJ6nyBYDwOpTy91NN0xNI5ZlOuePej1diMRF6Ly2uGDIeoynwRkiedKD3QAOzjjVPIVc4KZiQ=; Received: from nat-gw.home.altadena.net ([66.127.158.99] helo=[192.168.169.21]) by puffin.altadena.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.54) id 1EwxEO-0001Ia-Hh for current@freebsd.org; Wed, 11 Jan 2006 23:50:48 -0800 Message-ID: <43C60A57.3040405@altadena.net> Date: Wed, 11 Jan 2006 23:50:47 -0800 From: Peter Carah User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051221) X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Problem building new bsnmpd import on amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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:50:52 -0000 I'm seeing a problem with the new import of bsnmpd; it refuses to build on my amd64 (with native fbsd). substituting -fPIC resulted in no change; the hint that ld gave is insufficient (or unrelated?). -- Pete --------------------------------------------------------------------------------- ........ cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -DNDEBUG -I/usr/src/usr.sbin/bsnmp d/modules/snmp_hostres/../../../lpr/common_source -I. -c /usr/src/usr.sbin/bsnmp d/modules/snmp_hostres/../../../lpr/common_source/printcap.c -o printcap.So cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -DNDEBUG -I/usr/src/usr.sbin/bsnm error -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-pro totypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wsha dow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c hostres_tree.c -o hostres_tree.So building shared library snmp_hostres.so.4 /usr/obj/usr/src/tmp/usr/bin/ld: /usr/obj/usr/src/tmp/usr/lib/libdisk.a(disk.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC /usr/obj/usr/src/tmp/usr/lib/libdisk.a: could not read symbols: Bad value *** Error code 1 Stop in /usr/src/usr.sbin/bsnmpd/modules/snmp_hostres. *** Error code 1 Stop in /usr/src/usr.sbin/bsnmpd/modules. *** Error code 1 Stop in /usr/src/usr.sbin/bsnmpd. *** Error code 1 Stop in /usr/src/usr.sbin. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ------------------------------------------------------------------------------