Messages in this thread | | | Date | Fri, 26 Mar 1999 13:47:48 +0100 | From | Jorge Gonzalez Villalonga <> | Subject | Re: Problem with compiling the 2.2.4 Kernel |
| |
Flavius Bindea wrote: > > Rainer Wiener a écrit : > > > > Hello, > > > > I have downloaded the 2.2.4 kernel from > > ftp.us.kernel.org/pub/linux/kernel/v2.2/ and install it as the other version > > 2.2.3 kernel. After the installing I copy the .config into the linux directory > > and do make dep make clean. This thinks works fine. But when I do make bzImage > > or make zImage I get the following messages: > > > > acct.c:197: too few arguments to function ´filp_close´ > > acct.c:203: too few arguments to function ´flip_close´ > > make[2]: *** [acct.o] Error 1 > > make[2]: Leaving drictory ´/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 > > > > The same .config works under 2.2.3 fine. > > > Hi, > I have the same probleme. > > Flav >
I think this has been already answered here, but...
Answer: edit /usr/src/linux/kernel/acct.c, lines 197 and 203, and where it says
filp_close(xxxx);
write this:
filp_close(xxxx,NULL);
-- Jorge Gonzalez <jorgegv@icai.upco.es> -o) ICAI - Universidad Pontificia Comillas /\\ Administrador de Sistemas _\_v
- 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/
| |