2.4.0-test2-pre4 msr.c compile error

From: Peter Blomgren (blomgren@monster.stanford.edu)
Date: Tue Jun 20 2000 - 14:52:58 EST


[...]
Entering directory `/usr/src/redhat/BUILD/linux/arch/i386/kernel'
[...]
gcc -D__KERNEL__ -I/usr/src/redhat/BUILD/linux/include -Wall \
        -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing \
        -pipe -march=i386 -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 `/usr/src/redhat/BUILD/linux/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] Error 2

Clues?

gcc --version
egcs-2.91.66

-- 
\Peter.

- 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 : Fri Jun 23 2000 - 21:00:20 EST