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
I've even tried removing the source tree and re extracting from the tar
ball again but it always stops at the same place now. If you have any
ideas, please let me know. I'm not a member of the list so a cc would
really be great.
--
Rob Connor
TWR Communications
301 777 2692 x131
[email protected]
Good judgement comes from experience, and experience -
well, that comes from poor judgement.
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
>
> I've even tried removing the source tree and re extracting from the tar
> ball again but it always stops at the same place now. If you have any
> ideas, please let me know. I'm not a member of the list so a cc would
> really be great.
GCC version?
--
Brian Gerst
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.
Rob wrote:
>
> gcc --version gives me pgcc-2.91.66
>
> I have a bootable 2.2.4 kernel I just can no longer recompile it for some
> reason.
IIRC, pgcc is known to be broken. Use standard gcc 2.91.66 or later.
--
Brian Gerst