Wireshark-users: Re: [Wireshark-users] Build just command line tools for AIX
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 19 Dec 2016 11:00:17 -0800
On Dec 19, 2016, at 6:48 AM, Perry Smith <pedzsan@xxxxxxxxx> wrote:

> Started building wireshark without the GUI.  One hiccup is the configure script found LIBPCAP so it defined HAVE_LIBPCAP.  But one file was asking for PCAP_ERROR which is not defined in AIX (this is AIX 6.1).

Fixed in

	https://code.wireshark.org/review/19351

It was using PCAP_ERROR in one case where it wasn't guaranteed to be defined - it wasn't defined until libpcap 1.0, but pcap_list_datalinks() is present before 1.0.

> About the only thing I need to modify is to add one -Wl,-bbigtoc to one of the strings in the Makefile.  I don’t know how to do this properly so that it applies only to AIX.
> 
> Do you want me to open a bug report?

Yes.