Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libelf doesn't compile anymore on amd64



Hi,

with current source cvs updated ca. Dec 29 18:54 MET compiling libelf
fails:

dependall ===> libelf
     create  libelf/elf_begin.d
In file included from /u/NetBSD/arch/amd64/obj/tools/compat/nbtool_config.h:634,
                 from 
/u/NetBSD/src/tools/libelf/../../external/bsd/libelf/dist/libelf.h:39,
                 from 
/u/NetBSD/src/tools/libelf/../../external/bsd/libelf/dist/elf_begin.c:39:
/u/NetBSD/src/tools/libelf/../compat/compat_defs.h:66:2: error: #error 
_NETBSD_SOURCE is *not* to be def
ined.
/u/NetBSD/src/tools/libelf/../compat/compat_defs.h:225:1: warning: "dirfd" 
redefined
In file included from /u/NetBSD/src/tools/libelf/../compat/compat_defs.h:131,
                 from /u/NetBSD/arch/amd64/obj/tools/compat/nbtool_config.h:634,
                 from 
/u/NetBSD/src/tools/libelf/../../external/bsd/libelf/dist/libelf.h:39,
                 from 
/u/NetBSD/src/tools/libelf/../../external/bsd/libelf/dist/elf_begin.c:39:
/usr/include/dirent.h:70:1: warning: this is the location of the previous 
definition

[...another bunch of this...]

     create  libelf/.depend
    compile  libelf/elf_begin.lo
In file included from /u/NetBSD/arch/amd64/obj/tools/compat/nbtool_config.h:634,
                 from 
/u/NetBSD/src/tools/libelf/../../external/bsd/libelf/dist/libelf.h:39,
                 from 
/u/NetBSD/src/tools/libelf/../../external/bsd/libelf/dist/elf_begin.c:39:
/u/NetBSD/src/tools/libelf/../compat/compat_defs.h:66:2: error: #error 
_NETBSD_SOURCE is *not* to be def
ined.
In file included from /u/NetBSD/arch/amd64/obj/tools/compat/nbtool_config.h:634,
                 from 
/u/NetBSD/src/tools/libelf/../../external/bsd/libelf/dist/libelf.h:39,
                 from 
/u/NetBSD/src/tools/libelf/../../external/bsd/libelf/dist/elf_begin.c:39:
/u/NetBSD/src/tools/libelf/../compat/compat_defs.h:214: error: redefinition of 
'struct _dirdesc'
/u/NetBSD/src/tools/libelf/../compat/compat_defs.h:225:1: warning: "dirfd" 
redefined
In file included from /u/NetBSD/src/tools/libelf/../compat/compat_defs.h:131,
                 from /u/NetBSD/arch/amd64/obj/tools/compat/nbtool_config.h:634,
                 from 
/u/NetBSD/src/tools/libelf/../../external/bsd/libelf/dist/libelf.h:39,
                 from 
/u/NetBSD/src/tools/libelf/../../external/bsd/libelf/dist/elf_begin.c:39:
/usr/include/dirent.h:70:1: warning: this is the location of the previous 
definition

*** Failed target:  elf_begin.lo
*** Failed command: cc -O -I/u/NetBSD/src/tools/libelf/../compat 
-I/u/NetBSD/src/tools/libelf/../../exte
rnal/bsd/libelf/dist -I/u/NetBSD/arch/amd64/TOOLS/include/nbinclude 
-DLIBELF_TEST_HOOKS -DHAVE_NBTOOL_CO
NFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/u/NetBSD/arch/amd64/obj/tools/compat 
-I/u/NetBSD/arch/amd64/TOOLS/inc
lude -c -o elf_begin.lo.o 
/u/NetBSD/src/tools/libelf/../../external/bsd/libelf/dist/elf_begin.c
*** Error code 1

Stop.
nbmake: stopped in /u/NetBSD/src/tools/libelf

Only tried to rebuild on amd64 yet...

Kurt


Home | Main Index | Thread Index | Old Index