Current-Users archive

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

compiling libc failes on i386 (native)



Hi,

with source cvs updated some minutes ago I ran into:

     create  libc/__clock_gettime50.d
     create  libc/__clone.d
     create  libc/__cmsg_alignbytes.d
In file included from /u/NetBSD/src/sys/sys/lwp.h:42,
                 from /u/NetBSD/src/sys/sys/proc.h:83,
                 from /u/NetBSD/src/sys/sys/sysctl.h:46,
                 from 
/u/NetBSD/src/lib/libc/../../common/lib/libc/net/__cmsg_alignbytes.c:41:
/u/NetBSD/src/sys/sys/pcu.h:36:2: error: #error "Kernel-only header"
nbmkdep: compile failed.

*** Failed target:  __cmsg_alignbytes.d
*** Failed command: CC=/u/NetBSD/arch/i386/TOOLS/bin/i486--netbsdelf-gcc 
/u/NetBSD/arch/i386/TOOLS/bin/nbmkdep -f __cmsg_alignbytes.d -- -D_LIBC 
-DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -DHESIOD -DINET6 -DNLS 
-I/u/NetBSD/src/lib/libc/include -I/u/NetBSD/src/lib/libc -I/u/NetBSD/src/sys 
-I/u/NetBSD/src/lib/libc/compat/../locale 
-I/u/NetBSD/src/lib/libc/compat/stdlib 
-I/u/NetBSD/src/lib/libc/compat/../stdlib 
-I/u/NetBSD/src/lib/libc/../../common/lib/libc/quad 
-I/u/NetBSD/src/lib/libc/../../common/lib/libc/string 
-I/u/NetBSD/src/lib/libc/../../common/lib/libc/arch/i386/string 
-D__DBINTERFACE_PRIVATE -I/u/NetBSD/src/libexec/ld.elf_so 
-I/u/NetBSD/src/lib/libc/dlfcn -I/u/NetBSD/src/lib/libc/gdtoa -DNO_FENV_H 
-I/u/NetBSD/src/lib/libc/arch/i386/gdtoa -DWITH_RUNE -I/u/NetBSD/src/lib/libc 
-DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL -DPORTMAP -DWIDE_DOUBLE -DALL_STATE 
-DUSG_COMPAT -D_FORTIFY_SOURCE=2 -nostdinc -isystem 
/u/NetBSD/arch/i386/dest/usr/include 
/u/NetBSD/src/lib/libc/../../common/lib/libc/net/__cmsg_alignbytes.c
*** Error code 1

Stop.
nbmake: stopped in /u/NetBSD/src/lib/libc

This on i386, compiling for i386 and starting w/ clean objdir and
destdir.

Kurt


Home | Main Index | Thread Index | Old Index