configure:5388: checking for nl_handle_alloc in -lnl configure:5413: i686-pc-linux-gnu-gcc -o conftest -O2 -pipe -Wall -ggdb -march=athlon-x p -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -lnl >&5 /var/tmp/portage/net-libs/libpcap-1.1.1-r1/temp/cc4ArDoa.o: In function `main': /var/tmp/portage/net-libs/libpcap-1.1.1-r1/work/libpcap-1.1.1/conftest.c:46: undefined reference to `nl_handle_alloc' collect2: ld returned 1 exit status
There's an upstream commit that enables support for libnl-2: https://github.com/mcr/libpcap/commit/bc937fc4ff6715e9bee939041fa02be0755d7d58 And here's the actual patch: https://github.com/mcr/libpcap/commit/bc937fc4ff6715e9bee939041fa02be0755d7d58.diff It works with libpcap-1.1.1-r1.
Any news?
Fixed in main tree. By adding the patch.