Re: Mono and Solaris 8

From: dyn000 (dyn000_at_yahoo.com)
Date: 08/21/05


Date: Sun, 21 Aug 2005 00:26:30 -0500

Yep.. finally figured it out right now. Thanks so mcu! I am having one
other problem with the compile of mono. I have glib 2.6.2 installed from
sunfreeware and I am getting the following error log when I compile mono.
It goes on longer then I have pasted. I pasted teh beginning, and then I
pasted what it has in the end.

If anybody can help me I would really really appreciate it! Thanks again
for all your help!

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

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'

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



Relevant Pages


Quantcast