iproute2 3.2.0 fails to compile without libnl even with 3.3 Linux kernel (Bug #389)

Added by Eric Sandall almost 3 years ago. Updated almost 3 years ago.

Status:Closed Start date:05/10/2012
Priority:Normal Due date:
Assignee:Eric Sandall % Done:


Target version:-


$ 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

$ grep NETLINK /usr/src/linux/.config
  1. CONFIG_SCSI_NETLINK is not set
  1. 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

Revision bf8dbc09
Added by Eric Sandall almost 3 years ago

iproute2: Requires libnl even for 3.2+ kernels (See Bug #389)


Updated by Eric Sandall almost 3 years 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

Updated by Vlad Glagolev almost 3 years ago

closing the bug

  • Status changed from Resolved to Closed

Also available in: Atom PDF