Subject: compiling kernel for i386 failed
To: None <>
From: Kurt Schreiner <>
List: current-users
Date: 11/29/2007 20:03:40

just got this error trying to compile a new kernel for i386:

Build directory is /u/NetBSD/arch/i386/obj/sys/arch/i386/compile/PADDI
Don't forget to run "make depend"
depending the kern library objects
depending the compat library objects
     create  PADDI/kern_auth.d
     create  PADDI/kern_descrip.d
     create  PADDI/kern_resource.d
     create  PADDI/kern_synch.d
     create  PADDI/kern_todr.d
     create  PADDI/subr_time.d
     create  PADDI/sys_aio.d
     create  PADDI/vfs_subr.d
     create  PADDI/vfs_vnops.d
     create  PADDI/.depend
making sure the compat library is up to date...
    compile  PADDI/kern_auth.o
`libcompat.a' is up to date.
    compile  PADDI/kern_descrip.o
cc1: warnings being treated as errors
/u/NetBSD/src/sys/kern/kern_descrip.c: In function 'cwdshare':
/u/NetBSD/src/sys/kern/kern_descrip.c:1160: warning: passing argument 1 of 'atomic_inc_uint' from in
compatible pointer type
/u/NetBSD/src/sys/kern/kern_descrip.c: In function 'cwdfree':
/u/NetBSD/src/sys/kern/kern_descrip.c:1189: warning: passing argument 1 of 'atomic_dec_uint_nv' from
 incompatible pointer type
--- kern_descrip.o ---
*** [kern_descrip.o] Error code 1
1 error

nbmake: stopped in /u/NetBSD/arch/i386/obj/sys/arch/i386/compile/PADDI

ERROR: Failed to make all in /u/NetBSD/arch/i386/obj/sys/arch/i386/compile/PADDI