[Mono-dev] issues building mono on solaris x86 & sparc

pablosantosluac at terra.es pablosantosluac at terra.es
Sat Nov 12 16:37:36 EST 2005


You can try with
http://home.comcast.net/~jonel.rienton/2005/04/solaris-10-x86-and-mono.html

You will go a little further, but AFAIK mono doesn't work anymore on 
Solaris... I wanted to have a look into the problem but I didn't have enough 
time...

----- Original Message ----- 
From: "Alessio Cervellin @ acm" <a.cervellin at acm.org>
To: <mono-devel-list at lists.ximian.com>
Sent: Saturday, November 12, 2005 10:28 PM
Subject: [Mono-dev] issues building mono on solaris x86 & sparc


> I'm trying to build Mono 1.1.10 on a Solaris 8 *x86* box using gcc3, but 
> after a few minutes the build fails with the following errors... can 
> anyone help?
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS 
>  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_MMAP -DUSE_MUNMAP -D_FILE_OFFSET_BITS=64 
>  -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED=1 -I../.. -I../../libgc/include 
>  -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -D_REENTRANT  
> -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -g -O2 -fno-strict-aliasing 
>  -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations 
>  -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith 
>  -Wno-cast-qual -Wcast-align -Wwrite-strings -Wno-char-subscripts -MT 
> exceptions-x86.lo -MD -MP -MF .deps/exceptions-x86.Tpo -c 
> xceptions-x86.c  -fPIC -DPIC -o .libs/exceptions-x86.o
> exceptions-x86.c: In function `mono_arch_sigctx_to_monoctx':
> exceptions-x86.c:692: error: `REG_EAX' undeclared (first use in this 
> function)
> exceptions-x86.c:692: error: (Each undeclared identifier is reported only 
> once
> exceptions-x86.c:692: error: for each function it appears in.)
> exceptions-x86.c:693: error: `REG_EBX' undeclared (first use in this 
> function)
> exceptions-x86.c:694: error: `REG_ECX' undeclared (first use in this 
> function)
> exceptions-x86.c:695: error: `REG_EDX' undeclared (first use in this 
> function)
> exceptions-x86.c:696: error: `REG_EBP' undeclared (first use in this 
> function)
> exceptions-x86.c:697: error: `REG_ESP' undeclared (first use in this 
> function)
> exceptions-x86.c:698: error: `REG_ESI' undeclared (first use in this 
> function)
> exceptions-x86.c:699: error: `REG_EDI' undeclared (first use in this 
> function)
> exceptions-x86.c:700: error: `REG_EIP' undeclared (first use in this 
> function)
> exceptions-x86.c: In function `mono_arch_monoctx_to_sigctx':
> exceptions-x86.c:735: error: `REG_EAX' undeclared (first use in this 
> function)
> exceptions-x86.c:736: error: `REG_EBX' undeclared (first use in this 
> function)
> exceptions-x86.c:737: error: `REG_ECX' undeclared (first use in this 
> function)
> exceptions-x86.c:738: error: `REG_EDX' undeclared (first use in this 
> function)
> exceptions-x86.c:739: error: `REG_EBP' undeclared (first use in this 
> function)
> exceptions-x86.c:740: error: `REG_ESP' undeclared (first use in this 
> function)
> exceptions-x86.c:741: error: `REG_ESI' undeclared (first use in this 
> function)
> exceptions-x86.c:742: error: `REG_EDI' undeclared (first use in this 
> function)
> exceptions-x86.c:743: error: `REG_EIP' undeclared (first use in this 
> function)
> exceptions-x86.c: In function `mono_arch_ip_from_context':
> exceptions-x86.c:768: error: `REG_EIP' undeclared (first use in this 
> function)
> gmake[4]: *** [exceptions-x86.lo] Error 1
> gmake[4]: Leaving directory `/mono-1.1.10/mono/mini'
> gmake[3]: *** [all] Error 2
>
>
> I also tried to build it on a Solaris 8 *SPARC* with an identical build 
> stack (=same packages/libs and compiler installed), but this time the 
> error is different:
>
>
> gmake[7]: *** No rule to make target 
> `../class/Mono.CompilerServices.SymbolWriter/MonoSymbolFile.cs', needed by 
> `../class/lib/basic/mcs.exe'.  Stop.
> gmake[7]: Leaving directory `/mono-1.1.10/mcs/
> mcs'
> gmake[6]: *** [do-all] Error 2
> gmake[6]: Leaving directory `/mono-1.1.10/mcs/mcs'
> gmake[5]: *** [all-recursive] Error 1
> gmake[5]: Leaving directory `/mono-1.1.10/mcs'
>
> gmake[4]: *** [profile-do--basic--all] Error 2
> gmake[4]: Leaving directory `/mono-1.1.10/mcs'
>
> gmake[3]: *** [profiles-do--all] Error 2
> gmake[3]: Leaving directory `/mono-1.1.10/mcs'
>
> gmake[2]: *** [all-local] Error 2
> gmake[2]: Leaving directory `/mono-1.1.10/runtime'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/mono-1.1.10'
> gmake: *** [all] Error 2
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list 




More information about the Mono-devel-list mailing list