xoreaxeaxeax / sandsifter

The x86 processor fuzzer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compile error ubuntu 17.04

Zibri opened this issue · comments

commented

$ 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

commented

Solution:

make CFLAGS=-no-pie