Hi Josephine,
> Thanks for your reply. Apologies for the delayed response; I hadn't > accessed my list mail in a while. No problem. Everyone is busy :) > When I compiled again there were fewer errors: > $ gcc -o packetforwardrohc packetforwardrohc.c -lrohc_decomp > -lrohc_comp -lrohc_common -lm -lnet -lpcap > > packetforwardrohc.c: In function ‘got_packet’: > packetforwardrohc.c:540: warning: passing argument 2 of > ‘rohc_compress’ discards qualifiers from pointer target type > /usr/lib/gcc/i486-linux-gnu/4.2.4/../../../../lib/crt1.o: In function > `_start': > (.text+0x18): undefined reference to `main' > collect2: ld returned 1 exit status > > > A simple program example for using the ROHC compression is > > attached to this message. You may build it with the following GCC > > command : $ gcc -o simple_rohc_program -g -Wall \ > > -lrohc_common -lrohc_comp -lm \ > > simple_rohc_program.c > > Thanks a lot, the simple program is running perfectly, and I'll use > it to help debug my program. Good news. Good luck with your program. Didier Barvaux Viveris Technologies _______________________________________________ Mailing list: https://launchpad.net/~rohc Post to : [email protected] Unsubscribe : https://launchpad.net/~rohc More help : https://help.launchpad.net/ListHelp

