(The LBL folks aren't maintaining libpcap and tcpdump any more;
[EMAIL PROTECTED] and [EMAIL PROTECTED] are now being redirected to
[EMAIL PROTECTED], so I changed the CC to go there directly.)

> OS: Red Hat Linux release 7.0 (Guiness) with kernel 2.2.16-22 on an i686.
> 
> Errors: in pcap.c line 160 is:" extern char *sys_errlist[] "

Which version of libpcap is this?  Neither the 0.4 version (from LBL),
the 0.5.2 version (from tcpdump.org), nor the current 0.6.2 version
(from tcpdump.org) have that declaration on line 160 of "pcap.c".

Furthermore, all three of those versions, when they *do* declare
"sys_errlist"

        1) only do so if HAVE_STRERROR isn't defined, and Red Hat 7.0
           most definitely has "strerror()" (so that code won't be
           compiled in on RH 7.0, unless it's been misconfigured);

        2) declare it as "extern const char *const sys_errlist[];

so you're using either a really old version or a non-standard version.

If you're using a really old version, use a newer version.

If you're using a non-standard version, complain to whoever supplied
that version.
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to