- - Hi Didier, - Thank you very much for the help. I updated my rohc version to 1.6.1 and followed the installation instructions that you recommended. - Everything was fine and all the tests were ok. But now I've been working in another problem related with the "Getting started" section ( http://rohc-lib.org/presentation/getting-started/). - - I created the rohc_hello_world.c file and followed the instructions until the "Create one IPV4 packet" section. - - In the "Create a ROHC compressor" section (final part) a error appears when I tried the comand gcc -o rohc_hello_world -Wall $(pkg-config rohc --cflags --libs) \ - rohc_hello_world.c - - The error message is: - /tmp/cclGeag1.o: In function `main': - rohc_hello_world.c:(.text+0x50): undefined reference to `rohc_alloc_compressor' - rohc_hello_world.c:(.text+0x249): undefined reference to `rohc_free_compressor' - collect2: error: ld returned 1 exit status - - It seems that the link with the ROHC library isn't working. I got the same error when I put the "gcc -o rohc_hello_world -Wall rohc_hello_world.c". - - I'd like to know if anyone here already had the same problem. - Thanks, - Edvar
- *To*: rohc@xxxxxxxxxxxxxxxxxxx <[email protected]> - *From*: Didier Barvaux <didier@xxxxxxxxxxx <[email protected]>> - *Date*: Thu, 20 Feb 2014 13:37:39 +0100 - *In-reply-to*: < cacipt7mjkm_wvbotv_efpb4vanzdzeiytkb2rifhbwadki0...@mail.gmail.com<https://lists.launchpad.net/rohc/msg01467.html> > - *Reply-to*: rohc@xxxxxxxxxxxxxxxxxxx <[email protected]> Edvar, My answers below. > I'm trying to install the ROHC 1.3.1 on ububtu 13.04 but getting some > erros when running the tests. I followed the instructions on > http://bazaar.launchpad.net/~didier-barvaux/rohc/main/annotate/head%3A/INSTALL Version 1.3.1 is obsolete, I strongly advise you to update the ROHC library to the latest stable version, ie. version 1.6.1 :https://rohc-lib.org/support/download/#supported-releases > My gcc version is: > gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 > > but, this is what happened when I tried to run the tests with the > following commands: > [...] > > I'm not to familiar with the system and would like to know if anyone > already had the same problem. > > Please let me know if there is anymore information I can provide, > thank you. Did you extract the archive that contains the test captures? If not, refer to step 5 in the installation procedure:https://rohc-lib.org/support/wiki/doku.php?id=library-install-sources#native_build_on_unix-like_systems The archives with test captures are available for download here:https://rohc-lib.org/support/download/#supported-releases Regards, Didier
_______________________________________________ Mailing list: https://launchpad.net/~rohc Post to : [email protected] Unsubscribe : https://launchpad.net/~rohc More help : https://help.launchpad.net/ListHelp

