[2.5.7-dj2] Compile Error

Sebastian Roth
2002-03-28T11:17:10Z

Hi there,

make bzImage says:
make[1]: Entering directory `/usr/src/linux-2.5-dj/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.5-dj/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.5-dj/include -Wall
-Wstrict-prototypes -Wno-
trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpref
erred-stack-boundary=2 -march=i686 -malign-functions=4
-DKBUILD_BASENAME=acct
-c -o acct.o acct.c
acct.c:235: parse error before `do'
acct.c:378: parse error before `do'
acct.c:384: parse error before `&'
acct.c:386: warning: type defaults to `int' in declaration of
`do_acct_process'
acct.c:386: warning: parameter names (without types) in function
declaration
acct.c:386: conflicting types for `do_acct_process'
acct.c:297: previous declaration of `do_acct_process'
acct.c:386: warning: data definition has no type or storage class
acct.c:387: warning: type defaults to `int' in declaration of `fput'
acct.c:387: warning: parameter names (without types) in function
declaration
acct.c:387: conflicting types for `fput'
/usr/src/linux-2.5-dj/include/linux/file.h:36: previous declaration of
`fput'
acct.c:387: warning: data definition has no type or storage class
acct.c:388: parse error before `}'
make[2]: *** [acct.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.5-dj/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5-dj/kernel'
make: *** [_dir_kernel] Error 2

just for information.

Sebastian