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

Duncan Mak duncan at ximian.com
Wed Oct 1 18:14:46 EDT 2003


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




More information about the Mono-devel-list mailing list