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

Jakub Wilk jwilk at debian.org
Mon May 9 01:17:59 UTC 2011


* Cyril Brulebois <kibi at debian.org>, 2011-05-07, 17:22:
>| ./.libs/libnetsnmpmibs.so: undefined reference to `kd'

I can reproduce the problem here. I think this is a variant of #449550. 
 From the build log:

| checking for nlist... no
| checking for nlist in -lkvm... no

And from config.log:

| configure:18216: gcc -o conftest -g -O2 -DNETSNMP_USE_INLINE -Ukfreebsd -Dkfreebsd=kfreebsd   conftest.c -lkvm   >&5
| /usr/bin/ld: /tmp/ccSAeddp.o: undefined reference to symbol 'nlist@@LIBBSD_0.1'
| /usr/bin/ld: note: 'nlist@@LIBBSD_0.1' is defined in DSO /lib/libbsd.so.0 so try adding it to the linker command line
| /lib/libbsd.so.0: could not read symbols: Invalid operation
| collect2: ld returned 1 exit status

So hopefully it should be a matter of fixing 44_nlist_kvm.patch.

-- 
Jakub Wilk





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