Build of elfkickers with android toolchain

The build took 00h 01m 01s and was NOT successful.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
8,172 ansic
125 makefile
8,297 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

List of Errors

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
# /toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/SOURCES --> /sysroot/SOURCES
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/COPYING --> /sysroot/COPYING
# /toolchain_root/COPYING3 --> /sysroot/COPYING3
# /toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: elfkickers 3.0a-1 (Tue Apr 4 19:35:02 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a'
# make -Celfls elfls
# cp elfls/elfls.1 doc/elfls.1
# make -Cobjres objres
# cp objres/objres.1 doc/objres.1
# make -Crebind rebind
# cp rebind/rebind.1 doc/rebind.1
# make -Csstrip sstrip
# make[1]: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a/objres'
# make[1]: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a/elfls'
# make -C ../elfrw libelfrw.a
# make -C ../elfrw libelfrw.a
# make[1]: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a/rebind'
# make -C ../elfrw libelfrw.a
# make[1]: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a/sstrip'
# make -C ../elfrw libelfrw.a
# make[2]: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a/elfrw'
# gcc -Wall -Wextra -O3 -c -o elfrw.o elfrw.c
# make[2]: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a/elfrw'
# gcc -Wall -Wextra -O3 -c -o elfrw.o elfrw.c
# make[2]: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a/elfrw'
# gcc -Wall -Wextra -O3 -c -o elfrw.o elfrw.c
# make[2]: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a/elfrw'
# gcc -Wall -Wextra -O3 -c -o elfrw.o elfrw.c
# cc1: error: no include path in which to search for stdc-predef.h
# elfrw.c:7:19: error: no include path in which to search for stdio.h
# #include
# ^
# elfrw.c:8:17: error: no include path in which to search for elf.h
# #include
# ^
# In file included from elfrw.c:9:0:
# elfrw_int.h:10:19: error: no include path in which to search for stdio.h
# #include
# ^
# elfrw_int.h:11:17: error: no include path in which to search for elf.h
# #include
# ^
# In file included from elfrw_int.h:12:0,
# from elfrw.c:9:
# elfrw.h:10:19: error: no include path in which to search for stdio.h
# #include
# ^
# elfrw.h:11:17: error: no include path in which to search for elf.h
# #include
# ^
# elfrw.h:64:28: error: unknown type name 'FILE'
# extern int elfrw_read_Half(FILE *fp, Elf64_Half *in);
# ^
# elfrw.h:64:38: error: unknown type name 'Elf64_Half'
# extern int elfrw_read_Half(FILE *fp, Elf64_Half *in);
# ^
# elfrw.h:65:28: error: unknown type name 'FILE'
# extern int elfrw_read_Word(FILE *fp, Elf64_Word *in);
# ^
# elfrw.h:65:38: error: unknown type name 'Elf64_Word'
# extern int elfrw_read_Word(FILE *fp, Elf64_Word *in);
# ^
# elfrw.h:66:29: error: unknown type name 'FILE'
# extern int elfrw_read_Sword(FILE *fp, Elf64_Sword *in);
# ^
# elfrw.h:66:39: error: unknown type name 'Elf64_Sword'
# extern int elfrw_read_Sword(FILE *fp, Elf64_Sword *in);
# ^
# elfrw.h:67:29: error: unknown type name 'FILE'
# extern int elfrw_read_Xword(FILE *fp, Elf64_Xword *in);
# ^
# elfrw.h:67:39: error: unknown type name 'Elf64_Xword'
# extern int elfrw_read_Xword(FILE *fp, Elf64_Xword *in);
# ^
# elfrw.h:68:30: error: unknown type name 'FILE'
# extern int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in);
# ^
# elfrw.h:68:40: error: unknown type name 'Elf64_Sxword'
# extern int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in);
# ^
# elfrw.h:69:28: error: unknown type name 'FILE'
# extern int elfrw_read_Addr(FILE *fp, Elf64_Addr *in);
# ^
# elfrw.h:69:38: error: unknown type name 'Elf64_Addr'
# extern int elfrw_read_Addr(FILE *fp, Elf64_Addr *in);
# ^
# elfrw.h:70:27: error: unknown type name 'FILE'
# extern int elfrw_read_Off(FILE *fp, Elf64_Off *in);
# ^
# elfrw.h:70:37: error: unknown type name 'Elf64_Off'
# extern int elfrw_read_Off(FILE *fp, Elf64_Off *in);
# ^
# elfrw.h:71:30: error: unknown type name 'FILE'
# extern int elfrw_read_Versym(FILE *fp, Elf64_Versym *in);
# ^
# elfrw.h:71:40: error: unknown type name 'Elf64_Versym'
# extern int elfrw_read_Versym(FILE *fp, Elf64_Versym *in);
# ^
# elfrw.h:73:28: error: unknown type name 'FILE'
# extern int elfrw_read_Ehdr(FILE *fp, Elf64_Ehdr *in);
# ^
# elfrw.h:73:38: error: unknown type name 'Elf64_Ehdr'
# extern int elfrw_read_Ehdr(FILE *fp, Elf64_Ehdr *in);
# ^
# elfrw.h:74:28: error: unknown type name 'FILE'
# extern int elfrw_read_Shdr(FILE *fp, Elf64_Shdr *in);
# ^
# elfrw.h:74:38: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_read_Shdr(FILE *fp, Elf64_Shdr *in);
# ^
# elfrw.h:75:27: error: unknown type name 'FILE'
# extern int elfrw_read_Sym(FILE *fp, Elf64_Sym *in);
# ^
# elfrw.h:75:37: error: unknown type name 'Elf64_Sym'
# extern int elfrw_read_Sym(FILE *fp, Elf64_Sym *in);
# ^
# elfrw.h:76:31: error: unknown type name 'FILE'
# extern int elfrw_read_Syminfo(FILE *fp, Elf64_Syminfo *in);
# ^
# elfrw.h:76:41: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_read_Syminfo(FILE *fp, Elf64_Syminfo *in);
# ^
# elfrw.h:77:27: error: unknown type name 'FILE'
# extern int elfrw_read_Rel(FILE *fp, Elf64_Rel *in);
# ^
# elfrw.h:77:37: error: unknown type name 'Elf64_Rel'
# extern int elfrw_read_Rel(FILE *fp, Elf64_Rel *in);
# ^
# elfrw.h:78:28: error: unknown type name 'FILE'
# extern int elfrw_read_Rela(FILE *fp, Elf64_Rela *in);
# ^
# elfrw.h:78:38: error: unknown type name 'Elf64_Rela'
# extern int elfrw_read_Rela(FILE *fp, Elf64_Rela *in);
# ^
# elfrw.h:79:28: error: unknown type name 'FILE'
# extern int elfrw_read_Phdr(FILE *fp, Elf64_Phdr *in);
# ^
# elfrw.h:79:38: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_read_Phdr(FILE *fp, Elf64_Phdr *in);
# ^
# elfrw.h:80:27: error: unknown type name 'FILE'
# extern int elfrw_read_Dyn(FILE *fp, Elf64_Dyn *in);
# ^
# elfrw.h:80:37: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_read_Dyn(FILE *fp, Elf64_Dyn *in);
# ^
# elfrw.h:81:30: error: unknown type name 'FILE'
# extern int elfrw_read_Verdef(FILE *fp, Elf64_Verdef *in);
# ^
# elfrw.h:81:40: error: unknown type name 'Elf64_Verdef'
# extern int elfrw_read_Verdef(FILE *fp, Elf64_Verdef *in);
# ^
# elfrw.h:82:31: error: unknown type name 'FILE'
# extern int elfrw_read_Verdaux(FILE *fp, Elf64_Verdaux *in);
# ^
# elfrw.h:82:41: error: unknown type name 'Elf64_Verdaux'
# extern int elfrw_read_Verdaux(FILE *fp, Elf64_Verdaux *in);
# ^
# elfrw.h:83:31: error: unknown type name 'FILE'
# extern int elfrw_read_Verneed(FILE *fp, Elf64_Verneed *in);
# ^
# elfrw.h:83:41: error: unknown type name 'Elf64_Verneed'
# extern int elfrw_read_Verneed(FILE *fp, Elf64_Verneed *in);
# ^
# elfrw.h:84:31: error: unknown type name 'FILE'
# extern int elfrw_read_Vernaux(FILE *fp, Elf64_Vernaux *in);
# ^
# elfrw.h:84:41: error: unknown type name 'Elf64_Vernaux'
# extern int elfrw_read_Vernaux(FILE *fp, Elf64_Vernaux *in);
# ^
# elfrw.h:86:29: error: unknown type name 'FILE'
# extern int elfrw_read_Shdrs(FILE *fp, Elf64_Shdr *in, int count);
# ^
# elfrw.h:86:39: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_read_Shdrs(FILE *fp, Elf64_Shdr *in, int count);
# ^
# elfrw.h:87:28: error: unknown type name 'FILE'
# extern int elfrw_read_Syms(FILE *fp, Elf64_Sym *in, int count);
# ^
# elfrw.h:87:38: error: unknown type name 'Elf64_Sym'
# extern int elfrw_read_Syms(FILE *fp, Elf64_Sym *in, int count);
# ^
# elfrw.h:88:32: error: unknown type name 'FILE'
# extern int elfrw_read_Syminfos(FILE *fp, Elf64_Syminfo *in, int count);
# ^
# elfrw.h:88:42: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_read_Syminfos(FILE *fp, Elf64_Syminfo *in, int count);
# ^
# elfrw.h:89:28: error: unknown type name 'FILE'
# extern int elfrw_read_Rels(FILE *fp, Elf64_Rel *in, int count);
# ^
# elfrw.h:89:38: error: unknown type name 'Elf64_Rel'
# extern int elfrw_read_Rels(FILE *fp, Elf64_Rel *in, int count);
# ^
# elfrw.h:90:29: error: unknown type name 'FILE'
# extern int elfrw_read_Relas(FILE *fp, Elf64_Rela *in, int count);
# ^
# elfrw.h:90:39: error: unknown type name 'Elf64_Rela'
# extern int elfrw_read_Relas(FILE *fp, Elf64_Rela *in, int count);
# ^
# elfrw.h:91:29: error: unknown type name 'FILE'
# extern int elfrw_read_Phdrs(FILE *fp, Elf64_Phdr *in, int count);
# ^
# elfrw.h:91:39: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_read_Phdrs(FILE *fp, Elf64_Phdr *in, int count);
# ^
# elfrw.h:92:28: error: unknown type name 'FILE'
# extern int elfrw_read_Dyns(FILE *fp, Elf64_Dyn *in, int count);
# ^
# elfrw.h:92:38: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_read_Dyns(FILE *fp, Elf64_Dyn *in, int count);
# ^
# elfrw.h:106:29: error: unknown type name 'FILE'
# extern int elfrw_write_Half(FILE *fp, Elf64_Half const *out);
# ^
# elfrw.h:106:39: error: unknown type name 'Elf64_Half'
# extern int elfrw_write_Half(FILE *fp, Elf64_Half const *out);
# ^
# elfrw.h:107:29: error: unknown type name 'FILE'
# extern int elfrw_write_Word(FILE *fp, Elf64_Word const *out);
# ^
# elfrw.h:107:39: error: unknown type name 'Elf64_Word'
# extern int elfrw_write_Word(FILE *fp, Elf64_Word const *out);
# ^
# elfrw.h:108:30: error: unknown type name 'FILE'
# extern int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out);
# ^
# elfrw.h:108:40: error: unknown type name 'Elf64_Sword'
# extern int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out);
# ^
# elfrw.h:109:30: error: unknown type name 'FILE'
# extern int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out);
# ^
# elfrw.h:109:40: error: unknown type name 'Elf64_Xword'
# extern int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out);
# ^
# elfrw.h:110:31: error: unknown type name 'FILE'
# extern int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out);
# ^
# elfrw.h:110:41: error: unknown type name 'Elf64_Sxword'
# extern int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out);
# ^
# elfrw.h:111:29: error: unknown type name 'FILE'
# extern int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out);
# ^
# elfrw.h:111:39: error: unknown type name 'Elf64_Addr'
# extern int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out);
# ^
# elfrw.h:112:28: error: unknown type name 'FILE'
# extern int elfrw_write_Off(FILE *fp, Elf64_Off const *out);
# ^
# elfrw.h:112:38: error: unknown type name 'Elf64_Off'
# extern int elfrw_write_Off(FILE *fp, Elf64_Off const *out);
# ^
# elfrw.h:113:31: error: unknown type name 'FILE'
# extern int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out);
# ^
# elfrw.h:113:41: error: unknown type name 'Elf64_Versym'
# extern int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out);
# ^
# elfrw.h:115:29: error: unknown type name 'FILE'
# extern int elfrw_write_Ehdr(FILE *fp, Elf64_Ehdr const *out);
# ^
# elfrw.h:115:39: error: unknown type name 'Elf64_Ehdr'
# extern int elfrw_write_Ehdr(FILE *fp, Elf64_Ehdr const *out);
# ^
# elfrw.h:116:29: error: unknown type name 'FILE'
# extern int elfrw_write_Shdr(FILE *fp, Elf64_Shdr const *out);
# ^
# elfrw.h:116:39: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_write_Shdr(FILE *fp, Elf64_Shdr const *out);
# ^
# elfrw.h:117:28: error: unknown type name 'FILE'
# extern int elfrw_write_Sym(FILE *fp, Elf64_Sym const *out);
# ^
# elfrw.h:117:38: error: unknown type name 'Elf64_Sym'
# extern int elfrw_write_Sym(FILE *fp, Elf64_Sym const *out);
# ^
# elfrw.h:118:32: error: unknown type name 'FILE'
# extern int elfrw_write_Syminfo(FILE *fp, Elf64_Syminfo const *out);
# ^
# elfrw.h:118:42: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_write_Syminfo(FILE *fp, Elf64_Syminfo const *out);
# ^
# elfrw.h:119:28: error: unknown type name 'FILE'
# extern int elfrw_write_Rel(FILE *fp, Elf64_Rel const *out);
# ^
# elfrw.h:119:38: error: unknown type name 'Elf64_Rel'
# extern int elfrw_write_Rel(FILE *fp, Elf64_Rel const *out);
# ^
# elfrw.h:120:29: error: unknown type name 'FILE'
# extern int elfrw_write_Rela(FILE *fp, Elf64_Rela const *out);
# ^
# elfrw.h:120:39: error: unknown type name 'Elf64_Rela'
# extern int elfrw_write_Rela(FILE *fp, Elf64_Rela const *out);
# ^
# elfrw.h:121:29: error: unknown type name 'FILE'
# extern int elfrw_write_Phdr(FILE *fp, Elf64_Phdr const *out);
# ^
# elfrw.h:121:39: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_write_Phdr(FILE *fp, Elf64_Phdr const *out);
# ^
# elfrw.h:122:28: error: unknown type name 'FILE'
# extern int elfrw_write_Dyn(FILE *fp, Elf64_Dyn const *out);
# ^
# elfrw.h:122:38: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_write_Dyn(FILE *fp, Elf64_Dyn const *out);
# ^
# elfrw.h:123:31: error: unknown type name 'FILE'
# extern int elfrw_write_Verdef(FILE *fp, Elf64_Verdef const *out);
# ^
# elfrw.h:123:41: error: unknown type name 'Elf64_Verdef'
# extern int elfrw_write_Verdef(FILE *fp, Elf64_Verdef const *out);
# ^
# elfrw.h:124:32: error: unknown type name 'FILE'
# extern int elfrw_write_Verdaux(FILE *fp, Elf64_Verdaux const *out);
# ^
# elfrw.h:124:42: error: unknown type name 'Elf64_Verdaux'
# extern int elfrw_write_Verdaux(FILE *fp, Elf64_Verdaux const *out);
# ^
# elfrw.h:125:32: error: unknown type name 'FILE'
# extern int elfrw_write_Verneed(FILE *fp, Elf64_Verneed const *out);
# ^
# elfrw.h:125:42: error: unknown type name 'Elf64_Verneed'
# extern int elfrw_write_Verneed(FILE *fp, Elf64_Verneed const *out);
# ^
# elfrw.h:126:32: error: unknown type name 'FILE'
# extern int elfrw_write_Vernaux(FILE *fp, Elf64_Vernaux const *out);
# ^
# elfrw.h:126:42: error: unknown type name 'Elf64_Vernaux'
# extern int elfrw_write_Vernaux(FILE *fp, Elf64_Vernaux const *out);
# ^
# elfrw.h:128:30: error: unknown type name 'FILE'
# extern int elfrw_write_Shdrs(FILE *fp, Elf64_Shdr const *out, int count);
# ^
# elfrw.h:128:40: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_write_Shdrs(FILE *fp, Elf64_Shdr const *out, int count);
# ^
# elfrw.h:129:29: error: unknown type name 'FILE'
# extern int elfrw_write_Syms(FILE *fp, Elf64_Sym const *out, int count);
# ^
# elfrw.h:129:39: error: unknown type name 'Elf64_Sym'
# extern int elfrw_write_Syms(FILE *fp, Elf64_Sym const *out, int count);
# ^
# elfrw.h:130:33: error: unknown type name 'FILE'
# extern int elfrw_write_Syminfos(FILE *fp, Elf64_Syminfo const *out, int count);
# ^
# elfrw.h:130:43: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_write_Syminfos(FILE *fp, Elf64_Syminfo const *out, int count);
# ^
# elfrw.h:131:29: error: unknown type name 'FILE'
# extern int elfrw_write_Rels(FILE *fp, Elf64_Rel const *out, int count);
# ^
# elfrw.h:131:39: error: unknown type name 'Elf64_Rel'
# extern int elfrw_write_Rels(FILE *fp, Elf64_Rel const *out, int count);
# ^
# elfrw.h:132:30: error: unknown type name 'FILE'
# extern int elfrw_write_Relas(FILE *fp, Elf64_Rela const *out, int count);
# ^
# elfrw.h:132:40: error: unknown type name 'Elf64_Rela'
# extern int elfrw_write_Relas(FILE *fp, Elf64_Rela const *out, int count);
# ^
# elfrw.h:133:30: error: unknown type name 'FILE'
# extern int elfrw_write_Phdrs(FILE *fp, Elf64_Phdr const *out, int count);
# ^
# elfrw.h:133:40: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_write_Phdrs(FILE *fp, Elf64_Phdr const *out, int count);
# ^
# elfrw.h:134:29: error: unknown type name 'FILE'
# extern int elfrw_write_Dyns(FILE *fp, Elf64_Dyn const *out, int count);
# ^
# elfrw.h:134:39: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_write_Dyns(FILE *fp, Elf64_Dyn const *out, int count);
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# elfrw.c:7:19: error: no include path in which to search for stdio.h
# #include
# ^
# elfrw.c:8:17: error: no include path in which to search for elf.h
# #include
# ^
# In file included from elfrw.c:9:0:
# elfrw_int.h:10:19: error: no include path in which to search for stdio.h
# #include
# ^
# elfrw_int.h:11:17: error: no include path in which to search for elf.h
# #include
# ^
# In file included from elfrw_int.h:12:0,
# from elfrw.c:9:
# elfrw.h:10:19: error: no include path in which to search for stdio.h
# #include
# ^
# elfrw.h:11:17: error: no include path in which to search for elf.h
# #include
# ^
# elfrw.h:64:28: error: unknown type name 'FILE'
# extern int elfrw_read_Half(FILE *fp, Elf64_Half *in);
# ^
# elfrw.h:64:38: error: unknown type name 'Elf64_Half'
# extern int elfrw_read_Half(FILE *fp, Elf64_Half *in);
# ^
# elfrw.h:65:28: error: unknown type name 'FILE'
# extern int elfrw_read_Word(FILE *fp, Elf64_Word *in);
# ^
# elfrw.h:65:38: error: unknown type name 'Elf64_Word'
# extern int elfrw_read_Word(FILE *fp, Elf64_Word *in);
# ^
# elfrw.c: In function 'elfrw_initialize_direct':
# elfrw.h:66:29: error: unknown type name 'FILE'
# extern int elfrw_read_Sword(FILE *fp, Elf64_Sword *in);
# ^
# elfrw.c:28:29: error: 'ELFDATA2MSB' undeclared (first use in this function)
# _elfrw_native_data = msb ? ELFDATA2MSB : ELFDATA2LSB;
# ^
# elfrw.c:28:29: note: each undeclared identifier is reported only once for each function it appears in
# elfrw.h:66:39: error: unknown type name 'Elf64_Sword'
# extern int elfrw_read_Sword(FILE *fp, Elf64_Sword *in);
# ^
# elfrw.c:28:43: error: 'ELFDATA2LSB' undeclared (first use in this function)
# _elfrw_native_data = msb ? ELFDATA2MSB : ELFDATA2LSB;
# ^
# elfrw.h:67:29: error: unknown type name 'FILE'
# extern int elfrw_read_Xword(FILE *fp, Elf64_Xword *in);
# ^
# elfrw.h:67:39: error: unknown type name 'Elf64_Xword'
# extern int elfrw_read_Xword(FILE *fp, Elf64_Xword *in);
# ^
# elfrw.c:32:12: error: 'ELFCLASS32' undeclared (first use in this function)
# case ELFCLASS32: _elfrw_current_class = ELFCLASS32; break;
# ^
# elfrw.h:68:30: error: unknown type name 'FILE'
# extern int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in);
# ^
# elfrw.c:33:12: error: 'ELFCLASS64' undeclared (first use in this function)
# case ELFCLASS64: _elfrw_current_class = ELFCLASS64; break;
# ^
# elfrw.h:68:40: error: unknown type name 'Elf64_Sxword'
# extern int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in);
# ^
# elfrw.c:34:25: error: 'EI_CLASS' undeclared (first use in this function)
# default: return -EI_CLASS;
# ^
# elfrw.h:69:28: error: unknown type name 'FILE'
# extern int elfrw_read_Addr(FILE *fp, Elf64_Addr *in);
# ^
# elfrw.c:40:25: error: 'EI_DATA' undeclared (first use in this function)
# default: return -EI_DATA;
# ^
# elfrw.h:69:38: error: unknown type name 'Elf64_Addr'
# extern int elfrw_read_Addr(FILE *fp, Elf64_Addr *in);
# ^
# elfrw.c:44:35: error: 'EV_CURRENT' undeclared (first use in this function)
# if (_elfrw_current_version != EV_CURRENT)
# ^
# elfrw.h:70:27: error: unknown type name 'FILE'
# extern int elfrw_read_Off(FILE *fp, Elf64_Off *in);
# ^
# elfrw.c:45:10: error: 'EI_VERSION' undeclared (first use in this function)
# return -EI_VERSION;
# ^
# elfrw.h:70:37: error: unknown type name 'Elf64_Off'
# extern int elfrw_read_Off(FILE *fp, Elf64_Off *in);
# ^
# elfrw.c: In function 'elfrw_initialize_ident':
# elfrw.c:52:15: error: 'EI_MAG0' undeclared (first use in this function)
# if (ident[EI_MAG0] != ELFMAG0 || ident[EI_MAG1] != ELFMAG1
# ^
# elfrw.c:52:27: error: 'ELFMAG0' undeclared (first use in this function)
# if (ident[EI_MAG0] != ELFMAG0 || ident[EI_MAG1] != ELFMAG1
# ^
# elfrw.c:52:44: error: 'EI_MAG1' undeclared (first use in this function)
# if (ident[EI_MAG0] != ELFMAG0 || ident[EI_MAG1] != ELFMAG1
# ^
# elfrw.c:52:56: error: 'ELFMAG1' undeclared (first use in this function)
# if (ident[EI_MAG0] != ELFMAG0 || ident[EI_MAG1] != ELFMAG1
# ^
# elfrw.c:53:16: error: 'EI_MAG2' undeclared (first use in this function)
# || ident[EI_MAG2] != ELFMAG2
# ^
# elfrw.c:53:28: error: 'ELFMAG2' undeclared (first use in this function)
# || ident[EI_MAG2] != ELFMAG2
# ^
# elfrw.c:54:16: error: 'EI_MAG3' undeclared (first use in this function)
# || ident[EI_MAG3] != ELFMAG3)
# ^
# elfrw.c:54:28: error: 'ELFMAG3' undeclared (first use in this function)
# || ident[EI_MAG3] != ELFMAG3)
# ^
# elfrw.c:56:42: error: 'EI_CLASS' undeclared (first use in this function)
# return elfrw_initialize_direct(ident[EI_CLASS], ident[EI_DATA],
# ^
# elfrw.c:56:59: error: 'EI_DATA' undeclared (first use in this function)
# return elfrw_initialize_direct(ident[EI_CLASS], ident[EI_DATA],
# ^
# elfrw.c:57:14: error: 'EI_VERSION' undeclared (first use in this function)
# ident[EI_VERSION]);
# ^
# elfrw.c:50:49: warning: parameter 'ident' set but not used [-Wunused-but-set-parameter]
# int elfrw_initialize_ident(unsigned char const *ident)
# ^
# elfrw.c: At top level:
# elfrw.c:75:21: error: unknown type name 'FILE'
# int elfrw_read_Half(FILE *fp, Elf64_Half *in)
# ^
# elfrw.c:75:31: error: unknown type name 'Elf64_Half'
# int elfrw_read_Half(FILE *fp, Elf64_Half *in)
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# elfrw.c:86:21: error: unknown type name 'FILE'
# int elfrw_read_Word(FILE *fp, Elf64_Word *in)
# ^
# elfrw.c:86:31: error: unknown type name 'Elf64_Word'
# int elfrw_read_Word(FILE *fp, Elf64_Word *in)
# ^
# elfrw.c:97:22: error: unknown type name 'FILE'
# int elfrw_read_Xword(FILE *fp, Elf64_Xword *in)
# ^
# elfrw.c:97:32: error: unknown type name 'Elf64_Xword'
# int elfrw_read_Xword(FILE *fp, Elf64_Xword *in)
# ^
# elfrw.c:108:21: error: unknown type name 'FILE'
# int elfrw_read_Addr(FILE *fp, Elf64_Addr *in)
# ^
# elfrw.c:108:31: error: unknown type name 'Elf64_Addr'
# int elfrw_read_Addr(FILE *fp, Elf64_Addr *in)
# ^
# elfrw.c:121:22: error: unknown type name 'FILE'
# int elfrw_read_Sword(FILE *fp, Elf64_Sword *in)
# ^
# elfrw.c:121:32: error: unknown type name 'Elf64_Sword'
# int elfrw_read_Sword(FILE *fp, Elf64_Sword *in)
# ^
# elfrw.c:126:23: error: unknown type name 'FILE'
# int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in)
# ^
# elfrw.c:126:33: error: unknown type name 'Elf64_Sxword'
# int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in)
# ^
# elfrw.c:131:20: error: unknown type name 'FILE'
# int elfrw_read_Off(FILE *fp, Elf64_Off *in)
# ^
# elfrw.c:7:19: error: no include path in which to search for stdio.h
# #include
# ^
# elfrw.c:131:30: error: unknown type name 'Elf64_Off'
# int elfrw_read_Off(FILE *fp, Elf64_Off *in)
# ^
# elfrw.c:8:17: error: no include path in which to search for elf.h
# #include
# ^
# elfrw.c:136:23: error: unknown type name 'FILE'
# int elfrw_read_Versym(FILE *fp, Elf64_Versym *in)
# ^
# elfrw.c:136:33: error: unknown type name 'Elf64_Versym'
# int elfrw_read_Versym(FILE *fp, Elf64_Versym *in)
# ^
# elfrw.c:145:22: error: unknown type name 'FILE'
# int elfrw_write_Half(FILE *fp, Elf64_Half const *out)
# ^
# elfrw.c:145:32: error: unknown type name 'Elf64_Half'
# int elfrw_write_Half(FILE *fp, Elf64_Half const *out)
# ^
# In file included from elfrw.c:9:0:
# elfrw_int.h:10:19: error: no include path in which to search for stdio.h
# #include
# ^
# elfrw_int.h:11:17: error: no include path in which to search for elf.h
# #include
# ^
# elfrw.c:155:22: error: unknown type name 'FILE'
# int elfrw_write_Word(FILE *fp, Elf64_Word const *out)
# ^
# elfrw.c:155:32: error: unknown type name 'Elf64_Word'
# int elfrw_write_Word(FILE *fp, Elf64_Word const *out)
# ^
# elfrw.c:165:23: error: unknown type name 'FILE'
# int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out)
# ^
# In file included from elfrw_int.h:12:0,
# from elfrw.c:9:
# elfrw.h:10:19: error: no include path in which to search for stdio.h
# #include
# ^
# elfrw.c:165:33: error: unknown type name 'Elf64_Xword'
# int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out)
# ^
# elfrw.h:11:17: error: no include path in which to search for elf.h
# #include
# ^
# elfrw.c:175:22: error: unknown type name 'FILE'
# int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out)
# ^
# elfrw.c:175:32: error: unknown type name 'Elf64_Addr'
# int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out)
# ^
# elfrw.c:185:23: error: unknown type name 'FILE'
# int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out)
# ^
# elfrw.c:185:33: error: unknown type name 'Elf64_Sword'
# int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out)
# ^
# elfrw.h:64:28: error: unknown type name 'FILE'
# extern int elfrw_read_Half(FILE *fp, Elf64_Half *in);
# ^
# elfrw.c:190:24: error: unknown type name 'FILE'
# int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out)
# ^
# elfrw.c:190:34: error: unknown type name 'Elf64_Sxword'
# int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out)
# ^
# elfrw.h:64:38: error: unknown type name 'Elf64_Half'
# extern int elfrw_read_Half(FILE *fp, Elf64_Half *in);
# ^
# elfrw.c:195:21: error: unknown type name 'FILE'
# int elfrw_write_Off(FILE *fp, Elf64_Off const *out)
# ^
# elfrw.h:65:28: error: unknown type name 'FILE'
# extern int elfrw_read_Word(FILE *fp, Elf64_Word *in);
# ^
# elfrw.c:195:31: error: unknown type name 'Elf64_Off'
# int elfrw_write_Off(FILE *fp, Elf64_Off const *out)
# ^
# elfrw.h:65:38: error: unknown type name 'Elf64_Word'
# extern int elfrw_read_Word(FILE *fp, Elf64_Word *in);
# ^
# elfrw.c:200:24: error: unknown type name 'FILE'
# int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out)
# ^
# elfrw.c:200:34: error: unknown type name 'Elf64_Versym'
# int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out)
# ^
# elfrw.h:66:29: error: unknown type name 'FILE'
# extern int elfrw_read_Sword(FILE *fp, Elf64_Sword *in);
# ^
# elfrw.h:66:39: error: unknown type name 'Elf64_Sword'
# extern int elfrw_read_Sword(FILE *fp, Elf64_Sword *in);
# ^
# elfrw.h:67:29: error: unknown type name 'FILE'
# extern int elfrw_read_Xword(FILE *fp, Elf64_Xword *in);
# ^
# elfrw.h:67:39: error: unknown type name 'Elf64_Xword'
# extern int elfrw_read_Xword(FILE *fp, Elf64_Xword *in);
# ^
# elfrw.h:68:30: error: unknown type name 'FILE'
# extern int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in);
# ^
# elfrw.h:68:40: error: unknown type name 'Elf64_Sxword'
# extern int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in);
# ^
# elfrw.h:69:28: error: unknown type name 'FILE'
# extern int elfrw_read_Addr(FILE *fp, Elf64_Addr *in);
# ^
# elfrw.h:69:38: error: unknown type name 'Elf64_Addr'
# extern int elfrw_read_Addr(FILE *fp, Elf64_Addr *in);
# ^
# elfrw.h:70:27: error: unknown type name 'FILE'
# extern int elfrw_read_Off(FILE *fp, Elf64_Off *in);
# ^
# elfrw.h:70:37: error: unknown type name 'Elf64_Off'
# extern int elfrw_read_Off(FILE *fp, Elf64_Off *in);
# ^
# elfrw.h:71:30: error: unknown type name 'FILE'
# extern int elfrw_read_Versym(FILE *fp, Elf64_Versym *in);
# ^
# elfrw.h:71:40: error: unknown type name 'Elf64_Versym'
# extern int elfrw_read_Versym(FILE *fp, Elf64_Versym *in);
# ^
# elfrw.h:73:28: error: unknown type name 'FILE'
# extern int elfrw_read_Ehdr(FILE *fp, Elf64_Ehdr *in);
# ^
# elfrw.h:73:38: error: unknown type name 'Elf64_Ehdr'
# extern int elfrw_read_Ehdr(FILE *fp, Elf64_Ehdr *in);
# ^
# elfrw.h:74:28: error: unknown type name 'FILE'
# extern int elfrw_read_Shdr(FILE *fp, Elf64_Shdr *in);
# ^
# elfrw.h:74:38: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_read_Shdr(FILE *fp, Elf64_Shdr *in);
# ^
# elfrw.c: In function 'elfrw_initialize_ident':
# elfrw.h:75:27: error: unknown type name 'FILE'
# extern int elfrw_read_Sym(FILE *fp, Elf64_Sym *in);
# ^
# elfrw.c:58:1: warning: control reaches end of non-void function [-Wreturn-type]
# }
# ^
# elfrw.h:75:37: error: unknown type name 'Elf64_Sym'
# extern int elfrw_read_Sym(FILE *fp, Elf64_Sym *in);
# ^
# elfrw.h:76:31: error: unknown type name 'FILE'
# extern int elfrw_read_Syminfo(FILE *fp, Elf64_Syminfo *in);
# ^
# elfrw.h:76:41: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_read_Syminfo(FILE *fp, Elf64_Syminfo *in);
# ^
# elfrw.h:77:27: error: unknown type name 'FILE'
# extern int elfrw_read_Rel(FILE *fp, Elf64_Rel *in);
# ^
# elfrw.h:77:37: error: unknown type name 'Elf64_Rel'
# extern int elfrw_read_Rel(FILE *fp, Elf64_Rel *in);
# ^
# elfrw.h:78:28: error: unknown type name 'FILE'
# extern int elfrw_read_Rela(FILE *fp, Elf64_Rela *in);
# ^
# elfrw.h:78:38: error: unknown type name 'Elf64_Rela'
# extern int elfrw_read_Rela(FILE *fp, Elf64_Rela *in);
# ^
# elfrw.h:79:28: error: unknown type name 'FILE'
# extern int elfrw_read_Phdr(FILE *fp, Elf64_Phdr *in);
# ^
# elfrw.h:79:38: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_read_Phdr(FILE *fp, Elf64_Phdr *in);
# ^
# elfrw.h:80:27: error: unknown type name 'FILE'
# extern int elfrw_read_Dyn(FILE *fp, Elf64_Dyn *in);
# ^
# elfrw.h:80:37: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_read_Dyn(FILE *fp, Elf64_Dyn *in);
# ^
# elfrw.h:81:30: error: unknown type name 'FILE'
# extern int elfrw_read_Verdef(FILE *fp, Elf64_Verdef *in);
# ^
# elfrw.h:81:40: error: unknown type name 'Elf64_Verdef'
# extern int elfrw_read_Verdef(FILE *fp, Elf64_Verdef *in);
# ^
# elfrw.h:82:31: error: unknown type name 'FILE'
# extern int elfrw_read_Verdaux(FILE *fp, Elf64_Verdaux *in);
# ^
# elfrw.h:82:41: error: unknown type name 'Elf64_Verdaux'
# extern int elfrw_read_Verdaux(FILE *fp, Elf64_Verdaux *in);
# ^
# elfrw.h:83:31: error: unknown type name 'FILE'
# extern int elfrw_read_Verneed(FILE *fp, Elf64_Verneed *in);
# ^
# elfrw.h:83:41: error: unknown type name 'Elf64_Verneed'
# extern int elfrw_read_Verneed(FILE *fp, Elf64_Verneed *in);
# ^
# elfrw.h:84:31: error: unknown type name 'FILE'
# extern int elfrw_read_Vernaux(FILE *fp, Elf64_Vernaux *in);
# ^
# elfrw.h:84:41: error: unknown type name 'Elf64_Vernaux'
# extern int elfrw_read_Vernaux(FILE *fp, Elf64_Vernaux *in);
# ^
# elfrw.h:86:29: error: unknown type name 'FILE'
# extern int elfrw_read_Shdrs(FILE *fp, Elf64_Shdr *in, int count);
# ^
# elfrw.h:86:39: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_read_Shdrs(FILE *fp, Elf64_Shdr *in, int count);
# ^
# elfrw.h:87:28: error: unknown type name 'FILE'
# extern int elfrw_read_Syms(FILE *fp, Elf64_Sym *in, int count);
# ^
# elfrw.h:87:38: error: unknown type name 'Elf64_Sym'
# extern int elfrw_read_Syms(FILE *fp, Elf64_Sym *in, int count);
# ^
# elfrw.h:88:32: error: unknown type name 'FILE'
# extern int elfrw_read_Syminfos(FILE *fp, Elf64_Syminfo *in, int count);
# ^
# elfrw.h:88:42: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_read_Syminfos(FILE *fp, Elf64_Syminfo *in, int count);
# ^
# elfrw.h:89:28: error: unknown type name 'FILE'
# extern int elfrw_read_Rels(FILE *fp, Elf64_Rel *in, int count);
# ^
# elfrw.h:89:38: error: unknown type name 'Elf64_Rel'
# extern int elfrw_read_Rels(FILE *fp, Elf64_Rel *in, int count);
# ^
# elfrw.h:90:29: error: unknown type name 'FILE'
# extern int elfrw_read_Relas(FILE *fp, Elf64_Rela *in, int count);
# ^
# elfrw.h:90:39: error: unknown type name 'Elf64_Rela'
# extern int elfrw_read_Relas(FILE *fp, Elf64_Rela *in, int count);
# ^
# elfrw.h:91:29: error: unknown type name 'FILE'
# extern int elfrw_read_Phdrs(FILE *fp, Elf64_Phdr *in, int count);
# ^
# elfrw.h:91:39: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_read_Phdrs(FILE *fp, Elf64_Phdr *in, int count);
# ^
# elfrw.h:92:28: error: unknown type name 'FILE'
# extern int elfrw_read_Dyns(FILE *fp, Elf64_Dyn *in, int count);
# ^
# elfrw.h:92:38: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_read_Dyns(FILE *fp, Elf64_Dyn *in, int count);
# ^
# elfrw.h:106:29: error: unknown type name 'FILE'
# extern int elfrw_write_Half(FILE *fp, Elf64_Half const *out);
# ^
# elfrw.h:106:39: error: unknown type name 'Elf64_Half'
# extern int elfrw_write_Half(FILE *fp, Elf64_Half const *out);
# ^
# make[2]: *** [: elfrw.o] Error 1
# make[2]: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a/elfrw'
# elfrw.h:107:29: error: unknown type name 'FILE'
# extern int elfrw_write_Word(FILE *fp, Elf64_Word const *out);
# ^
# elfrw.h:107:39: error: unknown type name 'Elf64_Word'
# extern int elfrw_write_Word(FILE *fp, Elf64_Word const *out);
# ^
# elfrw.h:108:30: error: unknown type name 'FILE'
# extern int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out);
# ^
# elfrw.h:108:40: error: unknown type name 'Elf64_Sword'
# extern int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out);
# ^
# elfrw.h:109:30: error: unknown type name 'FILE'
# extern int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out);
# ^
# elfrw.h:109:40: error: unknown type name 'Elf64_Xword'
# extern int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out);
# ^
# elfrw.h:110:31: error: unknown type name 'FILE'
# extern int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out);
# ^
# elfrw.h:110:41: error: unknown type name 'Elf64_Sxword'
# extern int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out);
# ^
# elfrw.h:111:29: error: unknown type name 'FILE'
# extern int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out);
# ^
# elfrw.h:111:39: error: unknown type name 'Elf64_Addr'
# extern int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out);
# ^
# elfrw.h:112:28: error: unknown type name 'FILE'
# extern int elfrw_write_Off(FILE *fp, Elf64_Off const *out);
# ^
# elfrw.h:112:38: error: unknown type name 'Elf64_Off'
# extern int elfrw_write_Off(FILE *fp, Elf64_Off const *out);
# ^
# elfrw.h:113:31: error: unknown type name 'FILE'
# extern int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out);
# ^
# elfrw.h:113:41: error: unknown type name 'Elf64_Versym'
# extern int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out);
# ^
# elfrw.h:115:29: error: unknown type name 'FILE'
# extern int elfrw_write_Ehdr(FILE *fp, Elf64_Ehdr const *out);
# ^
# elfrw.h:115:39: error: unknown type name 'Elf64_Ehdr'
# extern int elfrw_write_Ehdr(FILE *fp, Elf64_Ehdr const *out);
# ^
# elfrw.h:116:29: error: unknown type name 'FILE'
# extern int elfrw_write_Shdr(FILE *fp, Elf64_Shdr const *out);
# ^
# elfrw.h:116:39: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_write_Shdr(FILE *fp, Elf64_Shdr const *out);
# ^
# elfrw.h:117:28: error: unknown type name 'FILE'
# extern int elfrw_write_Sym(FILE *fp, Elf64_Sym const *out);
# ^
# make[1]: *** [Makefile:9: ../elfrw/libelfrw.a] Error 2
# elfrw.h:117:38: error: unknown type name 'Elf64_Sym'
# extern int elfrw_write_Sym(FILE *fp, Elf64_Sym const *out);
# ^
# make[1]: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a/rebind'
# elfrw.h:118:32: error: unknown type name 'FILE'
# extern int elfrw_write_Syminfo(FILE *fp, Elf64_Syminfo const *out);
# ^
# elfrw.h:118:42: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_write_Syminfo(FILE *fp, Elf64_Syminfo const *out);
# ^
# elfrw.h:119:28: error: unknown type name 'FILE'
# extern int elfrw_write_Rel(FILE *fp, Elf64_Rel const *out);
# ^
# elfrw.h:119:38: error: unknown type name 'Elf64_Rel'
# extern int elfrw_write_Rel(FILE *fp, Elf64_Rel const *out);
# ^
# elfrw.h:120:29: error: unknown type name 'FILE'
# extern int elfrw_write_Rela(FILE *fp, Elf64_Rela const *out);
# ^
# elfrw.h:120:39: error: unknown type name 'Elf64_Rela'
# extern int elfrw_write_Rela(FILE *fp, Elf64_Rela const *out);
# ^
# elfrw.h:121:29: error: unknown type name 'FILE'
# extern int elfrw_write_Phdr(FILE *fp, Elf64_Phdr const *out);
# ^
# elfrw.h:121:39: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_write_Phdr(FILE *fp, Elf64_Phdr const *out);
# ^
# elfrw.h:122:28: error: unknown type name 'FILE'
# extern int elfrw_write_Dyn(FILE *fp, Elf64_Dyn const *out);
# ^
# elfrw.h:122:38: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_write_Dyn(FILE *fp, Elf64_Dyn const *out);
# ^
# elfrw.h:123:31: error: unknown type name 'FILE'
# extern int elfrw_write_Verdef(FILE *fp, Elf64_Verdef const *out);
# ^
# elfrw.h:123:41: error: unknown type name 'Elf64_Verdef'
# extern int elfrw_write_Verdef(FILE *fp, Elf64_Verdef const *out);
# ^
# elfrw.h:124:32: error: unknown type name 'FILE'
# extern int elfrw_write_Verdaux(FILE *fp, Elf64_Verdaux const *out);
# ^
# make: *** [Makefile:10: bin/rebind] Error 2
# make: *** Waiting for unfinished jobs....
# elfrw.h:124:42: error: unknown type name 'Elf64_Verdaux'
# extern int elfrw_write_Verdaux(FILE *fp, Elf64_Verdaux const *out);
# ^
# gcc -Wall -Wextra -O3 -c -o elfrw_dyn.o elfrw_dyn.c
# elfrw.h:125:32: error: unknown type name 'FILE'
# extern int elfrw_write_Verneed(FILE *fp, Elf64_Verneed const *out);
# ^
# elfrw.h:125:42: error: unknown type name 'Elf64_Verneed'
# extern int elfrw_write_Verneed(FILE *fp, Elf64_Verneed const *out);
# ^
# elfrw.h:126:32: error: unknown type name 'FILE'
# extern int elfrw_write_Vernaux(FILE *fp, Elf64_Vernaux const *out);
# ^
# elfrw.h:126:42: error: unknown type name 'Elf64_Vernaux'
# extern int elfrw_write_Vernaux(FILE *fp, Elf64_Vernaux const *out);
# ^
# elfrw.h:128:30: error: unknown type name 'FILE'
# extern int elfrw_write_Shdrs(FILE *fp, Elf64_Shdr const *out, int count);
# ^
# elfrw.h:128:40: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_write_Shdrs(FILE *fp, Elf64_Shdr const *out, int count);
# ^
# elfrw.h:129:29: error: unknown type name 'FILE'
# extern int elfrw_write_Syms(FILE *fp, Elf64_Sym const *out, int count);
# ^
# elfrw.h:129:39: error: unknown type name 'Elf64_Sym'
# extern int elfrw_write_Syms(FILE *fp, Elf64_Sym const *out, int count);
# ^
# elfrw.h:130:33: error: unknown type name 'FILE'
# extern int elfrw_write_Syminfos(FILE *fp, Elf64_Syminfo const *out, int count);
# ^
# elfrw.h:130:43: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_write_Syminfos(FILE *fp, Elf64_Syminfo const *out, int count);
# ^
# elfrw.h:131:29: error: unknown type name 'FILE'
# extern int elfrw_write_Rels(FILE *fp, Elf64_Rel const *out, int count);
# ^
# elfrw.h:131:39: error: unknown type name 'Elf64_Rel'
# extern int elfrw_write_Rels(FILE *fp, Elf64_Rel const *out, int count);
# ^
# elfrw.h:132:30: error: unknown type name 'FILE'
# extern int elfrw_write_Relas(FILE *fp, Elf64_Rela const *out, int count);
# ^
# elfrw.h:132:40: error: unknown type name 'Elf64_Rela'
# extern int elfrw_write_Relas(FILE *fp, Elf64_Rela const *out, int count);
# ^
# elfrw.h:133:30: error: unknown type name 'FILE'
# extern int elfrw_write_Phdrs(FILE *fp, Elf64_Phdr const *out, int count);
# ^
# elfrw.h:133:40: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_write_Phdrs(FILE *fp, Elf64_Phdr const *out, int count);
# ^
# elfrw.h:134:29: error: unknown type name 'FILE'
# extern int elfrw_write_Dyns(FILE *fp, Elf64_Dyn const *out, int count);
# ^
# elfrw.h:134:39: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_write_Dyns(FILE *fp, Elf64_Dyn const *out, int count);
# ^
# elfrw.c: In function 'elfrw_initialize_direct':
# elfrw.c:28:29: error: 'ELFDATA2MSB' undeclared (first use in this function)
# _elfrw_native_data = msb ? ELFDATA2MSB : ELFDATA2LSB;
# ^
# elfrw.c:28:29: note: each undeclared identifier is reported only once for each function it appears in
# elfrw.c:28:43: error: 'ELFDATA2LSB' undeclared (first use in this function)
# _elfrw_native_data = msb ? ELFDATA2MSB : ELFDATA2LSB;
# ^
# elfrw.c:32:12: error: 'ELFCLASS32' undeclared (first use in this function)
# case ELFCLASS32: _elfrw_current_class = ELFCLASS32; break;
# ^
# elfrw.c:33:12: error: 'ELFCLASS64' undeclared (first use in this function)
# case ELFCLASS64: _elfrw_current_class = ELFCLASS64; break;
# ^
# elfrw.c:34:25: error: 'EI_CLASS' undeclared (first use in this function)
# default: return -EI_CLASS;
# ^
# elfrw.c:40:25: error: 'EI_DATA' undeclared (first use in this function)
# default: return -EI_DATA;
# ^
# elfrw.c:44:35: error: 'EV_CURRENT' undeclared (first use in this function)
# if (_elfrw_current_version != EV_CURRENT)
# ^
# elfrw.c:45:10: error: 'EI_VERSION' undeclared (first use in this function)
# return -EI_VERSION;
# ^
# elfrw.c: In function 'elfrw_initialize_ident':
# elfrw.c:52:15: error: 'EI_MAG0' undeclared (first use in this function)
# if (ident[EI_MAG0] != ELFMAG0 || ident[EI_MAG1] != ELFMAG1
# ^
# elfrw.c:52:27: error: 'ELFMAG0' undeclared (first use in this function)
# if (ident[EI_MAG0] != ELFMAG0 || ident[EI_MAG1] != ELFMAG1
# ^
# elfrw.c:52:44: error: 'EI_MAG1' undeclared (first use in this function)
# if (ident[EI_MAG0] != ELFMAG0 || ident[EI_MAG1] != ELFMAG1
# ^
# elfrw.c:52:56: error: 'ELFMAG1' undeclared (first use in this function)
# if (ident[EI_MAG0] != ELFMAG0 || ident[EI_MAG1] != ELFMAG1
# ^
# elfrw.c:53:16: error: 'EI_MAG2' undeclared (first use in this function)
# || ident[EI_MAG2] != ELFMAG2
# ^
# elfrw.c:53:28: error: 'ELFMAG2' undeclared (first use in this function)
# || ident[EI_MAG2] != ELFMAG2
# ^
# elfrw.c:54:16: error: 'EI_MAG3' undeclared (first use in this function)
# || ident[EI_MAG3] != ELFMAG3)
# ^
# elfrw.c:54:28: error: 'ELFMAG3' undeclared (first use in this function)
# || ident[EI_MAG3] != ELFMAG3)
# ^
# elfrw.c:56:42: error: 'EI_CLASS' undeclared (first use in this function)
# return elfrw_initialize_direct(ident[EI_CLASS], ident[EI_DATA],
# ^
# elfrw.c:56:59: error: 'EI_DATA' undeclared (first use in this function)
# return elfrw_initialize_direct(ident[EI_CLASS], ident[EI_DATA],
# ^
# elfrw.c:57:14: error: 'EI_VERSION' undeclared (first use in this function)
# ident[EI_VERSION]);
# ^
# elfrw.c:50:49: warning: parameter 'ident' set but not used [-Wunused-but-set-parameter]
# int elfrw_initialize_ident(unsigned char const *ident)
# ^
# elfrw.c: At top level:
# elfrw.c:75:21: error: unknown type name 'FILE'
# int elfrw_read_Half(FILE *fp, Elf64_Half *in)
# ^
# elfrw.c:75:31: error: unknown type name 'Elf64_Half'
# int elfrw_read_Half(FILE *fp, Elf64_Half *in)
# ^
# elfrw.c:86:21: error: unknown type name 'FILE'
# int elfrw_read_Word(FILE *fp, Elf64_Word *in)
# ^
# elfrw.c:86:31: error: unknown type name 'Elf64_Word'
# int elfrw_read_Word(FILE *fp, Elf64_Word *in)
# ^
# elfrw.c:97:22: error: unknown type name 'FILE'
# int elfrw_read_Xword(FILE *fp, Elf64_Xword *in)
# ^
# elfrw.c:97:32: error: unknown type name 'Elf64_Xword'
# int elfrw_read_Xword(FILE *fp, Elf64_Xword *in)
# ^
# elfrw.c:108:21: error: unknown type name 'FILE'
# int elfrw_read_Addr(FILE *fp, Elf64_Addr *in)
# ^
# elfrw.c:108:31: error: unknown type name 'Elf64_Addr'
# int elfrw_read_Addr(FILE *fp, Elf64_Addr *in)
# ^
# elfrw.c:121:22: error: unknown type name 'FILE'
# int elfrw_read_Sword(FILE *fp, Elf64_Sword *in)
# ^
# elfrw.c:121:32: error: unknown type name 'Elf64_Sword'
# int elfrw_read_Sword(FILE *fp, Elf64_Sword *in)
# ^
# elfrw.c:126:23: error: unknown type name 'FILE'
# int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in)
# ^
# elfrw.c:126:33: error: unknown type name 'Elf64_Sxword'
# int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in)
# ^
# elfrw.c:131:20: error: unknown type name 'FILE'
# int elfrw_read_Off(FILE *fp, Elf64_Off *in)
# ^
# elfrw.c:131:30: error: unknown type name 'Elf64_Off'
# int elfrw_read_Off(FILE *fp, Elf64_Off *in)
# ^
# elfrw.c:136:23: error: unknown type name 'FILE'
# int elfrw_read_Versym(FILE *fp, Elf64_Versym *in)
# ^
# elfrw.c:136:33: error: unknown type name 'Elf64_Versym'
# int elfrw_read_Versym(FILE *fp, Elf64_Versym *in)
# ^
# elfrw.c:145:22: error: unknown type name 'FILE'
# int elfrw_write_Half(FILE *fp, Elf64_Half const *out)
# ^
# elfrw.c:145:32: error: unknown type name 'Elf64_Half'
# int elfrw_write_Half(FILE *fp, Elf64_Half const *out)
# ^
# elfrw.c:155:22: error: unknown type name 'FILE'
# int elfrw_write_Word(FILE *fp, Elf64_Word const *out)
# ^
# elfrw.c:155:32: error: unknown type name 'Elf64_Word'
# int elfrw_write_Word(FILE *fp, Elf64_Word const *out)
# ^
# elfrw.c:165:23: error: unknown type name 'FILE'
# int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out)
# ^
# elfrw.c:165:33: error: unknown type name 'Elf64_Xword'
# int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out)
# ^
# elfrw.c:175:22: error: unknown type name 'FILE'
# int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out)
# ^
# elfrw.c:175:32: error: unknown type name 'Elf64_Addr'
# int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out)
# ^
# elfrw.c:185:23: error: unknown type name 'FILE'
# int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out)
# ^
# elfrw.c:185:33: error: unknown type name 'Elf64_Sword'
# int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out)
# ^
# elfrw.c:190:24: error: unknown type name 'FILE'
# int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out)
# ^
# elfrw.c:190:34: error: unknown type name 'Elf64_Sxword'
# int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out)
# ^
# elfrw.c:195:21: error: unknown type name 'FILE'
# int elfrw_write_Off(FILE *fp, Elf64_Off const *out)
# ^
# elfrw.c:195:31: error: unknown type name 'Elf64_Off'
# int elfrw_write_Off(FILE *fp, Elf64_Off const *out)
# ^
# elfrw.c:200:24: error: unknown type name 'FILE'
# int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out)
# ^
# elfrw.c:200:34: error: unknown type name 'Elf64_Versym'
# int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out)
# ^
# elfrw.c: In function 'elfrw_initialize_ident':
# elfrw.c:58:1: warning: control reaches end of non-void function [-Wreturn-type]
# }
# ^
# elfrw.h:71:30: error: unknown type name 'FILE'
# extern int elfrw_read_Versym(FILE *fp, Elf64_Versym *in);
# ^
# elfrw.h:71:40: error: unknown type name 'Elf64_Versym'
# extern int elfrw_read_Versym(FILE *fp, Elf64_Versym *in);
# ^
# elfrw.h:73:28: error: unknown type name 'FILE'
# extern int elfrw_read_Ehdr(FILE *fp, Elf64_Ehdr *in);
# ^
# elfrw.h:73:38: error: unknown type name 'Elf64_Ehdr'
# extern int elfrw_read_Ehdr(FILE *fp, Elf64_Ehdr *in);
# ^
# elfrw.h:74:28: error: unknown type name 'FILE'
# extern int elfrw_read_Shdr(FILE *fp, Elf64_Shdr *in);
# ^
# elfrw.h:74:38: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_read_Shdr(FILE *fp, Elf64_Shdr *in);
# ^
# elfrw.h:75:27: error: unknown type name 'FILE'
# extern int elfrw_read_Sym(FILE *fp, Elf64_Sym *in);
# ^
# elfrw.h:75:37: error: unknown type name 'Elf64_Sym'
# extern int elfrw_read_Sym(FILE *fp, Elf64_Sym *in);
# ^
# elfrw.h:76:31: error: unknown type name 'FILE'
# extern int elfrw_read_Syminfo(FILE *fp, Elf64_Syminfo *in);
# ^
# elfrw.h:76:41: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_read_Syminfo(FILE *fp, Elf64_Syminfo *in);
# ^
# elfrw.h:77:27: error: unknown type name 'FILE'
# extern int elfrw_read_Rel(FILE *fp, Elf64_Rel *in);
# ^
# elfrw.h:77:37: error: unknown type name 'Elf64_Rel'
# extern int elfrw_read_Rel(FILE *fp, Elf64_Rel *in);
# ^
# elfrw.h:78:28: error: unknown type name 'FILE'
# extern int elfrw_read_Rela(FILE *fp, Elf64_Rela *in);
# ^
# elfrw.h:78:38: error: unknown type name 'Elf64_Rela'
# extern int elfrw_read_Rela(FILE *fp, Elf64_Rela *in);
# ^
# elfrw.h:79:28: error: unknown type name 'FILE'
# extern int elfrw_read_Phdr(FILE *fp, Elf64_Phdr *in);
# ^
# elfrw.h:79:38: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_read_Phdr(FILE *fp, Elf64_Phdr *in);
# ^
# elfrw.h:80:27: error: unknown type name 'FILE'
# extern int elfrw_read_Dyn(FILE *fp, Elf64_Dyn *in);
# ^
# elfrw.h:80:37: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_read_Dyn(FILE *fp, Elf64_Dyn *in);
# ^
# elfrw.h:81:30: error: unknown type name 'FILE'
# extern int elfrw_read_Verdef(FILE *fp, Elf64_Verdef *in);
# ^
# elfrw.h:81:40: error: unknown type name 'Elf64_Verdef'
# extern int elfrw_read_Verdef(FILE *fp, Elf64_Verdef *in);
# ^
# elfrw.h:82:31: error: unknown type name 'FILE'
# extern int elfrw_read_Verdaux(FILE *fp, Elf64_Verdaux *in);
# ^
# elfrw.h:82:41: error: unknown type name 'Elf64_Verdaux'
# extern int elfrw_read_Verdaux(FILE *fp, Elf64_Verdaux *in);
# ^
# elfrw.h:83:31: error: unknown type name 'FILE'
# extern int elfrw_read_Verneed(FILE *fp, Elf64_Verneed *in);
# ^
# elfrw.h:83:41: error: unknown type name 'Elf64_Verneed'
# extern int elfrw_read_Verneed(FILE *fp, Elf64_Verneed *in);
# ^
# elfrw.h:84:31: error: unknown type name 'FILE'
# extern int elfrw_read_Vernaux(FILE *fp, Elf64_Vernaux *in);
# ^
# elfrw.h:84:41: error: unknown type name 'Elf64_Vernaux'
# extern int elfrw_read_Vernaux(FILE *fp, Elf64_Vernaux *in);
# ^
# elfrw.h:86:29: error: unknown type name 'FILE'
# extern int elfrw_read_Shdrs(FILE *fp, Elf64_Shdr *in, int count);
# ^
# elfrw.h:86:39: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_read_Shdrs(FILE *fp, Elf64_Shdr *in, int count);
# ^
# elfrw.h:87:28: error: unknown type name 'FILE'
# extern int elfrw_read_Syms(FILE *fp, Elf64_Sym *in, int count);
# ^
# elfrw.h:87:38: error: unknown type name 'Elf64_Sym'
# extern int elfrw_read_Syms(FILE *fp, Elf64_Sym *in, int count);
# ^
# elfrw.h:88:32: error: unknown type name 'FILE'
# extern int elfrw_read_Syminfos(FILE *fp, Elf64_Syminfo *in, int count);
# ^
# elfrw.h:88:42: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_read_Syminfos(FILE *fp, Elf64_Syminfo *in, int count);
# ^
# elfrw.h:89:28: error: unknown type name 'FILE'
# extern int elfrw_read_Rels(FILE *fp, Elf64_Rel *in, int count);
# ^
# elfrw.h:89:38: error: unknown type name 'Elf64_Rel'
# extern int elfrw_read_Rels(FILE *fp, Elf64_Rel *in, int count);
# ^
# elfrw.h:90:29: error: unknown type name 'FILE'
# extern int elfrw_read_Relas(FILE *fp, Elf64_Rela *in, int count);
# ^
# elfrw.h:90:39: error: unknown type name 'Elf64_Rela'
# extern int elfrw_read_Relas(FILE *fp, Elf64_Rela *in, int count);
# ^
# elfrw.h:91:29: error: unknown type name 'FILE'
# extern int elfrw_read_Phdrs(FILE *fp, Elf64_Phdr *in, int count);
# ^
# elfrw.h:91:39: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_read_Phdrs(FILE *fp, Elf64_Phdr *in, int count);
# ^
# elfrw.h:92:28: error: unknown type name 'FILE'
# extern int elfrw_read_Dyns(FILE *fp, Elf64_Dyn *in, int count);
# ^
# elfrw.h:92:38: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_read_Dyns(FILE *fp, Elf64_Dyn *in, int count);
# ^
# elfrw.h:106:29: error: unknown type name 'FILE'
# extern int elfrw_write_Half(FILE *fp, Elf64_Half const *out);
# ^
# elfrw.h:106:39: error: unknown type name 'Elf64_Half'
# extern int elfrw_write_Half(FILE *fp, Elf64_Half const *out);
# ^
# elfrw.h:107:29: error: unknown type name 'FILE'
# extern int elfrw_write_Word(FILE *fp, Elf64_Word const *out);
# ^
# elfrw.h:107:39: error: unknown type name 'Elf64_Word'
# extern int elfrw_write_Word(FILE *fp, Elf64_Word const *out);
# ^
# elfrw.h:108:30: error: unknown type name 'FILE'
# extern int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out);
# ^
# elfrw.h:108:40: error: unknown type name 'Elf64_Sword'
# extern int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out);
# ^
# elfrw.h:109:30: error: unknown type name 'FILE'
# extern int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out);
# ^
# elfrw.h:109:40: error: unknown type name 'Elf64_Xword'
# extern int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out);
# ^
# elfrw.h:110:31: error: unknown type name 'FILE'
# extern int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out);
# ^
# elfrw.h:110:41: error: unknown type name 'Elf64_Sxword'
# extern int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out);
# ^
# elfrw.h:111:29: error: unknown type name 'FILE'
# extern int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out);
# ^
# elfrw.h:111:39: error: unknown type name 'Elf64_Addr'
# extern int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out);
# ^
# elfrw.h:112:28: error: unknown type name 'FILE'
# extern int elfrw_write_Off(FILE *fp, Elf64_Off const *out);
# ^
# elfrw.h:112:38: error: unknown type name 'Elf64_Off'
# extern int elfrw_write_Off(FILE *fp, Elf64_Off const *out);
# ^
# elfrw.h:113:31: error: unknown type name 'FILE'
# extern int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out);
# ^
# elfrw.h:113:41: error: unknown type name 'Elf64_Versym'
# extern int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out);
# ^
# elfrw.h:115:29: error: unknown type name 'FILE'
# extern int elfrw_write_Ehdr(FILE *fp, Elf64_Ehdr const *out);
# ^
# elfrw.h:115:39: error: unknown type name 'Elf64_Ehdr'
# extern int elfrw_write_Ehdr(FILE *fp, Elf64_Ehdr const *out);
# ^
# elfrw.h:116:29: error: unknown type name 'FILE'
# extern int elfrw_write_Shdr(FILE *fp, Elf64_Shdr const *out);
# ^
# elfrw.h:116:39: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_write_Shdr(FILE *fp, Elf64_Shdr const *out);
# ^
# elfrw.h:117:28: error: unknown type name 'FILE'
# extern int elfrw_write_Sym(FILE *fp, Elf64_Sym const *out);
# ^
# elfrw.h:117:38: error: unknown type name 'Elf64_Sym'
# extern int elfrw_write_Sym(FILE *fp, Elf64_Sym const *out);
# ^
# elfrw.h:118:32: error: unknown type name 'FILE'
# extern int elfrw_write_Syminfo(FILE *fp, Elf64_Syminfo const *out);
# ^
# elfrw.h:118:42: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_write_Syminfo(FILE *fp, Elf64_Syminfo const *out);
# ^
# elfrw.h:119:28: error: unknown type name 'FILE'
# extern int elfrw_write_Rel(FILE *fp, Elf64_Rel const *out);
# ^
# elfrw.h:119:38: error: unknown type name 'Elf64_Rel'
# extern int elfrw_write_Rel(FILE *fp, Elf64_Rel const *out);
# ^
# elfrw.h:120:29: error: unknown type name 'FILE'
# extern int elfrw_write_Rela(FILE *fp, Elf64_Rela const *out);
# ^
# elfrw.h:120:39: error: unknown type name 'Elf64_Rela'
# extern int elfrw_write_Rela(FILE *fp, Elf64_Rela const *out);
# ^
# elfrw.h:121:29: error: unknown type name 'FILE'
# extern int elfrw_write_Phdr(FILE *fp, Elf64_Phdr const *out);
# ^
# elfrw.h:121:39: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_write_Phdr(FILE *fp, Elf64_Phdr const *out);
# ^
# elfrw.h:122:28: error: unknown type name 'FILE'
# extern int elfrw_write_Dyn(FILE *fp, Elf64_Dyn const *out);
# ^
# elfrw.h:122:38: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_write_Dyn(FILE *fp, Elf64_Dyn const *out);
# ^
# elfrw.h:123:31: error: unknown type name 'FILE'
# extern int elfrw_write_Verdef(FILE *fp, Elf64_Verdef const *out);
# ^
# elfrw.h:123:41: error: unknown type name 'Elf64_Verdef'
# extern int elfrw_write_Verdef(FILE *fp, Elf64_Verdef const *out);
# ^
# elfrw.h:124:32: error: unknown type name 'FILE'
# extern int elfrw_write_Verdaux(FILE *fp, Elf64_Verdaux const *out);
# ^
# elfrw.h:124:42: error: unknown type name 'Elf64_Verdaux'
# extern int elfrw_write_Verdaux(FILE *fp, Elf64_Verdaux const *out);
# ^
# elfrw.h:125:32: error: unknown type name 'FILE'
# extern int elfrw_write_Verneed(FILE *fp, Elf64_Verneed const *out);
# ^
# elfrw.h:125:42: error: unknown type name 'Elf64_Verneed'
# extern int elfrw_write_Verneed(FILE *fp, Elf64_Verneed const *out);
# ^
# elfrw.h:126:32: error: unknown type name 'FILE'
# extern int elfrw_write_Vernaux(FILE *fp, Elf64_Vernaux const *out);
# ^
# elfrw.h:126:42: error: unknown type name 'Elf64_Vernaux'
# extern int elfrw_write_Vernaux(FILE *fp, Elf64_Vernaux const *out);
# ^
# elfrw.h:128:30: error: unknown type name 'FILE'
# extern int elfrw_write_Shdrs(FILE *fp, Elf64_Shdr const *out, int count);
# ^
# elfrw.h:128:40: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_write_Shdrs(FILE *fp, Elf64_Shdr const *out, int count);
# ^
# elfrw.h:129:29: error: unknown type name 'FILE'
# extern int elfrw_write_Syms(FILE *fp, Elf64_Sym const *out, int count);
# ^
# elfrw.h:129:39: error: unknown type name 'Elf64_Sym'
# extern int elfrw_write_Syms(FILE *fp, Elf64_Sym const *out, int count);
# ^
# elfrw.h:130:33: error: unknown type name 'FILE'
# extern int elfrw_write_Syminfos(FILE *fp, Elf64_Syminfo const *out, int count);
# ^
# elfrw.h:130:43: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_write_Syminfos(FILE *fp, Elf64_Syminfo const *out, int count);
# ^
# elfrw.h:131:29: error: unknown type name 'FILE'
# extern int elfrw_write_Rels(FILE *fp, Elf64_Rel const *out, int count);
# ^
# elfrw.h:131:39: error: unknown type name 'Elf64_Rel'
# extern int elfrw_write_Rels(FILE *fp, Elf64_Rel const *out, int count);
# ^
# elfrw.h:132:30: error: unknown type name 'FILE'
# extern int elfrw_write_Relas(FILE *fp, Elf64_Rela const *out, int count);
# ^
# elfrw.h:132:40: error: unknown type name 'Elf64_Rela'
# extern int elfrw_write_Relas(FILE *fp, Elf64_Rela const *out, int count);
# ^
# elfrw.h:133:30: error: unknown type name 'FILE'
# extern int elfrw_write_Phdrs(FILE *fp, Elf64_Phdr const *out, int count);
# ^
# elfrw.h:133:40: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_write_Phdrs(FILE *fp, Elf64_Phdr const *out, int count);
# ^
# elfrw.h:134:29: error: unknown type name 'FILE'
# extern int elfrw_write_Dyns(FILE *fp, Elf64_Dyn const *out, int count);
# ^
# elfrw.h:134:39: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_write_Dyns(FILE *fp, Elf64_Dyn const *out, int count);
# ^
# elfrw.c: In function 'elfrw_initialize_direct':
# elfrw.c:28:29: error: 'ELFDATA2MSB' undeclared (first use in this function)
# _elfrw_native_data = msb ? ELFDATA2MSB : ELFDATA2LSB;
# ^
# elfrw.c:28:29: note: each undeclared identifier is reported only once for each function it appears in
# elfrw.c:28:43: error: 'ELFDATA2LSB' undeclared (first use in this function)
# _elfrw_native_data = msb ? ELFDATA2MSB : ELFDATA2LSB;
# ^
# elfrw.c:32:12: error: 'ELFCLASS32' undeclared (first use in this function)
# case ELFCLASS32: _elfrw_current_class = ELFCLASS32; break;
# ^
# elfrw.c:33:12: error: 'ELFCLASS64' undeclared (first use in this function)
# case ELFCLASS64: _elfrw_current_class = ELFCLASS64; break;
# ^
# elfrw.c:34:25: error: 'EI_CLASS' undeclared (first use in this function)
# default: return -EI_CLASS;
# ^
# elfrw.c:40:25: error: 'EI_DATA' undeclared (first use in this function)
# default: return -EI_DATA;
# ^
# elfrw.c:44:35: error: 'EV_CURRENT' undeclared (first use in this function)
# if (_elfrw_current_version != EV_CURRENT)
# ^
# elfrw.c:45:10: error: 'EI_VERSION' undeclared (first use in this function)
# return -EI_VERSION;
# ^
# elfrw.c: In function 'elfrw_initialize_ident':
# elfrw.c:52:15: error: 'EI_MAG0' undeclared (first use in this function)
# if (ident[EI_MAG0] != ELFMAG0 || ident[EI_MAG1] != ELFMAG1
# ^
# elfrw.c:52:27: error: 'ELFMAG0' undeclared (first use in this function)
# if (ident[EI_MAG0] != ELFMAG0 || ident[EI_MAG1] != ELFMAG1
# ^
# elfrw.c:52:44: error: 'EI_MAG1' undeclared (first use in this function)
# if (ident[EI_MAG0] != ELFMAG0 || ident[EI_MAG1] != ELFMAG1
# ^
# elfrw.c:52:56: error: 'ELFMAG1' undeclared (first use in this function)
# if (ident[EI_MAG0] != ELFMAG0 || ident[EI_MAG1] != ELFMAG1
# ^
# elfrw.c:53:16: error: 'EI_MAG2' undeclared (first use in this function)
# || ident[EI_MAG2] != ELFMAG2
# ^
# elfrw.c:53:28: error: 'ELFMAG2' undeclared (first use in this function)
# || ident[EI_MAG2] != ELFMAG2
# ^
# elfrw.c:54:16: error: 'EI_MAG3' undeclared (first use in this function)
# || ident[EI_MAG3] != ELFMAG3)
# ^
# elfrw.c:54:28: error: 'ELFMAG3' undeclared (first use in this function)
# || ident[EI_MAG3] != ELFMAG3)
# ^
# elfrw.c:56:42: error: 'EI_CLASS' undeclared (first use in this function)
# return elfrw_initialize_direct(ident[EI_CLASS], ident[EI_DATA],
# ^
# elfrw.c:56:59: error: 'EI_DATA' undeclared (first use in this function)
# return elfrw_initialize_direct(ident[EI_CLASS], ident[EI_DATA],
# ^
# elfrw.c:57:14: error: 'EI_VERSION' undeclared (first use in this function)
# ident[EI_VERSION]);
# ^
# elfrw.c:50:49: warning: parameter 'ident' set but not used [-Wunused-but-set-parameter]
# int elfrw_initialize_ident(unsigned char const *ident)
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# elfrw.c: At top level:
# elfrw.c:75:21: error: unknown type name 'FILE'
# int elfrw_read_Half(FILE *fp, Elf64_Half *in)
# ^
# elfrw.c:75:31: error: unknown type name 'Elf64_Half'
# int elfrw_read_Half(FILE *fp, Elf64_Half *in)
# ^
# elfrw.c:86:21: error: unknown type name 'FILE'
# int elfrw_read_Word(FILE *fp, Elf64_Word *in)
# ^
# elfrw.c:86:31: error: unknown type name 'Elf64_Word'
# int elfrw_read_Word(FILE *fp, Elf64_Word *in)
# ^
# elfrw.c:7:19: error: no include path in which to search for stdio.h
# #include
# ^
# elfrw.c:8:17: error: no include path in which to search for elf.h
# #include
# ^
# elfrw.c:97:22: error: unknown type name 'FILE'
# int elfrw_read_Xword(FILE *fp, Elf64_Xword *in)
# ^
# elfrw.c:97:32: error: unknown type name 'Elf64_Xword'
# int elfrw_read_Xword(FILE *fp, Elf64_Xword *in)
# ^
# In file included from elfrw.c:9:0:
# elfrw_int.h:10:19: error: no include path in which to search for stdio.h
# #include
# ^
# elfrw_int.h:11:17: error: no include path in which to search for elf.h
# #include
# ^
# elfrw.c:108:21: error: unknown type name 'FILE'
# int elfrw_read_Addr(FILE *fp, Elf64_Addr *in)
# ^
# In file included from elfrw_int.h:12:0,
# from elfrw.c:9:
# elfrw.h:10:19: error: no include path in which to search for stdio.h
# #include
# ^
# elfrw.c:108:31: error: unknown type name 'Elf64_Addr'
# int elfrw_read_Addr(FILE *fp, Elf64_Addr *in)
# ^
# elfrw.h:11:17: error: no include path in which to search for elf.h
# #include
# ^
# elfrw.c:121:22: error: unknown type name 'FILE'
# int elfrw_read_Sword(FILE *fp, Elf64_Sword *in)
# ^
# elfrw.c:121:32: error: unknown type name 'Elf64_Sword'
# int elfrw_read_Sword(FILE *fp, Elf64_Sword *in)
# ^
# elfrw.h:64:28: error: unknown type name 'FILE'
# extern int elfrw_read_Half(FILE *fp, Elf64_Half *in);
# ^
# elfrw.c:126:23: error: unknown type name 'FILE'
# int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in)
# ^
# elfrw.h:64:38: error: unknown type name 'Elf64_Half'
# extern int elfrw_read_Half(FILE *fp, Elf64_Half *in);
# ^
# elfrw.h:65:28: error: unknown type name 'FILE'
# extern int elfrw_read_Word(FILE *fp, Elf64_Word *in);
# ^
# elfrw.c:126:33: error: unknown type name 'Elf64_Sxword'
# int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in)
# ^
# elfrw.h:65:38: error: unknown type name 'Elf64_Word'
# extern int elfrw_read_Word(FILE *fp, Elf64_Word *in);
# ^
# elfrw.c:131:20: error: unknown type name 'FILE'
# int elfrw_read_Off(FILE *fp, Elf64_Off *in)
# ^
# elfrw.h:66:29: error: unknown type name 'FILE'
# extern int elfrw_read_Sword(FILE *fp, Elf64_Sword *in);
# ^
# elfrw.c:131:30: error: unknown type name 'Elf64_Off'
# int elfrw_read_Off(FILE *fp, Elf64_Off *in)
# ^
# elfrw.h:66:39: error: unknown type name 'Elf64_Sword'
# extern int elfrw_read_Sword(FILE *fp, Elf64_Sword *in);
# ^
# elfrw.h:67:29: error: unknown type name 'FILE'
# extern int elfrw_read_Xword(FILE *fp, Elf64_Xword *in);
# ^
# elfrw.c:136:23: error: unknown type name 'FILE'
# int elfrw_read_Versym(FILE *fp, Elf64_Versym *in)
# ^
# elfrw.h:67:39: error: unknown type name 'Elf64_Xword'
# extern int elfrw_read_Xword(FILE *fp, Elf64_Xword *in);
# ^
# elfrw.c:136:33: error: unknown type name 'Elf64_Versym'
# int elfrw_read_Versym(FILE *fp, Elf64_Versym *in)
# ^
# elfrw.h:68:30: error: unknown type name 'FILE'
# extern int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in);
# ^
# elfrw.h:68:40: error: unknown type name 'Elf64_Sxword'
# extern int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in);
# ^
# elfrw.c:145:22: error: unknown type name 'FILE'
# int elfrw_write_Half(FILE *fp, Elf64_Half const *out)
# ^
# elfrw.h:69:28: error: unknown type name 'FILE'
# extern int elfrw_read_Addr(FILE *fp, Elf64_Addr *in);
# ^
# elfrw.h:69:38: error: unknown type name 'Elf64_Addr'
# extern int elfrw_read_Addr(FILE *fp, Elf64_Addr *in);
# ^
# elfrw.c:145:32: error: unknown type name 'Elf64_Half'
# int elfrw_write_Half(FILE *fp, Elf64_Half const *out)
# ^
# elfrw.h:70:27: error: unknown type name 'FILE'
# extern int elfrw_read_Off(FILE *fp, Elf64_Off *in);
# ^
# elfrw.h:70:37: error: unknown type name 'Elf64_Off'
# extern int elfrw_read_Off(FILE *fp, Elf64_Off *in);
# ^
# elfrw.c:155:22: error: unknown type name 'FILE'
# int elfrw_write_Word(FILE *fp, Elf64_Word const *out)
# ^
# elfrw.h:71:30: error: unknown type name 'FILE'
# extern int elfrw_read_Versym(FILE *fp, Elf64_Versym *in);
# ^
# elfrw.h:71:40: error: unknown type name 'Elf64_Versym'
# extern int elfrw_read_Versym(FILE *fp, Elf64_Versym *in);
# ^
# elfrw.c:155:32: error: unknown type name 'Elf64_Word'
# int elfrw_write_Word(FILE *fp, Elf64_Word const *out)
# ^
# elfrw.h:73:28: error: unknown type name 'FILE'
# extern int elfrw_read_Ehdr(FILE *fp, Elf64_Ehdr *in);
# ^
# elfrw.h:73:38: error: unknown type name 'Elf64_Ehdr'
# extern int elfrw_read_Ehdr(FILE *fp, Elf64_Ehdr *in);
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# elfrw.c:165:23: error: unknown type name 'FILE'
# int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out)
# ^
# elfrw.h:74:28: error: unknown type name 'FILE'
# extern int elfrw_read_Shdr(FILE *fp, Elf64_Shdr *in);
# ^
# elfrw.c:165:33: error: unknown type name 'Elf64_Xword'
# int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out)
# ^
# elfrw.h:74:38: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_read_Shdr(FILE *fp, Elf64_Shdr *in);
# ^
# elfrw.h:75:27: error: unknown type name 'FILE'
# extern int elfrw_read_Sym(FILE *fp, Elf64_Sym *in);
# ^
# elfrw.h:75:37: error: unknown type name 'Elf64_Sym'
# extern int elfrw_read_Sym(FILE *fp, Elf64_Sym *in);
# ^
# elfrw.c:175:22: error: unknown type name 'FILE'
# int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out)
# ^
# elfrw_dyn.c:7:17: error: no include path in which to search for elf.h
# #include
# ^
# elfrw.h:76:31: error: unknown type name 'FILE'
# extern int elfrw_read_Syminfo(FILE *fp, Elf64_Syminfo *in);
# ^
# elfrw.c:175:32: error: unknown type name 'Elf64_Addr'
# int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out)
# ^
# elfrw.h:76:41: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_read_Syminfo(FILE *fp, Elf64_Syminfo *in);
# ^
# In file included from elfrw_dyn.c:8:0:
# elfrw_int.h:10:19: error: no include path in which to search for stdio.h
# #include
# ^
# elfrw.h:77:27: error: unknown type name 'FILE'
# extern int elfrw_read_Rel(FILE *fp, Elf64_Rel *in);
# ^
# elfrw_int.h:11:17: error: no include path in which to search for elf.h
# #include
# ^
# elfrw.h:77:37: error: unknown type name 'Elf64_Rel'
# extern int elfrw_read_Rel(FILE *fp, Elf64_Rel *in);
# ^
# elfrw.c:185:23: error: unknown type name 'FILE'
# int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out)
# ^
# In file included from elfrw_int.h:12:0,
# from elfrw_dyn.c:8:
# elfrw.h:10:19: error: no include path in which to search for stdio.h
# #include
# ^
# elfrw.h:78:28: error: unknown type name 'FILE'
# extern int elfrw_read_Rela(FILE *fp, Elf64_Rela *in);
# ^
# elfrw.c:185:33: error: unknown type name 'Elf64_Sword'
# int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out)
# ^
# elfrw.h:11:17: error: no include path in which to search for elf.h
# #include
# ^
# elfrw.h:78:38: error: unknown type name 'Elf64_Rela'
# extern int elfrw_read_Rela(FILE *fp, Elf64_Rela *in);
# ^
# elfrw.h:79:28: error: unknown type name 'FILE'
# extern int elfrw_read_Phdr(FILE *fp, Elf64_Phdr *in);
# ^
# elfrw.c:190:24: error: unknown type name 'FILE'
# int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out)
# ^
# elfrw.h:79:38: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_read_Phdr(FILE *fp, Elf64_Phdr *in);
# ^
# elfrw.h:64:28: error: unknown type name 'FILE'
# extern int elfrw_read_Half(FILE *fp, Elf64_Half *in);
# ^
# elfrw.h:80:27: error: unknown type name 'FILE'
# extern int elfrw_read_Dyn(FILE *fp, Elf64_Dyn *in);
# ^
# elfrw.c:190:34: error: unknown type name 'Elf64_Sxword'
# int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out)
# ^
# elfrw.h:64:38: error: unknown type name 'Elf64_Half'
# extern int elfrw_read_Half(FILE *fp, Elf64_Half *in);
# ^
# elfrw.h:80:37: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_read_Dyn(FILE *fp, Elf64_Dyn *in);
# ^
# elfrw.h:65:28: error: unknown type name 'FILE'
# extern int elfrw_read_Word(FILE *fp, Elf64_Word *in);
# ^
# elfrw.h:65:38: error: unknown type name 'Elf64_Word'
# extern int elfrw_read_Word(FILE *fp, Elf64_Word *in);
# ^
# elfrw.c:195:21: error: unknown type name 'FILE'
# int elfrw_write_Off(FILE *fp, Elf64_Off const *out)
# ^
# elfrw.h:81:30: error: unknown type name 'FILE'
# extern int elfrw_read_Verdef(FILE *fp, Elf64_Verdef *in);
# ^
# elfrw.h:81:40: error: unknown type name 'Elf64_Verdef'
# extern int elfrw_read_Verdef(FILE *fp, Elf64_Verdef *in);
# ^
# elfrw.c:195:31: error: unknown type name 'Elf64_Off'
# int elfrw_write_Off(FILE *fp, Elf64_Off const *out)
# ^
# elfrw.h:66:29: error: unknown type name 'FILE'
# extern int elfrw_read_Sword(FILE *fp, Elf64_Sword *in);
# ^
# elfrw.h:82:31: error: unknown type name 'FILE'
# extern int elfrw_read_Verdaux(FILE *fp, Elf64_Verdaux *in);
# ^
# elfrw.h:66:39: error: unknown type name 'Elf64_Sword'
# extern int elfrw_read_Sword(FILE *fp, Elf64_Sword *in);
# ^
# elfrw.h:67:29: error: unknown type name 'FILE'
# extern int elfrw_read_Xword(FILE *fp, Elf64_Xword *in);
# ^
# elfrw.h:82:41: error: unknown type name 'Elf64_Verdaux'
# extern int elfrw_read_Verdaux(FILE *fp, Elf64_Verdaux *in);
# ^
# elfrw.c:200:24: error: unknown type name 'FILE'
# int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out)
# ^
# elfrw.h:67:39: error: unknown type name 'Elf64_Xword'
# extern int elfrw_read_Xword(FILE *fp, Elf64_Xword *in);
# ^
# elfrw.h:83:31: error: unknown type name 'FILE'
# extern int elfrw_read_Verneed(FILE *fp, Elf64_Verneed *in);
# ^
# elfrw.h:68:30: error: unknown type name 'FILE'
# extern int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in);
# ^
# elfrw.h:68:40: error: unknown type name 'Elf64_Sxword'
# extern int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in);
# ^
# elfrw.h:83:41: error: unknown type name 'Elf64_Verneed'
# extern int elfrw_read_Verneed(FILE *fp, Elf64_Verneed *in);
# ^
# elfrw.c:200:34: error: unknown type name 'Elf64_Versym'
# int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out)
# ^
# elfrw.h:69:28: error: unknown type name 'FILE'
# extern int elfrw_read_Addr(FILE *fp, Elf64_Addr *in);
# ^
# elfrw.h:84:31: error: unknown type name 'FILE'
# extern int elfrw_read_Vernaux(FILE *fp, Elf64_Vernaux *in);
# ^
# elfrw.h:69:38: error: unknown type name 'Elf64_Addr'
# extern int elfrw_read_Addr(FILE *fp, Elf64_Addr *in);
# ^
# elfrw.h:70:27: error: unknown type name 'FILE'
# extern int elfrw_read_Off(FILE *fp, Elf64_Off *in);
# ^
# elfrw.h:84:41: error: unknown type name 'Elf64_Vernaux'
# extern int elfrw_read_Vernaux(FILE *fp, Elf64_Vernaux *in);
# ^
# elfrw.h:70:37: error: unknown type name 'Elf64_Off'
# extern int elfrw_read_Off(FILE *fp, Elf64_Off *in);
# ^
# elfrw.h:86:29: error: unknown type name 'FILE'
# extern int elfrw_read_Shdrs(FILE *fp, Elf64_Shdr *in, int count);
# ^
# elfrw.h:71:30: error: unknown type name 'FILE'
# extern int elfrw_read_Versym(FILE *fp, Elf64_Versym *in);
# ^
# elfrw.h:71:40: error: unknown type name 'Elf64_Versym'
# extern int elfrw_read_Versym(FILE *fp, Elf64_Versym *in);
# ^
# elfrw.h:86:39: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_read_Shdrs(FILE *fp, Elf64_Shdr *in, int count);
# ^
# elfrw.h:73:28: error: unknown type name 'FILE'
# extern int elfrw_read_Ehdr(FILE *fp, Elf64_Ehdr *in);
# ^
# elfrw.h:87:28: error: unknown type name 'FILE'
# extern int elfrw_read_Syms(FILE *fp, Elf64_Sym *in, int count);
# ^
# elfrw.h:73:38: error: unknown type name 'Elf64_Ehdr'
# extern int elfrw_read_Ehdr(FILE *fp, Elf64_Ehdr *in);
# ^
# elfrw.h:74:28: error: unknown type name 'FILE'
# extern int elfrw_read_Shdr(FILE *fp, Elf64_Shdr *in);
# ^
# elfrw.h:87:38: error: unknown type name 'Elf64_Sym'
# extern int elfrw_read_Syms(FILE *fp, Elf64_Sym *in, int count);
# ^
# elfrw.h:74:38: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_read_Shdr(FILE *fp, Elf64_Shdr *in);
# ^
# elfrw.h:75:27: error: unknown type name 'FILE'
# extern int elfrw_read_Sym(FILE *fp, Elf64_Sym *in);
# ^
# elfrw.h:88:32: error: unknown type name 'FILE'
# extern int elfrw_read_Syminfos(FILE *fp, Elf64_Syminfo *in, int count);
# ^
# elfrw.h:75:37: error: unknown type name 'Elf64_Sym'
# extern int elfrw_read_Sym(FILE *fp, Elf64_Sym *in);
# ^
# elfrw.h:88:42: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_read_Syminfos(FILE *fp, Elf64_Syminfo *in, int count);
# ^
# elfrw.h:76:31: error: unknown type name 'FILE'
# extern int elfrw_read_Syminfo(FILE *fp, Elf64_Syminfo *in);
# ^
# elfrw.h:76:41: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_read_Syminfo(FILE *fp, Elf64_Syminfo *in);
# ^
# elfrw.h:89:28: error: unknown type name 'FILE'
# extern int elfrw_read_Rels(FILE *fp, Elf64_Rel *in, int count);
# ^
# elfrw.h:77:27: error: unknown type name 'FILE'
# extern int elfrw_read_Rel(FILE *fp, Elf64_Rel *in);
# ^
# elfrw.h:89:38: error: unknown type name 'Elf64_Rel'
# extern int elfrw_read_Rels(FILE *fp, Elf64_Rel *in, int count);
# ^
# elfrw.h:77:37: error: unknown type name 'Elf64_Rel'
# extern int elfrw_read_Rel(FILE *fp, Elf64_Rel *in);
# ^
# elfrw.h:78:28: error: unknown type name 'FILE'
# extern int elfrw_read_Rela(FILE *fp, Elf64_Rela *in);
# ^
# elfrw.h:90:29: error: unknown type name 'FILE'
# extern int elfrw_read_Relas(FILE *fp, Elf64_Rela *in, int count);
# ^
# elfrw.h:78:38: error: unknown type name 'Elf64_Rela'
# extern int elfrw_read_Rela(FILE *fp, Elf64_Rela *in);
# ^
# elfrw.h:90:39: error: unknown type name 'Elf64_Rela'
# extern int elfrw_read_Relas(FILE *fp, Elf64_Rela *in, int count);
# ^
# elfrw.h:79:28: error: unknown type name 'FILE'
# extern int elfrw_read_Phdr(FILE *fp, Elf64_Phdr *in);
# ^
# elfrw.h:79:38: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_read_Phdr(FILE *fp, Elf64_Phdr *in);
# ^
# elfrw.h:91:29: error: unknown type name 'FILE'
# extern int elfrw_read_Phdrs(FILE *fp, Elf64_Phdr *in, int count);
# ^
# elfrw.h:80:27: error: unknown type name 'FILE'
# extern int elfrw_read_Dyn(FILE *fp, Elf64_Dyn *in);
# ^
# elfrw.h:91:39: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_read_Phdrs(FILE *fp, Elf64_Phdr *in, int count);
# ^
# elfrw.h:80:37: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_read_Dyn(FILE *fp, Elf64_Dyn *in);
# ^
# elfrw.h:81:30: error: unknown type name 'FILE'
# extern int elfrw_read_Verdef(FILE *fp, Elf64_Verdef *in);
# ^
# elfrw.h:92:28: error: unknown type name 'FILE'
# extern int elfrw_read_Dyns(FILE *fp, Elf64_Dyn *in, int count);
# ^
# elfrw.h:81:40: error: unknown type name 'Elf64_Verdef'
# extern int elfrw_read_Verdef(FILE *fp, Elf64_Verdef *in);
# ^
# elfrw.h:92:38: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_read_Dyns(FILE *fp, Elf64_Dyn *in, int count);
# ^
# elfrw.h:82:31: error: unknown type name 'FILE'
# extern int elfrw_read_Verdaux(FILE *fp, Elf64_Verdaux *in);
# ^
# elfrw.h:82:41: error: unknown type name 'Elf64_Verdaux'
# extern int elfrw_read_Verdaux(FILE *fp, Elf64_Verdaux *in);
# ^
# elfrw.h:106:29: error: unknown type name 'FILE'
# extern int elfrw_write_Half(FILE *fp, Elf64_Half const *out);
# ^
# elfrw.h:83:31: error: unknown type name 'FILE'
# extern int elfrw_read_Verneed(FILE *fp, Elf64_Verneed *in);
# ^
# elfrw.h:83:41: error: unknown type name 'Elf64_Verneed'
# extern int elfrw_read_Verneed(FILE *fp, Elf64_Verneed *in);
# ^
# elfrw.h:106:39: error: unknown type name 'Elf64_Half'
# extern int elfrw_write_Half(FILE *fp, Elf64_Half const *out);
# ^
# elfrw.h:84:31: error: unknown type name 'FILE'
# extern int elfrw_read_Vernaux(FILE *fp, Elf64_Vernaux *in);
# ^
# elfrw.h:84:41: error: unknown type name 'Elf64_Vernaux'
# extern int elfrw_read_Vernaux(FILE *fp, Elf64_Vernaux *in);
# ^
# elfrw.h:107:29: error: unknown type name 'FILE'
# extern int elfrw_write_Word(FILE *fp, Elf64_Word const *out);
# ^
# elfrw.h:86:29: error: unknown type name 'FILE'
# extern int elfrw_read_Shdrs(FILE *fp, Elf64_Shdr *in, int count);
# ^
# elfrw.h:107:39: error: unknown type name 'Elf64_Word'
# extern int elfrw_write_Word(FILE *fp, Elf64_Word const *out);
# ^
# elfrw.h:86:39: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_read_Shdrs(FILE *fp, Elf64_Shdr *in, int count);
# ^
# elfrw.h:87:28: error: unknown type name 'FILE'
# extern int elfrw_read_Syms(FILE *fp, Elf64_Sym *in, int count);
# ^
# elfrw.h:108:30: error: unknown type name 'FILE'
# extern int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out);
# ^
# elfrw.c: In function 'elfrw_initialize_ident':
# elfrw.h:87:38: error: unknown type name 'Elf64_Sym'
# extern int elfrw_read_Syms(FILE *fp, Elf64_Sym *in, int count);
# ^
# elfrw.h:108:40: error: unknown type name 'Elf64_Sword'
# extern int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out);
# ^
# elfrw.h:88:32: error: unknown type name 'FILE'
# extern int elfrw_read_Syminfos(FILE *fp, Elf64_Syminfo *in, int count);
# ^
# elfrw.c:58:1: warning: control reaches end of non-void function [-Wreturn-type]
# }
# ^
# elfrw.h:88:42: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_read_Syminfos(FILE *fp, Elf64_Syminfo *in, int count);
# ^
# elfrw.h:109:30: error: unknown type name 'FILE'
# extern int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out);
# ^
# elfrw.h:89:28: error: unknown type name 'FILE'
# extern int elfrw_read_Rels(FILE *fp, Elf64_Rel *in, int count);
# ^
# elfrw.h:109:40: error: unknown type name 'Elf64_Xword'
# extern int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out);
# ^
# elfrw.h:89:38: error: unknown type name 'Elf64_Rel'
# extern int elfrw_read_Rels(FILE *fp, Elf64_Rel *in, int count);
# ^
# elfrw.h:110:31: error: unknown type name 'FILE'
# extern int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out);
# ^
# elfrw.h:90:29: error: unknown type name 'FILE'
# extern int elfrw_read_Relas(FILE *fp, Elf64_Rela *in, int count);
# ^
# elfrw.h:90:39: error: unknown type name 'Elf64_Rela'
# extern int elfrw_read_Relas(FILE *fp, Elf64_Rela *in, int count);
# ^
# elfrw.h:110:41: error: unknown type name 'Elf64_Sxword'
# extern int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out);
# ^
# elfrw.h:91:29: error: unknown type name 'FILE'
# extern int elfrw_read_Phdrs(FILE *fp, Elf64_Phdr *in, int count);
# ^
# elfrw.h:111:29: error: unknown type name 'FILE'
# extern int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out);
# ^
# elfrw.h:91:39: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_read_Phdrs(FILE *fp, Elf64_Phdr *in, int count);
# ^
# elfrw.h:92:28: error: unknown type name 'FILE'
# extern int elfrw_read_Dyns(FILE *fp, Elf64_Dyn *in, int count);
# ^
# elfrw.h:111:39: error: unknown type name 'Elf64_Addr'
# extern int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out);
# ^
# elfrw.h:92:38: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_read_Dyns(FILE *fp, Elf64_Dyn *in, int count);
# ^
# elfrw.h:112:28: error: unknown type name 'FILE'
# extern int elfrw_write_Off(FILE *fp, Elf64_Off const *out);
# ^
# elfrw.h:106:29: error: unknown type name 'FILE'
# extern int elfrw_write_Half(FILE *fp, Elf64_Half const *out);
# ^
# elfrw.h:112:38: error: unknown type name 'Elf64_Off'
# extern int elfrw_write_Off(FILE *fp, Elf64_Off const *out);
# ^
# elfrw.h:106:39: error: unknown type name 'Elf64_Half'
# extern int elfrw_write_Half(FILE *fp, Elf64_Half const *out);
# ^
# elfrw.h:107:29: error: unknown type name 'FILE'
# extern int elfrw_write_Word(FILE *fp, Elf64_Word const *out);
# ^
# elfrw.h:113:31: error: unknown type name 'FILE'
# extern int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out);
# ^
# elfrw.h:107:39: error: unknown type name 'Elf64_Word'
# extern int elfrw_write_Word(FILE *fp, Elf64_Word const *out);
# ^
# elfrw.h:113:41: error: unknown type name 'Elf64_Versym'
# extern int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out);
# ^
# elfrw.h:108:30: error: unknown type name 'FILE'
# extern int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out);
# ^
# elfrw.h:115:29: error: unknown type name 'FILE'
# extern int elfrw_write_Ehdr(FILE *fp, Elf64_Ehdr const *out);
# ^
# elfrw.h:108:40: error: unknown type name 'Elf64_Sword'
# extern int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out);
# ^
# elfrw.h:109:30: error: unknown type name 'FILE'
# extern int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out);
# ^
# elfrw.h:115:39: error: unknown type name 'Elf64_Ehdr'
# extern int elfrw_write_Ehdr(FILE *fp, Elf64_Ehdr const *out);
# ^
# elfrw.h:109:40: error: unknown type name 'Elf64_Xword'
# extern int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out);
# ^
# elfrw.h:116:29: error: unknown type name 'FILE'
# extern int elfrw_write_Shdr(FILE *fp, Elf64_Shdr const *out);
# ^
# elfrw.h:110:31: error: unknown type name 'FILE'
# extern int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out);
# ^
# elfrw.h:110:41: error: unknown type name 'Elf64_Sxword'
# extern int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out);
# ^
# elfrw.h:116:39: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_write_Shdr(FILE *fp, Elf64_Shdr const *out);
# ^
# elfrw.h:111:29: error: unknown type name 'FILE'
# extern int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out);
# ^
# elfrw.h:117:28: error: unknown type name 'FILE'
# extern int elfrw_write_Sym(FILE *fp, Elf64_Sym const *out);
# ^
# elfrw.h:111:39: error: unknown type name 'Elf64_Addr'
# extern int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out);
# ^
# elfrw.h:112:28: error: unknown type name 'FILE'
# extern int elfrw_write_Off(FILE *fp, Elf64_Off const *out);
# ^
# elfrw.h:117:38: error: unknown type name 'Elf64_Sym'
# extern int elfrw_write_Sym(FILE *fp, Elf64_Sym const *out);
# ^
# elfrw.h:112:38: error: unknown type name 'Elf64_Off'
# extern int elfrw_write_Off(FILE *fp, Elf64_Off const *out);
# ^
# elfrw.h:118:32: error: unknown type name 'FILE'
# extern int elfrw_write_Syminfo(FILE *fp, Elf64_Syminfo const *out);
# ^
# elfrw.h:113:31: error: unknown type name 'FILE'
# extern int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out);
# ^
# elfrw.h:113:41: error: unknown type name 'Elf64_Versym'
# extern int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out);
# ^
# elfrw.h:118:42: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_write_Syminfo(FILE *fp, Elf64_Syminfo const *out);
# ^
# elfrw.h:115:29: error: unknown type name 'FILE'
# extern int elfrw_write_Ehdr(FILE *fp, Elf64_Ehdr const *out);
# ^
# elfrw.h:119:28: error: unknown type name 'FILE'
# extern int elfrw_write_Rel(FILE *fp, Elf64_Rel const *out);
# ^
# elfrw.h:115:39: error: unknown type name 'Elf64_Ehdr'
# extern int elfrw_write_Ehdr(FILE *fp, Elf64_Ehdr const *out);
# ^
# elfrw.h:116:29: error: unknown type name 'FILE'
# extern int elfrw_write_Shdr(FILE *fp, Elf64_Shdr const *out);
# ^
# elfrw.h:119:38: error: unknown type name 'Elf64_Rel'
# extern int elfrw_write_Rel(FILE *fp, Elf64_Rel const *out);
# ^
# elfrw.h:116:39: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_write_Shdr(FILE *fp, Elf64_Shdr const *out);
# ^
# elfrw.h:120:29: error: unknown type name 'FILE'
# extern int elfrw_write_Rela(FILE *fp, Elf64_Rela const *out);
# ^
# elfrw.h:117:28: error: unknown type name 'FILE'
# extern int elfrw_write_Sym(FILE *fp, Elf64_Sym const *out);
# ^
# elfrw.h:117:38: error: unknown type name 'Elf64_Sym'
# extern int elfrw_write_Sym(FILE *fp, Elf64_Sym const *out);
# ^
# elfrw.h:120:39: error: unknown type name 'Elf64_Rela'
# extern int elfrw_write_Rela(FILE *fp, Elf64_Rela const *out);
# ^
# elfrw.h:118:32: error: unknown type name 'FILE'
# extern int elfrw_write_Syminfo(FILE *fp, Elf64_Syminfo const *out);
# ^
# elfrw.h:121:29: error: unknown type name 'FILE'
# extern int elfrw_write_Phdr(FILE *fp, Elf64_Phdr const *out);
# ^
# elfrw.h:118:42: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_write_Syminfo(FILE *fp, Elf64_Syminfo const *out);
# ^
# elfrw.h:119:28: error: unknown type name 'FILE'
# extern int elfrw_write_Rel(FILE *fp, Elf64_Rel const *out);
# ^
# elfrw.h:121:39: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_write_Phdr(FILE *fp, Elf64_Phdr const *out);
# ^
# elfrw.h:119:38: error: unknown type name 'Elf64_Rel'
# extern int elfrw_write_Rel(FILE *fp, Elf64_Rel const *out);
# ^
# elfrw.h:122:28: error: unknown type name 'FILE'
# extern int elfrw_write_Dyn(FILE *fp, Elf64_Dyn const *out);
# ^
# elfrw.h:120:29: error: unknown type name 'FILE'
# extern int elfrw_write_Rela(FILE *fp, Elf64_Rela const *out);
# ^
# elfrw.h:120:39: error: unknown type name 'Elf64_Rela'
# extern int elfrw_write_Rela(FILE *fp, Elf64_Rela const *out);
# ^
# elfrw.h:122:38: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_write_Dyn(FILE *fp, Elf64_Dyn const *out);
# ^
# elfrw.h:121:29: error: unknown type name 'FILE'
# extern int elfrw_write_Phdr(FILE *fp, Elf64_Phdr const *out);
# ^
# elfrw.h:123:31: error: unknown type name 'FILE'
# extern int elfrw_write_Verdef(FILE *fp, Elf64_Verdef const *out);
# ^
# elfrw.h:121:39: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_write_Phdr(FILE *fp, Elf64_Phdr const *out);
# ^
# elfrw.h:122:28: error: unknown type name 'FILE'
# extern int elfrw_write_Dyn(FILE *fp, Elf64_Dyn const *out);
# ^
# elfrw.h:123:41: error: unknown type name 'Elf64_Verdef'
# extern int elfrw_write_Verdef(FILE *fp, Elf64_Verdef const *out);
# ^
# elfrw.h:122:38: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_write_Dyn(FILE *fp, Elf64_Dyn const *out);
# ^
# elfrw.h:124:32: error: unknown type name 'FILE'
# extern int elfrw_write_Verdaux(FILE *fp, Elf64_Verdaux const *out);
# ^
# elfrw.h:123:31: error: unknown type name 'FILE'
# extern int elfrw_write_Verdef(FILE *fp, Elf64_Verdef const *out);
# ^
# elfrw.h:124:42: error: unknown type name 'Elf64_Verdaux'
# extern int elfrw_write_Verdaux(FILE *fp, Elf64_Verdaux const *out);
# ^
# elfrw.h:123:41: error: unknown type name 'Elf64_Verdef'
# extern int elfrw_write_Verdef(FILE *fp, Elf64_Verdef const *out);
# ^
# elfrw.h:124:32: error: unknown type name 'FILE'
# extern int elfrw_write_Verdaux(FILE *fp, Elf64_Verdaux const *out);
# ^
# elfrw.h:125:32: error: unknown type name 'FILE'
# extern int elfrw_write_Verneed(FILE *fp, Elf64_Verneed const *out);
# ^
# elfrw.h:124:42: error: unknown type name 'Elf64_Verdaux'
# extern int elfrw_write_Verdaux(FILE *fp, Elf64_Verdaux const *out);
# ^
# elfrw.h:125:42: error: unknown type name 'Elf64_Verneed'
# extern int elfrw_write_Verneed(FILE *fp, Elf64_Verneed const *out);
# ^
# elfrw.h:125:32: error: unknown type name 'FILE'
# extern int elfrw_write_Verneed(FILE *fp, Elf64_Verneed const *out);
# ^
# elfrw.h:125:42: error: unknown type name 'Elf64_Verneed'
# extern int elfrw_write_Verneed(FILE *fp, Elf64_Verneed const *out);
# ^
# elfrw.h:126:32: error: unknown type name 'FILE'
# extern int elfrw_write_Vernaux(FILE *fp, Elf64_Vernaux const *out);
# ^
# elfrw.h:126:32: error: unknown type name 'FILE'
# extern int elfrw_write_Vernaux(FILE *fp, Elf64_Vernaux const *out);
# ^
# elfrw.h:126:42: error: unknown type name 'Elf64_Vernaux'
# extern int elfrw_write_Vernaux(FILE *fp, Elf64_Vernaux const *out);
# ^
# elfrw.h:126:42: error: unknown type name 'Elf64_Vernaux'
# extern int elfrw_write_Vernaux(FILE *fp, Elf64_Vernaux const *out);
# ^
# elfrw.h:128:30: error: unknown type name 'FILE'
# extern int elfrw_write_Shdrs(FILE *fp, Elf64_Shdr const *out, int count);
# ^
# elfrw.h:128:30: error: unknown type name 'FILE'
# extern int elfrw_write_Shdrs(FILE *fp, Elf64_Shdr const *out, int count);
# ^
# elfrw.h:128:40: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_write_Shdrs(FILE *fp, Elf64_Shdr const *out, int count);
# ^
# elfrw.h:128:40: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_write_Shdrs(FILE *fp, Elf64_Shdr const *out, int count);
# ^
# elfrw.h:129:29: error: unknown type name 'FILE'
# extern int elfrw_write_Syms(FILE *fp, Elf64_Sym const *out, int count);
# ^
# elfrw.h:129:39: error: unknown type name 'Elf64_Sym'
# extern int elfrw_write_Syms(FILE *fp, Elf64_Sym const *out, int count);
# ^
# elfrw.h:129:29: error: unknown type name 'FILE'
# extern int elfrw_write_Syms(FILE *fp, Elf64_Sym const *out, int count);
# ^
# elfrw.h:130:33: error: unknown type name 'FILE'
# extern int elfrw_write_Syminfos(FILE *fp, Elf64_Syminfo const *out, int count);
# ^
# elfrw.h:130:43: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_write_Syminfos(FILE *fp, Elf64_Syminfo const *out, int count);
# ^
# elfrw.h:129:39: error: unknown type name 'Elf64_Sym'
# extern int elfrw_write_Syms(FILE *fp, Elf64_Sym const *out, int count);
# ^
# elfrw.h:131:29: error: unknown type name 'FILE'
# extern int elfrw_write_Rels(FILE *fp, Elf64_Rel const *out, int count);
# ^
# elfrw.h:130:33: error: unknown type name 'FILE'
# extern int elfrw_write_Syminfos(FILE *fp, Elf64_Syminfo const *out, int count);
# ^
# elfrw.h:131:39: error: unknown type name 'Elf64_Rel'
# extern int elfrw_write_Rels(FILE *fp, Elf64_Rel const *out, int count);
# ^
# elfrw.h:132:30: error: unknown type name 'FILE'
# extern int elfrw_write_Relas(FILE *fp, Elf64_Rela const *out, int count);
# ^
# elfrw.h:130:43: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_write_Syminfos(FILE *fp, Elf64_Syminfo const *out, int count);
# ^
# elfrw.h:132:40: error: unknown type name 'Elf64_Rela'
# extern int elfrw_write_Relas(FILE *fp, Elf64_Rela const *out, int count);
# ^
# elfrw.h:131:29: error: unknown type name 'FILE'
# extern int elfrw_write_Rels(FILE *fp, Elf64_Rel const *out, int count);
# ^
# elfrw.h:133:30: error: unknown type name 'FILE'
# extern int elfrw_write_Phdrs(FILE *fp, Elf64_Phdr const *out, int count);
# ^
# elfrw.h:133:40: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_write_Phdrs(FILE *fp, Elf64_Phdr const *out, int count);
# ^
# elfrw.h:131:39: error: unknown type name 'Elf64_Rel'
# extern int elfrw_write_Rels(FILE *fp, Elf64_Rel const *out, int count);
# ^
# elfrw.h:134:29: error: unknown type name 'FILE'
# extern int elfrw_write_Dyns(FILE *fp, Elf64_Dyn const *out, int count);
# ^
# elfrw.h:132:30: error: unknown type name 'FILE'
# extern int elfrw_write_Relas(FILE *fp, Elf64_Rela const *out, int count);
# ^
# elfrw.h:134:39: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_write_Dyns(FILE *fp, Elf64_Dyn const *out, int count);
# ^
# elfrw.h:132:40: error: unknown type name 'Elf64_Rela'
# extern int elfrw_write_Relas(FILE *fp, Elf64_Rela const *out, int count);
# ^
# elfrw.h:133:30: error: unknown type name 'FILE'
# extern int elfrw_write_Phdrs(FILE *fp, Elf64_Phdr const *out, int count);
# ^
# elfrw.h:133:40: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_write_Phdrs(FILE *fp, Elf64_Phdr const *out, int count);
# ^
# elfrw.h:134:29: error: unknown type name 'FILE'
# extern int elfrw_write_Dyns(FILE *fp, Elf64_Dyn const *out, int count);
# ^
# elfrw.h:134:39: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_write_Dyns(FILE *fp, Elf64_Dyn const *out, int count);
# ^
# elfrw_dyn.c:14:20: error: unknown type name 'FILE'
# int elfrw_read_Dyn(FILE *fp, Elf64_Dyn *in)
# ^
# elfrw_dyn.c:14:30: error: unknown type name 'Elf64_Dyn'
# int elfrw_read_Dyn(FILE *fp, Elf64_Dyn *in)
# ^
# elfrw_dyn.c:42:21: error: unknown type name 'FILE'
# int elfrw_read_Dyns(FILE *fp, Elf64_Dyn *in, int count)
# ^
# elfrw_dyn.c:42:31: error: unknown type name 'Elf64_Dyn'
# int elfrw_read_Dyns(FILE *fp, Elf64_Dyn *in, int count)
# ^
# elfrw_dyn.c:52:21: error: unknown type name 'FILE'
# int elfrw_write_Dyn(FILE *fp, Elf64_Dyn const *out)
# ^
# elfrw_dyn.c:52:31: error: unknown type name 'Elf64_Dyn'
# int elfrw_write_Dyn(FILE *fp, Elf64_Dyn const *out)
# ^
# elfrw_dyn.c:76:22: error: unknown type name 'FILE'
# int elfrw_write_Dyns(FILE *fp, Elf64_Dyn const *out, int count)
# ^
# elfrw_dyn.c:76:32: error: unknown type name 'Elf64_Dyn'
# int elfrw_write_Dyns(FILE *fp, Elf64_Dyn const *out, int count)
# ^
# elfrw.c: In function 'elfrw_initialize_direct':
# elfrw.c:28:29: error: 'ELFDATA2MSB' undeclared (first use in this function)
# _elfrw_native_data = msb ? ELFDATA2MSB : ELFDATA2LSB;
# ^
# elfrw.c:28:29: note: each undeclared identifier is reported only once for each function it appears in
# elfrw.c:28:43: error: 'ELFDATA2LSB' undeclared (first use in this function)
# _elfrw_native_data = msb ? ELFDATA2MSB : ELFDATA2LSB;
# ^
# elfrw.c:32:12: error: 'ELFCLASS32' undeclared (first use in this function)
# case ELFCLASS32: _elfrw_current_class = ELFCLASS32; break;
# ^
# elfrw.c:33:12: error: 'ELFCLASS64' undeclared (first use in this function)
# case ELFCLASS64: _elfrw_current_class = ELFCLASS64; break;
# ^
# elfrw.c:34:25: error: 'EI_CLASS' undeclared (first use in this function)
# default: return -EI_CLASS;
# ^
# elfrw.c:40:25: error: 'EI_DATA' undeclared (first use in this function)
# default: return -EI_DATA;
# ^
# elfrw.c:44:35: error: 'EV_CURRENT' undeclared (first use in this function)
# if (_elfrw_current_version != EV_CURRENT)
# ^
# elfrw.c:45:10: error: 'EI_VERSION' undeclared (first use in this function)
# return -EI_VERSION;
# ^
# elfrw.c: In function 'elfrw_initialize_ident':
# elfrw.c:52:15: error: 'EI_MAG0' undeclared (first use in this function)
# if (ident[EI_MAG0] != ELFMAG0 || ident[EI_MAG1] != ELFMAG1
# ^
# elfrw.c:52:27: error: 'ELFMAG0' undeclared (first use in this function)
# if (ident[EI_MAG0] != ELFMAG0 || ident[EI_MAG1] != ELFMAG1
# ^
# elfrw.c:52:44: error: 'EI_MAG1' undeclared (first use in this function)
# if (ident[EI_MAG0] != ELFMAG0 || ident[EI_MAG1] != ELFMAG1
# ^
# elfrw.c:52:56: error: 'ELFMAG1' undeclared (first use in this function)
# if (ident[EI_MAG0] != ELFMAG0 || ident[EI_MAG1] != ELFMAG1
# ^
# elfrw.c:53:16: error: 'EI_MAG2' undeclared (first use in this function)
# || ident[EI_MAG2] != ELFMAG2
# ^
# elfrw.c:53:28: error: 'ELFMAG2' undeclared (first use in this function)
# || ident[EI_MAG2] != ELFMAG2
# ^
# elfrw.c:54:16: error: 'EI_MAG3' undeclared (first use in this function)
# || ident[EI_MAG3] != ELFMAG3)
# ^
# elfrw.c:54:28: error: 'ELFMAG3' undeclared (first use in this function)
# || ident[EI_MAG3] != ELFMAG3)
# ^
# elfrw.c:56:42: error: 'EI_CLASS' undeclared (first use in this function)
# return elfrw_initialize_direct(ident[EI_CLASS], ident[EI_DATA],
# ^
# elfrw.c:56:59: error: 'EI_DATA' undeclared (first use in this function)
# return elfrw_initialize_direct(ident[EI_CLASS], ident[EI_DATA],
# ^
# elfrw.c:57:14: error: 'EI_VERSION' undeclared (first use in this function)
# ident[EI_VERSION]);
# ^
# elfrw.c:50:49: warning: parameter 'ident' set but not used [-Wunused-but-set-parameter]
# int elfrw_initialize_ident(unsigned char const *ident)
# ^
# elfrw.c: At top level:
# elfrw.c:75:21: error: unknown type name 'FILE'
# int elfrw_read_Half(FILE *fp, Elf64_Half *in)
# ^
# elfrw.c:75:31: error: unknown type name 'Elf64_Half'
# int elfrw_read_Half(FILE *fp, Elf64_Half *in)
# ^
# make[2]: *** [: elfrw_dyn.o] Error 1
# elfrw.c:86:21: error: unknown type name 'FILE'
# int elfrw_read_Word(FILE *fp, Elf64_Word *in)
# ^
# elfrw.c:86:31: error: unknown type name 'Elf64_Word'
# int elfrw_read_Word(FILE *fp, Elf64_Word *in)
# ^
# make[2]: *** Waiting for unfinished jobs....
# gcc -Wall -Wextra -O3 -c -o elfrw_dyn.o elfrw_dyn.c
# elfrw.c:97:22: error: unknown type name 'FILE'
# int elfrw_read_Xword(FILE *fp, Elf64_Xword *in)
# ^
# elfrw.c:97:32: error: unknown type name 'Elf64_Xword'
# int elfrw_read_Xword(FILE *fp, Elf64_Xword *in)
# ^
# elfrw.c:108:21: error: unknown type name 'FILE'
# int elfrw_read_Addr(FILE *fp, Elf64_Addr *in)
# ^
# elfrw.c:108:31: error: unknown type name 'Elf64_Addr'
# int elfrw_read_Addr(FILE *fp, Elf64_Addr *in)
# ^
# elfrw.c:121:22: error: unknown type name 'FILE'
# int elfrw_read_Sword(FILE *fp, Elf64_Sword *in)
# ^
# elfrw.c:121:32: error: unknown type name 'Elf64_Sword'
# int elfrw_read_Sword(FILE *fp, Elf64_Sword *in)
# ^
# elfrw.c:126:23: error: unknown type name 'FILE'
# int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in)
# ^
# elfrw.c:126:33: error: unknown type name 'Elf64_Sxword'
# int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in)
# ^
# elfrw.c:131:20: error: unknown type name 'FILE'
# int elfrw_read_Off(FILE *fp, Elf64_Off *in)
# ^
# elfrw.c:131:30: error: unknown type name 'Elf64_Off'
# int elfrw_read_Off(FILE *fp, Elf64_Off *in)
# ^
# elfrw.c:136:23: error: unknown type name 'FILE'
# int elfrw_read_Versym(FILE *fp, Elf64_Versym *in)
# ^
# elfrw.c:136:33: error: unknown type name 'Elf64_Versym'
# int elfrw_read_Versym(FILE *fp, Elf64_Versym *in)
# ^
# elfrw.c:145:22: error: unknown type name 'FILE'
# int elfrw_write_Half(FILE *fp, Elf64_Half const *out)
# ^
# elfrw.c:145:32: error: unknown type name 'Elf64_Half'
# int elfrw_write_Half(FILE *fp, Elf64_Half const *out)
# ^
# elfrw.c:155:22: error: unknown type name 'FILE'
# int elfrw_write_Word(FILE *fp, Elf64_Word const *out)
# ^
# elfrw.c:155:32: error: unknown type name 'Elf64_Word'
# int elfrw_write_Word(FILE *fp, Elf64_Word const *out)
# ^
# make[2]: *** [: elfrw.o] Error 1
# make[2]: *** Waiting for unfinished jobs....
# elfrw.c:165:23: error: unknown type name 'FILE'
# int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out)
# ^
# gcc -Wall -Wextra -O3 -c -o elfrw_dyn.o elfrw_dyn.c
# elfrw.c:165:33: error: unknown type name 'Elf64_Xword'
# int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out)
# ^
# elfrw.c:175:22: error: unknown type name 'FILE'
# int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out)
# ^
# elfrw.c:175:32: error: unknown type name 'Elf64_Addr'
# int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out)
# ^
# elfrw.c:185:23: error: unknown type name 'FILE'
# int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out)
# ^
# elfrw.c:185:33: error: unknown type name 'Elf64_Sword'
# int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out)
# ^
# elfrw.c:190:24: error: unknown type name 'FILE'
# int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out)
# ^
# elfrw.c:190:34: error: unknown type name 'Elf64_Sxword'
# int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out)
# ^
# elfrw.c:195:21: error: unknown type name 'FILE'
# int elfrw_write_Off(FILE *fp, Elf64_Off const *out)
# ^
# elfrw.c:195:31: error: unknown type name 'Elf64_Off'
# int elfrw_write_Off(FILE *fp, Elf64_Off const *out)
# ^
# elfrw.c:200:24: error: unknown type name 'FILE'
# int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out)
# ^
# elfrw.c:200:34: error: unknown type name 'Elf64_Versym'
# int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out)
# ^
# elfrw.c: In function 'elfrw_initialize_ident':
# elfrw.c:58:1: warning: control reaches end of non-void function [-Wreturn-type]
# }
# ^
# make[2]: *** [: elfrw.o] Error 1
# make[2]: *** Waiting for unfinished jobs....
# make[2]: *** [: elfrw.o] Error 1
# make[2]: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a/elfrw'
# make[1]: *** [Makefile:9: ../elfrw/libelfrw.a] Error 2
# make[1]: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a/sstrip'
# make: *** [Makefile:10: bin/sstrip] Error 2
# cc1: error: no include path in which to search for stdc-predef.h
# cc1: error: no include path in which to search for stdc-predef.h
# elfrw_dyn.c:7:17: error: no include path in which to search for elf.h
# #include
# ^
# In file included from elfrw_dyn.c:8:0:
# elfrw_int.h:10:19: error: no include path in which to search for stdio.h
# #include
# ^
# elfrw_int.h:11:17: error: no include path in which to search for elf.h
# #include
# ^
# In file included from elfrw_int.h:12:0,
# from elfrw_dyn.c:8:
# elfrw.h:10:19: error: no include path in which to search for stdio.h
# #include
# ^
# elfrw.h:11:17: error: no include path in which to search for elf.h
# #include
# ^
# elfrw_dyn.c:7:17: error: no include path in which to search for elf.h
# #include
# ^
# In file included from elfrw_dyn.c:8:0:
# elfrw_int.h:10:19: error: no include path in which to search for stdio.h
# #include
# ^
# elfrw_int.h:11:17: error: no include path in which to search for elf.h
# #include
# ^
# elfrw.h:64:28: error: unknown type name 'FILE'
# extern int elfrw_read_Half(FILE *fp, Elf64_Half *in);
# ^
# elfrw.h:64:38: error: unknown type name 'Elf64_Half'
# extern int elfrw_read_Half(FILE *fp, Elf64_Half *in);
# ^
# In file included from elfrw_int.h:12:0,
# from elfrw_dyn.c:8:
# elfrw.h:10:19: error: no include path in which to search for stdio.h
# #include
# ^
# elfrw.h:65:28: error: unknown type name 'FILE'
# extern int elfrw_read_Word(FILE *fp, Elf64_Word *in);
# ^
# elfrw.h:65:38: error: unknown type name 'Elf64_Word'
# extern int elfrw_read_Word(FILE *fp, Elf64_Word *in);
# ^
# elfrw.h:11:17: error: no include path in which to search for elf.h
# #include
# ^
# elfrw.h:66:29: error: unknown type name 'FILE'
# extern int elfrw_read_Sword(FILE *fp, Elf64_Sword *in);
# ^
# elfrw.h:66:39: error: unknown type name 'Elf64_Sword'
# extern int elfrw_read_Sword(FILE *fp, Elf64_Sword *in);
# ^
# elfrw.h:67:29: error: unknown type name 'FILE'
# extern int elfrw_read_Xword(FILE *fp, Elf64_Xword *in);
# ^
# elfrw.h:67:39: error: unknown type name 'Elf64_Xword'
# extern int elfrw_read_Xword(FILE *fp, Elf64_Xword *in);
# ^
# elfrw.h:68:30: error: unknown type name 'FILE'
# extern int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in);
# ^
# elfrw.h:68:40: error: unknown type name 'Elf64_Sxword'
# extern int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in);
# ^
# elfrw.h:64:28: error: unknown type name 'FILE'
# extern int elfrw_read_Half(FILE *fp, Elf64_Half *in);
# ^
# elfrw.h:69:28: error: unknown type name 'FILE'
# extern int elfrw_read_Addr(FILE *fp, Elf64_Addr *in);
# ^
# elfrw.h:69:38: error: unknown type name 'Elf64_Addr'
# extern int elfrw_read_Addr(FILE *fp, Elf64_Addr *in);
# ^
# elfrw.h:64:38: error: unknown type name 'Elf64_Half'
# extern int elfrw_read_Half(FILE *fp, Elf64_Half *in);
# ^
# elfrw.h:70:27: error: unknown type name 'FILE'
# extern int elfrw_read_Off(FILE *fp, Elf64_Off *in);
# ^
# elfrw.h:70:37: error: unknown type name 'Elf64_Off'
# extern int elfrw_read_Off(FILE *fp, Elf64_Off *in);
# ^
# elfrw.h:65:28: error: unknown type name 'FILE'
# extern int elfrw_read_Word(FILE *fp, Elf64_Word *in);
# ^
# elfrw.h:71:30: error: unknown type name 'FILE'
# extern int elfrw_read_Versym(FILE *fp, Elf64_Versym *in);
# ^
# elfrw.h:71:40: error: unknown type name 'Elf64_Versym'
# extern int elfrw_read_Versym(FILE *fp, Elf64_Versym *in);
# ^
# elfrw.h:65:38: error: unknown type name 'Elf64_Word'
# extern int elfrw_read_Word(FILE *fp, Elf64_Word *in);
# ^
# elfrw.h:73:28: error: unknown type name 'FILE'
# extern int elfrw_read_Ehdr(FILE *fp, Elf64_Ehdr *in);
# ^
# elfrw.h:73:38: error: unknown type name 'Elf64_Ehdr'
# extern int elfrw_read_Ehdr(FILE *fp, Elf64_Ehdr *in);
# ^
# elfrw.h:66:29: error: unknown type name 'FILE'
# extern int elfrw_read_Sword(FILE *fp, Elf64_Sword *in);
# ^
# elfrw.h:74:28: error: unknown type name 'FILE'
# extern int elfrw_read_Shdr(FILE *fp, Elf64_Shdr *in);
# ^
# elfrw.h:66:39: error: unknown type name 'Elf64_Sword'
# extern int elfrw_read_Sword(FILE *fp, Elf64_Sword *in);
# ^
# elfrw.h:74:38: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_read_Shdr(FILE *fp, Elf64_Shdr *in);
# ^
# elfrw.h:75:27: error: unknown type name 'FILE'
# extern int elfrw_read_Sym(FILE *fp, Elf64_Sym *in);
# ^
# elfrw.h:67:29: error: unknown type name 'FILE'
# extern int elfrw_read_Xword(FILE *fp, Elf64_Xword *in);
# ^
# elfrw.h:75:37: error: unknown type name 'Elf64_Sym'
# extern int elfrw_read_Sym(FILE *fp, Elf64_Sym *in);
# ^
# elfrw.h:76:31: error: unknown type name 'FILE'
# extern int elfrw_read_Syminfo(FILE *fp, Elf64_Syminfo *in);
# ^
# elfrw.h:67:39: error: unknown type name 'Elf64_Xword'
# extern int elfrw_read_Xword(FILE *fp, Elf64_Xword *in);
# ^
# elfrw.h:76:41: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_read_Syminfo(FILE *fp, Elf64_Syminfo *in);
# ^
# elfrw.h:77:27: error: unknown type name 'FILE'
# extern int elfrw_read_Rel(FILE *fp, Elf64_Rel *in);
# ^
# elfrw.h:68:30: error: unknown type name 'FILE'
# extern int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in);
# ^
# elfrw.h:77:37: error: unknown type name 'Elf64_Rel'
# extern int elfrw_read_Rel(FILE *fp, Elf64_Rel *in);
# ^
# elfrw.h:68:40: error: unknown type name 'Elf64_Sxword'
# extern int elfrw_read_Sxword(FILE *fp, Elf64_Sxword *in);
# ^
# elfrw.h:78:28: error: unknown type name 'FILE'
# extern int elfrw_read_Rela(FILE *fp, Elf64_Rela *in);
# ^
# elfrw.h:78:38: error: unknown type name 'Elf64_Rela'
# extern int elfrw_read_Rela(FILE *fp, Elf64_Rela *in);
# ^
# elfrw.h:69:28: error: unknown type name 'FILE'
# extern int elfrw_read_Addr(FILE *fp, Elf64_Addr *in);
# ^
# elfrw.h:79:28: error: unknown type name 'FILE'
# extern int elfrw_read_Phdr(FILE *fp, Elf64_Phdr *in);
# ^
# elfrw.h:69:38: error: unknown type name 'Elf64_Addr'
# extern int elfrw_read_Addr(FILE *fp, Elf64_Addr *in);
# ^
# elfrw.h:79:38: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_read_Phdr(FILE *fp, Elf64_Phdr *in);
# ^
# elfrw.h:80:27: error: unknown type name 'FILE'
# extern int elfrw_read_Dyn(FILE *fp, Elf64_Dyn *in);
# ^
# elfrw.h:70:27: error: unknown type name 'FILE'
# extern int elfrw_read_Off(FILE *fp, Elf64_Off *in);
# ^
# elfrw.h:80:37: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_read_Dyn(FILE *fp, Elf64_Dyn *in);
# ^
# elfrw.h:70:37: error: unknown type name 'Elf64_Off'
# extern int elfrw_read_Off(FILE *fp, Elf64_Off *in);
# ^
# elfrw.h:81:30: error: unknown type name 'FILE'
# extern int elfrw_read_Verdef(FILE *fp, Elf64_Verdef *in);
# ^
# elfrw.h:81:40: error: unknown type name 'Elf64_Verdef'
# extern int elfrw_read_Verdef(FILE *fp, Elf64_Verdef *in);
# ^
# elfrw.h:71:30: error: unknown type name 'FILE'
# extern int elfrw_read_Versym(FILE *fp, Elf64_Versym *in);
# ^
# elfrw.h:82:31: error: unknown type name 'FILE'
# extern int elfrw_read_Verdaux(FILE *fp, Elf64_Verdaux *in);
# ^
# elfrw.h:82:41: error: unknown type name 'Elf64_Verdaux'
# extern int elfrw_read_Verdaux(FILE *fp, Elf64_Verdaux *in);
# ^
# elfrw.h:71:40: error: unknown type name 'Elf64_Versym'
# extern int elfrw_read_Versym(FILE *fp, Elf64_Versym *in);
# ^
# elfrw.h:83:31: error: unknown type name 'FILE'
# extern int elfrw_read_Verneed(FILE *fp, Elf64_Verneed *in);
# ^
# elfrw.h:73:28: error: unknown type name 'FILE'
# extern int elfrw_read_Ehdr(FILE *fp, Elf64_Ehdr *in);
# ^
# elfrw.h:83:41: error: unknown type name 'Elf64_Verneed'
# extern int elfrw_read_Verneed(FILE *fp, Elf64_Verneed *in);
# ^
# elfrw.h:84:31: error: unknown type name 'FILE'
# extern int elfrw_read_Vernaux(FILE *fp, Elf64_Vernaux *in);
# ^
# elfrw.h:73:38: error: unknown type name 'Elf64_Ehdr'
# extern int elfrw_read_Ehdr(FILE *fp, Elf64_Ehdr *in);
# ^
# elfrw.h:84:41: error: unknown type name 'Elf64_Vernaux'
# extern int elfrw_read_Vernaux(FILE *fp, Elf64_Vernaux *in);
# ^
# elfrw.h:74:28: error: unknown type name 'FILE'
# extern int elfrw_read_Shdr(FILE *fp, Elf64_Shdr *in);
# ^
# elfrw.h:86:29: error: unknown type name 'FILE'
# extern int elfrw_read_Shdrs(FILE *fp, Elf64_Shdr *in, int count);
# ^
# elfrw.h:86:39: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_read_Shdrs(FILE *fp, Elf64_Shdr *in, int count);
# ^
# elfrw.h:74:38: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_read_Shdr(FILE *fp, Elf64_Shdr *in);
# ^
# elfrw.h:87:28: error: unknown type name 'FILE'
# extern int elfrw_read_Syms(FILE *fp, Elf64_Sym *in, int count);
# ^
# elfrw.h:75:27: error: unknown type name 'FILE'
# extern int elfrw_read_Sym(FILE *fp, Elf64_Sym *in);
# ^
# elfrw.h:87:38: error: unknown type name 'Elf64_Sym'
# extern int elfrw_read_Syms(FILE *fp, Elf64_Sym *in, int count);
# ^
# elfrw.h:88:32: error: unknown type name 'FILE'
# extern int elfrw_read_Syminfos(FILE *fp, Elf64_Syminfo *in, int count);
# ^
# elfrw.h:75:37: error: unknown type name 'Elf64_Sym'
# extern int elfrw_read_Sym(FILE *fp, Elf64_Sym *in);
# ^
# elfrw.h:88:42: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_read_Syminfos(FILE *fp, Elf64_Syminfo *in, int count);
# ^
# elfrw.h:76:31: error: unknown type name 'FILE'
# extern int elfrw_read_Syminfo(FILE *fp, Elf64_Syminfo *in);
# ^
# elfrw.h:89:28: error: unknown type name 'FILE'
# extern int elfrw_read_Rels(FILE *fp, Elf64_Rel *in, int count);
# ^
# elfrw.h:89:38: error: unknown type name 'Elf64_Rel'
# extern int elfrw_read_Rels(FILE *fp, Elf64_Rel *in, int count);
# ^
# elfrw.h:76:41: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_read_Syminfo(FILE *fp, Elf64_Syminfo *in);
# ^
# elfrw.h:90:29: error: unknown type name 'FILE'
# extern int elfrw_read_Relas(FILE *fp, Elf64_Rela *in, int count);
# ^
# elfrw.h:90:39: error: unknown type name 'Elf64_Rela'
# extern int elfrw_read_Relas(FILE *fp, Elf64_Rela *in, int count);
# ^
# elfrw.h:77:27: error: unknown type name 'FILE'
# extern int elfrw_read_Rel(FILE *fp, Elf64_Rel *in);
# ^
# elfrw.h:91:29: error: unknown type name 'FILE'
# extern int elfrw_read_Phdrs(FILE *fp, Elf64_Phdr *in, int count);
# ^
# elfrw.h:77:37: error: unknown type name 'Elf64_Rel'
# extern int elfrw_read_Rel(FILE *fp, Elf64_Rel *in);
# ^
# elfrw.h:91:39: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_read_Phdrs(FILE *fp, Elf64_Phdr *in, int count);
# ^
# elfrw.h:78:28: error: unknown type name 'FILE'
# extern int elfrw_read_Rela(FILE *fp, Elf64_Rela *in);
# ^
# elfrw.h:92:28: error: unknown type name 'FILE'
# extern int elfrw_read_Dyns(FILE *fp, Elf64_Dyn *in, int count);
# ^
# elfrw.h:92:38: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_read_Dyns(FILE *fp, Elf64_Dyn *in, int count);
# ^
# elfrw.h:78:38: error: unknown type name 'Elf64_Rela'
# extern int elfrw_read_Rela(FILE *fp, Elf64_Rela *in);
# ^
# elfrw.h:106:29: error: unknown type name 'FILE'
# extern int elfrw_write_Half(FILE *fp, Elf64_Half const *out);
# ^
# elfrw.h:79:28: error: unknown type name 'FILE'
# extern int elfrw_read_Phdr(FILE *fp, Elf64_Phdr *in);
# ^
# elfrw.h:106:39: error: unknown type name 'Elf64_Half'
# extern int elfrw_write_Half(FILE *fp, Elf64_Half const *out);
# ^
# elfrw.h:79:38: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_read_Phdr(FILE *fp, Elf64_Phdr *in);
# ^
# elfrw.h:107:29: error: unknown type name 'FILE'
# extern int elfrw_write_Word(FILE *fp, Elf64_Word const *out);
# ^
# elfrw.h:107:39: error: unknown type name 'Elf64_Word'
# extern int elfrw_write_Word(FILE *fp, Elf64_Word const *out);
# ^
# elfrw.h:80:27: error: unknown type name 'FILE'
# extern int elfrw_read_Dyn(FILE *fp, Elf64_Dyn *in);
# ^
# elfrw.h:108:30: error: unknown type name 'FILE'
# extern int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out);
# ^
# elfrw.h:80:37: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_read_Dyn(FILE *fp, Elf64_Dyn *in);
# ^
# elfrw.h:108:40: error: unknown type name 'Elf64_Sword'
# extern int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out);
# ^
# elfrw.h:109:30: error: unknown type name 'FILE'
# extern int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out);
# ^
# elfrw.h:81:30: error: unknown type name 'FILE'
# extern int elfrw_read_Verdef(FILE *fp, Elf64_Verdef *in);
# ^
# elfrw.h:109:40: error: unknown type name 'Elf64_Xword'
# extern int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out);
# ^
# elfrw.h:81:40: error: unknown type name 'Elf64_Verdef'
# extern int elfrw_read_Verdef(FILE *fp, Elf64_Verdef *in);
# ^
# elfrw.h:110:31: error: unknown type name 'FILE'
# extern int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out);
# ^
# elfrw.h:82:31: error: unknown type name 'FILE'
# extern int elfrw_read_Verdaux(FILE *fp, Elf64_Verdaux *in);
# ^
# elfrw.h:110:41: error: unknown type name 'Elf64_Sxword'
# extern int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out);
# ^
# elfrw.h:111:29: error: unknown type name 'FILE'
# extern int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out);
# ^
# elfrw.h:82:41: error: unknown type name 'Elf64_Verdaux'
# extern int elfrw_read_Verdaux(FILE *fp, Elf64_Verdaux *in);
# ^
# elfrw.h:111:39: error: unknown type name 'Elf64_Addr'
# extern int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out);
# ^
# elfrw.h:83:31: error: unknown type name 'FILE'
# extern int elfrw_read_Verneed(FILE *fp, Elf64_Verneed *in);
# ^
# elfrw.h:112:28: error: unknown type name 'FILE'
# extern int elfrw_write_Off(FILE *fp, Elf64_Off const *out);
# ^
# elfrw.h:112:38: error: unknown type name 'Elf64_Off'
# extern int elfrw_write_Off(FILE *fp, Elf64_Off const *out);
# ^
# elfrw.h:83:41: error: unknown type name 'Elf64_Verneed'
# extern int elfrw_read_Verneed(FILE *fp, Elf64_Verneed *in);
# ^
# elfrw.h:113:31: error: unknown type name 'FILE'
# extern int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out);
# ^
# elfrw.h:84:31: error: unknown type name 'FILE'
# extern int elfrw_read_Vernaux(FILE *fp, Elf64_Vernaux *in);
# ^
# elfrw.h:113:41: error: unknown type name 'Elf64_Versym'
# extern int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out);
# ^
# elfrw.h:84:41: error: unknown type name 'Elf64_Vernaux'
# extern int elfrw_read_Vernaux(FILE *fp, Elf64_Vernaux *in);
# ^
# elfrw.h:115:29: error: unknown type name 'FILE'
# extern int elfrw_write_Ehdr(FILE *fp, Elf64_Ehdr const *out);
# ^
# elfrw.h:115:39: error: unknown type name 'Elf64_Ehdr'
# extern int elfrw_write_Ehdr(FILE *fp, Elf64_Ehdr const *out);
# ^
# elfrw.h:86:29: error: unknown type name 'FILE'
# extern int elfrw_read_Shdrs(FILE *fp, Elf64_Shdr *in, int count);
# ^
# elfrw.h:116:29: error: unknown type name 'FILE'
# extern int elfrw_write_Shdr(FILE *fp, Elf64_Shdr const *out);
# ^
# elfrw.h:86:39: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_read_Shdrs(FILE *fp, Elf64_Shdr *in, int count);
# ^
# elfrw.h:116:39: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_write_Shdr(FILE *fp, Elf64_Shdr const *out);
# ^
# elfrw.h:117:28: error: unknown type name 'FILE'
# extern int elfrw_write_Sym(FILE *fp, Elf64_Sym const *out);
# ^
# elfrw.h:87:28: error: unknown type name 'FILE'
# extern int elfrw_read_Syms(FILE *fp, Elf64_Sym *in, int count);
# ^
# elfrw.h:117:38: error: unknown type name 'Elf64_Sym'
# extern int elfrw_write_Sym(FILE *fp, Elf64_Sym const *out);
# ^
# elfrw.h:118:32: error: unknown type name 'FILE'
# extern int elfrw_write_Syminfo(FILE *fp, Elf64_Syminfo const *out);
# ^
# elfrw.h:87:38: error: unknown type name 'Elf64_Sym'
# extern int elfrw_read_Syms(FILE *fp, Elf64_Sym *in, int count);
# ^
# elfrw.h:118:42: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_write_Syminfo(FILE *fp, Elf64_Syminfo const *out);
# ^
# elfrw.h:88:32: error: unknown type name 'FILE'
# extern int elfrw_read_Syminfos(FILE *fp, Elf64_Syminfo *in, int count);
# ^
# elfrw.h:119:28: error: unknown type name 'FILE'
# extern int elfrw_write_Rel(FILE *fp, Elf64_Rel const *out);
# ^
# elfrw.h:119:38: error: unknown type name 'Elf64_Rel'
# extern int elfrw_write_Rel(FILE *fp, Elf64_Rel const *out);
# ^
# elfrw.h:88:42: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_read_Syminfos(FILE *fp, Elf64_Syminfo *in, int count);
# ^
# elfrw.h:120:29: error: unknown type name 'FILE'
# extern int elfrw_write_Rela(FILE *fp, Elf64_Rela const *out);
# ^
# elfrw.h:120:39: error: unknown type name 'Elf64_Rela'
# extern int elfrw_write_Rela(FILE *fp, Elf64_Rela const *out);
# ^
# elfrw.h:89:28: error: unknown type name 'FILE'
# extern int elfrw_read_Rels(FILE *fp, Elf64_Rel *in, int count);
# ^
# elfrw.h:121:29: error: unknown type name 'FILE'
# extern int elfrw_write_Phdr(FILE *fp, Elf64_Phdr const *out);
# ^
# elfrw.h:89:38: error: unknown type name 'Elf64_Rel'
# extern int elfrw_read_Rels(FILE *fp, Elf64_Rel *in, int count);
# ^
# elfrw.h:121:39: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_write_Phdr(FILE *fp, Elf64_Phdr const *out);
# ^
# elfrw.h:90:29: error: unknown type name 'FILE'
# extern int elfrw_read_Relas(FILE *fp, Elf64_Rela *in, int count);
# ^
# elfrw.h:122:28: error: unknown type name 'FILE'
# extern int elfrw_write_Dyn(FILE *fp, Elf64_Dyn const *out);
# ^
# elfrw.h:122:38: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_write_Dyn(FILE *fp, Elf64_Dyn const *out);
# ^
# elfrw.h:90:39: error: unknown type name 'Elf64_Rela'
# extern int elfrw_read_Relas(FILE *fp, Elf64_Rela *in, int count);
# ^
# elfrw.h:123:31: error: unknown type name 'FILE'
# extern int elfrw_write_Verdef(FILE *fp, Elf64_Verdef const *out);
# ^
# elfrw.h:123:41: error: unknown type name 'Elf64_Verdef'
# extern int elfrw_write_Verdef(FILE *fp, Elf64_Verdef const *out);
# ^
# elfrw.h:91:29: error: unknown type name 'FILE'
# extern int elfrw_read_Phdrs(FILE *fp, Elf64_Phdr *in, int count);
# ^
# elfrw.h:124:32: error: unknown type name 'FILE'
# extern int elfrw_write_Verdaux(FILE *fp, Elf64_Verdaux const *out);
# ^
# elfrw.h:91:39: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_read_Phdrs(FILE *fp, Elf64_Phdr *in, int count);
# ^
# elfrw.h:124:42: error: unknown type name 'Elf64_Verdaux'
# extern int elfrw_write_Verdaux(FILE *fp, Elf64_Verdaux const *out);
# ^
# elfrw.h:92:28: error: unknown type name 'FILE'
# extern int elfrw_read_Dyns(FILE *fp, Elf64_Dyn *in, int count);
# ^
# elfrw.h:125:32: error: unknown type name 'FILE'
# extern int elfrw_write_Verneed(FILE *fp, Elf64_Verneed const *out);
# ^
# elfrw.h:125:42: error: unknown type name 'Elf64_Verneed'
# extern int elfrw_write_Verneed(FILE *fp, Elf64_Verneed const *out);
# ^
# elfrw.h:92:38: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_read_Dyns(FILE *fp, Elf64_Dyn *in, int count);
# ^
# elfrw.h:126:32: error: unknown type name 'FILE'
# extern int elfrw_write_Vernaux(FILE *fp, Elf64_Vernaux const *out);
# ^
# elfrw.h:126:42: error: unknown type name 'Elf64_Vernaux'
# extern int elfrw_write_Vernaux(FILE *fp, Elf64_Vernaux const *out);
# ^
# elfrw.h:106:29: error: unknown type name 'FILE'
# extern int elfrw_write_Half(FILE *fp, Elf64_Half const *out);
# ^
# elfrw.h:128:30: error: unknown type name 'FILE'
# extern int elfrw_write_Shdrs(FILE *fp, Elf64_Shdr const *out, int count);
# ^
# elfrw.h:106:39: error: unknown type name 'Elf64_Half'
# extern int elfrw_write_Half(FILE *fp, Elf64_Half const *out);
# ^
# elfrw.h:128:40: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_write_Shdrs(FILE *fp, Elf64_Shdr const *out, int count);
# ^
# elfrw.h:129:29: error: unknown type name 'FILE'
# extern int elfrw_write_Syms(FILE *fp, Elf64_Sym const *out, int count);
# ^
# elfrw.h:107:29: error: unknown type name 'FILE'
# extern int elfrw_write_Word(FILE *fp, Elf64_Word const *out);
# ^
# elfrw.h:129:39: error: unknown type name 'Elf64_Sym'
# extern int elfrw_write_Syms(FILE *fp, Elf64_Sym const *out, int count);
# ^
# elfrw.h:107:39: error: unknown type name 'Elf64_Word'
# extern int elfrw_write_Word(FILE *fp, Elf64_Word const *out);
# ^
# elfrw.h:130:33: error: unknown type name 'FILE'
# extern int elfrw_write_Syminfos(FILE *fp, Elf64_Syminfo const *out, int count);
# ^
# elfrw.h:130:43: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_write_Syminfos(FILE *fp, Elf64_Syminfo const *out, int count);
# ^
# elfrw.h:108:30: error: unknown type name 'FILE'
# extern int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out);
# ^
# elfrw.h:131:29: error: unknown type name 'FILE'
# extern int elfrw_write_Rels(FILE *fp, Elf64_Rel const *out, int count);
# ^
# elfrw.h:108:40: error: unknown type name 'Elf64_Sword'
# extern int elfrw_write_Sword(FILE *fp, Elf64_Sword const *out);
# ^
# elfrw.h:131:39: error: unknown type name 'Elf64_Rel'
# extern int elfrw_write_Rels(FILE *fp, Elf64_Rel const *out, int count);
# ^
# elfrw.h:132:30: error: unknown type name 'FILE'
# extern int elfrw_write_Relas(FILE *fp, Elf64_Rela const *out, int count);
# ^
# elfrw.h:109:30: error: unknown type name 'FILE'
# extern int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out);
# ^
# elfrw.h:132:40: error: unknown type name 'Elf64_Rela'
# extern int elfrw_write_Relas(FILE *fp, Elf64_Rela const *out, int count);
# ^
# elfrw.h:109:40: error: unknown type name 'Elf64_Xword'
# extern int elfrw_write_Xword(FILE *fp, Elf64_Xword const *out);
# ^
# elfrw.h:133:30: error: unknown type name 'FILE'
# extern int elfrw_write_Phdrs(FILE *fp, Elf64_Phdr const *out, int count);
# ^
# elfrw.h:133:40: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_write_Phdrs(FILE *fp, Elf64_Phdr const *out, int count);
# ^
# elfrw.h:110:31: error: unknown type name 'FILE'
# extern int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out);
# ^
# elfrw.h:134:29: error: unknown type name 'FILE'
# extern int elfrw_write_Dyns(FILE *fp, Elf64_Dyn const *out, int count);
# ^
# elfrw.h:110:41: error: unknown type name 'Elf64_Sxword'
# extern int elfrw_write_Sxword(FILE *fp, Elf64_Sxword const *out);
# ^
# elfrw.h:134:39: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_write_Dyns(FILE *fp, Elf64_Dyn const *out, int count);
# ^
# elfrw.h:111:29: error: unknown type name 'FILE'
# extern int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out);
# ^
# elfrw.h:111:39: error: unknown type name 'Elf64_Addr'
# extern int elfrw_write_Addr(FILE *fp, Elf64_Addr const *out);
# ^
# elfrw.h:112:28: error: unknown type name 'FILE'
# extern int elfrw_write_Off(FILE *fp, Elf64_Off const *out);
# ^
# elfrw.h:112:38: error: unknown type name 'Elf64_Off'
# extern int elfrw_write_Off(FILE *fp, Elf64_Off const *out);
# ^
# elfrw.h:113:31: error: unknown type name 'FILE'
# extern int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out);
# ^
# elfrw.h:113:41: error: unknown type name 'Elf64_Versym'
# extern int elfrw_write_Versym(FILE *fp, Elf64_Versym const *out);
# ^
# elfrw.h:115:29: error: unknown type name 'FILE'
# extern int elfrw_write_Ehdr(FILE *fp, Elf64_Ehdr const *out);
# ^
# elfrw.h:115:39: error: unknown type name 'Elf64_Ehdr'
# extern int elfrw_write_Ehdr(FILE *fp, Elf64_Ehdr const *out);
# ^
# elfrw.h:116:29: error: unknown type name 'FILE'
# extern int elfrw_write_Shdr(FILE *fp, Elf64_Shdr const *out);
# ^
# elfrw.h:116:39: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_write_Shdr(FILE *fp, Elf64_Shdr const *out);
# ^
# elfrw.h:117:28: error: unknown type name 'FILE'
# extern int elfrw_write_Sym(FILE *fp, Elf64_Sym const *out);
# ^
# elfrw.h:117:38: error: unknown type name 'Elf64_Sym'
# extern int elfrw_write_Sym(FILE *fp, Elf64_Sym const *out);
# ^
# elfrw.h:118:32: error: unknown type name 'FILE'
# extern int elfrw_write_Syminfo(FILE *fp, Elf64_Syminfo const *out);
# ^
# elfrw.h:118:42: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_write_Syminfo(FILE *fp, Elf64_Syminfo const *out);
# ^
# elfrw.h:119:28: error: unknown type name 'FILE'
# extern int elfrw_write_Rel(FILE *fp, Elf64_Rel const *out);
# ^
# elfrw.h:119:38: error: unknown type name 'Elf64_Rel'
# extern int elfrw_write_Rel(FILE *fp, Elf64_Rel const *out);
# ^
# elfrw.h:120:29: error: unknown type name 'FILE'
# extern int elfrw_write_Rela(FILE *fp, Elf64_Rela const *out);
# ^
# elfrw.h:120:39: error: unknown type name 'Elf64_Rela'
# extern int elfrw_write_Rela(FILE *fp, Elf64_Rela const *out);
# ^
# elfrw.h:121:29: error: unknown type name 'FILE'
# extern int elfrw_write_Phdr(FILE *fp, Elf64_Phdr const *out);
# ^
# elfrw_dyn.c:14:20: error: unknown type name 'FILE'
# int elfrw_read_Dyn(FILE *fp, Elf64_Dyn *in)
# ^
# elfrw.h:121:39: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_write_Phdr(FILE *fp, Elf64_Phdr const *out);
# ^
# elfrw_dyn.c:14:30: error: unknown type name 'Elf64_Dyn'
# int elfrw_read_Dyn(FILE *fp, Elf64_Dyn *in)
# ^
# elfrw.h:122:28: error: unknown type name 'FILE'
# extern int elfrw_write_Dyn(FILE *fp, Elf64_Dyn const *out);
# ^
# elfrw.h:122:38: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_write_Dyn(FILE *fp, Elf64_Dyn const *out);
# ^
# elfrw_dyn.c:42:21: error: unknown type name 'FILE'
# int elfrw_read_Dyns(FILE *fp, Elf64_Dyn *in, int count)
# ^
# elfrw.h:123:31: error: unknown type name 'FILE'
# extern int elfrw_write_Verdef(FILE *fp, Elf64_Verdef const *out);
# ^
# elfrw_dyn.c:42:31: error: unknown type name 'Elf64_Dyn'
# int elfrw_read_Dyns(FILE *fp, Elf64_Dyn *in, int count)
# ^
# elfrw_dyn.c:52:21: error: unknown type name 'FILE'
# int elfrw_write_Dyn(FILE *fp, Elf64_Dyn const *out)
# ^
# elfrw.h:123:41: error: unknown type name 'Elf64_Verdef'
# extern int elfrw_write_Verdef(FILE *fp, Elf64_Verdef const *out);
# ^
# elfrw_dyn.c:52:31: error: unknown type name 'Elf64_Dyn'
# int elfrw_write_Dyn(FILE *fp, Elf64_Dyn const *out)
# ^
# elfrw.h:124:32: error: unknown type name 'FILE'
# extern int elfrw_write_Verdaux(FILE *fp, Elf64_Verdaux const *out);
# ^
# elfrw.h:124:42: error: unknown type name 'Elf64_Verdaux'
# extern int elfrw_write_Verdaux(FILE *fp, Elf64_Verdaux const *out);
# ^
# elfrw_dyn.c:76:22: error: unknown type name 'FILE'
# int elfrw_write_Dyns(FILE *fp, Elf64_Dyn const *out, int count)
# ^
# elfrw_dyn.c:76:32: error: unknown type name 'Elf64_Dyn'
# int elfrw_write_Dyns(FILE *fp, Elf64_Dyn const *out, int count)
# ^
# elfrw.h:125:32: error: unknown type name 'FILE'
# extern int elfrw_write_Verneed(FILE *fp, Elf64_Verneed const *out);
# ^
# elfrw.h:125:42: error: unknown type name 'Elf64_Verneed'
# extern int elfrw_write_Verneed(FILE *fp, Elf64_Verneed const *out);
# ^
# elfrw.h:126:32: error: unknown type name 'FILE'
# extern int elfrw_write_Vernaux(FILE *fp, Elf64_Vernaux const *out);
# ^
# elfrw.h:126:42: error: unknown type name 'Elf64_Vernaux'
# extern int elfrw_write_Vernaux(FILE *fp, Elf64_Vernaux const *out);
# ^
# elfrw.h:128:30: error: unknown type name 'FILE'
# extern int elfrw_write_Shdrs(FILE *fp, Elf64_Shdr const *out, int count);
# ^
# elfrw.h:128:40: error: unknown type name 'Elf64_Shdr'
# extern int elfrw_write_Shdrs(FILE *fp, Elf64_Shdr const *out, int count);
# ^
# elfrw.h:129:29: error: unknown type name 'FILE'
# extern int elfrw_write_Syms(FILE *fp, Elf64_Sym const *out, int count);
# ^
# elfrw.h:129:39: error: unknown type name 'Elf64_Sym'
# extern int elfrw_write_Syms(FILE *fp, Elf64_Sym const *out, int count);
# ^
# elfrw.h:130:33: error: unknown type name 'FILE'
# extern int elfrw_write_Syminfos(FILE *fp, Elf64_Syminfo const *out, int count);
# ^
# elfrw.h:130:43: error: unknown type name 'Elf64_Syminfo'
# extern int elfrw_write_Syminfos(FILE *fp, Elf64_Syminfo const *out, int count);
# ^
# elfrw.h:131:29: error: unknown type name 'FILE'
# extern int elfrw_write_Rels(FILE *fp, Elf64_Rel const *out, int count);
# ^
# elfrw.h:131:39: error: unknown type name 'Elf64_Rel'
# extern int elfrw_write_Rels(FILE *fp, Elf64_Rel const *out, int count);
# ^
# elfrw.h:132:30: error: unknown type name 'FILE'
# extern int elfrw_write_Relas(FILE *fp, Elf64_Rela const *out, int count);
# ^
# elfrw.h:132:40: error: unknown type name 'Elf64_Rela'
# extern int elfrw_write_Relas(FILE *fp, Elf64_Rela const *out, int count);
# ^
# elfrw.h:133:30: error: unknown type name 'FILE'
# extern int elfrw_write_Phdrs(FILE *fp, Elf64_Phdr const *out, int count);
# ^
# elfrw.h:133:40: error: unknown type name 'Elf64_Phdr'
# extern int elfrw_write_Phdrs(FILE *fp, Elf64_Phdr const *out, int count);
# ^
# elfrw.h:134:29: error: unknown type name 'FILE'
# extern int elfrw_write_Dyns(FILE *fp, Elf64_Dyn const *out, int count);
# ^
# elfrw.h:134:39: error: unknown type name 'Elf64_Dyn'
# extern int elfrw_write_Dyns(FILE *fp, Elf64_Dyn const *out, int count);
# ^
# elfrw_dyn.c:14:20: error: unknown type name 'FILE'
# int elfrw_read_Dyn(FILE *fp, Elf64_Dyn *in)
# ^
# elfrw_dyn.c:14:30: error: unknown type name 'Elf64_Dyn'
# int elfrw_read_Dyn(FILE *fp, Elf64_Dyn *in)
# ^
# elfrw_dyn.c:42:21: error: unknown type name 'FILE'
# int elfrw_read_Dyns(FILE *fp, Elf64_Dyn *in, int count)
# ^
# elfrw_dyn.c:42:31: error: unknown type name 'Elf64_Dyn'
# int elfrw_read_Dyns(FILE *fp, Elf64_Dyn *in, int count)
# ^
# elfrw_dyn.c:52:21: error: unknown type name 'FILE'
# int elfrw_write_Dyn(FILE *fp, Elf64_Dyn const *out)
# ^
# elfrw_dyn.c:52:31: error: unknown type name 'Elf64_Dyn'
# int elfrw_write_Dyn(FILE *fp, Elf64_Dyn const *out)
# ^
# make[2]: *** [: elfrw_dyn.o] Error 1
# make[2]: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a/elfrw'
# elfrw_dyn.c:76:22: error: unknown type name 'FILE'
# int elfrw_write_Dyns(FILE *fp, Elf64_Dyn const *out, int count)
# ^
# elfrw_dyn.c:76:32: error: unknown type name 'Elf64_Dyn'
# int elfrw_write_Dyns(FILE *fp, Elf64_Dyn const *out, int count)
# ^
# make[1]: *** [Makefile:9: ../elfrw/libelfrw.a] Error 2
# make[1]: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a/objres'
# make: *** [Makefile:10: bin/objres] Error 2
# make[2]: *** [: elfrw_dyn.o] Error 1
# make[2]: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a/elfrw'
# make[1]: *** [Makefile:9: ../elfrw/libelfrw.a] Error 2
# make[1]: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a/elfls'
# make: *** [Makefile:10: bin/elfls] Error 2
# make: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a'
# ==> ERROR: A failure occurred in build().
# Aborting...