LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   2.4.22-ac2 + supermount not compiling (https://www.linuxquestions.org/questions/linux-general-1/2-4-22-ac2-supermount-not-compiling-91104/)

Mad Merlin 09-09-2003 11:31 PM

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?

Mad Merlin 09-11-2003 11:51 PM

*bump*

Nobody has any ideas?


All times are GMT -5. The time now is 04:28 AM.