Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2006 12:13:14 -0800
From:      othermark <atkin901@yahoo.com>
To:        freebsd-current@freebsd.org
Subject:   buildworld Stop in /usr/src/usr.sbin/bsnmpd/bsnmpd
Message-ID:  <dvsb4q$g60$1@sea.gmane.org>

next in thread | raw e-mail | index | archive | help
I'm scratching my head on this one, trying to buildworld with today sources
to get the sendmail fix:

cc -O2 -fno-strict-aliasing -pipe -march=pentiumpro
-I/usr/src/usr.sbin/bsnmpd/bsnmpd/../../../contrib/bsnmp/lib
-I/usr/src/usr.sbin/bsnmpd/bsnmpd/../../../contrib/bsnmp/snmpd -I.
-DUSE_LIBBEGEMOT -DUSE_TCPWRAPPERS -DQUADFMT='"llu"' -DQUADXFMT='"llx"'
-DHAVE_STDINT_H -DHAVE_INTTYPES_H -DHAVE_ERR_H -DHAVE_STRLCPY
-Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align
-Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs
-Wredundant-decls -c tree.c
cc -O2 -fno-strict-aliasing -pipe -march=pentiumpro
-I/usr/src/usr.sbin/bsnmpd/bsnmpd/../../../contrib/bsnmp/lib
-I/usr/src/usr.sbin/bsnmpd/bsnmpd/../../../contrib/bsnmp/snmpd -I.
-DUSE_LIBBEGEMOT -DUSE_TCPWRAPPERS -DQUADFMT='"llu"' -DQUADXFMT='"llx"'
-DHAVE_STDINT_H -DHAVE_INTTYPES_H -DHAVE_ERR_H -DHAVE_STRLCPY
-Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align
-Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs
-Wredundant-decls -export-dynamic -o bsnmpd main.o action.o config.o
export.o trap.o trans_udp.o trans_lsock.o tree.o -lbegemot -lbsnmp -lwrap
/usr/obj/usr/src/tmp/usr/lib/libbsnmp.so: warning: warning: mktemp()
possibly used unsafely; consider using mkstemp()
tree.o(.rodata+0x7384): undefined reference to `op_transport_dummy'
tree.o(.rodata+0x75a8): undefined reference to `op_transport_dummy'
tree.o(.rodata+0x77cc): undefined reference to `op_dummy'
tree.o(.rodata+0x79f0): undefined reference to `op_snmp_trap'
tree.o(.rodata+0x7c14): undefined reference to `op_snmp_trap'
tree.o(.rodata+0x7e38): undefined reference to `op_snmp_trap'
tree.o(.rodata+0x805c): undefined reference to `op_snmp_trap'
*** Error code 1

Stop in /usr/src/usr.sbin/bsnmpd/bsnmpd.
*** Error code 1


All I did is copy /etc/make.conf to /etc/src.conf and backup /etc/make.conf.
Removed /usr/obj

make buildworld.

I noticed that

CPUTYPE?=i686 in /etc/src.conf gave and error, so I changed it to
CPUTYPE?=pentiumpro.

$ cat /etc/src.conf
CPUTYPE?=pentiumpro
MAKE_IDEA=      YES     # IDEA (128 bit symmetric encryption)
BOOT_COMCONSOLE_PORT=   0x3F8
BOOT_COMCONSOLE_SPEED=  115200
KERNCONF=HELLFIRE
# added by use.perl 2005-11-16 17:50:09
PERL_VER=5.8.7
PERL_VERSION=5.8.7
$




-- 
othermark
atkin901 at nospam dot yahoo dot com
(!wired)?(coffee++):(wired);




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dvsb4q$g60$1>