[FUG-BR] Problema compilando net-snmp no FreeBSD 8.3
Marcelo Gondim
gondim em bsdinfo.com.br
Segunda Fevereiro 25 20:38:18 BRT 2013
Pessoal,
Estou com um FreeBSD 8.3-STABLE aqui que não consigo instalar por nada o
pacote net-mgmt/net-snmp. Já recompilei todos os pacotes no sistema mas
só ele dá problema. Alguém já viu esse erro abaixo?
/bin/sh ../libtool --mode=compile cc -I../include -I. -I../agent
-I../agent/mibgroup -I../snmplib -I/usr/include -DNETSNMP_ENABLE_IPV6
-fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Ufreebsd8
-Dfreebsd8=freebsd8 -DAPPLLIB_EXP="/usr/local/lib/perl5/5.12.4/BSDPAN"
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include
-I/usr/local/lib/perl5/5.12.4/mach/CORE -c -o snmpd.lo snmpd.c
libtool: compile: cc -I../include -I. -I../agent -I../agent/mibgroup
-I../snmplib -I/usr/include -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing
-O2 -pipe -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.12.4/BSDPAN -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -I/usr/local/lib/perl5/5.12.4/mach/CORE -c snmpd.c
-fPIC -DPIC -o .libs/snmpd.o
libtool: compile: cc -I../include -I. -I../agent -I../agent/mibgroup
-I../snmplib -I/usr/include -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing
-O2 -pipe -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.12.4/BSDPAN -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -I/usr/local/lib/perl5/5.12.4/mach/CORE -c snmpd.c
-o snmpd.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link cc -DNETSNMP_ENABLE_IPV6
-fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Ufreebsd8
-Dfreebsd8=freebsd8 -DAPPLLIB_EXP="/usr/local/lib/perl5/5.12.4/BSDPAN"
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include
-I/usr/local/lib/perl5/5.12.4/mach/CORE -o snmpd snmpd.lo -L/usr/lib -lm
-lkvm -ldevstat libnetsnmpagent.la libnetsnmpmibs.la
../snmplib/libnetsnmp.la -lelf -lssp_nonshared
-Wl,-R/usr/local/lib/perl5/5.12.4/mach/CORE
libtool: link: cc -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -O2 -pipe
-fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.12.4/BSDPAN -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -I/usr/local/lib/perl5/5.12.4/mach/CORE -o
.libs/snmpd .libs/snmpd.o -Wl,-R/usr/local/lib/perl5/5.12.4/mach/CORE
-L/usr/lib ./.libs/libnetsnmpagent.so -L/usr/local/lib
-L/usr/local/lib/perl5/5.12.4/mach/CORE ./.libs/libnetsnmpmibs.so
/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.2/agent/.libs/libnetsnmpagent.so
-lwrap
/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.2/snmplib/.libs/libnetsnmp.so
-lperl -lcrypt -lutil ../snmplib/.libs/libnetsnmp.so -lm -lkvm -ldevstat
-lcrypto -lelf -lssp_nonshared -pthread -Wl,-rpath -Wl,/usr/local/lib
./.libs/libnetsnmpmibs.so: undefined reference to `setutxent'
./.libs/libnetsnmpmibs.so: undefined reference to `endutxent'
./.libs/libnetsnmpmibs.so: undefined reference to `getutxent'
*** Error code 1
Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.2/agent.
*** Error code 1
Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.2.
*** Error code 1
Stop in /usr/ports/net-mgmt/net-snmp.
*** Error code 1
Stop in /usr/ports/net-mgmt/net-snmp.
Grande abraço pessoal,
Gondim
Mais detalhes sobre a lista de discussão freebsd