make[2]: Entering directory `/home/test/test/2/output/build/libbsd-0.4.2'
Making all in include
make[3]: Entering directory `/home/test/test/2/output/build/libbsd-0.4.2/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/test/test/2/output/build/libbsd-0.4.2/include'
Making all in man
make[3]: Entering directory `/home/test/test/2/output/build/libbsd-0.4.2/man'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/test/test/2/output/build/libbsd-0.4.2/man'
Making all in src
make[3]: Entering directory `/home/test/test/2/output/build/libbsd-0.4.2/src'
CC arc4random.lo
CC bsd_getopt.lo
CC closefrom.lo
CC dehumanize_number.lo
CC err.lo
CC expand_number.lo
CC fgetln.lo
CC flopen.lo
CC fmtcheck.lo
CC fpurge.lo
CC getpeereid.lo
CC md5.lo
CC md5hl.lo
CC heapsort.lo
CC humanize_number.lo
CC inet_net_pton.lo
CC merge.lo
CC nlist.lo
CC pidfile.lo
CC progname.lo
In file included from nlist.c:53:0:
local-elf.h:170:2: error: #error Unknown ELF machine type
local-elf.h:193:2: error: #error Unknown ELF class
nlist.c:212:46: error: unknown type name 'Elf_Sym'
nlist.c:212:57: error: unknown type name 'Elf_Shdr'
nlist.c: In function '__elf_is_okay__':
nlist.c:223:2: error: unknown type name 'Elf_Ehdr'
nlist.c:232:6: error: request for member 'e_ident' in something not a structure or union
nlist.c:232:6: error: request for member 'e_ident' in something not a structure or union
nlist.c:232:6: error: request for member 'e_ident' in something not a structure or union
nlist.c:232:6: error: request for member 'e_ident' in something not a structure or union
nlist.c:233:10: error: request for member 'e_ident' in something not a structure or union
nlist.c:233:33: error: 'ELF_TARG_CLASS' undeclared (first use in this function)
nlist.c:233:33: note: each undeclared identifier is reported only once for each function it appears in
nlist.c:234:10: error: request for member 'e_ident' in something not a structure or union
nlist.c:234:32: error: 'ELF_TARG_DATA' undeclared (first use in this function)
nlist.c:235:10: error: request for member 'e_ident' in something not a structure or union
nlist.c:238:11: error: request for member 'e_machine' in something not a structure or union
nlist.c:238:26: error: 'ELF_TARG_MACH' undeclared (first use in this function)
nlist.c:239:11: error: request for member 'e_version' in something not a structure or union
nlist.c: In function '__elf_fdnlist':
nlist.c:251:2: error: unknown type name 'Elf_Off'
nlist.c:252:2: error: unknown type name 'Elf_Word'
nlist.c:253:2: error: unknown type name 'Elf_Sword'
nlist.c:256:2: error: unknown type name 'Elf_Sym'
nlist.c:257:2: error: unknown type name 'Elf_Sym'
nlist.c:258:2: error: unknown type name 'Elf_Ehdr'
nlist.c:260:2: error: unknown type name 'Elf_Shdr'
nlist.c:261:2: error: unknown type name 'Elf_Word'
nlist.c:267:29: error: 'Elf_Ehdr' undeclared (first use in this function)
nlist.c:273:18: error: request for member 'e_shentsize' in something not a structure or union
nlist.c:273:37: error: request for member 'e_shnum' in something not a structure or union
nlist.c:283:17: error: request for member 'e_shoff' in something not a structure or union
nlist.c:286:10: error: 'Elf_Shdr' undeclared (first use in this function)
nlist.c:286:20: error: expected expression before ')' token
nlist.c:294:22: error: request for member 'e_shnum' in something not a structure or union
nlist.c:295:14: error: request for member 'sh_type' in something not a structure or union
nlist.c:296:20: error: request for member 'sh_offset' in something not a structure or union
nlist.c:297:21: error: request for member 'sh_size' in something not a structure or union
nlist.c:298:28: error: request for member 'sh_link' in something not a structure or union
nlist.c:299:29: error: request for member 'sh_link' in something not a structure or union
nlist.c:358:21: error: request for member 'st_name' in something not a structure or union
nlist.c:366:14: error: request for member 'e_shnum' in something not a structure or union
nlist.c: At top level:
nlist.c:388:1: warning: conflicting types for 'elf_sym_to_nlist' [enabled by default]
nlist.c:388:1: error: static declaration of 'elf_sym_to_nlist' follows non-static declaration
nlist.c:365:6: note: previous implicit declaration of 'elf_sym_to_nlist' was here
nlist.c: In function 'elf_sym_to_nlist':
nlist.c:390:2: error: unknown type name 'Elf_Sym'
nlist.c:391:2: error: unknown type name 'Elf_Shdr'
nlist.c:394:17: error: request for member 'st_value' in something not a structure or union
nlist.c:396:11: error: request for member 'st_shndx' in something not a structure or union
nlist.c:402:29: error: request for member 'st_info' in something not a structure or union
nlist.c:406:8: error: request for member 'st_shndx' in something not a structure or union
nlist.c:409:4: error: unknown type name 'Elf_Shdr'
nlist.c:409:27: error: request for member 'st_shndx' in something not a structure or union
nlist.c:411:19: error: request for member 'sh_type' in something not a structure or union
nlist.c:412:11: error: request for member 'sh_flags' in something not a structure or union
nlist.c:413:11: error: request for member 'sh_type' in something not a structure or union
nlist.c:418:19: error: request for member 'st_info' in something not a structure or union
nlist.c:419:19: error: request for member 'st_info' in something not a structure or union
make[3]: *** [nlist.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home/test/test/2/output/build/libbsd-0.4.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/test/test/2/output/build/libbsd-0.4.2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/test/test/2/output/build/libbsd-0.4.2'
make: *** [/home/test/test/2/output/build/libbsd-0.4.2/.stamp_built] Error 2