[netperf-talk] Solaris 9 compile issue

Boeckman, Matthew mboeckman at servicemagic.com
Mon Nov 19 12:31:52 PST 2007


Hello - Trying to compile 2.4.4 on solaris9 with issues. I've tried a
configure with no args, as well as configure with --disable-largefile. I
have also tried with and without the suggested CCFLAGS arguments. I
found a note in the archives about solaris having problems with
largefile support - hence I tried disabling that. I'm at a loss on where
to do next or what dependency I'm missing on this system.

Any help or suggestions are appreciated!

Make fails:

root@::/usr/local/src/netperf-2.4.4 >  make
make  all-recursive
Making all in src
Making all in missing
Making all in m4
if gcc -DHAVE_CONFIG_H -I. -I. -I..      -lxnet -lsocket -lnsl -lkstat
-D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -MT netperf.o -MD -MP -MF
".deps/netperf.Tpo" \
  -c -o netperf.o `test -f 'netperf.c' || echo './'`netperf.c; \
then mv -f ".deps/netperf.Tpo" ".deps/netperf.Po"; \
else rm -f ".deps/netperf.Tpo"; exit 1; \
fi
gcc: -lxnet: linker input file unused because linking not done
gcc: -lsocket: linker input file unused because linking not done
gcc: -lnsl: linker input file unused because linking not done
gcc: -lkstat: linker input file unused because linking not done
if gcc -DHAVE_CONFIG_H -I. -I. -I..      -lxnet -lsocket -lnsl -lkstat
-D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -MT netlib.o -MD -MP -MF
".deps/netlib.Tpo" \
  -c -o netlib.o `test -f 'netlib.c' || echo './'`netlib.c; \
then mv -f ".deps/netlib.Tpo" ".deps/netlib.Po"; \
else rm -f ".deps/netlib.Tpo"; exit 1; \
fi
gcc: -lxnet: linker input file unused because linking not done
gcc: -lsocket: linker input file unused because linking not done
gcc: -lnsl: linker input file unused because linking not done
gcc: -lkstat: linker input file unused because linking not done
if gcc -DHAVE_CONFIG_H -I. -I. -I..      -lxnet -lsocket -lnsl -lkstat
-D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -MT netsh.o -MD -MP -MF
".deps/netsh.Tpo" \
  -c -o netsh.o `test -f 'netsh.c' || echo './'`netsh.c; \
then mv -f ".deps/netsh.Tpo" ".deps/netsh.Po"; \
else rm -f ".deps/netsh.Tpo"; exit 1; \
fi
gcc: -lxnet: linker input file unused because linking not done
gcc: -lsocket: linker input file unused because linking not done
gcc: -lnsl: linker input file unused because linking not done
gcc: -lkstat: linker input file unused because linking not done
if gcc -DHAVE_CONFIG_H -I. -I. -I..      -lxnet -lsocket -lnsl -lkstat
-D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -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
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/netperf-2.4.4/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/netperf-2.4.4
*** Error code 1
make: Fatal error: Command failed for target `all'

Matthew Boeckman
Sr. Systems Administrator
ServiceMagic, Inc.
303-963-7889 


More information about the netperf-talk mailing list