[Pkg-net-snmp-devel] Bug#625985: net-snmp: FTBFS on kfreebsd-*: ./.libs/libnetsnmpmibs.so: undefined reference to `kd'

Petr Salinger Petr.Salinger at seznam.cz
Mon May 9 08:19:07 UTC 2011


Hi.

The problem seems to be in linker changes.
The nlist() function comes from libbsd on GNU/kFreeBSD
and now it is not detected indirectly via libkvm.

Please use instead of 44_nlist_kvm.patch this:

--- a/configure.in
+++ b/configure.in
@@ -2676,6 +2676,9 @@
  # add hosts which don't use nlist to the blank first line
  case $target_os in
         linux*) ;;
+       kfreebsd*)
+               AC_CHECK_LIB(bsd, nlist)
+               ;;
         irix*) # Check for nlist in mld (irix)
                 AC_CHECK_LIB(elf, nlist)
                 AC_CHECK_LIB(elf, nlist64)


Petr






More information about the Pkg-net-snmp-devel mailing list