xoreaxeaxeax / sandsifter

The x86 processor fuzzer
BSD 3-Clause "New" or "Revised" License
4.89k stars 350 forks source link

compile error ubuntu 17.04 #69

Closed Zibri closed 5 years ago

Zibri commented 5 years ago

$ make cc injector.o -O3 -Wall -l:libcapstone.a -o injector -pthread /usr/bin/ld: injector.o: relocation R_X86_64_32S against undefined symbol `dummy_stack' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status Makefile:35: recipe for target 'injector' failed make: *** [injector] Error 1

Zibri commented 5 years ago

Solution:

make CFLAGS=-no-pie