Update netperf package to fix compile issue #3131
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When run 'make' command to compile netperf, meet following error:
gcc -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 nettest_omni.o net_uuid.o dscp.o netcpu_none.o netrt_none.o netdrv_none.o netslot_none.o netsys_none.o netsec_none.o -lm
/usr/bin/ld: nettest_omni.o:(.bss+0x398): multiple definition of
loc_nodelay'; nettest_bsd.o:(.bss+0x20): first defined here /usr/bin/ld: nettest_omni.o:(.bss+0x39c): multiple definition ofrem_nodelay'; nettest_bsd.o:(.bss+0x24): first defined here/usr/bin/ld: nettest_omni.o:(.bss+0x3a0): multiple definition of
loc_sndavoid'; nettest_bsd.o:(.bss+0x30): first defined here /usr/bin/ld: nettest_omni.o:(.bss+0x3a4): multiple definition ofloc_rcvavoid'; nettest_bsd.o:(.bss+0x34): first defined here/usr/bin/ld: nettest_omni.o:(.bss+0x3a8): multiple definition of
rem_sndavoid'; nettest_bsd.o:(.bss+0x38): first defined here /usr/bin/ld: nettest_omni.o:(.bss+0x3ac): multiple definition ofrem_rcvavoid'; nettest_bsd.o:(.bss+0x3c): first defined herecollect2: error: ld returned 1 exit status
make[3]: *** [Makefile:443: netperf] Error 1
One patch [1] is to fix this issue. According to this patch to
update netperf package.
[1] HewlettPackard/netperf#46
Signed-off-by: lcheng [email protected]