Error while cross compiling MONO for MIPS

Prashanth Mn <[email protected]>
Newsgroups gmane.comp.gnome.mono.general
Message-ID <CAHk2ySk0q8=or2v4FqVN9D-zkiKz-GLkgxMopMK04otS2x=yKQ@mail.gmail.com>
Hi all,

while cross compiling MONO for MIPS architecture, i got the below error.
i've used the below options during configure.  I've referred the below post
(
http://mono.1490590.n4.nabble.com/Problem-building-mono-from-source-tc4660825.html#a4660882),
but there is no proper answer provided for the similar error.


Please let me know if any other options needs to added/modified during
configure to make this compilation happen

./configure --prefix=/home/a22929/mono_lib_install/
CXX=/opt/tv2/cross_toolchain/stbgcc-4.8-1.1/bin/mipsel-linux-uclibc-g++
--host=mipsel-linux-uclibc --build=i686 CFLAGS="-m32"

mono-context.c: In function ‘mono_sigctx_to_monoctx’:
mono-context.c:47:2: error: implicit declaration of function ‘
UCONTEXT_REG_EAX’
mono-context.c:47:2: warning: nested extern declaration of ‘UCONTEXT_REG_EAX
’
mono-context.c:48:2: error: implicit declaration of function
‘UCONTEXT_REG_EBX’
mono-context.c:48:2: warning: nested extern declaration of
‘UCONTEXT_REG_EBX’
mono-context.c:49:2: error: implicit declaration of function
‘UCONTEXT_REG_ECX’
mono-context.c:49:2: warning: nested extern declaration of
‘UCONTEXT_REG_ECX’
mono-context.c:50:2: error: implicit declaration of function
‘UCONTEXT_REG_EDX’
mono-context.c:50:2: warning: nested extern declaration of
‘UCONTEXT_REG_EDX’
mono-context.c:51:2: error: implicit declaration of function
‘UCONTEXT_REG_EBP’
mono-context.c:51:2: warning: nested extern declaration of
‘UCONTEXT_REG_EBP’
mono-context.c:52:2: error: implicit declaration of function
‘UCONTEXT_REG_ESP’
mono-context.c:52:2: warning: nested extern declaration of
‘UCONTEXT_REG_ESP’
mono-context.c:53:2: error: implicit declaration of function
‘UCONTEXT_REG_ESI’
mono-context.c:53:2: warning: nested extern declaration of
‘UCONTEXT_REG_ESI’
mono-context.c:54:2: error: implicit declaration of function
‘UCONTEXT_REG_EDI’
mono-context.c:54:2: warning: nested extern declaration of
‘UCONTEXT_REG_EDI’
mono-context.c:55:2: error: implicit declaration of function
‘UCONTEXT_REG_EIP’
mono-context.c:55:2: warning: nested extern declaration of
‘UCONTEXT_REG_EIP’
mono-context.c: In function ‘mono_monoctx_to_sigctx’:
mono-context.c:79:2: error: lvalue required as left operand of assignment
mono-context.c:80:2: error: lvalue required as left operand of assignment
mono-context.c:81:2: error: lvalue required as left operand of assignment
mono-context.c:82:2: error: lvalue required as left operand of assignment
mono-context.c:83:2: error: lvalue required as left operand of assignment
mono-context.c:84:2: error: lvalue required as left operand of assignment
mono-context.c:85:2: error: lvalue required as left operand of assignment
mono-context.c:86:2: error: lvalue required as left operand of assignment
mono-context.c:87:2: error: lvalue required as left operand of assignment
make[4]: *** [mono-context.lo] Error 1
make[4]: Leaving directory `/home/a22929/mono-3.2.8+dfsg/mono/utils'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/a22929/mono-3.2.8+dfsg/mono/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/a22929/mono-3.2.8+dfsg/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/a22929/mono-3.2.8+dfsg'
make: *** [all] Error 2

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.