Last attempt had delivery issues... let's try again... ---------- Forwarded message ---------- From: Aaron Turner <[EMAIL PROTECTED]> Date: Sep 28, 2006 8:21 AM Subject: Re: [Tcpreplay-users] Compile errors on Redhat 9 Kernel 2.4.20-8 To: Main forum for tcpreplay <[email protected]>
Hi James, The issue you're having is described in ticket #79: http://tcpreplay.synfin.net/trac/ticket/79 It's a compatiblity issue with older versions of GCC. You can either wait for beta12 to fix it, or upgrade to a more recent version of GCC. -- Aaron Turner http://synfin.net/ On 9/28/06, James Bergeron <[EMAIL PROTECTED]> wrote: > Hi, > > I am new to tcpreplay and cannot get the product to compile. Any help > would be greatly appreciated. > > During compile I get the following errors: > > make[4]: Entering directory `/home/jamesbe/tcpreplay-3.0.beta11/src/common' > if gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I.. -I../.. -g -O2 -Wall > -O2 -funroll-loops -std=gnu99 -MT cidr.o -MD -MP -MF ".deps/cidr.Tpo" -c > -o cidr.o cidr.c; \ > then mv -f ".deps/cidr.Tpo" ".deps/cidr.Po"; else rm -f > ".deps/cidr.Tpo"; exit 1; fi > if gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I.. -I../.. -g -O2 -Wall > -O2 -funroll-loops -std=gnu99 -MT err.o -MD -MP -MF ".deps/err.Tpo" -c > -o err.o err.c; \ > then mv -f ".deps/err.Tpo" ".deps/err.Po"; else rm -f ".deps/err.Tpo"; > exit 1; fi > if gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I.. -I../.. -g -O2 -Wall > -O2 -funroll-loops -std=gnu99 -MT list.o -MD -MP -MF ".deps/list.Tpo" -c > -o list.o list.c; \ > then mv -f ".deps/list.Tpo" ".deps/list.Po"; else rm -f > ".deps/list.Tpo"; exit 1; fi > if gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I.. -I../.. -g -O2 -Wall > -O2 -funroll-loops -std=gnu99 -MT cache.o -MD -MP -MF ".deps/cache.Tpo" > -c -o cache.o cache.c; \ > then mv -f ".deps/cache.Tpo" ".deps/cache.Po"; else rm -f > ".deps/cache.Tpo"; exit 1; fi > cache.c:323:1: directives may not be used inside a macro argument > cache.c:317:55: unterminated argument list invoking macro "dbgx" > cache.c: In function `add_cache': > cache.c:326: `dbgx' undeclared (first use in this function) > cache.c:326: (Each undeclared identifier is reported only once > cache.c:326: for each function it appears in.) > cache.c:326: parse error before string constant > make[4]: *** [cache.o] Error 1 > make[4]: Leaving directory `/home/jamesbe/tcpreplay-3.0.beta11/src/common' > make[3]: *** [all] Error 2 > make[3]: Leaving directory `/home/jamesbe/tcpreplay-3.0.beta11/src/common' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/jamesbe/tcpreplay-3.0.beta11/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/home/jamesbe/tcpreplay-3.0.beta11/src' > make: *** [all-recursive] Error 1 -- Aaron Turner http://synfin.net/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Tcpreplay-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
