Re: Kernel compile trouble
Tom Leete (tleete@mountain.net)
Sun, 07 Jan 2001 00:09:59 -0500
Johan Groth wrote:
>
> Hi,
> I wonder if anyone can help me with compilation of kernel 2.4.0. I've
> run make mrproper; make menuconfig; make dep and then I try to build the
> kernel with make bzImage but that fails utterly. I get the following
> message:
[...]
> /usr/src/linux/include/asm/string.h: In function `__constant_memcpy3d':
> /usr/src/linux/include/asm/string.h:305: `current' undeclared (first use
> in this function)
> /usr/src/linux/include/asm/string.h: In function `__memcpy3d':
> /usr/src/linux/include/asm/string.h:312: `current' undeclared (first use
> in this function)
> make: *** [init/main.o] Error 1
>
Hello,
You don't show your .config, but I'll make a wild guess you're compiling for
SMP+3DNow (probably by selecting Athlon processor). If so pick one of:
a) Deselect SMP, make clean make dep, etc.
b) Downgrade processor selection to i686 or k6
c) See the patch I posted here Tuesday.
Petr Vandrovec also posted a patch which takes a quite different approach.
Cheers,
Tom
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/