Open GoogleCodeExporter opened 9 years ago
Could you submit the entire ./configure run?
Original comment by AaronMat...@gmail.com
on 8 Apr 2015 at 5:26
root@WebNDT:~/test/ndt# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable debugging... no
checking whether to enable experimental code... yes
checking whether to enable database support... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for web100_snap in -lweb100... no
checking for tcpe_client_init in -ltcpe... no
checking for pcap_open_live in -lpcap... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking pcap.h usability... no
checking pcap.h presence... no
checking for pcap.h... no
./configure: line 4460: test: ==: unary operator expected
checking for deflateInit_ in -lz... no
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking for SQLDriverConnect in -lodbc... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether ln -s works... yes
checking dependency style of javac... none
checking for javac... javac
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking linux/sockios.h usability... yes
checking linux/sockios.h presence... yes
checking for linux/sockios.h... yes
checking net/ethernet.h usability... yes
checking net/ethernet.h presence... yes
checking for net/ethernet.h... yes
checking netinet/ip6.h usability... yes
checking netinet/ip6.h presence... yes
checking for netinet/ip6.h... yes
checking linux/icmpv6.h usability... yes
checking linux/icmpv6.h presence... yes
checking for linux/icmpv6.h... yes
checking sql.h usability... no
checking sql.h presence... no
checking for sql.h... no
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for error_at_line... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking for wait3 that fills in rusage... yes
checking for alarm... yes
checking for bzero... yes
checking for gethostbyaddr... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for sqrt... no
checking for strchr... yes
checking for strstr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating Admin/Makefile
config.status: creating Applet/Makefile
config.status: creating conf/Makefile
config.status: creating doc/Makefile
config.status: creating janalyze/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
=== configuring in I2util (/root/test/ndt/I2util)
configure: running /bin/bash ./configure --disable-option-checking
'--prefix=/usr/local' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
./configure: line 2776: I2_RANDOMDEV: command not found
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for library containing getaddrinfo... none required
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
./configure: line 4525: I2_C___ATTRIBUTE__: command not found
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
./configure: line 4653: I2_C_SYSLOG_NAMES: command not found
./configure: line 4654: I2_C_SYSLOG_PERROR: command not found
checking for struct sockaddr.sa_len... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for strftime... yes
checking for memset... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking for strtoul... yes
checking for socket... yes
checking for getaddrinfo... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating I2util/Makefile
config.status: creating aespasswd/Makefile
config.status: creating pfstore/Makefile
config.status: creating doc/Makefile
config.status: creating test/Makefile
config.status: creating I2util.spec
config.status: creating I2util/config.h
config.status: I2util/config.h is unchanged
config.status: executing depfiles commands
config.status: executing default commands
***********************************
*** Network Diagnostic Tool ***
***********************************
* configured modules *
***********************************
*** Client Tools - complete
* web100clt: YES
*** Server Tools - incomplete
* fakewww: NO (missing web100 library)
* web100srv: NO (missing web100 library)
* web10gsrv: NO (missing tcpe (web10g) library)
* Tcpbw100.jar: YES
*** Administrative Tools - incomplete
* analyze: NO (missing web100 library)
* viewtrace: NO (missing web100 library)
* tr-mkmap: NO (missing web100 library)
* genplot: NO (missing web100 library)
* JAnalyze.jar: YES
* Admin.class: YES
Original comment by bott...@gmail.com
on 8 Apr 2015 at 5:40
Try ndt 3.7.0-rc3:
http://ndb1.internet2.edu/~aaron/ndt-3.7.0-3.el6.x86_64/ndt-3.7.0-rc3.tar.gz
Original comment by AaronMat...@gmail.com
on 8 Apr 2015 at 5:49
That works thanks!
root@WebNDT:~/test2/ndt-3.7.0-rc3# ./configure --with-I2util
/root/tests2/I2util/
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /root/tests2/I2util/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable debugging... no
checking whether to enable experimental code... yes
checking whether to enable database support... yes
checking for javac... javac
checking for javac... (cached) javac
checking for mxmlc... no
checking for style of include used by make... GNU
checking for /root/tests2/I2util/-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing I2AddrByNode... -lI2util
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for I2util/util.h... yes
checking for I2util/conf.h... yes
checking for web100_snap in -lweb100... no
checking for estats_record_open in -lestats... yes
checking for pcap_open_live in -lpcap... yes
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for json_true in -ljansson... yes
checking for deflateInit_ in -lz... no
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking for SQLDriverConnect in -lodbc... no
checking for /root/tests2/I2util/-gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether ln -s works... yes
checking for /root/tests2/I2util/-gcj... javac
checking dependency style of javac... none
checking for javac... javac
checking for mxmlc... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking linux/sockios.h usability... yes
checking linux/sockios.h presence... yes
checking for linux/sockios.h... yes
checking net/ethernet.h usability... yes
checking net/ethernet.h presence... yes
checking for net/ethernet.h... yes
checking netinet/ip6.h usability... yes
checking netinet/ip6.h presence... yes
checking for netinet/ip6.h... yes
checking linux/icmpv6.h usability... yes
checking linux/icmpv6.h presence... yes
checking for linux/icmpv6.h... yes
checking sql.h usability... no
checking sql.h presence... no
checking for sql.h... no
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for error_at_line... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking for wait3 that fills in rusage... yes
checking for alarm... yes
checking for bzero... yes
checking for gethostbyaddr... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for sqrt... no
checking for strchr... yes
checking for strstr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating Admin/Makefile
config.status: creating Applet/Makefile
config.status: creating conf/Makefile
config.status: creating doc/Makefile
config.status: creating janalyze/Makefile
config.status: creating flash-client/Makefile
config.status: creating HTML5-frontend/Makefile
config.status: creating config.h
config.status: executing depfiles commands
***********************************
*** Network Diagnostic Tool ***
***********************************
* configured modules *
***********************************
*** Client Tools - complete
* web100clt: YES
* Tcpbw100.jar: YES
* flash-client: YES
*** Server Tools - incomplete
* fakewww: NO (disabled by default)
* web100srv: NO (missing web100 library)
* web10gsrv: YES
*** Administrative Tools - incomplete
* analyze: NO (missing web100 library)
* viewtrace: NO (missing web100 library)
* tr-mkmap: NO (missing web100 library)
* genplot: NO (missing web100 library)
* genplot10g: YES
* JAnalyze.jar: YES
* Admin.class: YES
root@WebNDT:~/test2/ndt-3.7.0-rc3#
Original comment by bott...@gmail.com
on 8 Apr 2015 at 6:25
Hmm now I get an error when running make
root@WebNDT:~/test2/ndt-3.7.0-rc3# make
make all-recursive
make[1]: Entering directory `/root/test2/ndt-3.7.0-rc3'
Making all in src
make[2]: Entering directory `/root/test2/ndt-3.7.0-rc3/src'
gcc -pedantic -Wall -fno-strict-aliasing -std=gnu99 -DNDEBUG -O2
-DEXPERIMENTAL_ENABLED -DDATABASE_ENABLED -L/usr/local/lib
-Wl,-rpath,/usr/local/lib -o web100clt web100clt-web100clt.o
web100clt-network.o web100clt-usage.o web100clt-logging.o web100clt-utils.o
web100clt-protocol.o web100clt-runningtest.o web100clt-ndtptestconstants.o
web100clt-test_sfw_clt.o web100clt-test_mid_clt.o web100clt-test_c2s_clt.o
web100clt-test_s2c_clt.o web100clt-test_meta_clt.o web100clt-strlutils.o
web100clt-test_results_clt.o web100clt-jsonutils.o -lpthread -ljansson
-lI2util
/usr/local/lib/libI2util.a(mach_dep.o): In function `I2GetSysErrList':
/root/test2/I2util-1.2/I2util/mach_dep.c:104: warning: `sys_errlist' is
deprecated; use `strerror' or `strerror_r' instead
/root/test2/I2util-1.2/I2util/mach_dep.c:102: warning: `sys_nerr' is
deprecated; use `strerror' or `strerror_r' instead
web100clt-logging.o: In function `zlib_def':
logging.c:(.text+0x53f): undefined reference to `deflateInit2_'
logging.c:(.text+0x616): undefined reference to `deflate'
logging.c:(.text+0x664): undefined reference to `deflateEnd'
logging.c:(.text+0x684): undefined reference to `deflateEnd'
collect2: error: ld returned 1 exit status
make[2]: *** [web100clt] Error 1
make[2]: Leaving directory `/root/test2/ndt-3.7.0-rc3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/test2/ndt-3.7.0-rc3'
make: *** [all] Error 2
root@WebNDT:~/test2/ndt-3.7.0-rc3# nano
Original comment by bott...@gmail.com
on 8 Apr 2015 at 6:31
I got past that by running ./configure again. Now am left with
root@WebNDT:~/test2/ndt-3.7.0-rc3# make
make all-recursive
make[1]: Entering directory `/root/test2/ndt-3.7.0-rc3'
Making all in src
make[2]: Entering directory `/root/test2/ndt-3.7.0-rc3/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/pcap -I/usr/local/include/estats
'-DBASEDIR="/usr/local/ndt"' -pedantic -Wall -fno-strict-aliasing -std=gnu99
-DNDEBUG -O2 -DEXPERIMENTAL_ENABLED -DDATABASE_ENABLED -MT
web10gsrv-web100-util.o -MD -MP -MF .deps/web10gsrv-web100-util.Tpo -c -o
web10gsrv-web100-util.o `test -f 'web100-util.c' || echo './'`web100-util.c
web100-util.c: In function âtcp_stat_initâ:
web100-util.c:138:12: error: âTOTAL_NUM_VARSâ undeclared (first use in this
function)
web100-util.c:138:12: note: each undeclared identifier is reported only once
for each function it appears in
web100-util.c: In function âtcp_stat_get_dataâ:
web100-util.c:717:9: warning: unused variable âstrâ [-Wunused-variable]
web100-util.c: In function âCwndDecreaseâ:
web100-util.c:1120:8: warning: unused variable âbuffâ [-Wunused-variable]
web100-util.c: In function âtcp_stat_initâ:
web100-util.c:143:1: warning: control reaches end of non-void function
[-Wreturn-type]
make[2]: *** [web10gsrv-web100-util.o] Error 1
make[2]: Leaving directory `/root/test2/ndt-3.7.0-rc3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/test2/ndt-3.7.0-rc3'
make: *** [all] Error 2
Original comment by bott...@gmail.com
on 8 Apr 2015 at 6:41
I was able to correct the issue by commenting out the Vars that were not being
used. It then allowed me to finish compiling!
Feel free to close out this issue
Original comment by bott...@gmail.com
on 8 Apr 2015 at 9:20
Original issue reported on code.google.com by
bott...@gmail.com
on 8 Apr 2015 at 5:07