rohc team mailing list archive
-
rohc team
-
Mailing list archive
-
Message #01314
Re: [Question #234832]: compilation error
Question #234832 on rohc changed:
https://answers.launchpad.net/rohc/+question/234832
Status: Needs information => Open
manish shivare gave more information on the question:
thanks for reply. i am very thankful for you because you give time for my
thread.
but i still have compilation error.
this is the output-
manish@manish-HP-630-Notebook-PC:~/rohc-1.6.1/examples$ gcc -o
simple_rohc_program -g -Wall $(
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ pkg-config rohc --libs --cflags
) simple_rohc_program.c
/tmp/ccz0wPFR.o: In function `main':
/home/manish/rohc-1.6.1/examples/simple_rohc_program.c:91: undefined
reference to `rohc_alloc_compressor'
/home/manish/rohc-1.6.1/examples/simple_rohc_program.c:99: undefined
reference to `rohc_comp_set_random_cb'
/home/manish/rohc-1.6.1/examples/simple_rohc_program.c:111: undefined
reference to `rohc_activate_profile'
/home/manish/rohc-1.6.1/examples/simple_rohc_program.c:113: undefined
reference to `rohc_activate_profile'
/home/manish/rohc-1.6.1/examples/simple_rohc_program.c:168: undefined
reference to `rohc_compress2'
/home/manish/rohc-1.6.1/examples/simple_rohc_program.c:200: undefined
reference to `rohc_free_compressor'
/home/manish/rohc-1.6.1/examples/simple_rohc_program.c:211: undefined
reference to `rohc_free_compressor'
collect2: error: ld returned 1 exit status
On Tue, Sep 3, 2013 at 11:36 PM, Didier Barvaux <
question234832@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Question #234832 on rohc changed:
> https://answers.launchpad.net/rohc/+question/234832
>
> Status: Open => Needs information
>
> Didier Barvaux requested more information:
> Please try:
>
> $ gcc -o simple_rohc_program -g -Wall \
> $( PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ pkg-config rohc --libs
> --cflags ) \
> simple_rohc_program.c
>
> --
> You received this question notification because you are a member of ROHC
> Team, which is an answer contact for rohc.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~rohc
> Post to : rohc@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~rohc
> More help : https://help.launchpad.net/ListHelp
>
--
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.