Menu

#3 Compile error

v1.0_(example)
open
nobody
None
5
2016-01-04
2016-01-04
Mageddo
No

I having error to compile it

lida-03.00.00 $ sudo make
Making backend
cd backend && gcc -I. -O3 -ggdb -L.. -ldisasm lida_back.c -o ../lida_back
lida_back.c: In function main’:
lida_back.c:725:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   if ((int) image < 1) return (-1);
       ^
lida_back.c:778:13: warning: too many arguments for format [-Wformat-extra-args]
             printf("DEBUG: Disassembling section...\n", ProgramHeader->p_vaddr);
             ^
/usr/bin/ld: skipping incompatible ../libdisasm.so when searching for -ldisasm
/usr/bin/ld: cannot find -ldisasm
collect2: error: ld returned 1 exit status
make: *** [all] Error 1

gcc --version

gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB