Hi, Everyone,

I am trying to cross-compile linux kernel 2.6.8.1 with the following steps:

patch -p0 < linux_m5-2.6.8.1.diff

make HOSTCC=gcc344 HOSTCXX=g++344 ARCH=alpha 
CROSS_COMPILE=alpha-unknown-linux-gnu- menuconfig

make HOSTCC=gcc344 HOSTCXX=g++344 ARCH=alpha 
CROSS_COMPILE=alpha-unknown-linux-gnu-

I got the errors as follow:

arch/alpha/kernel/core_marvel.c: In function `__marvel_rtc_io':
arch/alpha/kernel/core_marvel.c:783: incompatible type for argument 5 of 
`smp_call_function_on_cpu'
make[1]: *** [arch/alpha/kernel/core_marvel.o] Error 1
make: *** [arch/alpha/kernel] Error 2

Anyone can help with this problem? 

Thanks
-- 
Zhenyu Gu


_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users

Reply via email to