some (minor, libopts) issues building 3.0beta11 on FC4 i686
2006-09-01 20:44:04 GMT
I've registered with Trac on the tcpreplay.synfin.net site, but I guess
you have to manually enable submission privileges for me to be able to
submit tickets.
I got the following warning during compilation of the libopts library:
In file included from ../../libopts/libopts.c:2:
../../libopts/compat/compat.h:245:1: warning: "strchr" redefined
In file included from /usr/include/string.h:417,
from /usr/include/memory.h:30,
from ../../libopts/compat/compat.h:127,
from ../../libopts/libopts.c:2:
/usr/include/bits/string2.h:396:1: warning: this is the location of the
previous definition
The problem here is that libopts is using #ifdef HAVE_STRCHR, but the
config.h file used (generated as part of the tcpreplay/configure run)
doesn't actually check for strchr (which is present on this system,
really most nowadays as it is ANSI C). Fixes would be to change the
sense of the libopts test or add a check for strchr() in the tcpreplay
configure.in:
--- configure.in~ 2006-09-01 14:18:03.000000000 -0400
+++ configure.in 2006-09-01 16:18:18.000000000 -0400
<at> <at> -119,7 +119,7 <at> <at>
AC_FUNC_MEMCMP
AC_TYPE_SIGNAL
AC_FUNC_VPRINTF
-AC_CHECK_FUNCS([gettimeofday ctime memset regcomp strdup strerror
strtol strncpy strtoull poll ntohll mmap snprintf vsnprintf])
+AC_CHECK_FUNCS([gettimeofday ctime memset regcomp strchr strdup
(Continue reading)
RSS Feed