tcpdump mailing list archives

Re: AIX BPF driver load


From: Guy Harris <guy () netapp com>
Date: Mon, 10 Feb 2003 20:25:46 -0800

On Tue, Feb 11, 2003 at 03:10:54PM +1100, Shaun wrote:
Yeah, sorry, I should have specified that one I guess. This is only the
case because the new pcap is a static library, there is no way to specify
dependencies for the static object.

The same is true of SunOS 4.x/SVR4.

(Actually, the dependency is on -lodm and -lcfg)

Yes, I discovered that after tweaking the -lodm case.

Unfortunately, that means that all programs using libpcap will, in order
to work on AIX, have to be built with "-lodm", meaning that their
configure scripts, etc. will have to be changed.

Indeed, either that or we can modify pcap to be built as a shared library
and avoid the problem?

That could be made to work, although the problem with shared libraries
is that the way you build them differs from UNIX to UNIX; we could
perhaps throw in a special hack for AIX, but the ideal would be
something using libtool to figure out the right thing to do on a variety
of platforms (although it'd be useful to be able to configure it to
build static libraries as well).
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe


Current thread: