[Mono-list] GLib Installation

Gaurav Vaish gvaish@iitk.ac.in
Wed, 7 Nov 2001 13:51:50 +0530


I now have a even more large error... in size:

    Can anyone mail me the code that he used to compile glib-1.2.10 - I mean
the whole tar-ball? May be that can help. Or why not just the glib and
glib-* tools (*.exe). I have Windows 2000 [Version 5.00.2195]. I'll simply
put them in place.

------------------
In file included from gthread.c:42:
gthread-posix.c: In function `g_cond_new_posix_impl':
gthread-posix.c:93: `pthread_cond_t' undeclared (first use in this function)
gthread-posix.c:93: (Each undeclared identifier is reported only once
gthread-posix.c:93: for each function it appears in.)
gthread-posix.c:93: parse error before `)'
gthread-posix.c:94: warning: implicit declaration of function
`pthread_cond_init'
gthread-posix.c:94: parse error before `)'
gthread-posix.c: In function `g_cond_timed_wait_posix_impl':
gthread-posix.c:127: warning: implicit declaration of function
`pthread_cond_timedwait'
gthread-posix.c:127: `pthread_cond_t' undeclared (first use in this
function)
gthread-posix.c:127: parse error before `)'
gthread-posix.c:111: warning: `result' might be used uninitialized in this
function
gthread-posix.c: In function `g_cond_free_posix_impl':
gthread-posix.c:143: warning: implicit declaration of function
`pthread_cond_destroy'
gthread-posix.c:143: `pthread_cond_t' undeclared (first use in this
function)
gthread-posix.c:143: parse error before `)'
gthread-posix.c: In function `g_private_new_posix_impl':
gthread-posix.c:152: too many arguments to function `pthread_key_create'
gthread-posix.c: In function `g_private_set_posix_impl':
gthread-posix.c:165: incompatible type for argument 1 of
`pthread_setspecific'
gthread-posix.c: In function `g_private_get_posix_impl':
gthread-posix.c:174: incompatible type for argument 1 of
`pthread_getspecific'
gthread-posix.c: At top level:
gthread-posix.c:192: `pthread_cond_signal' undeclared here (not in a
function)
gthread-posix.c:192: initializer element is not constant
gthread-posix.c:192: (near initialization for
`g_thread_functions_for_glib_use_default.cond_signal')
gthread-posix.c:193: `pthread_cond_broadcast' undeclared here (not in a
function)
gthread-posix.c:193: initializer element is not constant
gthread-posix.c:193: (near initialization for
`g_thread_functions_for_glib_use_default.cond_broadcast')
gthread-posix.c:194: `pthread_cond_wait' undeclared here (not in a function)
gthread-posix.c:194: initializer element is not constant
gthread-posix.c:194: (near initialization for
`g_thread_functions_for_glib_use_default.cond_wait')
make[2]: *** [gthread.lo] Error 1
make[2]: Leaving directory `/cygdrive/d/compiler/glib-1.2.10/gthread'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/d/compiler/glib-1.2.10'
make: *** [all-recursive-am] Error 2
--------------------


Cheers,
Gaurav Vaish
----------------------------

----- Original Message -----
From: "Adam Treat" <manybooby@yahoo.com>
To: "Gaurav Vaish" <gvaish@iitk.ac.in>; <mono-list@ximian.com>
Sent: Wednesday, November 07, 2001 03:08
Subject: Re: [Mono-list] GLib Installation


: Gaurav,
:
: I think this link will point out the solution:
: http://www.cygwin.com/ml/cygwin/2001-04/msg01792.html
:
: Miguel,
:
: Here is the patch to download.html that includes this info.
:
: download
: ===================================================================
: @@ -145,6 +145,8 @@
:
:                 * Configure, compile and install glib, like this:
:
: +               * You also need a patch found <a
: href="http://www.cygwin.com/ml/cygwin/2001-04/msg01792.html">here</a>.
: +
:  <pre>
:  ./configure --prefix=/usr
:  make
:
:
: >On Tuesday 06 November 2001 09:34 am, Gaurav Vaish wrote:
: > Hello,
: >
: >     Today when I went to install glib-1.2.10 under cygwin, I got the
: > following errors...
: >
: > ---------------------------
: > gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2
: > -Wal l -D_REENTRANT -c gstrfuncs.c -o gstrfuncs.o
: > 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 `/cygdrive/d/compiler/glib-1.2.10'
: > make[1]: *** [all-recursive] Error 1
: > make[1]: Leaving directory `/cygdrive/d/compiler/glib-1.2.10'
: > make: *** [all-recursive-am] Error 2
: > ---------------------------
: >
: >     and glib did not compile. Please help!
: >
: >
: > Cheers,
: > Gaurav Vaish
: > ----------------------------
: >
: >
: > _______________________________________________
: > Mono-list maillist  -  Mono-list@ximian.com
: > http://lists.ximian.com/mailman/listinfo/mono-list