Re: glib bug(?)
- From: Owen Taylor <otaylor redhat com>
- To: jgarzik pobox com
- Cc: dlux dlux sch bme hu (Szabo Balazs), gnome-list gnome org
- Subject: Re: glib bug(?)
- Date: 15 Dec 1998 11:09:06 -0500
Jeff Garzik <jgarzik@pobox.com> writes:
> Szabo, Balazs wrote:
> >
> > 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?
>
> This is a warning message you can ignore.
>
> GLib currently doesn't act like Gtk+ and discover your thread libraries,
> you have to tell it by hand.
>
> glibc2 does indeed contain threading support, so you need to do
>
> ./configure --with-threads=posix
GTK+ never discovered your thread libraries.
GLib is supposed to.
Do you have libpthread.so?
what does:
nm /usr/lib/libpthread.so | grep pthread_cond_init
show?
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]