Re: [tcpdump-workers] libpcap: 64bit machine has no compatible 32-bit libpcap library

2013-03-25 Thread Guy Harris
On Mar 25, 2013, at 7:22 AM, Michael Richardson wrote: >> "wen" == wen lui writes: >wen> I want to compile a `.c` file to 32-bit executable using `gcc` >wen> option `-m32` with libpcap the machine is linux 64bit fedora 16 > >wen> how to solve this problem? thanks! > > install

Re: [tcpdump-workers] libpcap: 64bit machine has no compatible 32-bit libpcap library

2013-03-25 Thread Michael Richardson
> "wen" == wen lui writes: wen> I want to compile a `.c` file to 32-bit executable using `gcc` wen> option `-m32` with libpcap the machine is linux 64bit fedora 16 wen> how to solve this problem? thanks! install a 32-bit libpcap. I don't know how to do this on Fedora, but I'm s

[tcpdump-workers] libpcap: 64bit machine has no compatible 32-bit libpcap library

2013-03-25 Thread wen lui
I want to compile a `.c` file to 32-bit executable using `gcc` option `-m32` with libpcap the machine is linux 64bit fedora 16 however, I get the following error [root@fdf source]# gcc -m32 -o test_tcp test_tcp.c -lpcap /usr/bin/ld: skipping incompatible /usr/lib64/libpcap.so when searchi