You didn't provide any information about the kernel or compiler you're using so 
it's rather difficult to provide you with any insight. This is really a kernel 
compilation issue and not an M5 one. We have successfully used linux 2.6.35 and 
assuming you don't have an ARM system available you'll need a cross compiler. 
You can download a cross compiler here: 
http://www.codesourcery.com/sgpp/lite/arm/portal/subscripti...@template=lite

I intend to publish a patch repository for ARM with a default configuration 
file, but I haven't gotten around to do it yet. In the mean time if you select 
a realview pbx system, no SMP support, and an A9 core it should probably work.

Ali


On Dec 9, 2010, at 8:39 PM, Sudhanshu(Duke) wrote:

> This is the error I got when I treid to compile kernel for arm:
> arch/arm/mm/copypage-v4wb.c:27: error: conflicting types for
> 'v4wb_copy_user_page'
> /home/Wizard/repos/arm/linux-2.6/arch/arm/include/asm/page.h:130:
> error: previous declaration of 'v4wb_copy_user_page' was here
> arch/arm/mm/copypage-v4wb.c:93: error: unknown field
> 'cpu_clear_user_highpage' specified in initializer
> arch/arm/mm/copypage-v4wb.c:93: warning: initialization from
> incompatible pointer type
> arch/arm/mm/copypage-v4wb.c:94: error: unknown field
> 'cpu_copy_user_highpage' specified in initializer
> arch/arm/mm/copypage-v4wb.c:94: warning: initialization from
> incompatible pointer type
> make[1]: *** [arch/arm/mm/copypage-v4wb.o] Error 1
> make: *** [arch/arm/mm] Error 2
> How to overcome these?
> 
> -- 
> Sudhanshu([email protected], [email protected] &
> [email protected])
> 
> *************************************************************
> 
> Reality Bites Like A Mad Dog,
> And Person Bitten Acts Like A Mad Dog...
> 
> *************************************************************
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
> 

_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to