Compile problem 2.4.14
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello all!
I am really getting a hard time compiling the 2.4.14.. My current system has a 2.4.13 (by patching all the way from 2.4.9), so I patched the sources, yes after make clean, make menuconfig, and make dep ; make bzImage, I get this message (during the compilation of vmlinux )
fs/fs.o: In function `dput':
fs/fs.o(.text+0x10ad5): undefined reference to `atomic_dec_and_lock'
make: *** [vmlinux] Error 1
Prior to this I was getting this problem, described in a message on this mailing list, about
drivers/block/block.o: In function `lo_send':
drivers/block/block.o(.text+0x40eb): undefined reference to deactivate_page' drivers/block/block.o(.text+0x4119): undefined reference to deactivate_page'
which I solved with the instructions of
http://marc.theaimsgroup.com/?l=linux-kernel&m=100533846016359&w=2
Could someone give me some instruction on what could be the problem, and hopefully, how to fix it? Thanks in advance
- --------
Panagiotis Moustafellos
(aka panXer)
- --------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE77YrNbGyRbxX5XdQRAmmyAKCXQwmvFIC9y8BURxOYwZkOG6bfQQCg0FEM EjFT9OsAHaBTkYGsysjpHb0=
=f59Q
-----END PGP SIGNATURE-----
Quoted 9 lines · Panagiotis Moustafellos
I am really getting a hard time compiling the 2.4.14.. My current system has a 2.4.13 (by patching all the way from 2.4.9), so I patched the sources, yes after make clean, make menuconfig, and make dep ; make bzImage, I get this message (during the compilation of vmlinux )
Could someone give me some instruction on what could be the problem, and hopefully, how to fix it? Thanks in advance
too much patching can't be good...
you should get the sources of the 2.4.14 and you'll have less headaches
Quoted 9 lines · Panagiotis Moustafellos
I am really getting a hard time compiling the 2.4.14.. My current system has a 2.4.13 (by patching all the way from 2.4.9), so I patched the sources, yes after make clean, make menuconfig, and make dep ; make bzImage, I get this message (during the compilation of vmlinux )
fs/fs.o: In function `dput':
fs/fs.o(.text+0x10ad5): undefined reference to `atomic_dec_and_lock'
make: *** [vmlinux] Error 1
You need to make mrproper. There is a spurious #define for atomic_dec_and_lock lurking in the old modversion tables.
Quoted 8 lines · Ivanovich
Quoted 5 lines · Panagiotis Moustafellos
I am really getting a hard time compiling the 2.4.14.. My current system has a 2.4.13 (by patching all the way from 2.4.9), so I patched the sources, yes after make clean, make menuconfig, and make dep ; make bzImage, I get this message (during the compilation of vmlinux )
Quoted 6 lines
Quoted 3 lines
Could someone give me some instruction on what could be the problem, and hopefully, how to fix it? Thanks in advance
too much patching can't be good...
you should get the sources of the 2.4.14 and you'll have less headaches
If the patches are applied properly, and no rejects are noticed, then you should be able to patch as much as you want, and it will be the same as af downloading directly from kernel.org.
Now, if there was a previous kernel compile, and then several patches applied, (say from 2.4.0 all the way up to 2.4.14...) then you'll probably have to run "make mrproper" as mentioned by Keith...
If I've left anything out, please let me knwo...
Mike
Re: Compile problem 2.4.14 [SOLVED]
In reply to Panagiotis Moustafellos-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Yeap, it was make mrproper what i had to do to make the headache go away! It didn't even cross my mind it could be that simple..
Thanx all of you guys
Quoted 17 lines
Quoted 6 lines
Quoted 6 lines
I am really getting a hard time compiling the 2.4.14.. My current system has a 2.4.13 (by patching all the way from 2.4.9), so I patched the sources, yes after make clean, make menuconfig, and make dep ; make bzImage, I get this message (during the compilation of vmlinux )
Quoted 6 lines
Quoted 3 lines
Could someone give me some instruction on what could be the problem, and hopefully, how to fix it? Thanks in advance
too much patching can't be good...
you should get the sources of the 2.4.14 and you'll have less headachesIf the patches are applied properly, and no rejects are noticed, then you should be able to patch as much as you want, and it will be the same as af downloading directly from kernel.org.
Quoted 7 lines
Now, if there was a previous kernel compile, and then several patches applied, (say from 2.4.0 all the way up to 2.4.14...) then you'll probably have to run "make mrproper" as mentioned by Keith...
If I've left anything out, please let me knwo...
Mike
- --------
Panagiotis Moustafellos
(aka panXer)
- --------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE77fu+bGyRbxX5XdQRAjMoAJ4z2icJJZZkdjgrE/J0HzPEAkPZ4QCeLkum oVAHhjUWsKSa42d2NgBcpqw=
=6MQT
-----END PGP SIGNATURE-----