To: ctd@ecmwf.co.uk (Didier Garcon) Reply-To: libpcap@ee.lbl.gov Cc: libpcap@ee.lbl.gov Subject: Re: Where is bufmod.h on IRIX 5.2 Date: Tue, 18 Oct 94 18:13:46 PDT From: Craig Leres > I am know trying to build libpcap-0.0 on a SGI challenge running IRIX 5.2 and > get the following message when I run ./configure: The problem is that IRIX has sys/dlpi.h but doesn't support the dlpi interface. Apply the appended patch to libpcap/configure and rerun configure. You should end up using snoop under IRIX. Craig ------ *** configure.virgin Tue Oct 18 18:11:02 1994 --- configure Tue Oct 18 18:11:10 1994 *************** *** 17,26 **** set pcap=snit else if ( -f /usr/include/sys/net/nit.h ) then set pcap=nit else if ( -f /usr/include/sys/dlpi.h ) then set pcap=dlpi - else if ( -f /usr/include/net/raw.h ) then - set pcap=snoop else echo "configure: cannot determine packet capture interface" exit 1 --- 17,26 ---- set pcap=snit else if ( -f /usr/include/sys/net/nit.h ) then set pcap=nit + else if ( -f /usr/include/net/raw.h ) then + set pcap=snoop # must test for snoop before dlpi due to IRIX else if ( -f /usr/include/sys/dlpi.h ) then set pcap=dlpi else echo "configure: cannot determine packet capture interface" exit 1