Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 'multiple definition' error when install netperf. #311

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lipzhu
Copy link

@lipzhu lipzhu commented Sep 25, 2024

phoronix-test-suite install-test netperf on CentOS Stream 9.

/usr/bin/ld: nettest_omni.o:(.bss+0x4238): multiple definition of `loc_nodelay'; nettest_bsd.o:(.bss+0x28): first defined here
/usr/bin/ld: nettest_omni.o:(.bss+0x4234): multiple definition of `rem_nodelay'; nettest_bsd.o:(.bss+0x24): first defined here
/usr/bin/ld: nettest_omni.o:(.bss+0x422c): multiple definition of `loc_rcvavoid'; nettest_bsd.o:(.bss/usr/bin/ld+0x14: ): first defined here
/usr/bin/ld: nettest_omni.o:(.bss+0x4224): multiple definition of `rem_rcvavoid'; nettest_bsd.o:(.bss+0xc): first defined here
/usr/bin/ld: nettest_omni.o:(.bss+0x4228): multiple definition of `rem_sndavoid'; nettest_bsd.o:(.bss+0x10): first defined here
nettest_omni.o:/usr/bin/ld(: .bss+0xnettest_omni.o:(.bss+0x42304238): multiple definition of `)loc_sndavoid: multiple definition of `'; loc_nodelay'; nettest_bsd.o:(.bss+0x18): first defined here
nettest_bsd.o:(.bss+0x28): first defined here
/usr/bin/ld: nettest_omni.o:(.bss+0x4234): multiple definition of `rem_nodelay'; nettest_bsd.o:(.bss+0x24): first defined here
/usr/bin/ld: nettest_omni.o:(.bss+0x422c): multiple definition of `loc_rcvavoid'; nettest_bsd.o:(.bss+0x14): first defined here
/usr/bin/ld: nettest_omni.o:(.bss+0x4224): multiple definition of `rem_rcvavoid'; nettest_bsd.o:(.bss+0xc): first defined here
/usr/bin/ld: nettest_omni.o:(.bss+0x4228): multiple definition of `rem_sndavoid'; nettest_bsd.o:(.bss+0x10): first defined here
/usr/bin/ld: nettest_omni.o:(.bss+0x4230): multiple definition of `loc_sndavoid'; nettest_bsd.o:(.bss+0x18): first defined here
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:305: netperf] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:308: netserver] Error 1
make[3]: Leaving directory '~/.phoronix-test-suite/installed-tests/pts/netperf-1.0.4/netperf-2.7.0/src'
make[2]: *** [Makefile:352: all-recursive] Error 1
make[2]: Leaving directory '~/.phoronix-test-suite/installed-tests/pts/netperf-1.0.4/netperf-2.7.0/src'
make[1]: *** [Makefile:277: all-recursive] Error 1
make[1]: Leaving directory '~/.phoronix-test-suite/installed-tests/pts/netperf-1.0.4/netperf-2.7.0'
make: *** [Makefile:215: all] Error 2

The installer exited with a non-zero exit status.

ERROR: collect2: error: ld returned 1 exit status

LOG: ~/.phoronix-test-suite/installed-tests/pts/netperf-1.0.4/install-failed.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant