* problem with netperf compiling on Tru64 Unix
@ 2005-10-20 20:25 Vladimir Siman
2005-10-20 22:22 ` Rick Jones
0 siblings, 1 reply; 6+ messages in thread
From: Vladimir Siman @ 2005-10-20 20:25 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: problem with netperf compiling on Tru64 Unix
2005-10-20 20:25 problem with netperf compiling on Tru64 Unix Vladimir Siman
@ 2005-10-20 22:22 ` Rick Jones
2005-10-20 23:18 ` Brian Haley
0 siblings, 1 reply; 6+ messages in thread
From: Rick Jones @ 2005-10-20 22:22 UTC (permalink / raw)
Vladimir Siman <dark_enigma@centrum.cz> wrote:
> 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 for getnameinfo... yes
> checking for getaddrinfo... no
> ...
> 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)
For some reason the configure script didn't believe that the system
has a getaddrinfo call, but it looks like it really does have a
getaddrinfo call. Somewhere in the config.log may be clues as to what
happened.
> 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.
You may be able to edit the config.h file by hand so it reads:
/* Define to 1 if you have the `getaddrinfo' function. */
#define HAVE_GETADDRINFO 1
and try compiling again. (You would have to redo that after each run
of the configure script) I'd be very interested to see the config.log
(you can do that in email rather than here unless the rest of the
group wants to see the gory details)
rick jones
--
firebug n, the idiot who tosses a lit cigarette out his car window
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: problem with netperf compiling on Tru64 Unix
2005-10-20 22:22 ` Rick Jones
@ 2005-10-20 23:18 ` Brian Haley
2005-10-22 1:12 ` Rick Jones
2005-10-22 1:27 ` Rick Jones
0 siblings, 2 replies; 6+ messages in thread
From: Brian Haley @ 2005-10-20 23:18 UTC (permalink / raw)
Rick Jones wrote:
> Vladimir Siman <dark_enigma@centrum.cz> wrote:
>
>>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
That's not that new a Tru64 release, something like:
OSF1 mysystem V5.1 2650 alpha
would be fresher, so...
>>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)
>
>
> For some reason the configure script didn't believe that the system
> has a getaddrinfo call, but it looks like it really does have a
> getaddrinfo call. Somewhere in the config.log may be clues as to what
> happened.
I can't remeber if getaddrinfo exists on that release, check
/usr/include/netdb.h for it, or do 'man getaddrinfo'.
This only looked like a warning anyways, the errors came from somewhere
else.
BTW Rick, this compiles on my Tru64 box.
-Brian
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: problem with netperf compiling on Tru64 Unix
2005-10-20 23:18 ` Brian Haley
@ 2005-10-22 1:12 ` Rick Jones
2005-10-24 3:57 ` Brian Haley
2005-10-22 1:27 ` Rick Jones
1 sibling, 1 reply; 6+ messages in thread
From: Rick Jones @ 2005-10-22 1:12 UTC (permalink / raw)
Brian Haley <brian.haley@nospam_hp.com> wrote:
> This only looked like a warning anyways, the errors came from
> somewhere else.
I'll take a look at the rest of it - still, if the configure script
doesn't believe there is a getaddrinfo, it will try to compile the one
in src/missing/ and that may have all sorts of conflicts with "native"
stuff.
> BTW Rick, this compiles on my Tru64 box.
Cool. Any magic CLFAGS or whatnot required? One of these days we
should talk about how to do CPU util measurements under Tru64 (if
someone's already told me I'm afraid I've forgotten).
BTW, netperf sources are now in subversion on www.netperf.org:
http://www.netperf.org/svn/netperf2/ [branches|tags|trunk]
http://www.netperf.org/svn/netperf4/ [branches|tags|trunk]
So those who really want to be on the bleeding edges of netperf feel
free to grab bits that way :)
rick jones
--
oxymoron n, Hummer H2 with California Save Our Coasts and Oceans plates
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: problem with netperf compiling on Tru64 Unix
2005-10-22 1:12 ` Rick Jones
@ 2005-10-24 3:57 ` Brian Haley
0 siblings, 0 replies; 6+ messages in thread
From: Brian Haley @ 2005-10-24 3:57 UTC (permalink / raw)
Rick Jones wrote:
> Brian Haley <brian.haley@nospam_hp.com> wrote:
>
>>This only looked like a warning anyways, the errors came from
>>somewhere else.
>
>
> I'll take a look at the rest of it - still, if the configure script
> doesn't believe there is a getaddrinfo, it will try to compile the one
> in src/missing/ and that may have all sorts of conflicts with "native"
> stuff.
True.
>>BTW Rick, this compiles on my Tru64 box.
>
>
> Cool. Any magic CLFAGS or whatnot required? One of these days we
> should talk about how to do CPU util measurements under Tru64 (if
> someone's already told me I'm afraid I've forgotten).
I only forced it to use the local cc instead of gcc, that's it. Send me
email offline if you're *really* interested in Tru64 cpu measurements.
-Brian
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: problem with netperf compiling on Tru64 Unix
2005-10-20 23:18 ` Brian Haley
2005-10-22 1:12 ` Rick Jones
@ 2005-10-22 1:27 ` Rick Jones
1 sibling, 0 replies; 6+ messages in thread
From: Rick Jones @ 2005-10-22 1:27 UTC (permalink / raw)
Brian Haley <brian.haley@nospam_hp.com> wrote:
> This only looked like a warning anyways, the errors came from somewhere
> else.
True. The errors that happen after the getaddrinfo macro redefinition
warning all look like fubar'ed include files - and ones that I'm not
sure netperf includes directly. I'm still thinking the
"missing/getaddrinfo.h" stuff is causing problems elsewhere.
rick
--
firebug n, the idiot who tosses a lit cigarette out his car window
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-10-24 3:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-20 20:25 problem with netperf compiling on Tru64 Unix Vladimir Siman
2005-10-20 22:22 ` Rick Jones
2005-10-20 23:18 ` Brian Haley
2005-10-22 1:12 ` Rick Jones
2005-10-24 3:57 ` Brian Haley
2005-10-22 1:27 ` Rick Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox