Re: glib and threads
- From: Sebastian Wilhelmi <wilhelmi ira uka de>
- To: schaecsn <schaecsn gmx de>
- Cc: gtk-list redhat com
- Subject: Re: glib and threads
- Date: Fri, 22 Dec 2000 13:20:00 +0100
Hallo Stefan,
> I want to compile glib-1.2.8 with thread suport on my linux-2.x system
> (x= 0.38 or 2.17, or 2.4.pre...) with libc5.4.46 an linuxthreads-0.71.
>
> ./configure reveals
> ------------------------------------------------------------------------------
> checking for pthread.h... yes
> checking for thread implementation... posix
> checking for pthread_attr_init in -lpthread... yes
> checking necessary linker options... -lpthread
> checking necessary compiler options... -D_REENTRANT
> checking for localtime_r... yes
> checking for rand_r... no
> checking for getpwuid_r... no
> checking whether pthread_getspecific is posix like... yes
> checking whether pthread_mutex_trylock is posix like... yes
> checking whether pthread_cond_timedwait is posix like... yes
> configure: warning: the 'g_get_(user_name|real_name|home_dir|tmp_dir)'
> functions will not be MT-safe during their first call
> because
> there is no working 'getpwuid_r' on your system.
> checking size of pthread_mutex_t... 24
> checking byte contents of pthread_mutex_t...
> 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
> checking system definitions for POLLIN POLLOUT POLLPRI POLLERR POLLHUP
> POLLNVAL... done
> ------------------------------------------------------------------------------
>
> ops a warning, in which library is getpwuid_r (and rand_r) supposed to
> be implemented? where can I get it, I can get it?
>
> thanks for any help.
>
> oh, and please also "cc:" to me (schaecsn gmx de) if not already done
> automatically because I have not subcribed to the mailing list.
This functions should be in libc. But as you prefer to use a prehistoric libc
(2,5 years old), you get what you deserve. Change to libc6 aka glibc2. Besides
this is just a warning and means exactly what it says.
Ciao,
Sebastian
--
Sebastian Wilhelmi
mailto:wilhelmi ira uka de
http://goethe.ira.uka.de/~wilhelmi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]