Re: 2.2.4 compile error

T. J. Domsalla (tj@domsalla.de)
Sun, 28 Mar 1999 13:44:25 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I've got exactly the same error message:

make[1]: Entering directory `/usr/src/linux-2.2.4/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.2.4/kernel'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
- -O2 -fomit-frame-pointer -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

Comparing the function prototype of filp_close()

/usr/src/linux/include/linux/fs.h:extern int filp_close(struct file
*, fl_owner_t id);

to the function calls

/usr/src/linux/kernel/acct.c: filp_close(old_acct); <-------
/usr/src/linux/kernel/acct.c: filp_close(file); <-------
/usr/src/linux/kernel/exit.c: filp_close(file, files);
/usr/src/linux/kernel/ksyms.c: EXPORT_SYMBOL(filp_close);

makes me frown. I'm wondering that not any more people got this error
message.

T. J.

T. J. D O M S A L L A ________________________________________
Tel: +49 (0) 171 / 5 132 128 tj@domsalla.de
Fax: +49 (0) 171 / 13-5 132 128
______________________________________http://www.domsalla.de/tj/
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.0.2i

iQA/AwUBNv4H4FO6UsBX+X8gEQI3HACgsAQZD2Os7DrE6g26GeDvG+pxX+sAoM8D
uAOH7EE1HUamVpjCLniAisgn
=OGom
-----END PGP SIGNATURE-----

-
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/