[Mono-dev] Error while cross compiling mono for ARM9

tijin thamby tijinthamby at gmail.com
Thu Jan 24 07:27:15 UTC 2013


Hi All,

I am trying to cross compile mono for ARM9, using the source mono-2.10.8.1
in my Ubuntu-12.04 PC.

I followed the steps below:

1)  export CROSS_COMPILE=arm-none-linux-gnueabi-
     export ARCH=arm
     export PATH=/usr/local/arm/arm-2008q1/bin:${PATH}

2) configured using:
     ./configure --disable-mcs-build --build=arm-none-linux-gnueabi
--with-gc=boehm

3) make CFLAGS=-DARM_FPU_NONE


But unfortunately i got the error:

exceptions-arm.c: In function ‘mono_arch_sigctx_to_monoctx’:
exceptions-arm.c:490:2: error: unknown type name ‘arm_ucontext’
exceptions-arm.c:494:23: error: lvalue required as unary ‘&’ operand
exceptions-arm.c: In function ‘mono_arch_monoctx_to_sigctx’:
exceptions-arm.c:506:2: error: unknown type name ‘arm_ucontext’
exceptions-arm.c:508:26: error: lvalue required as left operand of
assignment
exceptions-arm.c:509:26: error: lvalue required as left operand of
assignment
exceptions-arm.c:511:10: error: lvalue required as unary ‘&’ operand
exceptions-arm.c: In function ‘mono_arch_handle_exception’:
exceptions-arm.c:559:2: error: unknown type name ‘arm_ucontext’
exceptions-arm.c:571:27: error: lvalue required as left operand of
assignment
exceptions-arm.c:572:27: error: lvalue required as left operand of
assignment
exceptions-arm.c:576:27: error: lvalue required as left operand of
assignment
exceptions-arm.c:578:27: error: lvalue required as left operand of
assignment
exceptions-arm.c: In function ‘mono_arch_ip_from_context’:
exceptions-arm.c:612:2: error: unknown type name ‘arm_ucontext’

Please advise whether the above process is correct or not ?.
If correct please help me to resolve this issue.

Thanking for your time
Tijin Thamby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130124/05c4819c/attachment.html>


More information about the Mono-devel-list mailing list