Ethereal-users: Re: [ethereal-users] compilation prob.
OK. It still didn't want to complete the call to net/if.h no matter what
I did, so I just removed the ifdef statements, made "if.h" a local file
and finally compiled it!
ethereal is now working, thanks much.
Paul Mitchell
==============================================================================
Paul Mitchell
email: pmitchel@xxxxxxxxxxxxx
phone: (919) 962-9778
office: I have an office, room 28, Phillips Hall
==============================================================================
On Sat, 16 Sep 2000, Guy Harris wrote:
> On Fri, Sep 15, 2000 at 04:33:14PM -0400, Paul Mitchell wrote:
> > I'm having trouble with util.c:
>
> Apply the attached patch to it.
>
> If it fails to compile because it cannot find <net/if.h>, then you need
> to install whatever package in your Solaris distribution includes that
> header file, run "make distclean", run "configure", and rebuild. The
> code to build the list of interfaces in the combo box in the capture
> preferences dialog requires, on UNIX, that IFF_UP, IFF_LOOPBACK, "struct
> ifreq", and "struct ifconf" be defined, and, on all UNIXes I know of,
> they are defined in <net/if.h> (note that libpcap includes <net/if.h>
> unconditionally in "inet.c", as "pcap_lookupdev()" also searches the
> system's list of interfaces, using a similar mechanism).
>