From: Yee-Ting Li <ytl@SLAC.Stanford.EDU> - 2005-12-07 01:53:07
|
Hi, i'm trying to compile iperf-2.0.2 from source on a Windows XP machine. I get the following error: $ make make all-recursive make[1]: Entering directory `/tmp/iperf-2.0.2' Making all in compat make[2]: Entering directory `/tmp/iperf-2.0.2/compat' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -O2 -MT Thread.o -MD -MP -MF ".deps/Thread.Tpo" -c -o Thread.o Thread.c; \ then mv -f ".deps/Thread.Tpo" ".deps/Thread.Po"; else rm -f ".deps/ Thread.Tpo"; exit 1; fi Thread.c: In function `thread_stop': Thread.c:205: error: `oldTID' undeclared (first use in this function) Thread.c:205: error: (Each undeclared identifier is reported only once Thread.c:205: error: for each function it appears in.) make[2]: *** [Thread.o] Error 1 make[2]: Leaving directory `/tmp/iperf-2.0.2/compat' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/iperf-2.0.2' make: *** [all] Error 2 any help is much appreciated! Yee. PS. the ./configure output is as follows: $ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking for C++ compiler default output file name... a.exe checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking for library containing strerror... none required checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking for ranlib... ranlib checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc checking for gethostbyname... yes checking for socket... yes checking how to run the C preprocessor... gcc -E checking for egrep... 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 arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking libintl.h usability... no checking libintl.h presence... no checking for libintl.h... no 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 for strings.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 syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for ssize_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for stdint types... stdint.h (shortcircuit) make use of stdint.h in include/iperf-int.h (assuming C99 compatible system) checking 3rd argument of accept... socklen_t checking for pid_t... yes checking for unistd.h... (cached) 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 for working memcmp... 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 strftime... yes checking for vprintf... yes checking for _doprnt... no checking for atexit... yes checking for gettimeofday... yes checking for memset... yes checking for pthread_cancel... yes checking for select... yes checking for strchr... yes checking for strerror... yes checking for strtol... yes checking for usleep... yes checking for snprintf... yes checking for inet_pton... yes checking for inet_ntop... yes checking for gettimeofday... (cached) yes checking *printf() support for %lld... yes checking for bool... no checking size of bool... 0 checking if true is defined... yes checking whether byte ordering is bigendian... no checking for struct ip_mreq... yes checking whether IP_ADD_MEMBERSHIP is declared... yes checking for multicast support... yes checking for struct sockaddr_storage... no checking for struct sockaddr_in6... no checking whether AF_INET6 is declared... no checking for IPv6 headers and structures... no checking whether make is GNU make... yes configure: creating ./config.status config.status: creating Makefile config.status: creating compat/Makefile config.status: creating doc/Makefile config.status: creating include/Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing include/iperf-int.h commands config.status: creating include/iperf-int.h : _IPERF_INCLUDE_IPERF_INT_H config.status: include/iperf-int.h is unchanged |