← Back to team overview

rohc team mailing list archive

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

 

Question #226938 on rohc changed:
https://answers.launchpad.net/rohc/+question/226938

matthew posted a new comment:
When I compile iprohc can not find rohc_traces.h and dllexport.h from
the rohc-lib library.  As a temporary fix I copied both of those files
to /usr/local/include.  After that change the build still fails with the
following error:

my question is does iprohc only work with the main trunk of lib-rohc and
not the distributed 1.5.1?

Thanks again for all your help.

└──> make all
[  9%] Building C object common/CMakeFiles/iprohc_common.dir/rohc_tunnel.c.o
/home/user/workspace/iprohc/common/rohc_tunnel.c:72: error: expected ‘)’ before ‘level’
/home/user/workspace/iprohc/common/rohc_tunnel.c: In function ‘new_tunnel’:
/home/user/workspace/iprohc/common/rohc_tunnel.c:282: warning: implicit declaration of function ‘rohc_comp_set_traces_cb’
/home/user/workspace/iprohc/common/rohc_tunnel.c:282: error: ‘print_rohc_traces’ undeclared (first use in this function)
/home/user/workspace/iprohc/common/rohc_tunnel.c:282: error: (Each undeclared identifier is reported only once
/home/user/workspace/iprohc/common/rohc_tunnel.c:282: error: for each function it appears in.)
/home/user/workspace/iprohc/common/rohc_tunnel.c:290: warning: implicit declaration of function ‘rohc_comp_set_rtp_detection_cb’
/home/user/workspace/iprohc/common/rohc_tunnel.c:307: warning: implicit declaration of function ‘rohc_decomp_set_traces_cb’
/home/user/workspace/iprohc/common/rohc_tunnel.c: In function ‘tun2raw’:
/home/user/workspace/iprohc/common/rohc_tunnel.c:572: error: ‘rohc_comp_last_packet_info2_t’ undeclared (first use in this function)
/home/user/workspace/iprohc/common/rohc_tunnel.c:572: error: expected ‘;’ before ‘last_packet_info’
/home/user/workspace/iprohc/common/rohc_tunnel.c:607: warning: implicit declaration of function ‘rohc_compress2’
/home/user/workspace/iprohc/common/rohc_tunnel.c:635: error: ‘last_packet_info’ undeclared (first use in this function)
/home/user/workspace/iprohc/common/rohc_tunnel.c:637: warning: implicit declaration of function ‘rohc_comp_get_last_packet_info2’
/home/user/workspace/iprohc/common/rohc_tunnel.c: At top level:
/home/user/workspace/iprohc/common/rohc_tunnel.c:925: error: expected ‘)’ before ‘level’
make[2]: *** [common/CMakeFiles/iprohc_common.dir/rohc_tunnel.c.o] Error 1
make[1]: *** [common/CMakeFiles/iprohc_common.dir/all] Error 2
make: *** [all] Error 2

-- 
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.