tcpdump mailing list archives

Re: SCO libpcap


From: "sufei7099" <sufei7099 () gmail com>
Date: Mon, 16 Jun 2008 09:07:31 +0800

I didn't change anything to Makefile, and the file fad-gifc.c had been built. The result is still:
  
# ./cmdpcap
undefined                       first referenced
 symbol                             in file
pcap_findalldevs                    mypcap.o
pcap_lookupnet                      mypcap.o
pcap_open_live                      mypcap.o
pcap_compile                        mypcap.o
pcap_setfilter                      mypcap.o
pcap_close                          mypcap.o
i386ld fatal: Symbol referencing errors. No output written to mypcap

No function can be found. Waitting for your help!!




sufei7099
2008-06-16



发件人: Guy Harris
发送时间: 2008-06-14 01:06:03
收件人: tcpdump-workers () lists tcpdump org
抄送: 
主题: Re: [tcpdump-workers] SCO libpcap

sufei7099 wrote:
I think I have install the libpcap on SCO successfully.

Did you do so by changing the Makefile not to try to build fad-gifc.c?

If so, then:

undefined                       first referenced
 symbol                             in file
pcap_findalldevs                    mypcap.o
i386ld fatal: Symbol referencing errors. No output written to mypcap

I really don't know why the libpcap.a can not be used successfully?

it can't be used successfully with any program that uses 
pcap_findalldevs() because fad-gifc.c is the file that would define 
pcap_findalldevs() on, among other OSes, SCO OpenServer 5.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Current thread: