Package: tcpreplay Version: 2.99+3.0.beta7-1 Severity: serious Tags: patch When building 'tcpreplay' on powerpc/unstable, I get the following error:
In file included from cidr.c:35: ../../src/defines.h:115: error: conflicting types for 'speed_t' /usr/include/bits/termios.h:24: error: previous declaration of 'speed_t' was here make[5]: *** [cidr.o] Error 1 make[5]: Leaving directory `/tcpreplay-2.99+3.0.beta7/src/common' With the attached patch 'tcpreplay' can be compiled on powerpc. Regards Andreas Jochens diff -urN ../tmp-orig/tcpreplay-2.99+3.0.beta7/src/defines.h.in ./src/defines.h.in --- ../tmp-orig/tcpreplay-2.99+3.0.beta7/src/defines.h.in 2005-07-29 04:42:25.000000000 +0000 +++ ./src/defines.h.in 2006-04-06 08:55:14.000000000 +0000 @@ -112,7 +112,6 @@ #define SPEED_ONEATATIME 5 float speed; }; -typedef struct speed_s speed_t; #define MAX_FILES 1024 /* Max number of files we can pass to tcpreplay */ diff -urN ../tmp-orig/tcpreplay-2.99+3.0.beta7/src/tcpreplay.h ./src/tcpreplay.h --- ../tmp-orig/tcpreplay-2.99+3.0.beta7/src/tcpreplay.h 2005-07-29 04:42:25.000000000 +0000 +++ ./src/tcpreplay.h 2006-04-06 08:55:39.000000000 +0000 @@ -57,7 +57,7 @@ int datadumpfile1; int datadumpfile2; */ - speed_t speed; + struct speed_s speed; u_int32_t limit; u_int32_t loop; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]