-
Notifications
You must be signed in to change notification settings - Fork 349
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
Doesn't compile on Solus OS #40
Comments
Doesn't compile on my Ubuntu Azure instance too
Running cc version 5.4.0 |
Doesn't compile on Ubuntu 17.04. At first, make fails with:
...so I did gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2) |
As a workaround, you can use this command to compile it with clang instead, worked on my Ubuntu 17.04:
|
Tried with
|
I think, it’s something in your
I tried removing one option each time to see from which it could come from but I didn’t find it so it’s probably an error that comes with multiple options. |
Doesn't compile on latest Arch Linux either. injector.c:321:93: warning: excess elements in array initializer
.start={.bytes={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, .len=0},
^~~~
injector.c:321:93: note: (near initialization for ‘total_range.start.bytes’)
injector.c:322:91: warning: excess elements in array initializer
.end={.bytes={0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff}, .len=0},
^~~~
injector.c:322:91: note: (near initialization for ‘total_range.end.bytes’)
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
make: *** [Makefile:35: injector] Error 1 |
@MoochMcGee there is an AUR package for sandsifter. https://aur.archlinux.org/packages/sandsifter-git/ for those not on arch, it compiles with -no-pie as an option. |
Looks like
(I’m installing the 5.x branch of Clang/LLVM to see if I’ll be fixed) |
Installed capstone from the Git repo, tried to run
make
in the sandsifter folder and got these error messages :Running make version 4.2.1 and CC version 6.4.0
The text was updated successfully, but these errors were encountered: