← Back to team overview

rohc team mailing list archive

Re: [Question #226938]: build instructions for IPROHC

 

After diable linux-kernel-module, it's installed. but when again tried to install iprohc-0.6
[  9%] Building C object common/CMakeFiles/iprohc_common.dir/rohc_tunnel.c.o[ 18%] Building C object common/CMakeFiles/iprohc_common.dir/tun_helpers.c.o/root/iprohc-0.6/common/tun_helpers.c:29:24: error: libnetlink.h: No such file or directory/root/iprohc-0.6/common/tun_helpers.c: In function âset_ip4â:/root/iprohc-0.6/common/tun_helpers.c:140: error: field ânhâ has incomplete type/root/iprohc-0.6/common/tun_helpers.c:141: error: field âipâ has incomplete type/root/iprohc-0.6/common/tun_helpers.c:144: error: variable ârthâ has initializer but incomplete type/root/iprohc-0.6/common/tun_helpers.c:144: error: unknown field âfdâ specified in initializer/root/iprohc-0.6/common/tun_helpers.c:144: warning: excess elements in struct initializer/root/iprohc-0.6/common/tun_helpers.c:144: warning: (near initialization for ârthâ)/root/iprohc-0.6/common/tun_helpers.c:144: error: storage size of ârthâ isnât
 known/root/iprohc-0.6/common/tun_helpers.c:147: warning: implicit declaration of function ârtnl_openâ/root/iprohc-0.6/common/tun_helpers.c:164: warning: implicit declaration of function âNLMSG_LENGTHâ/root/iprohc-0.6/common/tun_helpers.c:164: error: invalid application of âsizeofâ to incomplete type âstruct ifaddrmsgâ/root/iprohc-0.6/common/tun_helpers.c:165: error: âNLM_F_REQUESTâ undeclared (first use in this function)/root/iprohc-0.6/common/tun_helpers.c:165: error: (Each undeclared identifier is reported only once/root/iprohc-0.6/common/tun_helpers.c:165: error: for each function it appears in.)/root/iprohc-0.6/common/tun_helpers.c:165: error: âNLM_F_CREATEâ undeclared (first use in this function)/root/iprohc-0.6/common/tun_helpers.c:165: error: âNLM_F_EXCLâ undeclared (first use in this function)/root/iprohc-0.6/common/tun_helpers.c:166: error: âRTM_NEWADDRâ undeclared (first use in this
 function)/root/iprohc-0.6/common/tun_helpers.c:173: warning: implicit declaration of function âaddattr_lâ/root/iprohc-0.6/common/tun_helpers.c:173: error: âIFA_LOCALâ undeclared (first use in this function)/root/iprohc-0.6/common/tun_helpers.c:174: error: âIFA_ADDRESSâ undeclared (first use in this function)/root/iprohc-0.6/common/tun_helpers.c:180: warning: implicit declaration of function ârtnl_talkâ/root/iprohc-0.6/common/tun_helpers.c:193: warning: implicit declaration of function ârtnl_closeâ/root/iprohc-0.6/common/tun_helpers.c:144: warning: unused variable ârthâmake[2]: *** [common/CMakeFiles/iprohc_common.dir/tun_helpers.c.o] Error 1make[1]: *** [common/CMakeFiles/iprohc_common.dir/all] Error 2make: *** [all] Error 2



--- On Sun, 5/19/13, Didier Barvaux <didier@xxxxxxxxxxx> wrote:

From: Didier Barvaux <didier@xxxxxxxxxxx>
Subject: Re: [Rohc] [Question #226938]: build instructions for IPROHC
To: rohc@xxxxxxxxxxxxxxxxxxx
Date: Sunday, May 19, 2013, 12:46 PM


> I have downloaded rohc-1.6 from repo.  but when I use make all, it's
> making error.

Try disabling support for the Linux kernel:
 $ ./autogen.sh --disable-linux-kernel-module

Regards,
Didier

-----Inline Attachment Follows-----

_______________________________________________
Mailing list: https://launchpad.net/~rohc
Post to     : rohc@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~rohc
More help   : https://help.launchpad.net/ListHelp

Follow ups

References