lkml.org 
[lkml]   [1999]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.240 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site