← Back to team overview

rohc team mailing list archive

Re: [Question #234832]: compilation error


Question #234832 on rohc changed:

    Status: Open => Needs information

Didier Barvaux requested more information:
Thanks. The problem was probably not caused by the previous
installation. It may be either a global problem with your system (gcc,
ld...) or a specific problem with librohc. Let's try to build a small
application that links with another library, libpcap.

$ sudo apt-get install libpcap libpcap-dev   # if not already installed
$ cat > test_pcap.c << EOF
> #include <pcap/pcap.h>
> int main(int argc, char *argv[])
> {
> pcap_t *handle;
> handle = pcap_open_dead(DLT_LINUX_SLL, 5);
> pcap_close(handle);
> return 0;
> }
$ gcc -Wl,--verbose -o test_pcap -lpcap test_pcap.c
$ file test_pcap
$ ldd test_pcap


You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.