rohc team mailing list archive
-
rohc team
-
Mailing list archive
-
Message #00635
Re: [Question #212291]: Problem compiling my code with RoHC 1.5.0 library in Eclipse
Question #212291 on rohc changed:
https://answers.launchpad.net/rohc/+question/212291
Status: Needs information => Open
Carlos gave more information on the question:
Hello Didier,
I am using the latest Eclipse Juno CDT. I have included the three libraries you mentioned in your last anwer. In the library includes in the project settings. I have also added the path /usr/lib, where the libraries are located.
I have realized that my project compiles when adding #include <rohc_comp.h> and #include <rohc_decomp.h>. But the problem arises when I use a function from the RoHC library. For instance, I wrote the following line:
rohc_activate_profile(comp,ROHC_profile);
And this is the error code I got from the compiler:
undefined reference to `rohc_activate_profile(rohc_comp*, int)' collect2: ld returned 1 exit status.
But in Eclipse, I can "jump" / open the declaration of the header function in /usr/include/rohc_comp.h
--
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.