Date: Sun, 14 Oct 2012 12:16:10 GMT From: Spil <spil.oss@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/172690: [net-mgmt/net-snmp] 5.7.2. fails to build Message-ID: <201210141216.q9ECGAmJ066336@red.freebsd.org> Resent-Message-ID: <201210141220.q9ECK0XU080526@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 172690 >Category: ports >Synopsis: [net-mgmt/net-snmp] 5.7.2. fails to build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 14 12:20:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Spil >Release: FreeBSD 9.0-p2 >Organization: n/a >Environment: FreeBSD gw.example.org 9.0-RELEASE-p2 FreeBSD 9.0-RELEASE-p2 #2: Tue Jun 5 08:38:34 CEST 2012 root@gw.example.org:/usr/obj/usr/src/sys/BEASTIE90 i386 >Description: Building net-mgmt/net-snmp fails Tried rmconfig and building with latest config. Building with gcc and with clang and on a 9.0-p4 i386 system but no success. Error is the same for all these cases /bin/sh ../libtool --mode=link clang -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -O2 -fno-strict-aliasing -pipe -march=native -Ufreebsd9 -Dfreebsd9=freebsd9 -o snmpd snmpd.lo -L/usr/lib -lm -lkvm -ldevstat libnetsnmpagent.la libnetsnmpmibs.la ../snmplib/libnetsnmp.la -lelf -lssp_nonshared libtool: link: clang -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -O2 -fno-strict-aliasing -pipe -march=native -Ufreebsd9 -Dfreebsd9=freebsd9 -o .libs/snmpd .libs/snmpd.o -L/usr/lib ./.libs/libnetsnmpagent.so ./.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 ../snmplib/.libs/libnetsnmp.so -lm -lkvm -ldevstat -lcrypto -lelf -lssp_nonshared -Wl,-rpath -Wl,/usr/local/lib ./.libs/libnetsnmpmibs.so: undefined reference to `kd' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** 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. >How-To-Repeat: cd /usr/ports/net-mgmt/net-snmp make clean make >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210141216.q9ECGAmJ066336>