rohc team mailing list archive
-
rohc team
-
Mailing list archive
-
Message #01494
Re: Problem Regarding ROHC Implementation
Hi Didier,
Now i tried another thing.
I installed the rohc-1.6.1 in another PC. The installation was fine again
but i already had problems with the compilation on getting started section.
At the same command:
luciano@Familia:~/Tutorial_rohc$ gcc -o rohc_hello_world -Wall $(pkg-config
rohc --cflags --libs) rohc_hello_world.c
/tmp/ccWRfFsW.o: In function `main':
rohc_hello_world.c:(.text+0x50): undefined reference to
`rohc_alloc_compressor'
rohc_hello_world.c:(.text+0x25c): undefined reference to
`rohc_free_compressor'
Now, i think that rohc's library is correctly installed only in the /usr
prefix.
Here the results of both commands:
luciano@Familia:~$ pkg-config rohc --cflags
luciano@Familia:~$ pkg-config rohc --libs
-lrohc_decomp -lrohc_comp -lrohc_common
I really don't know what it could be. 2 computers with the same problem.
Thank you in advance for your help and attention.
Regards,
Edvar