Subject: Re: [vserver] `TUNSETLINK' undeclared
From: Johann Borck <johann.borck@densedata.com>
Date: Mon, 12 Jan 2009 12:35:39 +0100

LynnOS wrote:
> HI,all
> I build util-vserver 0.30.215 from scratch ,the error happened
>
> src/tunctl.c: In function `doTunctl':
> src/tunctl.c:152: error: `TUNSETLINK' undeclared (first use in this function)
> src/tunctl.c:152: error: (Each undeclared identifier is reported only once
> src/tunctl.c:152: error: for each function it appears in.)
>
>   
Hi,
TUNSETLINK is declared in the linux kernel headers (i.e.  
/usr/include/linux/if_tun.h). You should have them installed somewhere. 
Also there should be another error like: linux/if_tun.h:  No such file 
or directory, before this one.

hth, Johann
> Any ideas to fix the problem is welcome
> Thanks
>
>
> Lynn
>
>