Ethereal-dev: Re: [ethereal-dev] AIX: gtk problem solved, now an ethereal problem

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Wed, 10 Nov 1999 12:50:40 -0800 (PST)
> So after doing all these things, I can compile ethereal and run it.  
> I can list the
> correct network interfaces on my system: lo0 and en0.  However,
> when I start capturing packets on en0,

I don't see anything in your "Things I've done" list about the problem
with "pcap_open_live()" not working - what did you end up doing to fix
that?

(All of the stuff done to "libpcap" to bludgeon it into working on AIX
should probably be contributed to the folks at "tcpdump.org".

The "CHANGES" file in vanilla "libpcap" says

	- Fixes for AIX (although this system is not yet supported). Thanks to
	  John Hawkinson (jhawk@xxxxxxx)

for version 0.2.1, and the INSTALL file for it says:

	If you use AIX, you may not be able to build libpcap from this release.
	Although AIX 4 ships with tcpdump, it is an old version that predates  
	libpcap. We do not have an AIX system in house so it's impossible for  
	us to test AIX patches submitted to us. We are told that you must link
	against /lib/pse.exp, that you must use AIX cc or a GNU C compiler
	newer than 2.7.2 and that you may need to run strload before running a
	libpcap application. Also, it may be necessary to run the configure
	script as root in order for it to detect that bpf is available. Another
	workaround is to use:
 
	    ./configure --with-pcap=bpf

.)