-
Notifications
You must be signed in to change notification settings - Fork 468
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
build fail. #42
Comments
Hi, What version of TCC have you installed on your system? (run |
root@ubuntu:/var/hacklab# cd /root/ |
which version I should install ?? |
Do you have |
thanks for reply. it's work! |
error: ‘TCC_RELOCATE_AUTO’ undeclared
root@ubuntu:~/miasm# python setup.py build
building
build with 'all'
running build
running build_py
running build_ext
building 'miasm2.jitter.Jittcc' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c miasm2/jitter/Jittcc.c -o build/temp.linux-x86_64-2.7/miasm2/jitter/Jittcc.o
miasm2/jitter/Jittcc.c: In function ‘tcc_compil’:
miasm2/jitter/Jittcc.c:172:30: error: ‘TCC_RELOCATE_AUTO’ undeclared (first use in this function)
if (tcc_relocate(tcc_state, TCC_RELOCATE_AUTO) < 0) {
^
miasm2/jitter/Jittcc.c:172:30: note: each undeclared identifier is reported only once for each function it appears in
miasm2/jitter/Jittcc.c:172:2: error: too many arguments to function ‘tcc_relocate’
if (tcc_relocate(tcc_state, TCC_RELOCATE_AUTO) < 0) {
^
In file included from miasm2/jitter/Jittcc.c:21:0:
/usr/include/libtcc.h:96:15: note: declared here
LIBTCCAPI int tcc_relocate(TCCState *s1);
^
SystemExit("error: command 'x86_64-linux-gnu-gcc' failed with exit status 1",)
build with 'notcc'
running build
running build_py
running build_ext
build notcc
Warning: TCC is not properly installed,
Miasm will be installed without TCC Jitter
Etheir install TCC or use LLVM jitter
build/lib.linux-x86_64-2.7
how build miasm?
The text was updated successfully, but these errors were encountered: