TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:4975] can't compile 2.2.4



Edit the acct.c, modify both those lines, and add a ,NULL to them. Should
take care of it.

----
Nate Carlson
the infinite loop
natecars@infiniteloop.com

On Sun, 28 Mar 1999, Ben Luey wrote:

> I just downloaded 2.2.4 and put it in /usr/src/linux-2.2.4 and linked
> linux to it. I copies .config from /usr/src/linux-2.2.1  and ran make
> clean, make dep, and then make zImage and I get
> 
> 
> gcc -D__KERNEL__ -I/usr/src/linux-2.2.4/include -Wall -Wstrict-prototypes
> -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
> -malign-jumps=2 -malign-functions=2 -DCPU=586   -c -o sysctl.o sysctl.c
> gcc -D__KERNEL__ -I/usr/src/linux-2.2.4/include -Wall -Wstrict-prototypes
> -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
> -malign-jumps=2 -malign-functions=2 -DCPU=586   -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
> [root@pclueyb linux-2.2.4]#                                
> 
> 
> I compiled 2.2.1 without any problems -- any ideas?
> 
> Ben Luey
> lueyb@carleton.edu
> ICQ: 19144397
> 
> And they wonder why those of us in our twenties refuse to work an
> eighty-hour week just so we can afford to buy their BMWs, and why we aren't
> interested in the counterculture that they invented, as if we did not see
> them disavow their revolution for a pair of running shoes. But the question
> remains: What are we going to do now? How can we repair the damage we
> inherited? Rellow graduates, the answer is simple. The answer is . . . the
> answer is . . . I don't know.
>        -- Commencement address in Reality Bites (1984) 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
> For additional commands, e-mail: tclug-list-help@listserv.real-time.com
> Try our website: http://tclug.real-time.com
>