Re: 2.4.22 and Athlon64

From: Andi Kleen
Date: Wed Oct 29 2003 - 14:42:59 EST


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

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

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