From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,e8459d5241f32674,start X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!o13g2000cwo.googlegroups.com!not-for-mail From: "Vladimir Siman" Newsgroups: comp.unix.tru64 Subject: problem with netperf compiling on Tru64 Unix Date: 20 Oct 2005 13:25:00 -0700 Organization: http://groups.google.com Message-ID: <1129839900.890404.192620@o13g2000cwo.googlegroups.com> NNTP-Posting-Host: 85.193.11.74 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1129839906 15494 127.0.0.1 (20 Oct 2005 20:25:06 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 20 Oct 2005 20:25:06 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: o13g2000cwo.googlegroups.com; posting-host=85.193.11.74; posting-account=5Ckvbg0AAAAZZrUh2y4Hr1hb_RZGSs6L Xref: g2news1.google.com comp.unix.tru64:363 Hello, I've got problem compiling netperf for Tru64... I have fresh Tru64 Unix installed. uname -a says this: perun.grall.local> uname -a OSF1 perun.grall.local V5.0 910 alpha I downloaded sourcecode for netperf from: ftp://ftp.netperf.org/netperf/netperf-2.4.1.tar.gz ..unziped, untared and then run configure: perun.grall.local> ./configure checking build system type... alpha-dec-osf(rev. checking host system type... alpha-dec-osf(rev. checking target system type... alpha-dec-osf(rev. checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for gcc... no checking for cc... cc 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... no checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc... tru64 checking for an ANSI C-conforming const... yes checking for main in -lm... yes checking how to run the C preprocessor... cc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... 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... no checking for unistd.h... 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 limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.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 for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... 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 for main in -lsocket... no checking for main in -lmach... yes checking for an ANSI C-conforming const... (cached) yes checking for off_t... yes checking for size_t... yes checking for socklen_t equivalent... int checking for h_errno declaration in netdb.h... yes checking for struct sockaddr_storage... yes checking whether time.h and sys/time.h may both be included... yes checking for stdbool.h that conforms to C99... no checking for _Bool... no 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 unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... 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 whether setpgrp takes no argument... no checking return type of signal handlers... void checking for alarm... yes checking for bzero... yes checking for gethostbyname... yes checking for gethrtime... no checking for gettimeofday... yes checking for inet_ntoa... yes checking for memset... yes checking for memcpy... yes checking for munmap... yes checking for select... yes checking for socket... yes checking for sqrt... yes checking for strcasecmp... yes checking for strchr... yes checking for strstr... yes checking for strtoul... yes checking for uname... yes checking for getnameinfo... yes checking for getaddrinfo... no checking for inet_ntop... yes configure: Requesting replacement getaddrinfo/getnameinfo checking for sendfile... no checking for mpctl... no checking for processor_bind... no checking for sched_setaffinity... no checking for bind_to_cpu_id... yes checking whether to include histogram support... no checking whether to include demo support... no checking whether to include Unix-domain socket tests... no checking whether to include DLPI tests... no checking whether to include XTI tests... no checking whether to include ICSC-EXS tests... no checking whether to include SCTP tests... no checking whether to include paced send (intervals) support... no checking whether to include initial burst support in _RR tests... no checking which CPU utilization measurement type to use... "none. Consider teaching configure about your platform." configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands perun.grall.local> Then I ran make: perun.grall.local> make No suffix list. make all-recursive No suffix list. Making all in src source='netlib.c' object='netlib.o' libtool=no depfile='.deps/netlib.Po' tmpdepfile='.deps/netlib.TPo' depmode=tru64 /bin/ksh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -g -c `test -f 'netlib.c' || echo './'`netlib.c cc: Warning: missing/getaddrinfo.h, line 149: The redefinition of the macro "getaddrinfo" conflicts with a current definition because the replacement lists differ. The redefinition is now in effect. (macroredef) #define getaddrinfo my_getaddrinfo --------------------^ cc: Error: /usr/include/sys/resource.h, line 97: Invalid statement. (badstmt) struct rusage { ^ cc: Error: /usr/include/sys/resource.h, line 155: Invalid statement. (badstmt) struct rlimit { ^ cc: Error: /usr/include/sys/resource.h, line 166: Invalid statement. (badstmt) struct rusage_dev { ^ cc: Error: /usr/include/sys/resource.h, line 206: Invalid statement. (badstmt) extern int getpriority __((int, int)); ^ cc: Error: /usr/include/sys/resource.h, line 207: Invalid statement. (badstmt) extern int setpriority __((int, int, int)); ^ cc: Error: /usr/include/sys/resource.h, line 208: Invalid statement. (badstmt) extern int setrlimit __((int, struct rlimit *)); ^ cc: Error: /usr/include/sys/resource.h, line 210: Invalid statement. (badstmt) extern int getrlimit __((int, struct rlimit *)); ^ cc: Error: /usr/include/sys/resource.h, line 211: Invalid statement. (badstmt) extern int getrusage __((int, struct rusage *)); ^ cc: Error: /usr/include/sys/resource.h, line 241: Invalid statement. (badstmt) struct profil_args { ^ cc: Error: /usr/include/machine/inst.h, line 43: Invalid statement. (badstmt) union alpha_instruction { ^ cc: Error: /usr/include/c_asm.h, line 192: Invalid statement. (badstmt) float fasm( const char *,... ); --------^ cc: Error: /usr/include/c_asm.h, line 193: Invalid statement. (badstmt) long asm( const char *,...); --------^ cc: Error: /usr/include/c_asm.h, line 194: Invalid statement. (badstmt) double dasm( const char *,... ); --------^ cc: Error: /usr/include/machine/cpuconf.h, line 348: Invalid statement. (badstmt) typedef enum {INACTIVE_MEM, INITING_MEM, TESTING_MEM, BAD_MEM} memtest_t; ^ cc: Error: /usr/include/machine/cpuconf.h, line 348: Missing ";". (nosemi) typedef enum {INACTIVE_MEM, INITING_MEM, TESTING_MEM, BAD_MEM} memtest_t; -------------------------------------------------------------^ cc: Error: /usr/include/sys/processor.h, line 64: Invalid statement. (badstmt) extern int bind_to_cpu(pid_t, u_long, u_long); ^ cc: Error: /usr/include/sys/processor.h, line 65: Invalid statement. (badstmt) extern int bind_to_cpu_id(pid_t, long, u_long); ^ cc: Error: /usr/include/sys/processor.h, line 66: Invalid statement. (badstmt) extern int assign_cpu_to_pset(long, long, long); ^ cc: Error: /usr/include/sys/processor.h, line 67: Invalid statement. (badstmt) extern int assign_pid_to_pset(pid_t *, long, long, long); ^ cc: Error: /usr/include/sys/processor.h, line 90: Invalid statement. (badstmt) typedef int processorid_t; ^ cc: Error: /usr/include/sys/processor.h, line 111: Invalid statement. (badstmt) typedef struct { ^ cc: Error: /usr/include/sys/processor.h, line 140: Invalid statement. (badstmt) extern int __sve_p_online __((processorid_t processorid, int flag)); ^ cc: Error: /usr/include/sys/processor.h, line 145: Invalid statement. (badstmt) extern int __sve_processor_info __((processorid_t processorid, ^ cc: Error: /usr/include/sys/processor.h, line 148: Invalid statement. (badstmt) extern int __sve_processor_bind __((idtype_t idtype, id_t id, ^ cc: Error: /usr/include/sys/resource.h, line 167: In this declaration, "ru_rusage" has no linkage and is of an incomplete type. (incompnolink) struct rusage ru_rusage; ----------------------^ cc: Warning: /usr/include/c_asm.h, line 196: There is no function declaration visible for the identifier "fasm" at the point of this #pragma intrinsic. (intundfun) #pragma intrinsic( fasm ) -------------------^ cc: Warning: /usr/include/c_asm.h, line 197: There is no function declaration visible for the identifier "asm" at the point of this #pragma intrinsic. (intundfun) #pragma intrinsic( asm ) -------------------^ cc: Warning: /usr/include/c_asm.h, line 198: There is no function declaration visible for the identifier "dasm" at the point of this #pragma intrinsic. (intundfun) #pragma intrinsic( dasm ) -------------------^ cc: Error: /usr/include/machine/cpuconf.h, line 348: In this statement, "memtest_t" is not declared. (undeclared) typedef enum {INACTIVE_MEM, INITING_MEM, TESTING_MEM, BAD_MEM} memtest_t; ---------------------------------------------------------------^ cc: Error: /usr/include/sys/processor.h, line 119: In this statement, "proc_info_t" is not declared. (undeclared) } proc_info_t; --^ *** Exit 1 Stop. *** Exit 1 Stop. *** Exit 1 Stop. perun.grall.local> I am Tru64 newbie :-/ Any clue ? Or is it possible to get binaries of netperf for Tru64 unix (it would be easier way for me) ? I just need to do some network measurement on this machine. Thank you for any suggestions, Vladimir Siman