iproute2 3.2.0 fails to compile without libnl even with 3.3 Linux kernel (Bug #389)
Description
$ gaze version iproute2 linux libnl
Grimoire Section Spell Grimoire Version Installed Version
-------- ------- ----- ---------------- -----------------
test net iproute2 3.2.0 3.2.0
test kernels linux 3.3.5 3.3.5
test libs libnl 3.2.7 -
$ uname -r
3.3.3
CONFIG_NETFILTER_NETLINK=y
CONFIG_NETFILTER_NETLINK_LOG=y
CONFIG_NF_CT_NETLINK=m
- CONFIG_SCSI_NETLINK is not set
- cast iproute2
...
Make1: Entering directory `/usr/src/iproute2-3.2.0/ip'
gcc -D_GNU_SOURCE -march=native -mtune=native -m32 -pipe -DPIC -fPIC -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib/\" -I/usr/include/libnl3 -c -o ipl2tp.o ipl2tp.c
ipl2tp.c:26:29: fatal error: netlink/netlink.h: No such file or directory
compilation terminated.
make1: * [ipl2tp.o] Error 1
make1: Leaving directory `/usr/src/iproute2-3.2.0/ip'
make: * [all] Error 2
If I install libnl, then iproute2 3.2.0 compiles fine.
Associated revisions
iproute2: Requires libnl even for 3.2+ kernels (See Bug #389)
History
Updated by Eric Sandall about 1 year ago
Made libnl always a dependency regardless of kernel with bf8dbc09dafd57b116e4ef4f1dca0ef3d0dd2fbc
- Assignee set to Eric Sandall
- % Done changed from 0 to 100
- Status changed from New to Resolved