rohc team mailing list archive
-
rohc team
-
Mailing list archive
-
Message #00295
Re: Error using the ROHC compressor
Hi,
> I am trying to integrate RoHC with my own application, I followed the
> steps for installation and test run, I did followed some of the tips
> given in this tread,
>
> here is my output on
>
> gcc -static -L./../rohc-1.3.1/lib -o rohc-test rohc-test.o
> -lrohc_decomp -lrohc_comp -lrohc_common -lm
>
> Error:
> /usr/bin/ld: cannot find -lrohc_decomp
> /usr/bin/ld: cannot find -lrohc_comp
> /usr/bin/ld: cannot find -lrohc_common
> collect2: ld returned 1 exit status
>
> Am I missing something?
The libraries rohc_* seem not to be installed on your system (at least
not in the default paths). Did you run step 10 in FAQ #1140 [1] ?
If yes, what prefix did you specify to the configure script at step 7 of
FAQ #1140 [1] ?
And what is the output of the following command ?
$ pkg-config --modversion rohc
Moreover, it is recommended to use pkg-config instead of using the -L
and -l options directly:
$ gcc $(pkg-config rohc --libs) -o rohc-test rohc-test.o
Regards,
Didier
[1] https://answers.launchpad.net/rohc/+faq/1140
Attachment:
signature.asc
Description: PGP signature
References
-
Error using the ROHC compressor
From: Josephine Kakande, 2009-09-23
-
Re: Error using the ROHC compressor
From: Josephine Kakande, 2009-10-07
-
Re: Error using the ROHC compressor
From: Yasser Nour El-Din, 2009-10-08
-
Re: Error using the ROHC compressor
From: Josephine Kakande, 2009-10-08
-
Re: Error using the ROHC compressor
From: Yasser Nour El-Din, 2009-10-08
-
Re: Error using the ROHC compressor
From: Josephine Kakande, 2009-10-09
-
Re: Error using the ROHC compressor
From: Didier Barvaux, 2009-10-09
-
Re: Error using the ROHC compressor
From: Josephine Kakande, 2009-10-15
-
Re: Error using the ROHC compressor
From: Didier Barvaux, 2009-10-16
-
Re: Error using the ROHC compressor
From: Rafi us Shan, 2011-07-06