buildworld Stop in /usr/src/usr.sbin/bsnmpd/bsnmpd

From: othermark <atkin901_at_yahoo.com>
Date: Wed, 22 Mar 2006 12:13:14 -0800
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);
Received on Wed Mar 22 2006 - 19:24:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:53 UTC