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


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


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

100%

Category:Net
Target version:-
Grimoire:Test

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

$ grep NETLINK /usr/src/linux/.config
CONFIG_NETFILTER_NETLINK=y
CONFIG_NETFILTER_NETLINK_LOG=y
CONFIG_NF_CT_NETLINK=m
  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 2 years ago

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

History

Updated by Eric Sandall over 2 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 over 2 years ago

closing the bug

  • Status changed from Resolved to Closed

Also available in: Atom PDF