Bugzilla – Bug 313432
Libgc ./configure and make problem on Windows
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by derek.mcumber@datamtnsol.com 2003-12-22 07:26:11 MST ---- Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: ./mono-build-w32.sh build on Win2000 of CVS Mono Runtime fails on libgc. After changing libgc/configure to allow build to continue (initial try with out of box configure file says 'not allowed to build libgc, included in 'mono') Steps to reproduce the problem: 1. Deleted 3 if statement lines that halt confgiure above this line and hardcode THREADS to: THREADS="pthreads" This allows ./configure to complete, but now a make of libmonogc.al will not fail with: gcc -mno-cygwin -DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc- mono\" - DPACKAGE_VERSION=\"6.2\" "-DPACKAGE_STRING=\"libgc-mono 6.2\"" - DPACKAGE_BUGREPO RT=\"Hans_Boehm@hp.com\" -DGC_WIN32_THREADS=1 -DSTDC_HEADERS=1 - DHAVE_SYS_TYPES_ H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 - DHAVE_MEMORY_H=1 -D HAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 - DSILEN T=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 - DGC_GCJ_SUPP ORT=1 -DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1 -I. -I. -I./include - I./include -fe xceptions -g -O2 -fexceptions -Wp,-MD,.deps/win32_threads.pp -c win32_threads.c -DDLL_EXPORT -DPIC -o .libs/win32_threads.lo win32_threads.c:406: error: conflicting types for `GC_CreateThread' include/gc.h:898: error: previous declaration of `GC_CreateThread' win32_threads.c:477: warning: static declaration for `thread_start' follows non- static make[1]: *** [win32_threads.lo] Error 1 make[1]: Leaving directory `/home/Administrator/mono/libgc' make: *** [all-recursive] Error 1 Actual Results: Expected Results: How often does this happen? Every time. Additional Information: Are there instructions out there to get a successful build on Cygwin since the libgc change to libmonogc? ---- Additional Comments From vargaz@freemail.hu 2004-05-28 08:35:08 MST ---- This should be fixed in CVS. Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>Win2000</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other".