[Mono-devel-list] Build failed for mono 0.29 on Windows
Giovanni Zito
gzito at mbox.thunder.it
Sat Jan 3 05:16:04 EST 2004
I'm trying to building mono 0.29 on Cygwin, with no success.
Windows version: Windows XP with service pack 1
cygwin1.dll product version: 1.1.6
I started from mono packaged version, and used the following command line:
./configure --with-gc=included && make
I've got the following error, while compiling libgc-mono
(gcc version is 2.95.2-5)
gcc -DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\" -DPACKAGE
_VERSION=\"6.2\" "-DPACKAGE_STRING=\"libgc-mono
6.2\"" -DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\" -DGC_WIN32_THREADS=1 -DNO_G
ETENV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STASIGNALS=1 -DNO_E
XECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLL
ECTABLE=1 -D_IN_LIBGC=1 -I./include -I./include -fexceptions -g -O2 -fexcept
ions -c misc.c -Wp,-MD,.deps/misc.TPlo -DDLL_EXPORT -DPIC -o .libs/misc.lo
misc.c:51: `PTHREAD_MUTEX_INITIALIZER' undeclared here (not in a function)
So I switched on MinGW (latest version 3.01) with Cygwin.
./configure --with-gc=included && make
(gcc version is 3.2.3)
gcc -DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\" -DPACKAGE_VERSION=\"6.2\" "-DPACKAGE_STRING=\"libgc-mono 6.2\"" -DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\" -DGC_WIN32_THREADS=1 -DNO_GETENV=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 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1 -I./include -I./include -fexceptions -g -O2 -fexceptions -c win32_threads.c -MT win32_threads.lo -MD -MP -MF .deps/win32_threads.TPlo -DDLL_EXPORT -DPIC -o .libs/win32_threads.lo
win32_threads.c:406: conflicting types for `GC_CreateThread'
include/gc.h:898: previous declaration of `GC_CreateThread'
win32_threads.c:477: warning: static declaration for `thread_start' follows non-static
make[3]: *** [win32_threads.lo] Error 1
Has anyone out there successfully build mono-029 on Windows?
On the mono site there isn't a binary version for Windows.... this sounds very strange.
Any kind of help will be appreciated.
G.Z.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040103/eaf183d3/attachment.html
More information about the Mono-devel-list
mailing list