← Back to team overview

rohc team mailing list archive

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:
hello sir ,
this is not comfortable for me to re-install my ubuntu 12.10.
i am  try below command
manish@manish-HP-630-Notebook-PC:~$ gcc -Wall test_pcap.c -o test_pcap
-lpcap
manish@manish-HP-630-Notebook-PC:~$ file test_pcap
test_pcap: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.24,
BuildID[sha1]=0x85c5248439361f209038fbf5686d4c536e3a3dca, not stripped
manish@manish-HP-630-Notebook-PC:~$ ldd test_pcap
    linux-gate.so.1 =>  (0xb7766000)
    libpcap.so.0.8 => /usr/lib/i386-linux-gnu/libpcap.so.0.8 (0xb7713000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7569000)
    /lib/ld-linux.so.2 (0xb7767000)
on behalf of your suggest command.
its working seems to find.
but i am not able to get proper linker order to run rohc library.
please suggest me how to attach library file with linker in a manual mode
and automatic both.
or suggest any reference regarding this because i am beginner for linux.
thank you


On Mon, Sep 9, 2013 at 6:01 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:
> Your system got a problem: a small program with librohc or libpcap fails
> to link, another succeeds with libpcap. If you have access to another
> Ubuntu 12.10 32-bit system, could you please try to link the same small
> programs?
>
> --
> 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.