Subject: Re: current kernel build fails in machdep.c and
To: None <port-macppc@netbsd.org>
From: Samuel.Hornus <Samuel.Hornus@crans.org>
List: port-macppc
Date: 06/12/2001 17:47:07
On Tue, 12 Jun 2001, Samuel.Hornus wrote:

> ../../../../arch/macppc/macppc/machdep.c:837: warning: unused variable `akbd'
> *** Error code 1
> Stop.
>
> can I simply remove the variable 'akbd' ?

I put it between #if AKBD>0 ... #endif. it's OK.

but macppc-current kernel build (on a G4 with LINUX_COMPAT) fails again
there :

cc  -O2 -pipe -Werror -Wall -Wpointer-arith -Wmissing-prototypes
-Wno-uninitialized -Wno-main -msoft-float -I. -I../../../../arch
-I../../../.. -nostdinc -DLKM -DDIAGNOSTIC -DTRAP_PANICWAIT -DMAXUSERS=32
-D_KERNEL -D_KERNEL_OPT -Dmacppc  -c
../../../../compat/linux/arch/powerpc/linux_machdep.c
cc1: warnings being treated as errors
../../../../compat/linux/arch/powerpc/linux_machdep.c: In function
`linux_sendsig':
../../../../compat/linux/arch/powerpc/linux_machdep.c:196: warning:
implicit declaration of function `save_fpu'
../../../../compat/linux/arch/powerpc/linux_machdep.c: At top level:
../../../../compat/linux/arch/powerpc/linux_machdep.c:448: warning: no
previous prototype for `linux_sys_modify_ldt'
../../../../compat/linux/arch/powerpc/linux_machdep.c:509: warning: no
previous prototype for `linux_sys_iopl'
*** Error code 1

Stop.

Perhaps some work for Emmanuel ?

-- 
Samuel.