This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
error in compiling glib-1.2.8
- To: cygwin at sources dot redhat dot com
- Subject: error in compiling glib-1.2.8
- From: julie at MageNet dot com
- Date: Wed, 6 Dec 2000 15:46:54 -0500
Below is what I get when I try to make glib-1.2.8
Thanks,
Julie
Making all in gthread
make[2]: Entering directory `/home/julie/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:112: storage size of `end_time' isn't known
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:112: warning: unused variable `end_time'
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 `/home/julie/glib-1.2.8/gthread'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/julie/glib-1.2.8'
make: *** [all-recursive-am] Error 2
--
[ Julia Anne Case ] [ Ships are safe inside the harbor, ]
[Programmer at large] [ but is that what ships are really for. ]
[ Admining Linux ] [ To thine own self be true. ]
[ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com