[Mono-list] Trouble compiling Mono on Solaris 10 Sparc

Michael Welch michaelgwelch at gmail.com
Tue Feb 14 22:50:07 EST 2006

My attempts to build mono always fail in the libgc directory. I'm looking
for help overcoming the following issue:

I have a clean install of Solaris 10 (01/06) on a Sun Ultra 60.

I've installed gnu utilities from blastwave.org. (/opt/csw).

To make sure that none of the sun utilities are used I've done the

Created a bin directory in my home directory, and added it first to my path.
I then made symbolic links to /opt/csw/bin (for example I have a symbolic
link named m4 to /opt/csw/bin/gm4). I did the same for all of these files:
as, cc, gcc, ld, m4, make, nm, sed, tar.

When I do a configure I checked the results and it appears that only gnu
utilites are chosen for the build.

I don't get any compile errors. Here is the last little bit:

 gcc -g -O2 -c sparc_mach_dep.S  -fPIC -DPIC -o .libs/sparc_mach_dep.o
 gcc -g -O2 -c sparc_mach_dep.S -o sparc_mach_dep.o >/dev/null 2>&1
/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.lowin32_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
make[3]: *** [libmonogc.la] Error 1
make[3]: Leaving directory `/home/mgwelch/Desktop/Downloads/mono-'make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mgwelch/Desktop/Downloads/mono-'make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mgwelch/Desktop/Downloads/mono-'
make: *** [all] Error 2

The only thing strange that I see is the line that starts "false cru". I'm
assuming that false command returns false and that is the "error".

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20060214/6af7ccb6/attachment.html

More information about the Mono-list mailing list