[Mono-list] Making MCS --> Problems trying to make glib under cygwin

Masbout, Abel (A.) amasbout@ford.com
Fri, 28 Sep 2001 09:54:37 -0400

Hi, Could anybody help me?

I've been trying to make mcs and the class libraries. I've followed the necessary steps from http://www.go-mono.com/download.html, but I ran into some problems:

    - I've installed Cygwin successfully.
    - I've downloaded GLIB, from: ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz 

	Once "untared" the glib distribution: $ tar xzvf glib-1.2.10.tar.gz, I tried to configure it:

		$ ./configure --prefix=/usr
			That seemed to work fine, so next I typed:
		$ make
			But, after a few seconds, I got the following error messages:
				gstrfuncs.c: In function `g_strsignal':
				gstrfuncs.c:705: conflicting types for `strsignal'
				/usr/include/string.h:70: previous declaration of `strsignal'
				gstrfuncs.c:705: warning: extern declaration of `strsignal' doesn't match global one
				make[2]: *** [gstrfuncs.lo] Error 1
				make[2]: Leaving directory `/home/amasbout/glib-1.2.10'
				make[1]: *** [all-recursive] Error 1
				make[1]: Leaving directory `/home/amasbout/glib-1.2.10'
				make: *** [all-recursive-am] Error 2

	I've tried the same with autoconf 2.13 instead of autoconf 2.52 (after reading your advise in the web 	site), but I got the same errors.

Thanks for your time!
Abel MJ