PROBLEM: Unable to compile v2.2.4

Leo Davis (davi880@ibm.net)
Thu, 25 Mar 1999 16:31:46 -0700


I am unable to compile the 2.2.4 kernel.

I'm getting this message when I compile acct.c:

make[2]: Entering directory `/usr/src/linux-2.2.4/kernel'
egcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -c -o
acct.o acct.c
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/linux-2.2.4/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.4/kernel'
make: *** [_dir_kernel] Error 2

filp_close (line 779 in open.c) expects 2 arguments, instead of the 1
argument given in acct.c.

Thanks

Leo Davis

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/