1 ===============================================================================
2 LIBNET 1.0 (c) 1998 - 2001 Mike D. Schiffman <mike@infonexus.com>
3 http://www.packetfactory.net/libnet
4 ===============================================================================
7 All legacy applications written on top of libnet that have NOT been
8 modified to make use of the libnet-config script will fail. This is
9 because as of version 0.99e libnet needs to have an endian-ness defined
10 (handled by the script). You'll know you have this problem if you see an
13 /usr/include/libnet.h:89: #error "byte order has not been specified, you'll
14 need to #define either LIBNET_LIL_ENDIAN or LIBNET_BIG_ENDIAN. See the
15 documentation regarding the libnet-config script."
17 To remedy this, add to your Makefile something like:
19 DEFINES = `libnet-config --defines` <OTHER_DEFINES_HERE...>
21 Or, if you're compiling at the command line, simply do something like:
23 host:~> gcc -Wall `libnet-config --defines` foo.c `libnet-config --libs`
25 For more information on the libnet-config script, see README.libnet-config.
27 Furthermore, as of 1.0, no legacy naming nomenclature will be supported.