Bug #389

iproute2 3.2.0 fails to compile without libnl even with 3.3 Linux kernel

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

Status:ClosedStart date:05/10/2012
Priority:NormalDue 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 over 3 years ago

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


#1 Updated by Eric Sandall over 3 years ago

  • % Done changed from 0 to 100
  • Assignee set to Eric Sandall
  • Status changed from New to Resolved

Made libnl always a dependency regardless of kernel with bf8dbc09dafd57b116e4ef4f1dca0ef3d0dd2fbc

#2 Updated by Vlad Glagolev over 3 years ago

  • Status changed from Resolved to Closed

closing the bug

Also available in: Atom PDF