Re: [Mono-dev] Mono Compile Error in Solaris 8
I fixed that error! It seemed to be looking at the glibconfigure.h for glib 1.2, and it was using the glib 2.0 other files. So thats why I was getting the errorrs. I went ahead and installed a new version of glib and removed 1.22, and it went through fine. However, I am still getting the following error now, that has to be with bison and parser.c. I can't seem to find that file anywhere in the directories, so I don't know what it does. Any help is appreciated!! bison ./monoburg.y -o parser.c *** Signal 13 make: Fatal error: Command failed for target `parser.c' Current working directory /export/home/users/niteesh/mono/mono-1.1.8.3/mono/monoburg *** 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' On 8/20/05, Nit Bha [EMAIL PROTECTED] wrote: To: Zoltan Varga [EMAIL PROTECTED] Subject: Re: [Mono-dev] Mono Compile Error in Solaris 8 Cc: [EMAIL PROTECTED] ahh.. worked wonders! found ar and included it in my path. thanks! I have a few more errors now though! :( 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
Re: [Mono-dev] Mono Compile Error in Solaris 8
Hi, This line: false cru .libs/libmonogc.a .libs/allchblk.o .libs/alloc.o .libs/blacklst.o should read: ar cru This suggests that your system does not have a suitable 'ar' tool installed, or the configure script can't find it. Zoltan On 8/21/05, Nit Bha [EMAIL PROTECTED] wrote: Hey guys, I am trying to compile mono on solaris 8, and the the config is running just fine. When I run a make I get the following error messages. I can't seem to figure out what is the problem. I have been looking into what libtool does, but I am not sure if its supposed to create libmonogc.la. I have run the same command at a bash prompt, and I get no errors, but it doesn't create any files. Any help would be really really appreciated! Thanks so much! /bin/bash ./libtool --mode=link gcc -g -o libmonogc.la -version-info 1:2:0 allchblk.lo alloc.lo blacklst.lo checksums.lo dbg_mlc.lo dyn_load.lo finalize.lo gc_dlopen.lo gcj_mlc.lo headers.lo aix_irix_threads.lo malloc.lo mallocx.lo mark.lo mark_rts.lo misc.lo new_hblk.lo obj_map.lo os_dep.lo pcr_interface.lo ptr_chck.lo real_malloc.lo reclaim.lo solaris_pthreads.lo solaris_threads.lo specific.lo stubborn.lo typd_mlc.lo backgraph.lo win32_threads.lo pthread_support.lo pthread_stop_world.lo darwin_stop_world.lo sparc_mach_dep.lo -lpthread libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries false cru .libs/libmonogc.a .libs/allchblk.o .libs/alloc.o .libs/blacklst.o .libs/checksums.o .libs/dbg_mlc.o .libs/dyn_load.o .libs/finalize.o .libs/gc_dlopen.o .libs/gcj_mlc.o .libs/headers.o .libs/aix_irix_threads.o .libs/malloc.o .libs/mallocx.o .libs/mark.o .libs/mark_rts.o .libs/misc.o .libs/new_hblk.o .libs/obj_map.o .libs/os_dep.o .libs/pcr_interface.o .libs/ptr_chck.o .libs/real_malloc.o .libs/reclaim.o .libs/solaris_pthreads.o .libs/solaris_threads.o .libs/specific.o .libs/stubborn.o .libs/typd_mlc.o .libs/backgraph.o .libs/win32_threads.o .libs/pthread_support.o .libs/pthread_stop_world.o .libs/darwin_stop_world.o .libs/sparc_mach_dep.o *** Error code 1 make: Fatal error: Command failed for target `libmonogc.la' Current working directory /export/home/users/nit/mono/mono-1.1.8.3/libgc *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /export/home/users/nit/mono/mono-1.1.8.3/libgc *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /export/home/users/nit/mono/mono-1.1.8.3 *** Error code 1 make: Fatal error: Command failed for target `all' --- ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono Compile Error in Solaris 8
To: Zoltan Varga [EMAIL PROTECTED] Subject: Re: [Mono-dev] Mono Compile Error in Solaris 8 Cc: mono-devel-list@lists.ximian.com ahh.. worked wonders! found ar and included it in my path. thanks! I have a few more errors now though! :( 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