elite@linux:~/eth-svn> make tar xzf ghf-0.5-1.tar.gz make -C ghf clean all make[1]: Entering directory `/home/elite/eth-svn/ghf' rm -rf asm.o elf.o utils.o vfunction.o libghf.a ghf-test.o ghf-test ghf-0.5-1.tar.gz ghf cc -Wall -pipe -march=i686 -ggdb -c -o asm.o asm.c cc -Wall -pipe -march=i686 -ggdb -c -o elf.o elf.c elf.c:2:18: error: gelf.h: Nincs ilyen fjl vagy knyvtr In file included from elf.c:9: ghf.h:20: error: syntax error before * token ghf.h:20: warning: type defaults to int in declaration of initElf ghf.h:20: warning: data definition has no type or storage class ghf.h:21: error: syntax error before * token ghf.h:21: error: syntax error before * token ghf.h:21: warning: type defaults to int in declaration of getSection ghf.h:21: warning: data definition has no type or storage class ghf.h:22: error: syntax error before * token ghf.h:22: error: syntax error before * token ghf.h:22: warning: type defaults to int in declaration of getSectionHeader ghf.h:22: warning: data definition has no type or storage class ghf.h:23: error: syntax error before * token ghf.h:23: warning: type defaults to int in declaration of getSymbol ghf.h:23: warning: data definition has no type or storage class elf.c:12: error: syntax error before * token elf.c:12: warning: return type defaults to int elf.c: In function initElf: elf.c:13: warning: implicit declaration of function elf_version elf.c:13: error: EV_CURRENT undeclared (first use in this function) elf.c:13: error: (Each undeclared identifier is reported only once elf.c:13: error: for each function it appears in.) elf.c:13: error: EV_NONE undeclared (first use in this function) elf.c:22: error: Elf undeclared (first use in this function) elf.c:22: error: elf undeclared (first use in this function) elf.c:22: warning: implicit declaration of function elf_begin elf.c:22: error: ELF_C_READ undeclared (first use in this function) elf.c:31: warning: control reaches end of non-void function elf.c: At top level: elf.c:33: error: syntax error before * token elf.c:33: error: syntax error before * token elf.c:33: warning: return type defaults to int elf.c: In function getSection: elf.c:34: error: GElf_Ehdr undeclared (first use in this function) elf.c:34: error: syntax error before ehdr elf.c:35: warning: implicit declaration of function gelf_getehdr elf.c:35: error: elf undeclared (first use in this function) elf.c:35: error: ehdr undeclared (first use in this function) elf.c:38: error: Elf_Scn undeclared (first use in this function) elf.c:38: error: scn undeclared (first use in this function) elf.c:39: warning: implicit declaration of function elf_nextscn elf.c:40: error: GElf_Shdr undeclared (first use in this function) elf.c:40: error: syntax error before shdr elf.c:41: warning: implicit declaration of function gelf_getshdr elf.c:41: error: shdr undeclared (first use in this function) elf.c:43: warning: implicit declaration of function elf_strptr elf.c:43: error: sectionName undeclared (first use in this function) elf.c:43: warning: passing argument 1 of strcmp makes pointer from integer without a cast elf.c:48: warning: control reaches end of non-void function elf.c: At top level: elf.c:50: error: syntax error before * token elf.c:50: error: syntax error before * token elf.c:50: warning: return type defaults to int elf.c: In function getSectionHeader: elf.c:51: error: GElf_Ehdr undeclared (first use in this function) elf.c:51: error: syntax error before ehdr elf.c:52: error: elf undeclared (first use in this function) elf.c:52: error: ehdr undeclared (first use in this function) elf.c:54: error: syntax error before shdr elf.c:55: error: shdr undeclared (first use in this function) elf.c:55: error: GElf_Shdr undeclared (first use in this function) elf.c:57: error: Elf_Scn undeclared (first use in this function) elf.c:57: error: scn undeclared (first use in this function) elf.c:57: error: sectionName undeclared (first use in this function) elf.c:64: warning: control reaches end of non-void function elf.c: At top level: elf.c:68: error: syntax error before * token elf.c:68: warning: return type defaults to int elf.c: In function getSymbol: elf.c:69: error: Elf undeclared (first use in this function) elf.c:69: error: elf undeclared (first use in this function) elf.c:74: error: syntax error before sym elf.c:84: error: Elf_Scn undeclared (first use in this function) elf.c:84: error: scn undeclared (first use in this function) elf.c:88: error: GElf_Shdr undeclared (first use in this function) elf.c:88: error: syntax error before shdr elf.c:89: error: shdr undeclared (first use in this function) elf.c:91: error: Elf_Data undeclared (first use in this function) elf.c:91: error: data undeclared (first use in this function) elf.c:91: warning: implicit declaration of function elf_getdata elf.c:98: warning: implicit declaration of function gelf_getsym elf.c:98: error: sym undeclared (first use in this function) elf.c:101: warning: passing argument 1 of strcmp makes pointer from integer without a cast elf.c:102: warning: implicit declaration of function elf_end elf.c: In function pltHook: elf.c:114: error: Elf undeclared (first use in this function) elf.c:114: error: elf undeclared (first use in this function) elf.c:122: error: Elf_Scn undeclared (first use in this function) elf.c:122: error: scn undeclared (first use in this function) elf.c:128: error: GElf_Shdr undeclared (first use in this function) elf.c:128: error: syntax error before shdr elf.c:129: error: shdr undeclared (first use in this function) elf.c:131: error: Elf_Data undeclared (first use in this function) elf.c:131: error: data undeclared (first use in this function) elf.c:138: error: GElf_Sym undeclared (first use in this function) elf.c:138: error: syntax error before sym elf.c:139: error: sym undeclared (first use in this function) elf.c:140: warning: passing argument 1 of strcmp makes pointer from integer without a cast elf.c:167: error: GElf_Rel undeclared (first use in this function) elf.c:167: error: syntax error before rel elf.c:168: warning: implicit declaration of function gelf_getrel elf.c:168: error: rel undeclared (first use in this function) elf.c:171: warning: implicit declaration of function ELF64_R_SYM elf.c: In function isStripped: elf.c:188: error: Elf undeclared (first use in this function) elf.c:188: error: elf undeclared (first use in this function) elf.c:192: error: Elf_Scn undeclared (first use in this function) elf.c:192: error: scn1 undeclared (first use in this function) elf.c:193: error: scn2 undeclared (first use in this function) elf.c:198: warning: control reaches end of non-void function make[1]: *** [elf.o] Error 1 make[1]: Leaving directory `/home/elite/eth-svn/ghf' make: *** [ghf/libghf.a] Error 2 elite@linux:~/eth-svn>