building against 1.1.3-RC-01
Aaron Turner <[email protected]> Tue, 25 Jan 2005 15:41:05 -0800
| Newsgroups | gmane.comp.security.libnet |
|---|---|
| Message-ID | <[email protected]> |
--zS7rBR6csb6tI2e1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
So I'm trying to build my code against libnet 1.1.3-RC-01 but I'm
getting a compile error:
In file included from /usr/include/libnet.h:120,
from defines.h:18,
from tcpreplay_opts.c:47:
/usr/include/libnet/libnet-types.h:36:23: ../config.h: No =
such file or directory
What seems to be happening as far as I can tell is that as part of my
autoconf/make scripts, I pass -DHAVE_CONFIG_H to gcc which causes
libnet-types.h to look for ../config.h (effectively
/usr/include/config.h) which doesn't exist and it blows up.
This would seem to be less then ideal behaviour :) Anyone know why
libnet-types.h wants to include config.h (none of the other libnet-*.h
seem to think they need it). For now I've just commented out the
appropriate lines in libnet-types.h and everything builds cleanly.
--=20
Aaron Turner <aturner at pobox.com|synfin.net> http://synfin.net/
They that can give up essential liberty to obtain a little temporary=20
safety deserve neither liberty nor safety. -- Benjamin Franklin
All emails are PGP signed; a lack of a signature indicates a forgery.
--zS7rBR6csb6tI2e1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Public key at: http://www.synfin.net/aturner/pgpkey.asc
iD8DBQFB9tkRhweYF/hu2uYRAoHkAKCHBBsmDtgl5x95TL2uXVrA77MHEACeLMkd
2MmccRYQWg8jtwyg9sunEbQ=
=UHS2
-----END PGP SIGNATURE-----
--zS7rBR6csb6tI2e1--