FW: Kernel 2.4.0-test1 - compile problems with msr.c

From: Alexander Stohr (AlexS@s3.com)
Date: Thu May 25 2000 - 15:05:51 EST

Hello there,

concerning the file arch/i386/kernel/msr.c
i have to report some breaking build problems.

I have set SMP on, Pentium III FX support on
(and a few others which i think arent important).

in the "make modules" step, i got this:
make[1]: Entering directory
gcc -D__KERNEL__ -I/usr/src/linux-2.4.0-test1/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-march=i686 -DMODULE -DEXPORT_SYMTAB -c msr.c
msr.c: In function `msr_smp_wrmsr':
msr.c:99: warning: passing arg 2 of `wrmsr_eio' makes integer from pointer
without a cast
msr.c:99: warning: passing arg 3 of `wrmsr_eio' makes integer from pointer
without a cast
msr.c: In function `msr_smp_rdmsr':
msr.c:80: `asm' operand constraint incompatible with operand size
msr.c: In function `do_wrmsr':
msr.c:122: cannot convert to a pointer type
msr.c: In function `do_rdmsr':
msr.c:137: cannot convert to a pointer type
make[1]: *** [msr.o] Error 1
make[1]: Leaving directory
make: *** [_mod_arch/i386/kernel] Error 2

i suppose it is caused by the stricter accuracy of gcc.

bye, AlexS.

PS: i am not subscribed to this list.

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

This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:14 EST