tcpdump mailing list archives
Re: Fix pcap-linux.c compilation with non-glibc
From: Bruce M Simpson <bms () incunabulum net>
Date: Sat, 01 Mar 2008 08:25:25 +0000
Kris Katterjohn wrote:
| I've attached a patch, and submitted it to the SF.net tracker, to check | for socklen_t in configure. pcap-linux.c is the only file that uses it,| but the #ifndef test to check if it's all ready defined or not is broken.| | Currently it assumes that glibc is the only library that defines | socklen_t, so when a different lib that defines it is used, compilation | fails with a "previous declaration" error. |
You might want to look in XORP for a fairly rigorous set of platform-independent autoconf tests, including (if memory serves me right) socklen_t.
cheers BMS - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- [PATCH] Check for socklen_t in configure Kris Katterjohn (Feb 28)
- Fix pcap-linux.c compilation with non-glibc library Kris Katterjohn (Feb 29)
- Re: Fix pcap-linux.c compilation with non-glibc Bruce M Simpson (Mar 01)
- Re: Fix pcap-linux.c compilation with non-glibc Kris Katterjohn (Mar 01)
- Re: Fix pcap-linux.c compilation with non-glibc Guy Harris (Mar 14)
- Re: Fix pcap-linux.c compilation with non-glibc Bruce M Simpson (Mar 01)
- Re: Fix pcap-linux.c compilation with non-glibc library Kris Katterjohn (Mar 13)
- Fix pcap-linux.c compilation with non-glibc library Kris Katterjohn (Feb 29)