All pastes #402199 Raw Edit

Untitled

public text v1 · immutable
·published 2007-03-19 19:49 UTC
rendered paste body
tar xzf ghf-0.5-2.tar.gz
make -C ghf clean all 
make[1]: Betrete Verzeichnis '/home/echtor2oo3/Desktop/eth-1.2-svn-r317/ghf'
rm -rf  asm.o  elf.o  utils.o  vfunction.o libghf.a ghf-test.o ghf-test ghf-0.5-2.tar.gz ghf
cc -Wall -pipe -march=i686 -I/usr/local/include/libelf   -ggdb -c -o asm.o asm.c
asm.c:4:21: error: dis-asm.h: No such file or directory
asm.c:30: error: expected ‘)’ before ‘from’
asm.c:35: error: expected declaration specifiers or ‘...’ before ‘bfd_vma’
asm.c:35: warning: ‘struct disassemble_info’ declared inside parameter list
asm.c:35: warning: its scope is only this definition or declaration, which is probably not what you want
asm.c: In function ‘my_perror_memory’:
asm.c:36: error: dereferencing pointer to incomplete type
asm.c:36: error: dereferencing pointer to incomplete type
asm.c: At top level:
asm.c:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘my_fprintf’
asm.c: In function ‘disassemble_x86’:
asm.c:48: error: ‘disassemble_info’ undeclared (first use in this function)
asm.c:48: error: (Each undeclared identifier is reported only once
asm.c:48: error: for each function it appears in.)
asm.c:48: error: expected ‘;’ before ‘info’
asm.c:49: warning: implicit declaration of function ‘init_disassemble_info’
asm.c:49: error: ‘info’ undeclared (first use in this function)
asm.c:49: error: ‘stdout’ undeclared (first use in this function)
asm.c:49: error: ‘fprintf_ftype’ undeclared (first use in this function)
asm.c:49: error: expected ‘)’ before ‘my_fprintf’
asm.c:50: error: ‘bfd_mach_i386_i386’ undeclared (first use in this function)
asm.c:51: error: ‘my_buffer_read_memory’ undeclared (first use in this function)
asm.c:55: warning: implicit declaration of function ‘print_insn_i386’
asm.c:55: error: ‘bfd_vma’ undeclared (first use in this function)
asm.c:55: error: expected expression before ‘ptr_size_t’
asm.c:55: error: expected ‘)’ before ‘addr’
asm.c: In function ‘detourFunction’:
asm.c:61: warning: implicit declaration of function ‘printf’
asm.c:61: warning: incompatible implicit declaration of built-in function ‘printf’
asm.c:73: warning: implicit declaration of function ‘perror’
asm.c:82: warning: incompatible implicit declaration of built-in function ‘printf’
make[1]: *** [asm.o] Fehler 1
make[1]: Verlasse Verzeichnis '/home/echtor2oo3/Desktop/eth-1.2-svn-r317/ghf'
make: *** [ghf/libghf.a] Fehler 2