Current-Users archive

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

Re: can't compile kernel for i386

On Wed, 2 Sep 2009, Roy Marples wrote:

Kurt Schreiner wrote:

with -current source cvs updated ca. Sep  2 21:20 MEST compiling
a new kernel (using ... -u ...) fails in nfs_syscall.c


    compile  PADDI/nfs_syscalls.o
cc1: warnings being treated as errors
/u/NetBSD/src/sys/nfs/nfs_syscalls.c: In function 'nfssvc_addsock':
/u/NetBSD/src/sys/nfs/nfs_syscalls.c:410: warning: assignment from incompatible pointer type
--- nfs_syscalls.o ---
*** [nfs_syscalls.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"

The attached patch should fix - ok to commit?

Worked for me.

Hisashi T Fujinaka -
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte

Home | Main Index | Thread Index | Old Index