Upgrade your gcc or wait until the next version of tcpreplay. On 9/6/07, Piotr Dula (pdula) <[EMAIL PROTECTED]> wrote: > > > > > I installed tcpreplay-2.3.5 successfully but it seems that scapy (packet > crafter in python) needs tcpreplay-3.2.0 and I get an error when executing > "make" in this version: > > [EMAIL PROTECTED] tcpreplay-3.2.0]# make > Making all in scripts > make[1]: Entering directory `/root/Piotr/tcpreplay-3.2.0/scripts' > gcc -DHAVE_CONFIG_H -I. -I../src > -D_U_="__attribute__((unused))" -Wall -O3 -std=gnu99 > -I/usr/local/include -MT man2html.o -MD -MP -MF .deps/man2html.Tpo -c -o > man2html.o man2html.c > mv -f .deps/man2html.Tpo .deps/man2html.Po > /bin/sh ../libtool --tag=CC --mode=link gcc > -D_U_="__attribute__((unused))" -Wall -O3 -std=gnu99 > -I/usr/local/include -o man2html man2html.o -lrt -lnsl > mkdir .libs > gcc "-D_U_=__attribute__((unused))" -Wall -O3 -std=gnu99 > -I/usr/local/include -o man2html man2html.o -lrt -lnsl > make[1]: Leaving directory `/root/Piotr/tcpreplay-3.2.0/scripts' > Making all in lib > make[1]: Entering directory `/root/Piotr/tcpreplay-3.2.0/lib' > gcc -DHAVE_CONFIG_H -I. -I../src > -D_U_="__attribute__((unused))" -Wall -O3 -std=gnu99 > -I/usr/local/include -MT strlcat.o -MD -MP -MF .deps/strlcat.Tpo -c -o > strlcat.o strlcat.c > mv -f .deps/strlcat.Tpo .deps/strlcat.Po > gcc -DHAVE_CONFIG_H -I. -I../src > -D_U_="__attribute__((unused))" -Wall -O3 -std=gnu99 > -I/usr/local/include -MT strlcpy.o -MD -MP -MF .deps/strlcpy.Tpo -c -o > strlcpy.o strlcpy.c > mv -f .deps/strlcpy.Tpo .deps/strlcpy.Po > rm -f libstrl.a > ar cru libstrl.a strlcat.o strlcpy.o > ranlib libstrl.a > make[1]: Leaving directory `/root/Piotr/tcpreplay-3.2.0/lib' > Making all in libopts > make[1]: Entering directory `/root/Piotr/tcpreplay-3.2.0/libopts' > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I../src -I.. -D_U_="__attribute__((unused))" -Wall -O3 > -std=gnu99 -I/usr/local/include -MT libopts_la-libopts.lo -MD -MP -MF > .deps/libopts_la-libopts.Tpo -c -o libopts_la-libopts.lo `test -f > 'libopts.c' || echo './'`libopts.c > mkdir .libs > gcc -DHAVE_CONFIG_H -I. -I../src -I.. "-D_U_=__attribute__((unused))" -Wall > -O3 -std=gnu99 -I/usr/local/include -MT libopts_la-libopts.lo -MD -MP -MF > .deps/libopts_la-libopts.Tpo -c libopts.c -fPIC -DPIC -o > .libs/libopts_la-libopts.o > gcc -DHAVE_CONFIG_H -I. -I../src -I.. "-D_U_=__attribute__((unused))" -Wall > -O3 -std=gnu99 -I/usr/local/include -MT libopts_la-libopts.lo -MD -MP -MF > .deps/libopts_la-libopts.Tpo -c libopts.c -o libopts_la-libopts.o >/dev/null > 2>&1 > mv -f .deps/libopts_la-libopts.Tpo .deps/libopts_la-libopts.Plo > /bin/sh ../libtool --tag=CC --mode=link gcc > -D_U_="__attribute__((unused))" -Wall -O3 -std=gnu99 > -I/usr/local/include -version-info 30:0:5 -o libopts.la > libopts_la-libopts.lo -lrt -lnsl > libtool: link: warning: `-version-info/-version-number' is ignored for > convenience libraries > ar cru .libs/libopts.a .libs/libopts_la-libopts.o > ranlib .libs/libopts.a > creating libopts.la > (cd .libs && rm -f libopts.la && ln -s ../libopts.la libopts.la) > make[1]: Leaving directory `/root/Piotr/tcpreplay-3.2.0/libopts' > Making all in src > make[1]: Entering directory `/root/Piotr/tcpreplay-3.2.0/src' > make all-recursive > make[2]: Entering directory `/root/Piotr/tcpreplay-3.2.0/src' > Making all in common > make[3]: Entering directory `/root/Piotr/tcpreplay-3.2.0/src/common' > make all-am > make[4]: Entering directory `/root/Piotr/tcpreplay-3.2.0/src/common' > gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -I../.. > -D_U_="__attribute__((unused))" -Wall -O3 -std=gnu99 > -I/usr/local/include -MT cidr.o -MD -MP -MF .deps/cidr.Tpo -c -o cidr.o > cidr.c > mv -f .deps/cidr.Tpo .deps/cidr.Po > gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -I../.. > -D_U_="__attribute__((unused))" -Wall -O3 -std=gnu99 > -I/usr/local/include -MT err.o -MD -MP -MF .deps/err.Tpo -c -o err.o err.c > mv -f .deps/err.Tpo .deps/err.Po > gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -I../.. > -D_U_="__attribute__((unused))" -Wall -O3 -std=gnu99 > -I/usr/local/include -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o > list.c > mv -f .deps/list.Tpo .deps/list.Po > gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -I../.. > -D_U_="__attribute__((unused))" -Wall -O3 -std=gnu99 > -I/usr/local/include -MT cache.o -MD -MP -MF .deps/cache.Tpo -c -o cache.o > cache.c > cache.c:326:1: directives may not be used inside a macro argument > cache.c:320:55: unterminated argument list invoking macro "dbgx" > cache.c: In function `add_cache': > cache.c:329: `dbgx' undeclared (first use in this function) > cache.c:329: (Each undeclared identifier is reported only once > cache.c:329: for each function it appears in.) > cache.c:329: parse error before string constant > make[4]: *** [cache.o] Error 1 > make[4]: Leaving directory `/root/Piotr/tcpreplay-3.2.0/src/common' > make[3]: *** [all] Error 2 > make[3]: Leaving directory `/root/Piotr/tcpreplay-3.2.0/src/common' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/root/Piotr/tcpreplay-3.2.0/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/root/Piotr/tcpreplay-3.2.0/src' > make: *** [all-recursive] Error 1 >
-- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Tcpreplay-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
