LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-09-2003, 11:31 PM   #1
Mad Merlin
Member
 
Registered: Aug 2003
Location: Approximately here.
Distribution: Mandrake 9.1
Posts: 86

Rep: Reputation: 15
2.4.22-ac2 + supermount not compiling


I just grabbed the new -ac2 patch for 2.4.22 and patched the source. I also grabbed the supermount patch for 2.4.22 and applied it. I had to manually merge a line into fs.c and ide.c, but that didn't seem to be a problem. When I do go to compile the kernel I get up to make bzImage, and it stops ending with:

Code:
...
gcc -D__KERNEL__ -I/home/neil/Documents/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium4   -nostdinc -iwithprefix include -DKBUILD_BASENAME=block_dev  -c -o block_dev.o block_dev.c
gcc -D__KERNEL__ -I/home/neil/Documents/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium4   -nostdinc -iwithprefix include -DKBUILD_BASENAME=char_dev  -c -o char_dev.o char_dev.c
gcc -D__KERNEL__ -I/home/neil/Documents/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium4   -nostdinc -iwithprefix include -DKBUILD_BASENAME=stat  -c -o stat.o stat.c
gcc -D__KERNEL__ -I/home/neil/Documents/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium4   -nostdinc -iwithprefix include -DKBUILD_BASENAME=exec  -c -o exec.o exec.c
exec.c: In function `flush_old_exec':
exec.c:600: too few arguments to function `steal_locks'
make[2]: *** [exec.o] Error 1
make[2]: Leaving directory `/home/neil/Documents/linux-2.4.22/fs'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/home/neil/Documents/linux-2.4.22/fs'
make: *** [_dir_fs] Error 2
I'm pretty sure that the problem lies in the supermount, as I got a very similar (or exactly the same, I can't really remember) error when trying to compile 2.4.22-ac1 + supermount, but had no trouble with 2.4.22-ac1.

I'm using a pretty minimal kernel config right now. I trimmed it down a fair bit, and I know it works well with 2.4.22-rc1-ac1 + supermount, but I'd really like to get 2.4.22-ac2 + supermount working. Any ideas?
 
Old 09-11-2003, 11:51 PM   #2
Mad Merlin
Member
 
Registered: Aug 2003
Location: Approximately here.
Distribution: Mandrake 9.1
Posts: 86

Original Poster
Rep: Reputation: 15
*bump*

Nobody has any ideas?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
supermount echodoross Linux - Newbie 7 11-05-2003 10:10 PM
supermount and now what? demmylls Linux - General 5 10-13-2003 05:00 AM
2.4.22-rc1-ac1 + supermount patch not compiling Mad Merlin Linux - General 2 08-12-2003 08:58 PM
supermount contrasutra Slackware 11 07-08-2003 02:04 AM
Strange SATA issue on 2.4.21-ac2 jredburn Linux - Hardware 0 06-26-2003 10:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration