glib bug(?)



Hi!

I  downloaded  the glib  from  the  cvs, and  I  got  a message  in  the
configure:

[...]
checking for preceeding underscore in symbols... no
checking for dlerror... yes
checking for pthread_cond_init in -lpthread... no
checking for pthread_attr_init in -lpthreads... no
checking for PRP_NewNakedCondVar in -lnspr21... no
checking  for thread  implementation... configure:  warning: You  do not
have any known  thread system on your computer. glib will  not be thread
safe on your computer. none
checking necessary linker options...
updating cache ./config.cache
creating ./config.status
creating Makefile
[...]

I  have glibc2  isntalled,  why  I need  pthreads?  I  knew that  glibc2
contains threading support, isn't it?

After that, I tried to compile, and I got error msg:

[...]
gcc     -DHAVE_CONFIG_H    -I.     -I.     -I..    -I..     -I../gthread
-DG_LOG_DOMAIN=g_log_domain_gthread     -I/opt/freetype/include    -Wall
-Wp,-MD,.deps/gthread.p -c -fPIC -DPIC gthread.c
gthread.c: In function `g_thread_init':
gthread.c:53:    `g_thread_functions_for_glib_use_default'    undeclared
(first use in this function)
gthread.c:53: (Each undeclared identifier is reported only once
gthread.c:53: for each function it appears in.)
gthread-none.c: At top level:
gthread-none.c:28:   warning:   `g_mutex_functions_for_glib_use_default'
defined but not used
make[2]: *** [gthread.lo] Error 1
make[2]:                        Leaving                        directory
`/usr/local/packages/gnome/src/glib/gthread'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/packages/gnome/src/glib'
make: *** [all-recursive-am] Error 2

dLux
--
== Whip me. Beat me. Make me maintain AIX ==



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]