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:
Hi,

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

Kurt

    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"
*** BUILD ABORTED ***

The attached patch should fix - ok to commit?

Worked for me.

--
Hisashi T Fujinaka - htodd%twofifty.com@localhost
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte


Home | Main Index | Thread Index | Old Index