← Back to team overview

rohc team mailing list archive

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

 

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

In file included from /root/rohc/linux/kmod/../../src/comp/rohc_comp.c:35:/root/rohc/linux/kmod/../../src/common/rohc_time.h: In function âget_millisecondsâ:/root/rohc/linux/kmod/../../src/common/rohc_time.h:54: error: storage size of âtsâ isnât known/root/rohc/linux/kmod/../../src/common/rohc_time.h:55: error: implicit declaration of function âktime_get_tsâ/root/rohc/linux/kmod/../../src/common/rohc_time.h:56: error: âMSEC_PER_SECâ undeclared (first use in this function)/root/rohc/linux/kmod/../../src/common/rohc_time.h:56: error: (Each undeclared identifier is reported only once/root/rohc/linux/kmod/../../src/common/rohc_time.h:56: error: for each function it appears in.)/root/rohc/linux/kmod/../../src/common/rohc_time.h:56: error: âNSEC_PER_MSECâ undeclared (first use in this function)/root/rohc/linux/kmod/../../src/common/rohc_time.h:54: warning: unused variable âtsâmake[4]: *** [/root/rohc/linux/kmod/../../src/comp/rohc_comp.o] Error
 1make[3]: *** [_module_/root/rohc/linux/kmod] Error 2make[2]: *** [all] Error 2make[1]: *** [all-recursive] Error 1make: *** [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, 4:56 AM

Jamal,

> Thank you for your reply. When I put make all , then following error
> showing:
> 
> [  9%] Building C object
> common/CMakeFiles/iprohc_common.dir/rohc_tunnel.c.o/root/iprohc-0.6/common/rohc_tunnel.c:72:
> error: expected â)â before
> âlevelâ/root/iprohc-0.6/common/rohc_tunnel.c: In function
> ânew_tunnelâ:/root/iprohc-0.6/common/rohc_tunnel.c:282: warning:
> implicit declaration of function
> ârohc_comp_set_traces_cbâ

Your ROHC library is too old for the IP/ROHC application. It requires
version 1.6.0 or greater. Version 1.6.0 is not released yet, so you
need to get it from the development source repository.

The development source repo is at
https://code.launchpad.net/~didier-barvaux/rohc/main

The instructions to retrieve a copy of it are there:
http://rohc-lib.org/wiki/doku.php?id=library-hacking#get_source_code_with_bazaar

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