[Mono-dev] Compiling mono on embedded platform fails ( structure has no member named uc_regs)

Johannes Paschold oldpasch at gmail.com
Wed Aug 8 11:44:05 EDT 2007


Hello,

i'm new to this list cause i have a problem compiling mono on my
embedded linux and can't find any useful hints to my problem on the web.
I compiled and installed bison, pkg-config and glib 2.4.8 and configured
mono successfully.
When running make, compilation fails with the below error message:


exceptions-ppc.c:486: warning: unused variable `p'
exceptions-ppc.c:506: warning: `offset' might be used uninitialized in this
function
exceptions-ppc.c:590: warning: visibility attribute not supported in this
configuration; ignored
exceptions-ppc.c: In function `mono_jit_walk_stack':
exceptions-ppc.c:640: warning: visibility attribute not supported in this
configuration; ignored
exceptions-ppc.c: In function `ves_icall_get_frame_info':
exceptions-ppc.c:711: warning: visibility attribute not supported in this
configuration; ignored
exceptions-ppc.c: In function `mono_arch_handle_exception':
exceptions-ppc.c:756: structure has no member named `uc_regs'
exceptions-ppc.c:757: structure has no member named `uc_regs'
exceptions-ppc.c:758: structure has no member named `uc_regs'
exceptions-ppc.c:759: structure has no member named `uc_regs'
exceptions-ppc.c:765: structure has no member named `uc_regs'
exceptions-ppc.c:766: structure has no member named `uc_regs'
exceptions-ppc.c:767: structure has no member named `uc_regs'
exceptions-ppc.c:768: structure has no member named `uc_regs'
exceptions-ppc.c: In function `mono_arch_ip_from_context':
exceptions-ppc.c:776: structure has no member named `uc_regs'
make[4]: *** [exceptions-ppc.lo] Error 1
make[4]: Leaving directory `/tmp/mono-1.2.4/mono/mini'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/mono-1.2.4/mono/mini'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/mono-1.2.4/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/mono-1.2.4'
make: *** [all] Error 2

I found only 3 hits with google which gave me no solution for that problem.
Does anyone can help me out with that problem? Is it ppc specific?

Further, if there is a solution to this problem i got another one: Is it
possible to build mono from the sources without having a mono installation?
The readme says this should be possible if it's an official release (which
1.2.4 i think is?) and not a snapshot.
Problem is: I'm running on a ppc with glibc 2.3.1 and i can't find any
binary distribution compiled against it. So do i may run into the chicken
egg problem?

regards
jOe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070808/44fd0157/attachment.html 


More information about the Mono-devel-list mailing list