tcpdump mailing list archives

Re: Fix pcap-linux.c compilation with non-glibc library


From: Kris Katterjohn <katterjohn () gmail com>
Date: Thu, 13 Mar 2008 13:53:59 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kris Katterjohn wrote:
| 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.
| |
|

Sorry to bother, but after two weeks I'm starting to wonder if there is
something wrong with my patch :)

Thanks,
Kris Katterjohn

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBR9l4Q/9K37xXYl36AQKvlA//b9xdWgw9X0SXT6qUmDOqhYwGIVofEvKv
kwEh06937poN5rKThTvTNLdzgq8CNPcysM+ZfBDZuEQKdZS59L5J0vw28ByrsQhJ
VjamWYaPqMPluszoXE1YRb/iXVGHgCms0B3lhxUtZqYOu7d0LV9qoV55mOeREcUJ
gUyyAtHZw1P/SkkBFL2xsNeIt/TYQ9mRJVExXKPWLOIJJE8EQjPFFYom0NavxP2p
VcptjzLOKQDdKNlHkpvTtCxFlsw8sMN08e00g9MXQqffu1L7u8pMvOimXy6ih2WN
jhmpxH11VUZPDReka6AOP1ahfzzJBQIlaHEpy55XKjlrLM52Po8elXTnbza/xdzX
zvWmlmPrecQ+7talJwjM7NjibX+sGafHF4H8WYOgBV8JLvy344G930Xcmbq7EfJ8
iIR1QnT0K9EIGxjdJxFVXy09swa4epbDXmIpU7QGyJ1VWsdAir9JqWekGDSPWfw8
lPdMsk2yV0RZ+D8uEMz6phy5CMYd4jecpuCUcyKZsGmezWGi5nJKEm+td8NbB2fb
gxx7zWlqu2Kv0CTumiYynqGlcbH87Iqlx622CO+cPjsRphdoH12JtKmvpejLburk
0myQhCV7WNUeT4XT8m06NTj48iONdWZBMdrGqb0Wh+earICkZ/L+bR0LaqL9jFv7
U20+Aem1j8M=
=Yz2C
-----END PGP SIGNATURE-----
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: