-
Notifications
You must be signed in to change notification settings - Fork 15
error: ld returned 1 exit status #25
Copy link
Copy link
Open
Description
$ make
g++ -O3 -std=c++11 -Wall -Werror -c -o ethq.o ethq.cc
g++ -O3 -std=c++11 -Wall -Werror -c -o interface.o interface.cc
g++ -O3 -std=c++11 -Wall -Werror -c -o parser.o parser.cc
g++ -O3 -std=c++11 -Wall -Werror -c -o drv_generic.o drv_generic.cc
g++ -O3 -std=c++11 -Wall -Werror -c -o drv_bcm.o drv_bcm.cc
g++ -O3 -std=c++11 -Wall -Werror -c -o drv_emulex.o drv_emulex.cc
g++ -O3 -std=c++11 -Wall -Werror -c -o drv_intel.o drv_intel.cc
g++ -O3 -std=c++11 -Wall -Werror -c -o drv_mellanox.o drv_mellanox.cc
g++ -O3 -std=c++11 -Wall -Werror -c -o drv_amazon.o drv_amazon.cc
g++ -O3 -std=c++11 -Wall -Werror -c -o drv_virtio.o drv_virtio.cc
g++ -O3 -std=c++11 -Wall -Werror -c -o drv_vmware.o drv_vmware.cc
g++ -o ethq ethq.o ethtool++.o interface.o parser.o util.o drv_generic.o drv_bcm.o drv_emulex.o drv_intel.o drv_mellanox.o drv_amazon.o drv_virtio.o drv_vmware.o -O3 -std=c++11 -Wall -Werror -s -lncurses -ltinfo
/usr/bin/ld: ethtool++.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: util.o: relocation R_X86_64_32 against symbol `_ZNSt12system_errorD1Ev@@GLIBCXX_3.4.11' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: util.o: warning: relocation against `__errno_location@@GLIBC_2.2.5' in read-only section `.text'
collect2: error: ld returned 1 exit status
make: *** [Makefile:16: ethq] Error 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels