Error compiling 2.4-test1

From: John Wagner (jw@fecit.fr)
Date: Wed May 31 2000 - 10:22:44 EST


Hello,

I have tried to compile the new 2.4.0-test1 kernel on my Intel dual
PIII450MHz system but during the compilation of the

arch/i386/kernel/msr.c code teh following error occurs:

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

Anyone got any ideas as to what the problem might be. Much appreciate
any suggestions. There doesn't appear to be any -D__SMP__ flag set even
though I have turned on the SMP support in make xconfig. Is this nornmal
now? All previous kernels ala 2.2.x allows used a -D__SMP__ when
compiling for multi-priocessor support!!

Thanks,

John Wagner.

--
 John Wagner - Manager for Strategic
              Projects                Fujitsu Systems Europe Limited
                                    8, rue Maryse Hilsz, 31500 TOULOUSE
       Tel: (33) 0.562.475835                     France
        E-Mail: jw@fujitsu.fr        Fax (33) 0.562.475840 - Tel. (33)
                                                0.562.475830

- 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:27 EST