tcpdump mailing list archives

Re: SCO libpcap


From: Guy Harris <guy () alum mit edu>
Date: Wed, 11 Jun 2008 19:02:21 -0700


On Jun 11, 2008, at 6:44 PM, sufei7099 wrote:

the following is the faults when I run make after run ./configure:

What was the output of ./configure?

"pcap-dlpi.c", line 699: error: undefined symbol: DL_PROMISC_PHYS

Googling for DL_PROMISC_PHYS on any sco.com site found no hits.

This could mean that SCO's version of DLPI is sufficiently different from the DLPI in, for example, Solaris or HP-UX that libpcap would have to be changed significantly to work on SCO OpenServer. The page at

        http://osr600doc.sco.com/en/HDK_concepts/ddT_dlpi.html

further suggests that they do things very differently, and therefore that completely new libpcap code would have to be written to support SCO's various flavors of UN*X.

Or maybe they define all those values, but in different header files than <sys/dlpi.h> or files it includes; that would be a bit annoying, given that, for example, this stuff from the DLPI specification:

        http://www.opengroup.org/onlinepubs/9638599/apdxf.htm

indicates that <sys/dlpi.h> is supposed to define DL_PROMISC_PHYS.

Could you do

        ls -l /usr/include/sys/dlpi.h
        ls -l /usr/local/include/sys/dlpi.h
        egrep DL_PROMISC_PHYS /usr/include/sys/*.h /usr/local/include/sys/*.h

and send us the output of those commands?
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: