=> Bootstrap dependency digest>=20010302: found digest-20080510 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for elfsh-0.51b3nb3 Builting libelfsh... cc -O2 -I/usr/pkg/include -I/usr/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/pkg/include -I/usr/include -c dynamic.c In file included from dynamic.c:7: include/libelfsh.h:215: error: expected specifier-qualifier-list before 'Elf32_Sym' include/libelfsh.h:246: error: expected specifier-qualifier-list before 'Elf32_Phdr' include/libelfsh.h:281: error: expected specifier-qualifier-list before 'Elf32_Ehdr' include/libelfsh.h:319: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:320: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:321: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_dynentry_type' include/libelfsh.h:322: error: expected ')' before '*' token include/libelfsh.h:323: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_dynentry_val' include/libelfsh.h:324: error: expected ')' before '*' token include/libelfsh.h:325: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:326: error: expected declaration specifiers or '...' before 'Elf32_Dyn' include/libelfsh.h:329: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:331: error: expected declaration specifiers or '...' before 'Elf32_Sym' include/libelfsh.h:333: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:335: error: expected declaration specifiers or '...' before 'Elf32_Sym' include/libelfsh.h:338: error: expected declaration specifiers or '...' before 'Elf32_Sym' include/libelfsh.h:341: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:344: error: expected declaration specifiers or '...' before 'Elf32_Sym' include/libelfsh.h:345: error: expected declaration specifiers or '...' before 'Elf32_Sym' include/libelfsh.h:348: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_create_symbol' include/libelfsh.h:349: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:350: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:351: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:352: error: expected declaration specifiers or '...' before 'Elf32_Sym' include/libelfsh.h:353: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_symbol_size' include/libelfsh.h:354: error: expected ')' before '*' token include/libelfsh.h:355: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_symbol_value' include/libelfsh.h:356: error: expected ')' before '*' token include/libelfsh.h:357: error: expected ')' before '*' token include/libelfsh.h:358: error: expected ')' before '*' token include/libelfsh.h:359: error: expected ')' before '*' token include/libelfsh.h:360: error: expected ')' before '*' token include/libelfsh.h:361: error: expected ')' before '*' token include/libelfsh.h:362: error: expected ')' before '*' token include/libelfsh.h:363: error: expected ')' before '*' token include/libelfsh.h:364: error: expected ')' before '*' token include/libelfsh.h:366: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:367: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:377: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_shtoff' include/libelfsh.h:378: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_shtnbr' include/libelfsh.h:379: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_phtoff' include/libelfsh.h:380: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_phtnbr' include/libelfsh.h:381: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_entrypoint' include/libelfsh.h:382: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_arch' include/libelfsh.h:383: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_objtype' include/libelfsh.h:384: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_shstrtab_index' include/libelfsh.h:385: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_version' include/libelfsh.h:386: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_ehsize' include/libelfsh.h:387: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_phentsize' include/libelfsh.h:388: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_shentsize' include/libelfsh.h:389: error: expected ')' before '*' token include/libelfsh.h:390: error: expected ')' before '*' token include/libelfsh.h:391: error: expected ')' before '*' token include/libelfsh.h:392: error: expected ')' before '*' token include/libelfsh.h:393: error: expected ')' before '*' token include/libelfsh.h:394: error: expected ')' before '*' token include/libelfsh.h:395: error: expected ')' before '*' token include/libelfsh.h:396: error: expected ')' before '*' token include/libelfsh.h:397: error: expected ')' before '*' token include/libelfsh.h:398: error: expected ')' before '*' token include/libelfsh.h:399: error: expected ')' before '*' token include/libelfsh.h:400: error: expected ')' before '*' token include/libelfsh.h:401: error: expected ')' before '*' token include/libelfsh.h:402: error: expected ')' before '*' token include/libelfsh.h:403: error: expected ')' before '*' token include/libelfsh.h:404: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_flags' include/libelfsh.h:405: error: expected ')' before '*' token include/libelfsh.h:406: error: expected ')' before '*' token include/libelfsh.h:407: error: expected ')' before '*' token include/libelfsh.h:408: error: expected ')' before '*' token include/libelfsh.h:411: error: expected ')' before '*' token include/libelfsh.h:412: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_paxflags' include/libelfsh.h:413: error: expected ')' before '*' token include/libelfsh.h:414: error: expected ')' before '*' token include/libelfsh.h:415: error: expected ')' before '*' token include/libelfsh.h:416: error: expected ')' before '*' token include/libelfsh.h:417: error: expected ')' before '*' token include/libelfsh.h:418: error: expected ')' before '*' token include/libelfsh.h:419: error: expected ')' before '*' token include/libelfsh.h:420: error: expected ')' before '*' token include/libelfsh.h:421: error: expected ')' before '*' token include/libelfsh.h:422: error: expected ')' before '*' token include/libelfsh.h:423: error: expected ')' before '*' token include/libelfsh.h:424: error: expected ')' before '*' token include/libelfsh.h:435: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:438: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:439: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_section_info' include/libelfsh.h:440: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_section_entsize' include/libelfsh.h:441: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_section_link' include/libelfsh.h:442: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_section_foffset' include/libelfsh.h:443: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_section_addr' include/libelfsh.h:444: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_section_align' include/libelfsh.h:445: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_section_size' include/libelfsh.h:446: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_section_type' include/libelfsh.h:447: error: expected ')' before '*' token include/libelfsh.h:448: error: expected ')' before '*' token include/libelfsh.h:449: error: expected ')' before '*' token include/libelfsh.h:450: error: expected ')' before '*' token include/libelfsh.h:451: error: expected ')' before '*' token include/libelfsh.h:452: error: expected ')' before '*' token include/libelfsh.h:453: error: expected ')' before '*' token include/libelfsh.h:454: error: expected ')' before '*' token include/libelfsh.h:455: error: expected ')' before '*' token include/libelfsh.h:456: error: expected ')' before '*' token include/libelfsh.h:457: error: expected ')' before '*' token include/libelfsh.h:458: error: expected ')' before '*' token include/libelfsh.h:459: error: expected ')' before '*' token include/libelfsh.h:460: error: expected ')' before '*' token include/libelfsh.h:461: error: expected ')' before '*' token include/libelfsh.h:462: error: expected ')' before '*' token include/libelfsh.h:463: error: expected ')' before '*' token include/libelfsh.h:464: error: expected ')' before '*' token include/libelfsh.h:465: error: expected ')' before '*' token include/libelfsh.h:466: error: expected ')' before '*' token include/libelfsh.h:467: error: expected ')' before '*' token include/libelfsh.h:468: error: expected ')' before '*' token include/libelfsh.h:469: error: expected declaration specifiers or '...' before 'Elf32_Shdr' include/libelfsh.h:473: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_create_shdr' include/libelfsh.h:481: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:482: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:488: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:489: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:490: error: expected declaration specifiers or '...' before 'Elf32_Phdr' include/libelfsh.h:492: error: expected ')' before '*' token include/libelfsh.h:493: error: expected ')' before '*' token include/libelfsh.h:494: error: expected ')' before '*' token include/libelfsh.h:495: error: expected ')' before '*' token include/libelfsh.h:496: error: expected ')' before '*' token include/libelfsh.h:497: error: expected ')' before '*' token include/libelfsh.h:498: error: expected ')' before '*' token include/libelfsh.h:499: error: expected ')' before '*' token include/libelfsh.h:500: error: expected ')' before '*' token include/libelfsh.h:501: error: expected ')' before '*' token include/libelfsh.h:502: error: expected ')' before '*' token include/libelfsh.h:503: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_segment_flags' include/libelfsh.h:504: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_segment_align' include/libelfsh.h:505: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_segment_memsz' include/libelfsh.h:506: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_segment_filesz' include/libelfsh.h:507: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_segment_paddr' include/libelfsh.h:508: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_segment_vaddr' include/libelfsh.h:509: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_segment_type' include/libelfsh.h:510: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_segment_offset' include/libelfsh.h:511: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:512: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_object_baseaddr' include/libelfsh.h:556: error: expected declaration specifiers or '...' before 'Elf32_Sym' include/libelfsh.h:557: error: expected declaration specifiers or '...' before 'Elf32_Shdr' include/libelfsh.h:562: error: expected declaration specifiers or '...' before 'Elf32_Shdr' include/libelfsh.h:563: error: expected declaration specifiers or '...' before 'Elf32_Shdr' include/libelfsh.h:564: error: expected declaration specifiers or '...' before 'Elf32_Shdr' include/libelfsh.h:565: error: expected declaration specifiers or '...' before 'Elf32_Shdr' include/libelfsh.h:566: error: expected declaration specifiers or '...' before 'Elf32_Shdr' include/libelfsh.h:574: error: expected declaration specifiers or '...' before 'Elf32_Shdr' include/libelfsh.h:582: error: expected ')' before '*' token include/libelfsh.h:583: error: expected ')' before '*' token include/libelfsh.h:584: error: expected ')' before '*' token include/libelfsh.h:585: error: expected ')' before '*' token include/libelfsh.h:586: error: expected ')' before '*' token include/libelfsh.h:587: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_reloffset' include/libelfsh.h:588: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:590: error: expected declaration specifiers or '...' before 'Elf32_Rel' include/libelfsh.h:591: error: expected declaration specifiers or '...' before 'Elf32_Rel' include/libelfsh.h:592: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:593: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/libelfsh.h:594: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_reladdend' include/libelfsh.h:595: error: expected ')' before '*' token include/libelfsh.h:610: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_block_addr' include/libelfsh.h:619: error: expected declaration specifiers or '...' before 'Elf32_Sym' include/libelfsh.h:685: error: expected declaration specifiers or '...' before 'Elf32_Addr' include/libelfsh.h:687: error: expected declaration specifiers or '...' before 'Elf32_Sym' include/libelfsh.h:688: error: expected declaration specifiers or '...' before 'Elf32_Addr' include/libelfsh.h:690: error: expected declaration specifiers or '...' before 'Elf32_Sym' include/libelfsh.h:691: error: expected declaration specifiers or '...' before 'Elf32_Addr' include/libelfsh.h:693: error: expected declaration specifiers or '...' before 'Elf32_Sym' include/libelfsh.h:694: error: expected declaration specifiers or '...' before 'Elf32_Addr' include/libelfsh.h:714: error: expected ')' before '*' token dynamic.c:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token dynamic.c:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_dynentry_type' dynamic.c:50: error: expected ')' before '*' token dynamic.c:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elfsh_get_dynentry_val' dynamic.c:67: error: expected ')' before '*' token dynamic.c:77: error: expected declaration specifiers or '...' before 'Elf32_Dyn' dynamic.c: In function 'elfsh_get_dynentry_string': dynamic.c:82: error: 'elfshobj_t' has no member named 'secthash' dynamic.c:85: error: 'ent' undeclared (first use in this function) dynamic.c:85: error: (Each undeclared identifier is reported only once dynamic.c:85: error: for each function it appears in.) dynamic.c:85: error: 'elfshobj_t' has no member named 'secthash' dynamic.c:88: error: 'elfshobj_t' has no member named 'secthash' dynamic.c: At top level: dynamic.c:93: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token dynamic.c:112: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token *** Error code 1 Stop. bmake: stopped in /scratch/devel/elfsh/work/elfsh-0.51b3/libelfsh *** Error code 1 Stop. bmake: stopped in /scratch/devel/elfsh/work/elfsh-0.51b3 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/devel/elfsh *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/devel/elfsh