Re: Problem compiling 2.0.25

chris@stallion.oz.au
19 Nov 1996 08:10:34 +1000


-----BEGIN PGP SIGNED MESSAGE-----

"Jaime G. Ghirelli" <jaime@ba.net> moved upon the face of the 'Net and spake thusly:

> make[1]: Entering directory `/usr/src/linux-2.0.25/arch/i386/kernel'
> gcc -D__KERNEL__ -I/usr/src/linux-2.0.25/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe
> -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c
> -o time.o time.c
> {standard input}: Assembler messages:
> {standard input}:768: Error: no such 386 instruction: `rdmsr'
> {standard input}:770: Error: no such 386 instruction: `wrmsr'
> make[1]: *** [time.o] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.0.25/arch/i386/kernel'
> make: *** [linuxsubdirs] Error 2
>
>
I got this too on my 486. For a quick fix, go into menuconfig and
turn on character devices/advanced-power-management.

<digression>
To those who have said "upgrade your binutils":

These instructions are pentium only. IMHO this is NOT a consequence
of old binutils, but a bug in the code---this code should be inside
#ifdef CONFIG_M586.
</digression>

Works for me.

cjb.
- --
__
/ \
/ \
/MORONS\
/ \
\ next /
\ 15 /
\msgs/
\__/
||
||
||chris@stallion.oz.au
One more infobahn cliche couldn't hurt...

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i
Comment: Send mail with 'Subject: sendpgpkey' for my public key.

iQCVAwUBMpDe2JyEgW3JSqnhAQG4eAP/SRa5a+hzNg07iEXu8QmCxybPC3jwm6pB
nfkAd5fM3RMTeRk10V9V4ttDf2R6Um9MV2O71kkJUB4suKw0TOTWw6UkilK81RYw
ANcsB3bunVR0eZZqruGliFEeT6LV7ZNNfKW5qZabEERW7EZjUtmdV2GGhSBNRzKW
UDAnX6uVBmA=
=G9v+
-----END PGP SIGNATURE-----