From: Mitch K. <mi...@nc...> - 2004-07-19 16:14:00
|
>From: "Chiu, PCM (Peter) " <P.C...@rl...> >To: "'ipe...@da...'" <ipe...@da...> >Cc: "Chiu, PCM (Peter) " <P.C...@rl...> >Subject: Iperf installation trouble on Alpha >Date: Mon, 19 Jul 2004 13:20:13 +0100 > >Hi, > >Just learned about this new tool from a workshop and tried to mount it >(v1.7.0) on >an AlphaServer ES40 running Tru64Unix V4.0F. > >The make command however fails with quite a few syntax errors (invalide >characters). >Did try using the standard Alpha verison of CC and GNU g++, but failed. > >Anyone got any idea of how to make that to run? > >Attached is the log on the make. > >Thanks. > >Peter >============================================================= >make config > >./configure >checking for gcc... /usr/bin/cc >checking for C compiler default output... a.out >checking whether the C compiler works... yes >checking whether we are cross compiling... no >checking for executable suffix... >checking for object suffix... o >checking whether we are using the GNU C compiler... no >checking whether /usr/bin/cc accepts -g... yes >checking whether we are using the GNU C++ compiler... no checking whether >/usr/bin/cxx accepts -g... yes checking for ranlib... ranlib checking build >system type... alphaev6-dec-osf4.0f checking host system type... >alphaev6-dec-osf4.0f checking how to run the C preprocessor... /usr/bin/cc >-E checking for pthread.h... yes checking for the pthreads library >-lpthreads... no checking whether pthreads work without any flags... no >checking whether pthreads work with -Kthread... no checking whether pthreads >work with -kthread... no checking for the pthreads library -llthread... no >checking whether pthreads work with -pthread... yes checking for joinable >pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags >are required for pthreads... -D_REENTRANT checking for cc_r... /usr/bin/cc >checking for gethostbyname without -lnsl... yes checking for socket without >-lsocket... yes checking for strings.h... yes 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... (cached) yes checking for >inttypes.h... no checking for stdint.h... no checking for unistd.h... yes >checking for short... yes checking size of short... 2 checking for int... >yes checking size of int... 4 checking for long... yes checking size of >long... 8 checking for long long... yes checking size of long long... 8 >checking for unsigned short... yes checking size of unsigned short... 2 >checking for unsigned int... yes checking size of unsigned int... 4 checking >for unsigned long... yes checking size of unsigned long... 8 checking for >unsigned long long... yes checking size of unsigned long long... 8 checking >for int16_t... short checking for int32_t... int checking for int64_t... >long checking for u_int16_t... unsigned short checking for u_int32_t... >unsigned int checking for u_int64_t... unsigned long checking 3rd argument >of accept... int checking for size_t... yes checking for ssize_t... yes >checking for snprintf... no checking for inet_pton... no checking for >inet_ntop... no checking for gettimeofday... yes checking for >pthread_cancel... no checking for usleep... yes checking for bool... yes >checking size of bool... 1 checking if true is defined... yes checking >whether byte ordering is bigendian... no checking for multicast support... >yes checking for IPv6 headers and structures... no >configure: creating ./config.status >config.status: creating ../Makefile.rules >config.status: creating config.h >rm -f lib/libdast.a > >/usr/bin/cxx -I../cfg -O2 -D_REENTRANT -pthread -DHAVE_CONFIG_H -c >Socket.cpp /usr/bin/cxx -I../cfg -O2 -D_REENTRANT -pthread -DHAVE_CONFIG_H >-c SocketAddr.cpp /usr/bin/cxx -I../cfg -O2 -D_REENTRANT -pthread >-DHAVE_CONFIG_H -c Thread.cpp /usr/bin/cxx -I../cfg -O2 -D_REENTRANT >-pthread -DHAVE_CONFIG_H -c delay.cpp /usr/bin/cc -I../cfg -O2 -D_REENTRANT >-pthread -DHAVE_CONFIG_H -c error.c >cc: Warning: headers.h, line 61: # not in column 1 is ignored, skipping to >end of line. (igno >retokens) > #include "config.h" >----^ >cc: Warning: headers.h, line 65: # not in column 1 is ignored, skipping to >end of line. (igno >retokens) > #if defined( SPECIAL_OSF1_EXTERN ) && defined( __cplusplus ) ----^ >cc: Warning: headers.h, line 66: # not in column 1 is ignored, skipping to >end of line. (igno >retokens) > #define SPECIAL_OSF1_EXTERN_C_START extern "C" { --------^ >cc: Warning: headers.h, line 67: # not in column 1 is ignored, skipping to >end of line. (igno >retokens) > #define SPECIAL_OSF1_EXTERN_C_STOP } >--------^ >cc: Warning: headers.h, line 68: # not in column 1 is ignored, skipping to >end of line. (igno >retokens) > #else >----^ >cc: Warning: headers.h, line 69: # not in column 1 is ignored, skipping to >end of line. (igno >retokens) > #define SPECIAL_OSF1_EXTERN_C_START >--------^ >cc: Warning: headers.h, line 70: # not in column 1 is ignored, skipping to >end of line. (igno >retokens) > #define SPECIAL_OSF1_EXTERN_C_STOP >--------^ >cc: Warning: headers.h, line 71: # not in column 1 is ignored, skipping to >end of line. (igno >retokens) > #endif >----^ >cc: Warning: headers.h, line 127: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #ifdef HAVE_STRINGS_H >----^ >cc: Warning: headers.h, line 128: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #include <strings.h> >--------^ >cc: Warning: headers.h, line 129: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #endif // HAVE_STRINGS_H >----^ >cc: Warning: headers.h, line 132: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #include <sys/types.h> >----^ >cc: Warning: headers.h, line 133: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #include <sys/socket.h> >----^ >cc: Warning: headers.h, line 134: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #include <sys/time.h> >----^ >cc: Warning: headers.h, line 135: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #include <signal.h> >----^ >cc: Warning: headers.h, line 136: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #include <unistd.h> >----^ >cc: Warning: headers.h, line 139: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #include <syslog.h> >----^ >cc: Warning: headers.h, line 142: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #include <netdb.h> >----^ >cc: Warning: headers.h, line 144: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #include <netinet/in.h> >----^ >cc: Warning: headers.h, line 145: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #include <netinet/tcp.h> >----^ >cc: Error: headers.h, line 143: Missing ";". (nosemi) >SPECIAL_OSF1_EXTERN_C_STOP ^ >cc: Warning: headers.h, line 148: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #include <arpa/inet.h> /* netinet/in.h must be before this on SunOS */ >----^ >cc: Warning: headers.h, line 151: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #ifdef HAVE_POSIX_THREAD >----^ >cc: Warning: headers.h, line 152: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #include <pthread.h> >--------^ >cc: Warning: headers.h, line 153: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #endif // HAVE_POSIX_THREAD >----^ >cc: Warning: headers.h, line 157: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #define SOCKET_ERROR -1 >----^ >cc: Warning: headers.h, line 158: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #define INVALID_SOCKET -1 >----^ >cc: Warning: headers.h, line 163: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #define INET6_ADDRSTRLEN 40 >----^ >cc: Warning: headers.h, line 166: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #define INET_ADDRSTRLEN 15 >----^ >cc: Warning: gettimeofday.h, line 59: # not in column 1 is ignored, skipping >to end of line. >(ignoretokens) > #ifdef __cplusplus >----^ >cc: Warning: inet_aton.h, line 72: # not in column 1 is ignored, skipping to >end of line. (ig >noretokens) > #ifdef __cplusplus >----^ >cc: Error: inet_aton.h, line 73: Invalid declarator. (declarator) extern "C" >{ -------^ >cc: Warning: inet_aton.h, line 91: # not in column 1 is ignored, skipping to >end of line. (ig >noretokens) > #ifdef __cplusplus >----^ >cc: Error: inet_aton.h, line 92: Invalid declarator. (declarator) extern "C" >{ -------^ >cc: Warning: snprintf.h, line 29: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #ifdef __cplusplus >----^ >cc: Error: snprintf.h, line 30: Invalid declarator. (declarator) extern "C" >{ -------^ >cc: Warning: headers.h, line 185: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #define SHUT_RD 0 >----^ >cc: Warning: headers.h, line 186: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #define SHUT_WR 1 >----^ >cc: Warning: headers.h, line 187: # not in column 1 is ignored, skipping to >end of line. (ign >oretokens) > #define SHUT_RDWR 2 >----^ >cc: Warning: util.h, line 57: # not in column 1 is ignored, skipping to end >of line. (ignoret >okens) > #include "config.h" >----^ >*** Exit 1 >Stop. >*** Exit 1 >Stop. >BADC:/usr/local/iperf-1.7.0$ > -- Mitch Kutzko | mi...@da... | mi...@nc... | 217-333-1199 Project: http://dast.nlanr.net/ | Personal: http://hobbes.ncsa.uiuc.edu/ |