[netperf-talk] Request for help in compiling netperf in Solaris 2.7
Andrew Gallatin
gallatin at cs.duke.edu
Mon Jan 7 05:35:20 PST 2008
Jay Kim writes:
> Moreover, removing 'HAVE_PROCESSOR_BIN' definition made a different error.
You just got further in the build than you did before and hit another
error.
> Would you please look at the following and give me another suggestion to fix it?
>
> $ gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c `test -f 'netcpu_kstat.c' || echo './'`netcpu_kstat.c
> gcc -g -O2 -o netperf netperf.o netlib.o netsh.o nettest_bsd.o nettest_dlpi.o nettest_unix.o nettest_xti.o nettest_sctp.o nettest_sdp.o netcpu_kstat.o missing/libcompat.a -lkstat -lnsl -lsocket -lm
> Undefined first referenced
> symbol in file
> Set_errno missing/libcompat.a(inet_ntop.o)
>
> This time, 'Set_errno' macro cannot be found. What can be wrong?
According to comments in src/missing/inet_ntop.c, the errno
abstraction #defines are copied from netlib.h. Apparently, not
enough of them are copied. Try the attached patch.
Drew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Set_errno.diff
Type: application/octet-stream
Size: 381 bytes
Desc: Fix linking issue in ancient Solaris version
Url : http://www.netperf.org/pipermail/netperf-talk/attachments/20080107/d40ea11c/attachment.obj
More information about the netperf-talk
mailing list