Re: Compilation problems

Richard B. Johnson (root@chaos.analogic.com)
Tue, 27 Feb 2001 15:24:39 -0500 (EST)


On Tue, 27 Feb 2001, Rob wrote:

> Hi, I've encountered a problem compiling the 2.4.2 kernel.
>
> I downloaded the source, did a make menuconfig, make dep, make bzImage;
> everything went ok, but I didn't have the NIC working correctly. I
> recompiled, it seemed to go ok but still the NIC didn't work. Then I
> tried make clean, make mrproper, make menuconfig, make dep, make bzImage,
> and now I keep getting an error at the very end of the compile process...
>
> init/main.o(.text.init+0x53): undefined reference to
> `__buggy_fxsr_alignment'
> make: ***[vmlinux] Error 1
>

You need to upgrade your binutils or 'C' compiler. This is a forced error
caused by task struct member, 'thread.i387.fxsave' not being aligned on a
16-byte boundary. In the meantime, you could actually create a global
function in main.c and see if the machine runs.

__buggy_fxsr_alignment(){}

Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.

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