=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for libdwarf-20161124 cd libdwarf && make gcc -I/usr/pkg/include/libelf -O2 -I/usr/pkg/include/libelf -I. -I. -fPIC -c ./dwgetopt.c gcc -I/usr/pkg/include/libelf -O2 -I/usr/pkg/include/libelf -I. -I. -fPIC ./gennames.c dwgetopt.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o gennames grep DW_DLE libdwarf.h >errmsg_check_list gcc -I/usr/pkg/include/libelf -O2 -I/usr/pkg/include/libelf -I. -I. -fPIC -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -DTESTING ./dwarf_errmsg_list.c -o errmsg_check ./errmsg_check -f errmsg_check_list rm -f dwarf_names.h dwarf_names.c ./gennames -s -i . -o . ./gennames [ 2016-11-24 14:21:17-08:00 Release] Arguments: -s -i . -o . gcc -I/usr/pkg/include/libelf -O2 -I/usr/pkg/include/libelf -I. -I. -fPIC -I/usr/pkg/include/libelf -c dwarf_abbrev.c gcc -I/usr/pkg/include/libelf -O2 -I/usr/pkg/include/libelf -I. -I. -fPIC -I/usr/pkg/include/libelf -c dwarf_alloc.c gcc -I/usr/pkg/include/libelf -O2 -I/usr/pkg/include/libelf -I. -I. -fPIC -I/usr/pkg/include/libelf -c dwarf_arange.c gcc -I/usr/pkg/include/libelf -O2 -I/usr/pkg/include/libelf -I. -I. -fPIC -I/usr/pkg/include/libelf -c dwarf_die_deliv.c gcc -I/usr/pkg/include/libelf -O2 -I/usr/pkg/include/libelf -I. -I. -fPIC -I/usr/pkg/include/libelf -c dwarf_dsc.c gcc -I/usr/pkg/include/libelf -O2 -I/usr/pkg/include/libelf -I. -I. -fPIC -I/usr/pkg/include/libelf -c dwarf_elf_access.c In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:94:3: error: conflicting types for 'Elf32_Ehdr' } Elf32_Ehdr; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:111:3: note: previous declaration of 'Elf32_Ehdr' was here } Elf32_Ehdr; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:112:3: error: conflicting types for 'Elf64_Ehdr' } Elf64_Ehdr; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:128:3: note: previous declaration of 'Elf64_Ehdr' was here } Elf64_Ehdr; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:155:0: warning: "ELFOSABI_NONE" redefined [enabled by default] #define ELFOSABI_NONE 0 /* No extensions or unspecified */ ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:188:0: note: this is the location of the previous definition #define ELFOSABI_NONE ELFOSABI_SYSV ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:156:0: warning: "ELFOSABI_SYSV" redefined [enabled by default] #define ELFOSABI_SYSV ELFOSABI_NONE ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:168:0: note: this is the location of the previous definition #define ELFOSABI_SYSV 0 /* UNIX System V ABI */ ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:161:0: warning: "ELFOSABI_AIX" redefined [enabled by default] #define ELFOSABI_AIX 7 /* AIX */ ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:189:0: note: this is the location of the previous definition #define ELFOSABI_AIX ELFOSABI_MONTEREY ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:285:0: warning: "EM_NUM" redefined [enabled by default] #define EM_NUM 111 ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:307:0: note: this is the location of the previous definition #define EM_NUM 36903 ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:308:3: error: conflicting types for 'Elf32_Shdr' } Elf32_Shdr; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:383:3: note: previous declaration of 'Elf32_Shdr' was here } Elf32_Shdr; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:322:3: error: conflicting types for 'Elf64_Shdr' } Elf64_Shdr; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:396:3: note: previous declaration of 'Elf64_Shdr' was here } Elf64_Shdr; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:391:0: warning: "SHT_GNU_verdef" redefined [enabled by default] #define SHT_GNU_verdef 0x6ffffffd ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:431:0: note: this is the location of the previous definition #define SHT_GNU_verdef SHT_SUNW_verdef ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:392:0: warning: "SHT_GNU_verneed" redefined [enabled by default] #define SHT_GNU_verneed 0x6ffffffe ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:433:0: note: this is the location of the previous definition #define SHT_GNU_verneed SHT_SUNW_verneed ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:393:0: warning: "SHT_GNU_versym" redefined [enabled by default] #define SHT_GNU_versym 0x6fffffff ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:435:0: note: this is the location of the previous definition #define SHT_GNU_versym SHT_SUNW_versym ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:398:0: warning: "SHF_WRITE" redefined [enabled by default] #define SHF_WRITE 0x1 ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:455:0: note: this is the location of the previous definition #define SHF_WRITE 0x00000001 /* Contains writable data */ ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:399:0: warning: "SHF_ALLOC" redefined [enabled by default] #define SHF_ALLOC 0x2 ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:456:0: note: this is the location of the previous definition #define SHF_ALLOC 0x00000002 /* Occupies memory */ ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:400:0: warning: "SHF_EXECINSTR" redefined [enabled by default] #define SHF_EXECINSTR 0x4 ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:457:0: note: this is the location of the previous definition #define SHF_EXECINSTR 0x00000004 /* Contains executable insns */ ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:401:0: warning: "SHF_MERGE" redefined [enabled by default] #define SHF_MERGE 0x10 ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:458:0: note: this is the location of the previous definition #define SHF_MERGE 0x00000010 /* Might be merged */ ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:402:0: warning: "SHF_STRINGS" redefined [enabled by default] #define SHF_STRINGS 0x20 ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:459:0: note: this is the location of the previous definition #define SHF_STRINGS 0x00000020 /* Contains nul terminated strings */ ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:403:0: warning: "SHF_INFO_LINK" redefined [enabled by default] #define SHF_INFO_LINK 0x40 ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:460:0: note: this is the location of the previous definition #define SHF_INFO_LINK 0x00000040 /* "sh_info" contains SHT index */ ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:404:0: warning: "SHF_LINK_ORDER" redefined [enabled by default] #define SHF_LINK_ORDER 0x80 ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:461:0: note: this is the location of the previous definition #define SHF_LINK_ORDER 0x00000080 /* Preserve order after combining */ ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:405:0: warning: "SHF_OS_NONCONFORMING" redefined [enabled by default] #define SHF_OS_NONCONFORMING 0x100 ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:462:0: note: this is the location of the previous definition #define SHF_OS_NONCONFORMING 0x00000100 /* OS specific handling required */ ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:406:0: warning: "SHF_GROUP" redefined [enabled by default] #define SHF_GROUP 0x200 ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:463:0: note: this is the location of the previous definition #define SHF_GROUP 0x00000200 /* Is member of a group */ ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:407:0: warning: "SHF_TLS" redefined [enabled by default] #define SHF_TLS 0x400 ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:464:0: note: this is the location of the previous definition #define SHF_TLS 0x00000400 /* Holds thread-local data */ ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:435:3: error: conflicting types for 'Elf32_Sym' } Elf32_Sym; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:480:3: note: previous declaration of 'Elf32_Sym' was here } Elf32_Sym; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:445:3: error: conflicting types for 'Elf64_Sym' } Elf64_Sym; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:489:3: note: previous declaration of 'Elf64_Sym' was here } Elf64_Sym; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:456:0: warning: "ELF32_ST_BIND" redefined [enabled by default] #define ELF32_ST_BIND(i) ((i)>>4) ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1091:0: note: this is the location of the previous definition #define ELF32_ST_BIND(info) ELF_ST_BIND(info) ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:457:0: warning: "ELF32_ST_TYPE" redefined [enabled by default] #define ELF32_ST_TYPE(i) ((i)&0xf) ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1092:0: note: this is the location of the previous definition #define ELF32_ST_TYPE(info) ELF_ST_TYPE(info) ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:458:0: warning: "ELF32_ST_INFO" redefined [enabled by default] #define ELF32_ST_INFO(b,t) (((b)<<4)+((t)&0xf)) ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1093:0: note: this is the location of the previous definition #define ELF32_ST_INFO(bind,type) ELF_ST_INFO(bind,type) ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:461:0: warning: "ELF64_ST_BIND" redefined [enabled by default] #define ELF64_ST_BIND(i) ((i)>>4) ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1096:0: note: this is the location of the previous definition #define ELF64_ST_BIND(info) ELF_ST_BIND(info) ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:462:0: warning: "ELF64_ST_TYPE" redefined [enabled by default] #define ELF64_ST_TYPE(i) ((i)&0xf) ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1097:0: note: this is the location of the previous definition #define ELF64_ST_TYPE(info) ELF_ST_TYPE(info) ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:463:0: warning: "ELF64_ST_INFO" redefined [enabled by default] #define ELF64_ST_INFO(b,t) (((b)<<4)+((t)&0xf)) ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1098:0: note: this is the location of the previous definition #define ELF64_ST_INFO(bind,type) ELF_ST_INFO(bind,type) ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:497:0: warning: "ELF32_ST_VISIBILITY" redefined [enabled by default] #define ELF32_ST_VISIBILITY(o) ((o)&0x3) ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1094:0: note: this is the location of the previous definition #define ELF32_ST_VISIBILITY(other) ELF_ST_VISIBILITY(other) ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:499:0: warning: "ELF64_ST_VISIBILITY" redefined [enabled by default] #define ELF64_ST_VISIBILITY(o) ((o)&0x3) ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1099:0: note: this is the location of the previous definition #define ELF64_ST_VISIBILITY(other) ELF_ST_VISIBILITY(other) ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:516:3: error: conflicting types for 'Elf32_Rel' } Elf32_Rel; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:565:3: note: previous declaration of 'Elf32_Rel' was here } Elf32_Rel; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:522:3: error: conflicting types for 'Elf32_Rela' } Elf32_Rela; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:571:3: note: previous declaration of 'Elf32_Rela' was here } Elf32_Rela; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:528:3: error: conflicting types for 'Elf64_Rel' } Elf64_Rel; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:581:3: note: previous declaration of 'Elf64_Rel' was here } Elf64_Rel; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:534:3: error: conflicting types for 'Elf64_Rela' } Elf64_Rela; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:587:3: note: previous declaration of 'Elf64_Rela' was here } Elf64_Rela; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:540:0: warning: "ELF32_R_SYM" redefined [enabled by default] #define ELF32_R_SYM(i) ((i)>>8) ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:574:0: note: this is the location of the previous definition #define ELF32_R_SYM(info) ((info) >> 8) ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:541:0: warning: "ELF32_R_TYPE" redefined [enabled by default] #define ELF32_R_TYPE(i) ((unsigned char)(i)) ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:575:0: note: this is the location of the previous definition #define ELF32_R_TYPE(info) ((info) & 0xff) ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:542:0: warning: "ELF32_R_INFO" redefined [enabled by default] #define ELF32_R_INFO(s,t) (((s)<<8)+(unsigned char)(t)) ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:576:0: note: this is the location of the previous definition #define ELF32_R_INFO(sym, type) (((sym) << 8) + (unsigned char)(type)) ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:545:0: warning: "ELF64_R_SYM" redefined [enabled by default] #define ELF64_R_SYM(i) ((Elf64_Xword)(i)>>32) ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:590:0: note: this is the location of the previous definition #define ELF64_R_SYM(info) ((info) >> 32) ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:546:0: warning: "ELF64_R_TYPE" redefined [enabled by default] #define ELF64_R_TYPE(i) ((i)&0xffffffffL) ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:591:0: note: this is the location of the previous definition #define ELF64_R_TYPE(info) ((info) & 0xffffffff) ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:547:0: warning: "ELF64_R_INFO" redefined [enabled by default] #define ELF64_R_INFO(s,t) (((Elf64_Xword)(s)<<32)+((t)&0xffffffffL)) ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:592:0: note: this is the location of the previous definition #define ELF64_R_INFO(sym,type) (((sym) << 32) + (type)) ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:557:3: error: conflicting types for 'Elf32_Nhdr' } Elf32_Nhdr; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:791:3: note: previous declaration of 'Elf32_Nhdr' was here } Elf32_Nhdr; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:566:3: error: conflicting types for 'Elf64_Nhdr' } Elf64_Nhdr; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:797:3: note: previous declaration of 'Elf64_Nhdr' was here } Elf64_Nhdr; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:588:3: error: conflicting types for 'Elf32_Phdr' } Elf32_Phdr; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:321:3: note: previous declaration of 'Elf32_Phdr' was here } Elf32_Phdr; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:600:3: error: conflicting types for 'Elf64_Phdr' } Elf64_Phdr; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:332:3: note: previous declaration of 'Elf64_Phdr' was here } Elf64_Phdr; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:655:3: error: conflicting types for 'Elf32_Dyn' } Elf32_Dyn; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:649:3: note: previous declaration of 'Elf32_Dyn' was here } Elf32_Dyn; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:664:3: error: conflicting types for 'Elf64_Dyn' } Elf64_Dyn; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:657:3: note: previous declaration of 'Elf64_Dyn' was here } Elf64_Dyn; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:702:0: warning: "DT_ENCODING" redefined [enabled by default] #define DT_ENCODING 32 /* odd/even encoding rule starts here */ ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:691:0: note: this is the location of the previous definition #define DT_ENCODING 31 /* ??? */ ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:706:0: warning: "DT_LOOS" redefined [enabled by default] #define DT_LOOS 0x6000000D ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:696:0: note: this is the location of the previous definition #define DT_LOOS 0x60000000 /* Operating system specific range */ ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:707:0: warning: "DT_HIOS" redefined [enabled by default] #define DT_HIOS 0x6ffff000 ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:703:0: note: this is the location of the previous definition #define DT_HIOS 0x6fffffff ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:714:0: warning: "DF_ORIGIN" redefined [enabled by default] #define DF_ORIGIN 0x1 ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:708:0: note: this is the location of the previous definition #define DF_ORIGIN 0x00000001 /* uses $ORIGIN */ ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:715:0: warning: "DF_SYMBOLIC" redefined [enabled by default] #define DF_SYMBOLIC 0x2 ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:709:0: note: this is the location of the previous definition #define DF_SYMBOLIC 0x00000002 /* */ ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:716:0: warning: "DF_TEXTREL" redefined [enabled by default] #define DF_TEXTREL 0x4 ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:710:0: note: this is the location of the previous definition #define DF_TEXTREL 0x00000004 /* */ ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:717:0: warning: "DF_BIND_NOW" redefined [enabled by default] #define DF_BIND_NOW 0x8 ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:711:0: note: this is the location of the previous definition #define DF_BIND_NOW 0x00000008 /* */ ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:718:0: warning: "DF_STATIC_TLS" redefined [enabled by default] #define DF_STATIC_TLS 0x10 ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:712:0: note: this is the location of the previous definition #define DF_STATIC_TLS 0x00000010 /* */ ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:799:3: error: conflicting types for 'Elf32_Syminfo' } Elf32_Syminfo; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1104:3: note: previous declaration of 'Elf32_Syminfo' was here } Elf32_Syminfo; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:805:3: error: conflicting types for 'Elf64_Syminfo' } Elf64_Syminfo; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1109:3: note: previous declaration of 'Elf64_Syminfo' was here } Elf64_Syminfo; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:825:0: warning: "SYMINFO_FLG_DIRECT" redefined [enabled by default] #define SYMINFO_FLG_DIRECT 0x01 /* bound to an object */ ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1111:0: note: this is the location of the previous definition #define SYMINFO_FLG_DIRECT 0x0001 /* symbol ref has direct association ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:826:0: warning: "SYMINFO_FLG_PASSTHRU" redefined [enabled by default] #define SYMINFO_FLG_PASSTHRU 0x02 /* pass-thru symbol */ ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1113:0: note: this is the location of the previous definition #define SYMINFO_FLG_PASSTHRU 0x0002 /* ignored - see SYMINFO_FLG_FILTER */ ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:827:0: warning: "SYMINFO_FLG_COPY" redefined [enabled by default] #define SYMINFO_FLG_COPY 0x04 /* result of a copy relocation */ ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1114:0: note: this is the location of the previous definition #define SYMINFO_FLG_COPY 0x0004 /* symbol is a copy-reloc */ ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:828:0: warning: "SYMINFO_FLG_LAZYLOAD" redefined [enabled by default] #define SYMINFO_FLG_LAZYLOAD 0x08 /* bound to lazy-loaded object */ ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1115:0: note: this is the location of the previous definition #define SYMINFO_FLG_LAZYLOAD 0x0008 /* object containing defn should be ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:841:3: error: conflicting types for 'Elf32_Verdef' } Elf32_Verdef; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1194:3: note: previous declaration of 'Elf32_Verdef' was here } Elf32_Verdef; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:846:3: error: conflicting types for 'Elf32_Verdaux' } Elf32_Verdaux; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1200:3: note: previous declaration of 'Elf32_Verdaux' was here } Elf32_Verdaux; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:854:3: error: conflicting types for 'Elf32_Verneed' } Elf32_Verneed; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1209:3: note: previous declaration of 'Elf32_Verneed' was here } Elf32_Verneed; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:862:3: error: conflicting types for 'Elf32_Vernaux' } Elf32_Vernaux; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1218:3: note: previous declaration of 'Elf32_Vernaux' was here } Elf32_Vernaux; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:864:20: error: conflicting types for 'Elf32_Versym' typedef Elf32_Half Elf32_Versym; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1223:3: note: previous declaration of 'Elf32_Versym' was here } Elf32_Versym; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:876:3: error: conflicting types for 'Elf64_Verdef' } Elf64_Verdef; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1195:22: note: previous declaration of 'Elf64_Verdef' was here typedef Elf32_Verdef Elf64_Verdef; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:881:3: error: conflicting types for 'Elf64_Verdaux' } Elf64_Verdaux; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1201:23: note: previous declaration of 'Elf64_Verdaux' was here typedef Elf32_Verdaux Elf64_Verdaux; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:889:3: error: conflicting types for 'Elf64_Verneed' } Elf64_Verneed; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1210:23: note: previous declaration of 'Elf64_Verneed' was here typedef Elf32_Verneed Elf64_Verneed; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:897:3: error: conflicting types for 'Elf64_Vernaux' } Elf64_Vernaux; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1219:23: note: previous declaration of 'Elf64_Vernaux' was here typedef Elf32_Vernaux Elf64_Vernaux; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:899:20: error: conflicting types for 'Elf64_Versym' typedef Elf64_Half Elf64_Versym; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1224:22: note: previous declaration of 'Elf64_Versym' was here typedef Elf32_Versym Elf64_Versym; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:944:3: error: conflicting types for 'Elf32_Move' } Elf32_Move; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:603:3: note: previous declaration of 'Elf32_Move' was here } Elf32_Move; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:952:3: error: conflicting types for 'Elf64_Move' } Elf64_Move; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:615:3: note: previous declaration of 'Elf64_Move' was here } Elf64_Move; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:954:0: warning: "ELF32_M_SYM" redefined [enabled by default] #define ELF32_M_SYM(info) ((info)>>8) ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:605:0: note: this is the location of the previous definition #define ELF32_M_SYM(info) ((info) >> 8) ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:955:0: warning: "ELF32_M_SIZE" redefined [enabled by default] #define ELF32_M_SIZE(info) ((unsigned char)(info)) ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:606:0: note: this is the location of the previous definition #define ELF32_M_SIZE(info) ((info) & 0xff) ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:956:0: warning: "ELF32_M_INFO" redefined [enabled by default] #define ELF32_M_INFO(sym, sz) (((sym)<<8)+(unsigned char)(sz)) ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:607:0: note: this is the location of the previous definition #define ELF32_M_INFO(sym, size) (((sym) << 8) + (unsigned char)(size)) ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:958:0: warning: "ELF64_M_SYM" redefined [enabled by default] #define ELF64_M_SYM(info) ((Elf64_Xword)(info)>>8) ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:617:0: note: this is the location of the previous definition #define ELF64_M_SYM(info) ((info) >> 8) ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:959:0: warning: "ELF64_M_SIZE" redefined [enabled by default] #define ELF64_M_SIZE(info) ((unsigned char)(info)) ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:618:0: note: this is the location of the previous definition #define ELF64_M_SIZE(info) ((info) & 0xff) ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:960:0: warning: "ELF64_M_INFO" redefined [enabled by default] #define ELF64_M_INFO(sym, sz) (((Elf64_Xword)(sym)<<8)+(unsigned char)(sz)) ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:619:0: note: this is the location of the previous definition #define ELF64_M_INFO(sym, size) (((sym) << 8) + (unsigned char)(size)) ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:974:3: error: conflicting types for 'Elf32_Cap' } Elf32_Cap; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:630:3: note: previous declaration of 'Elf32_Cap' was here } Elf32_Cap; ^ In file included from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /data/scratch/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:984:3: error: conflicting types for 'Elf64_Cap' } Elf64_Cap; ^ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:638:3: note: previous declaration of 'Elf64_Cap' was here } Elf64_Cap; ^ *** Error code 1 Stop. make[1]: stopped in /data/scratch/devel/libdwarf/work/dwarf-20161124/libdwarf *** Error code 1 Stop. make: stopped in /data/scratch/devel/libdwarf/work/dwarf-20161124 *** Error code 1 Stop. make[1]: stopped in /data/pkgsrc-current/devel/libdwarf *** Error code 1 Stop. make: stopped in /data/pkgsrc-current/devel/libdwarf