Beliar
December 3rd, 2012, 05:08 PM
Hello everyone,
I am trying to use libnl 3 (http://www.infradead.org/~tgr/libnl/), a library to conviniently use the netlink interface to the kernel.
But I can't even compile my firs test program. I am including "libnl3/netlink/netlink.h" but I get the error:
In file included from netlink_test.c:11:0:
/usr/include/libnl3/netlink/netlink.h:24:36: fatal error: netlink/netlink-compat.h: No such file or directory
compilation terminated.
netlink.h is including netlink/netlink-compat.h, but there is no folder netlink in /usr/include/.
There is just /usr/include/libnl3/netlink"
So including netlink/netlink.h also fails.
Am I missing something or is libnl-3-dev broken?
Cheers,
Ben
N.B.:
I have the following packages installed:
libnl-3-200
libnl-3-200-dbg
libnl-3-dev
libnl-3-doc
libnl-genl-3-200
libnl-genl-3-200-dev
libnl-route-3-200
libnl-route-3-200-dev
I am trying to use libnl 3 (http://www.infradead.org/~tgr/libnl/), a library to conviniently use the netlink interface to the kernel.
But I can't even compile my firs test program. I am including "libnl3/netlink/netlink.h" but I get the error:
In file included from netlink_test.c:11:0:
/usr/include/libnl3/netlink/netlink.h:24:36: fatal error: netlink/netlink-compat.h: No such file or directory
compilation terminated.
netlink.h is including netlink/netlink-compat.h, but there is no folder netlink in /usr/include/.
There is just /usr/include/libnl3/netlink"
So including netlink/netlink.h also fails.
Am I missing something or is libnl-3-dev broken?
Cheers,
Ben
N.B.:
I have the following packages installed:
libnl-3-200
libnl-3-200-dbg
libnl-3-dev
libnl-3-doc
libnl-genl-3-200
libnl-genl-3-200-dev
libnl-route-3-200
libnl-route-3-200-dev