Re: 2.4.22 and Athlon64

From: Mark Lane
Date: Wed Oct 29 2003 - 15:38:04 EST


At 12:41 PM 10/29/03, Andi Kleen wrote:
Mark Lane <mark@xxxxxxxxxxxx> writes:

> I am having trouble compiling the 2.4.22 kernel for x86-64 non-smp. I
> can compile the smp kernel but not the regular kernel.

2.4.22 broke the ACPI compilation in the last minute. You can either
disable ACPI or apply ftp://ftp.x86-64.org/pub/linux/v2.4/acpi-2.4.22-hotfix

Yeah I have tried compiling with ACPI off. This is not my problem.


> It seems that ksyms.c for x86-64 is looking for some smp stuff from
> the errors I am getting.
>
> I have tried 2.4.23-8 and the problem seems gone but I get an error
> when linking fs/fs.o into vmlinux. I have attached the errors I
> received.

fs/fs.o(.text+0x1429f): In function `dput':
: undefined reference to `atomic_dec_and_lock'

either your tree is unclean (do a make mrproper and try again)
or your compiler does not properly inline. What compiler are you using?

make mrproper worked thanks
--
Mark Lane, CET mailto:mark@xxxxxxxxxxxx
Hard Data Ltd. http://www.harddata.com
T: 01-780-456-9771 F: 01-780-456-9772
11060 - 166 Avenue Edmonton, AB, Canada, T5X 1Y3
--> Ask me about our Excellent 1U Systems! <--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/