tcpdump mailing list archives
Re: SCO libpcap
From: "sufei7099" <sufei7099 () gmail com>
Date: Fri, 13 Jun 2008 15:25:34 +0800
I think I have install the libpcap on SCO successfully.The libraries are installed on /usr/local/lib. The include files are installed on /usr/local/include. But when I write a small program with libpcap,I can not compile it successfully. The results is: # ./cmd 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? sufei7099 2008-06-13 发件人: Guy Harris 发送时间: 2008-06-13 00:03:10 收件人: tcpdump-workers () lists tcpdump org 抄送: 主题: Re: [tcpdump-workers] SCO libpcap sufei7099 wrote:
It's print nothing.
I suspected it would. Are you running OpenServer 5, OpenServer 6, That means that the code in libpcap's pcap-dlpi.c probably can't easily be made to work on OpenServer 5. About the only thing I can suggest is to try replacing the #include <sys/dlpi.h > file with #include <sys/attdlpi.h > and see whether that compiles and works. If it does, let us know; if it doesn't, you'd have probably have to ask SCO for help; unfortunately, I don't see anything about running libpcap on OpenServer 5 on the Web, and the page at http://www.sco.com/skunkware/ has, in a section called "OSR5/UW7 Source Archives", the unchanged libpcap 0.6.2 I mentioned in an earlier message, so if "OSR5" is short for "OpenServer Release 5", that may mean that SCO don't have libpcap for OpenServer 5 (it might work on UnixWare 7, but not 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:
- Re: SCO libpcap, (continued)
- Re: SCO libpcap sufei7099 (Jun 11)
- Re: SCO libpcap Guy Harris (Jun 11)
- Re: SCO libpcap sufei7099 (Jun 11)
- Re: SCO libpcap Guy Harris (Jun 11)
- Re: SCO libpcap sufei7099 (Jun 11)
- Re: SCO libpcap Guy Harris (Jun 11)
- Re: SCO libpcap sufei7099 (Jun 11)
- Re: SCO libpcap Guy Harris (Jun 12)
- Re: SCO libpcap sufei7099 (Jun 12)
- Re: SCO libpcap Guy Harris (Jun 13)
- Re: SCO libpcap sufei7099 (Jun 13)
- Re: SCO libpcap Guy Harris (Jun 13)
- Re: SCO libpcap sufei7099 (Jun 16)
- Re: SCO libpcap sufei7099 (Jun 11)
- Re: SCO libpcap sufei7099 (Jun 13)
- Re: SCO libpcap Guy Harris (Jun 13)
- Re: SCO libpcap sufei7099 (Jun 16)
- Re: SCO libpcap sufei7099 (Jun 16)
- Re: SCO libpcap sufei7099 (Jun 17)
- Re: SCO libpcap sufei7099 (Jun 22)
- Re: SCO libpcap sufei7099 (Jun 13)
- Re: SCO libpcap sufei7099 (Jun 17)