[Mono-dev] Anybody have Solaris 8 (SPARC) Binary?

Nit Bha nithelp at gmail.com
Sun Aug 21 21:22:36 EDT 2005


Hey guys, I am having lots of problems compiling mono on Solaris 8
(Sparc) system.  I'll paste the error msgs at the bottom of this
message, but I was wondering if anybody had a solaris 8 (sparc) binary
that they could let me use from them.  If anybody could help, I would
really really appreciate it.  Please email me or reply to this.

The error message I am getting is during the make.  The configure
seems to work just fine.  I am using glib 2.6.2 from sunfreeware, but
I am still getting these errors.  Any help is greatly appreciated.

Thanks in advance!!


------------------------------------------------------------------------------


if /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
 -I. -I. -I../.. -I../.. -I../../mono -I../../libgc/include -threads
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500
-D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED=1 -DNO_UNALIGNED_ACCESS   -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 -Wno-cast-align -MT mono-hash.lo -MD -MP -MF
".deps/mono-hash.Tpo" -c -o mono-hash.lo mono-hash.c; \
then mv -f ".deps/mono-hash.Tpo" ".deps/mono-hash.Plo"; else rm -f
".deps/mono-hash.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../mono
-I../../libgc/include -threads -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -DGC_SOLARIS_THREADS
-DGC_SOLARIS_PTHREADS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
-D_XOPEN_SOURCE_EXTENDED=1 -DNO_UNALIGNED_ACCESS -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 -Wno-cast-align -MT
mono-hash.lo -MD -MP -MF .deps/mono-hash.Tpo -c mono-hash.c  -fPIC
-DPIC -o .libs/mono-hash.o
In file included from /usr/local/include/glib-2.0/glib/galloca.h:30,
                 from /usr/local/include/glib-2.0/glib.h:30,
                 from mono-hash.c:39:
/usr/local/include/glib-2.0/glib/gtypes.h:41: error: syntax error
before "typedef"
In file included from /usr/local/include/glib-2.0/glib.h:31,
                 from mono-hash.c:39:
/usr/local/include/glib-2.0/glib/garray.h:32: error: parse error
before "G_BEGIN_DECLS"
/usr/local/include/glib-2.0/glib/garray.h:34: error: syntax error
before "typedef"
In file included from /usr/local/include/glib-2.0/glib/gerror.h:24,
                 from /usr/local/include/glib-2.0/glib/gthread.h:30,
                 from /usr/local/include/glib-2.0/glib/gasyncqueue.h:30,
                 from /usr/local/include/glib-2.0/glib.h:32,
                 from mono-hash.c:39:
/usr/local/include/glib-2.0/glib/gquark.h:32: error: parse error
before "G_BEGIN_DECLS"
/usr/local/include/glib-2.0/glib/gquark.h:34: error: syntax error
before "typedef"
/usr/local/include/glib-2.0/glib/gquark.h:41: error: syntax error before "gchar"
/usr/local/include/glib-2.0/glib/gquark.h:41: error: parse error
before "G_GNUC_CONST"
/usr/local/include/glib-2.0/glib/gquark.h:41: warning: type defaults
to `int' in declaration of `G_GNUC_CONST'
/usr/local/include/glib-2.0/glib/gquark.h:41: warning: data definition
has no type or storage class
In file included from /usr/local/include/glib-2.0/glib/gthread.h:30,
                 from /usr/local/include/glib-2.0/glib/gasyncqueue.h:30,
                 from /usr/local/include/glib-2.0/glib.h:32,
                 from mono-hash.c:39:
/usr/local/include/glib-2.0/glib/gerror.h:26: error: parse error
before "G_BEGIN_DECLS"
/usr/local/include/glib-2.0/glib/gerror.h:28: error: syntax error
before "typedef"
/usr/local/include/glib-2.0/glib/gerror.h:40: error: parse error
before "G_GNUC_PRINTF"
/usr/local/include/glib-2.0/glib/gerror.h:40: warning: type defaults
to `int' in declaration of `G_GNUC_PRINTF'
/usr/local/include/glib-2.0/glib/gerror.h:40: warning: function
declaration isn't a prototype
/usr/local/include/glib-2.0/glib/gerror.h:40: warning: data definition
has no type or storage class
/usr/local/include/glib-2.0/glib/gerror.h:60: error: parse error
before "G_GNUC_PRINTF"
/usr/local/include/glib-2.0/glib/gerror.h:60: warning: type defaults
to `int' in declaration of `G_GNUC_PRINTF'
/usr/local/include/glib-2.0/glib/gerror.h:60: warning: function
declaration isn't a prototype
/usr/local/include/glib-2.0/glib/gerror.h:60: warning: data definition
has no type or storage class
In file included from /usr/local/include/glib-2.0/glib/gthread.h:32,
                 from /usr/local/include/glib-2.0/glib/gasyncqueue.h:30,
                 from /usr/local/include/glib-2.0/glib.h:32,
                 from mono-hash.c:39:


------------------------------------------------------------------------------------------------------------------------------


keeps giving errors like this and then ends with:



-------------------------------------------------------------------------------------------------------------------------------------
In file included from ../../libgc/include/gc.h:33,
                 from ../../mono/os/gc_wrapper.h:33,
                 from mono-hash.c:40:
../../libgc/include/gc_config_macros.h:9:1: warning:
"GC_SOLARIS_THREADS" redefined
<command line>:4:1: warning: this is the location of the previous definition
mono-hash.c: In function `mono_g_hash_table_new_full':
mono-hash.c:163: error: `g_direct_hash' undeclared (first use in this function)
mono-hash.c:163: error: (Each undeclared identifier is reported only once
mono-hash.c:163: error: for each function it appears in.)
mono-hash.c:164: error: `g_direct_equal' undeclared (first use in this function)
*** Error code 1
make: Fatal error: Command failed for target `mono-hash.lo'
Current working directory
/export/home/users/niteesh/mono/mono-1.1.8.3/mono/utils
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/users/niteesh/mono/mono-1.1.8.3/mono
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/users/niteesh/mono/mono-1.1.8.3
*** Error code 1
make: Fatal error: Command failed for target `all'


---------------------------------------------------------------------------------------------------------------------------------



More information about the Mono-devel-list mailing list