linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Compile problem 2.4.14
@ 2001-11-10 20:15 Panagiotis Moustafellos
  2001-11-10 22:17 ` Ivanovich
  2001-11-10 22:48 ` Compile problem 2.4.14 Keith Owens
  0 siblings, 2 replies; 5+ messages in thread
From: Panagiotis Moustafellos @ 2001-11-10 20:15 UTC (permalink / raw)
  To: linux-kernel

-----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-----

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Compile problem 2.4.14
  2001-11-10 20:15 Compile problem 2.4.14 Panagiotis Moustafellos
@ 2001-11-10 22:17 ` Ivanovich
  2001-11-10 23:22   ` Mike Fedyk
  2001-11-10 22:48 ` Compile problem 2.4.14 Keith Owens
  1 sibling, 1 reply; 5+ messages in thread
From: Ivanovich @ 2001-11-10 22:17 UTC (permalink / raw)
  To: linux-kernel

On Saturday 10 November 2001 21:15, Panagiotis Moustafellos wrote:

> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Compile problem 2.4.14
  2001-11-10 20:15 Compile problem 2.4.14 Panagiotis Moustafellos
  2001-11-10 22:17 ` Ivanovich
@ 2001-11-10 22:48 ` Keith Owens
  1 sibling, 0 replies; 5+ messages in thread
From: Keith Owens @ 2001-11-10 22:48 UTC (permalink / raw)
  To: panxer; +Cc: linux-kernel

On Sat, 10 Nov 2001 22:15:00 +0200, 
Panagiotis Moustafellos <panxer@hol.gr> wrote:
>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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Compile problem 2.4.14
  2001-11-10 22:17 ` Ivanovich
@ 2001-11-10 23:22   ` Mike Fedyk
  2001-11-11  4:17     ` Compile problem 2.4.14 [SOLVED] Panagiotis Moustafellos
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Fedyk @ 2001-11-10 23:22 UTC (permalink / raw)
  To: Ivanovich; +Cc: linux-kernel

On Sat, Nov 10, 2001 at 11:17:04PM +0100, Ivanovich wrote:
> On Saturday 10 November 2001 21:15, Panagiotis Moustafellos wrote:
> 
> > 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

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Compile problem 2.4.14 [SOLVED]
  2001-11-10 23:22   ` Mike Fedyk
@ 2001-11-11  4:17     ` Panagiotis Moustafellos
  0 siblings, 0 replies; 5+ messages in thread
From: Panagiotis Moustafellos @ 2001-11-11  4:17 UTC (permalink / raw)
  To: Mike Fedyk, Ivanovich; +Cc: linux-kernel

-----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


> > > 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
>
> 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


- --------
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-----

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-11-11  4:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-10 20:15 Compile problem 2.4.14 Panagiotis Moustafellos
2001-11-10 22:17 ` Ivanovich
2001-11-10 23:22   ` Mike Fedyk
2001-11-11  4:17     ` Compile problem 2.4.14 [SOLVED] Panagiotis Moustafellos
2001-11-10 22:48 ` Compile problem 2.4.14 Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).