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

Re: Kernel compile errors



In foo.debian-user, you wrote:
> Running potato im coming up against the following with kernel 2.2.4
> 
> acct.c: In function `sys_acct':
> acct.c:197: too few arguments to function `filp_close'
> acct.c:203: too few arguments to function `filp_close'
> make[2]: *** [acct.o] Error 1
> make[2]: Leaving directory `/usr/src/kernel-source-2.2.4/kernel'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory `/usr/src/kernel-source-2.2.4/kernel'
> make: *** [_dir_kernel] Error 2

Well known error.  Either disable BSD-style process accounting,
or apply the patch that you should be able to find on the kernel
mailing list.
(Basically, just add a 'NULL' argument to the 'filp_close' functions
at lines 197 and 203)

-Mitch


Reply to: