tcpdump mailing list archives
Fix pcap-linux.c compilation with non-glibc library
From: Kris Katterjohn <katterjohn () gmail com>
Date: Fri, 29 Feb 2008 20:12:16 -0600
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kris Katterjohn wrote: | Hey tcpdump-workers, | | 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. | Maybe if I wrote emails when I'm more awake I'd have a more descriptive title to go along with it :) Sorry for the extra email, but the other one didn't sound very enticing. Thanks, Kris Katterjohn -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIVAwUBR8i7fv9K37xXYl36AQJtPxAAuSkKNgYU469BLn2LI9dw8Rn9LzNjXpkv w3L1J6J3z7ybn9t+zqEfxb37W0CGP1GsIhi43N534pOnqCn5SdWTgGwLPK7A8urG cfGp3gpzh8lNkPFfPJsA5LjjGzryDrT0DWOYfKrvK3LSHeNFOV0V+/TinMrNbpis Dw29YaiXPWjdHsktmnNPm4pSEAy8wfGkWddFTpVpLVduq2X8ffu9mubs/bzR6XrE QQmo+huUxsoydAdJM+Bjy4QbHMqvl5eWiU3Yy7l9293SkRESQSUf9zjw4B4CMJCn jUTBicr4KV05/er0uCBVZmuD9GEQS0Th1duifpsaDweHF6D/oq/FLF00zwJiuKm8 EbP4/ljmiALPk1xrCQhHAEaf3CyiGyzyVkbUPxmB/tl/S1jhC9Zyn6pQw8oX+svS hVTG038KEZFEh1nnpDAFnIpEERcajUMe2Mjh6ClyvbblZCmKkTCF/KQHLGS6dP2Z hoR+OUMSxcv9V9pj1LAHX23gpNYyyIo8eRsdOu4QtRW8vw6pitbFDPkLxakjmPuw VzwMVRKyuxpRiqcx02GOBwkPZ0SEtXV653NvUCK8zuc2VH0uYfFWePhBJxPGtLKS 6OiCO4W7fC4YOG/zuD/lhsQ0lWvOVfejii7VuFJTTOFuDLQEApS09rm7Ht7eIhHo bRM+1+Dqeb4= =eJeX -----END PGP SIGNATURE----- - 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)