From: SourceForge.net <no...@so...> - 2012-10-15 10:03:47
|
Bugs item #3577198, was opened at 2012-10-14 08:47 Message generated for change (Comment added) made by tanders You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3577198&group_id=12694 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: build/test Group: freeBSD >Status: Pending Resolution: None Priority: 5 Private: No Submitted By: Ryan Steinmetz (zi0r) Assigned to: Nobody/Anonymous (nobody) Summary: [patch] 5.7.2 build failure without /dev/kmem Initial Comment: The attached patch resolves this issue. In a FreeBSD jail or other scenario where /dev/kmem is not present, the build fails with the following error message: /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. ---------------------------------------------------------------------- >Comment By: Thomas Anders (tanders) Date: 2012-10-15 03:03 Message: What's your exact configure line? Did you include the "--without-kmem-usage" option? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3577198&group_id=12694 |