On 4/14/07, CS Lee <[EMAIL PROTECTED]> wrote: > Aaron, > > I got this error when compiling it on FreeBSD 6.2 > > gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -I../.. -g -O2 -Wall -O2 > -funroll-loops -std=gnu99 -Wextra -I/usr/include -MT cidr.o -MD -MP -MF > .deps/cidr.Tpo -c -o cidr.o cidr.c > In file included from ../../src/defines.h:44, > from cidr.c:35: > /usr/local/include/libnet.h:87:2: #error "byte order has > not been specified, you'll" > In file included from cidr.c:35: > ../../src/defines.h:47: error: syntax error before string constant > In file included from cidr.c:35: > ../../src/defines.h:1:1: unterminated #ifndef > *** Error code 1
What version of libnet are you using? I've only tested aginst 1.1.3-rc1. Honestly, libnet is just a big @#$*! mess. With 3.0, you don't need libnet under *BSD so I would just uninstall it unless you really need it for something else. -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Tcpreplay-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
