[netperf-talk] Solaris 9 compile issue
Boeckman, Matthew
mboeckman at servicemagic.com
Mon Nov 26 08:39:14 PST 2007
Hey guys - thanks for the patch - I'm still getting the SFV_NOWAIT is
undefined error on gcc:
if /usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT
nettest_bsd.o -MD -MP -MF ".deps/nettest_bsd.Tpo" \
-c -o nettest_bsd.o `test -f 'nettest_bsd.c' || echo
'./'`nettest_bsd.c; \
then mv -f ".deps/nettest_bsd.Tpo" ".deps/nettest_bsd.Po"; \
else rm -f ".deps/nettest_bsd.Tpo"; exit 1; \
fi
nettest_bsd.c: In function `sendfile_tcp_stream':
nettest_bsd.c:3847: error: `SFV_NOWAIT' undeclared (first use in this
function)
nettest_bsd.c:3847: error: (Each undeclared identifier is reported only
once
nettest_bsd.c:3847: error: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `nettest_bsd.o'
Current working directory /usr/local/src/netperf-2.4.4/src
*** Error code 1
Any other ideas? I'm going to work on trying to compile this with
solaris' cc, but have to dig around for some packages. (I would also
accept a sol9 binary if you have one laying around!)
Thanks again for all the help.
-Matthew
> -----Original Message-----
> From: netperf-talk-bounces at netperf.org
> [mailto:netperf-talk-bounces at netperf.org] On Behalf Of Rick Jones
> Sent: Tuesday, November 20, 2007 11:09 AM
> To: Andrew Gallatin
> Cc: netperf-talk at netperf.org
> Subject: Re: [netperf-talk] Solaris 9 compile issue
>
> Andrew Gallatin wrote:
> > Indeed, the __sun__'s should be __sun. I confess that I
> never tested
> > the original patch to add solaris sendfile support with cc,
> just gcc.
> > I have attached a patch to fix it. I've tested this with both cc
> > ("Sun C 5.7") as well as gcc on Solaris 10GA.
>
> Excellent. I've given it a quick sanity check and committed
> it to the repository.
>
> happy benchmarking,
>
> rick jones
> _______________________________________________
> netperf-talk mailing list
> netperf-talk at netperf.org
> http://www.netperf.org/cgi-bin/mailman/listinfo/netperf-talk
>
More information about the netperf-talk
mailing list