Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jan 2006 08:58:01 +0100 (CET)
From:      Harti Brandt <hartmut.brandt@dlr.de>
To:        Peter Carah <pete@altadena.net>
Cc:        current@freebsd.org
Subject:   Re: Problem building new bsnmpd import on amd64
Message-ID:  <20060112085736.L34596@beagle.kn.op.dlr.de>
In-Reply-To: <43C60A57.3040405@altadena.net>
References:  <43C60A57.3040405@altadena.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060112085736.L34596>