[Mono-devel-list] Some thoughts on the windows build

Todd Berman tberman at gentoo.org
Thu Oct 2 09:42:26 EDT 2003


I was actually, via a diff I posted here a bit ago, (don't have it
anymore) able to get an actual mono binary that didn't require any
cygwin stuff and used the included libgc.

However, it segfaulted right upon JIT execution :). I am not sure what
is going on, not much of a win32 build guy.

--Todd


> -----Original Message-----
> From: mono-devel-list-admin at lists.ximian.com [mailto:mono-devel-list-
> admin at lists.ximian.com] On Behalf Of Duncan Mak
> Sent: October 1, 2003 6:15 PM
> To: Johannes Roith
> Cc: mono-devel-list at ximian.com
> Subject: Re: [Mono-devel-list] Some thoughts on the windows build
> 
> A bit more info:
> 
> We're also tried building with a pure libgc release from hp.com.
> Although libgc built without any errors, the subsequent mono build
> results in similar errors as those described in case 2.
> 
> Duncan.
> 
> On Wed, 2003-10-01 at 17:37, Johannes Roith wrote:
> > Case 2:
> >
> > This happens, when you use the .h files from the libgc-dev.zip file.
> >
> > gcc -mno-cygwin -O -g -Wall -Wunused -Wmissing-prototypes
> > -Wmissing-declarations
> >  -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
> > -Wpointer-arith -Wno-
> > cast-qual -Wcast-align -Wwrite-strings -I/usr/local/lib
-I/usr/local/lib
> > -o mono
> > sn.exe monosn.o -Wl,--export-dynamic
../metadata/.libs/libmetadata.al
> > ../io-lay
> > er/.libs/libwapi.al ../utils/.libs/libmonoutils.al
> > /usr/local/lib/libgc.a -lpthr
> > ead -L/home/Administrator/install/lib -lgthread-2.0 -lgmodule-2.0
> > -lglib-2.0 .li
> > bs/libimp-cygintl-2.a -L/usr/lib .libs/libimp-cygiconv-2.a -lws2_32
> > -lpsapi
> > /usr/local/lib/libgc.a(os_dep.o)(.text+0x28): In function
> > `GC_disable_signals':
> > /home/work/w3m/build/gc6.2/os_dep.c:558: undefined reference to
> > `sigprocmask'
> >
/usr/local/lib/libgc.a(os_dep.o)(.text+0x38):/home/work/w3m/build/gc6.2/
> > os_dep.c
> > :535: undefined reference to `sigfillset'
> >
/usr/local/lib/libgc.a(os_dep.o)(.text+0x4c):/home/work/w3m/build/gc6.2/
> > os_dep.c
> > :537: undefined reference to `sigdelset'
> >
/usr/local/lib/libgc.a(os_dep.o)(.text+0x60):/home/work/w3m/build/gc6.2/
> > os_dep.c
> > :538: undefined reference to `sigdelset'
> >
/usr/local/lib/libgc.a(os_dep.o)(.text+0x74):/home/work/w3m/build/gc6.2/
> > os_dep.c
> > :539: undefined reference to `sigdelset'
> >
/usr/local/lib/libgc.a(os_dep.o)(.text+0x88):/home/work/w3m/build/gc6.2/
> > os_dep.c
> > :541: undefined reference to `sigdelset'
> >
/usr/local/lib/libgc.a(os_dep.o)(.text+0x9c):/home/work/w3m/build/gc6.2/
> > os_dep.c
> > :547: undefined reference to `sigdelset'
> >
/usr/local/lib/libgc.a(os_dep.o)(.text+0xb0):/home/work/w3m/build/gc6.2/
> > os_dep.c
> > :550: more undefined references to `sigdelset' follow
> > /usr/local/lib/libgc.a(os_dep.o)(.text+0xee): In function
> > `GC_enable_signals':
> > /home/work/w3m/build/gc6.2/os_dep.c:567: undefined reference to
> > `sigprocmask'
> > /usr/local/lib/libgc.a(os_dep.o)(.text+0x199): In function
> > `GC_unix_get_mem':
> > /home/work/w3m/build/gc6.2/os_dep.c:1569: undefined reference to
`sbrk'
> >
/usr/local/lib/libgc.a(os_dep.o)(.text+0x1ba):/home/work/w3m/build/gc6.2
> > /os_dep.
> > c:1574: undefined reference to `sbrk'
> >
/usr/local/lib/libgc.a(os_dep.o)(.text+0x1c5):/home/work/w3m/build/gc6.2
> > /os_dep.
> > c:1576: undefined reference to `sbrk'
> > make[4]: *** [monosn.exe] Error 1
> > make[4]: Leaving directory
> > `/cygdrive/d/mono-0.28/mono-0.28/mono/metadata'
> > make[3]: *** [all] Error 2
> > make[3]: Leaving directory
> > `/cygdrive/d/mono-0.28/mono-0.28/mono/metadata'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/cygdrive/d/mono-0.28/mono-0.28/mono'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/cygdrive/d/mono-0.28/mono-0.28'
> > make: *** [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