Mon, Jun 16, 2014 at 10:22:44AM CEST, erik.hugne(a)ericsson.com wrote:
On Sun, Jun 15, 2014 at 09:16:13PM +0200, Jiri Pirko wrote:
> Sat, Jun 14, 2014 at 08:42:08AM CEST, erik.hugne(a)ericsson.com wrote:
> >Sorry for top posting, my mobile mail client is gimped..
> >
> >What kernel version are you building against? Link state subscriber support was
recently added in TIPC, i think you need a 3.15 kernel for it to be enabled.
>
> As I wrote, net-next :)
Missed that..
It works fine in a chroot jail, otherwise one has to:
export CFLAGS=/path/to/3.15/headers
./configure
make
For example, i have my busybox/rootfs at ROOTFS="/home/eerihug/lab/rootfs/",
and the kernel headers are installed under $(ROOTFS)/usr/
$ export CFLAGS=-I$(ROOTFS)/usr/include/
$ ./configure --prefix=/home/eerihug/lab/rootfs/
$ make
This is a little awkward though, maybe we should add a --with-kernel-headers
knob to configure.ac?
What is the header file in question? <linux/tipc.h> ?
The best way is probably just to copy it into libteam_git/include/linux/
That's the way we carry if_team.h and filter.h around.
//E