Re: [gtk-list] ./configure fails on Slackware Linux
- From: "David C. Hoos, Sr." <david c hoos sr ada95 com>
- To: "Jeff Garzik" <jgarzik pobox com>
- Cc: <gtk-devel-list redhat com>, "GTK List" <gtk-list redhat com>
- Subject: Re: [gtk-list] ./configure fails on Slackware Linux
- Date: Fri, 5 Feb 1999 09:51:25 -0600
-----Original Message-----
From: Jeff Garzik <jgarzik@pobox.com>
To: David C. Hoos, Sr. <david.c.hoos.sr@ada95.com>
Cc: gtk-devel-list@redhat.com <gtk-devel-list@redhat.com>
Date: Friday, February 05, 1999 7:43 AM
Subject: Re: [gtk-list] ./configure fails on Slackware Linux
<large snip>
>
>You are missing libpthread.so, it appears.
>
>I am not sure if gcc has some magic to determine shared library names,
>so try "cd /lib ; ln -s libpthread.so.0 libpthread.so" and then re-run
>configure.
>
Thanks for the quick response. The symbolic link allowed configure to complete, but with a warning, viz.:
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 'getpwuid_r' on your system.
I pass it along for whatever it's worth.
Is this something I can correct?
Is it related to the large disparity between the size of libpthread-0.7.so between Slackware 3.6 (2.0.35),
and Redhat 5.2 (2.0.36)? I.e. on Slackware:
-rwxr-xr-x 1 root root 49492 Oct 24 23:09 /lib/libpthread-0.7.so
and on RedHat:
-rwxr-xr-x 1 root root 198784 Oct 13 04:37 /lib/libpthread-0.7.so
I am, for political reasons, constrained to use Slackware at the moment, but am gathering ammunition (of which I already have a
significant amount) for using RedHat. Perhaps this is some more.
Do you know the reason for this large disparity?
Then make failed. I pass along the output of make, for whatever it's worth.
Again, thanks for any illumination.
David C. Hoos, Sr.
Here's the output of make (second time around):
make all-recursive
make[1]: Entering directory `/home/hoosd/GTK/glib-1.1.15'
Making all in .
make[2]: Entering directory `/home/hoosd/GTK/glib-1.1.15'
make[2]: Leaving directory `/home/hoosd/GTK/glib-1.1.15'
Making all in gmodule
make[2]: Entering directory `/home/hoosd/GTK/glib-1.1.15/gmodule'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/hoosd/GTK/glib-1.1.15/gmodule'
Making all in gthread
make[2]: Entering directory `/home/hoosd/GTK/glib-1.1.15/gthread'
/bin/sh ../libtool --mode=compile
cc -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 -fPIC -DPIC gthread.c -o
gthread.lo
gthread-posix.c: In function `g_mutex_new_posix_impl':
In file included from gthread.c:35:
gthread-posix.c:48: warning: implicit declaration of function `pthread_mutex_init'
gthread-posix.c: In function `g_mutex_free_posix_impl':
gthread-posix.c:55: warning: implicit declaration of function `pthread_mutex_destroy'
gthread-posix.c: In function `g_mutex_trylock_posix_impl':
gthread-posix.c:71: warning: implicit declaration of function `pthread_mutex_trylock'
gthread-posix.c: In function `g_cond_new_posix_impl':
gthread-posix.c:82: `pthread_cond_t' undeclared (first use in this function)
gthread-posix.c:82: (Each undeclared identifier is reported only once
gthread-posix.c:82: for each function it appears in.)
gthread-posix.c:82: parse error before `)'
gthread-posix.c:83: warning: implicit declaration of function `pthread_cond_init'
gthread-posix.c:83: parse error before `)'
gthread-posix.c: In function `g_cond_timed_wait_posix_impl':
gthread-posix.c:116: warning: implicit declaration of function `pthread_cond_timedwait'
gthread-posix.c:116: `pthread_cond_t' undeclared (first use in this function)
gthread-posix.c:116: parse error before `)'
gthread-posix.c:100: warning: `result' might be used uninitialized in this function
gthread-posix.c: In function `g_cond_free_posix_impl':
gthread-posix.c:128: warning: implicit declaration of function `pthread_cond_destroy'
gthread-posix.c:128: `pthread_cond_t' undeclared (first use in this function)
gthread-posix.c:128: parse error before `)'
gthread-posix.c: In function `g_private_new_posix_impl':
gthread-posix.c:136: warning: implicit declaration of function `pthread_key_create'
gthread-posix.c: In function `g_private_set_posix_impl':
gthread-posix.c:150: warning: implicit declaration of function `pthread_setspecific'
gthread-posix.c: At top level:
gthread-posix.c:165: `pthread_mutex_lock' undeclared here (not in a function)
gthread-posix.c:165: initializer element for `g_thread_functions_for_glib_use_default.mutex_lock' is not constant
gthread-posix.c:167: `pthread_mutex_unlock' undeclared here (not in a function)
gthread-posix.c:167: initializer element for `g_thread_functions_for_glib_use_default.mutex_unlock' is not constant
gthread-posix.c:170: `pthread_cond_signal' undeclared here (not in a function)
gthread-posix.c:170: initializer element for `g_thread_functions_for_glib_use_default.cond_signal' is not constant
gthread-posix.c:171: `pthread_cond_broadcast' undeclared here (not in a function)
gthread-posix.c:171: initializer element for `g_thread_functions_for_glib_use_default.cond_broadcast' is not constant
gthread-posix.c:172: `pthread_cond_wait' undeclared here (not in a function)
gthread-posix.c:172: initializer element for `g_thread_functions_for_glib_use_default.cond_wait' is not constant
make[2]: *** [gthread.lo] Error 1
make[2]: Leaving directory `/home/hoosd/GTK/glib-1.1.15/gthread'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hoosd/GTK/glib-1.1.15'
make: *** [all-recursive-am] Error 2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]