delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/06/18:17:10

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3ACE3B2E.986B1957@ece.gatech.edu>
Date: Fri, 06 Apr 2001 17:54:54 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.7 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: Chang_Shen AT progressive DOT com
CC: cygwin AT sources DOT redhat DOT com, gcoakley AT mqsoftware DOT com
Subject: Re: re :help glib under cygwin
References: <85256A26 DOT 006815B6 DOT 00 AT s65a0384 DOT prci DOT com>

There's been a lot of work recently 'cygwinizing' glib & gtk.  See this
mailing list for more info
http://groups.yahoo.com/group/gimpwin-dev/
but you'll probably need to get the latest CVS version of glib/gtk.  I
don't know if 1.3.x contain the required changes.

Also, you'll probably need to install an updated (trial release) version
of libtool from www.gnu.org (the cygwin version has not yet been
adapted...).  Ask the folks on the gimpwin-dev list for more info.

--Chuck

Chang_Shen AT progressive DOT com wrote:
> 
> I tried with glib-1.2.8, 1.3.2,  and 1.3.3
> Please note, glic is not glibc
> When I changed
> gchar *g_strsignal();
> 
> to
> const gchar *s_strsignal();
> I got those error message from make
> 
> make  all-recursive
> make[1]: Entering directory `/glib-1.2.8'
> Making all in .
> make[2]: Entering directory `/glib-1.2.8'
> make[2]: Leaving directory `/glib-1.2.8'
> Making all in gmodule
> make[2]: Entering directory `/glib-1.2.8/gmodule'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/glib-1.2.8/gmodule'
> Making all in gthread
> make[2]: Entering directory `/glib-1.2.8/gthread'
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..
> -I../gthread -DG_LOG_DOMAIN=\"GThread\"    -g -O2 -Wall  -D_REENTRANT -c
> gthread.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gthread -DG_LOG_DOMAIN=\"GThread\" -g
> -O2 -Wall -D_REENTRANT -c gthread.c -o gthread.o
> 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 `/glib-1.2.8/gthread'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/glib-1.2.8'
> make: *** [all-recursive-am] Error 2
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019