[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fwd: More APR fun (was Re: undefined reference to `pthread_mutexattr_i
From: |
Bruce Korb |
Subject: |
[Fwd: More APR fun (was Re: undefined reference to `pthread_mutexattr_init' in apr?)] |
Date: |
Mon, 30 Oct 2000 08:18:40 -0800 |
Hi Alexandre (or someone on autoconf),
Just wondering if this might ring any bells for anyone.
If someone already knows of the causes and workarounds,
advice is easier than trial-and-error research....
Thanks!!
Bruce
From: Matthew Braithwaite <address@hidden>
Reply-To: address@hidden
To: address@hidden
CC: address@hidden
References: <address@hidden>
I've noticed something interesting w.r.t. these [config] errors while refining
my autobuild script: I get the sort of errors Fitz describes when I
follow his steps, *but*, if I run `configure' twice in a row, I don't!
So this may explain this problem's odd persistence -- unless you start
absolutely clean, you might think you've gotten rid of the root cause
of the problem, when in fact you haven't.
Here is a diff of the output from subsequent runs of `configure',
after elimination of the string `(cached) ' from both. In the second
run, note that the compiler is `cc -pthread'. This would have the
same effect as what Branko suggested, no?
I bet there is somebody listening who could debug this about five
times faster than me. :-) My system is FreeBSD 4.1.something -- Fitz,
you maybe want to check if you see the same thing under Linux?
*** configure-output Mon Oct 30 00:04:02 2000
--- configure-again-output Mon Oct 30 00:03:51 2000
***************
*** 1,4 ****
! creating cache ./config.cache
creating config.nice
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
--- 1,4 ----
! loading cache ./config.cache
creating config.nice
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
***************
*** 150,155 ****
--- 150,156 ----
creating Makefile
creating mm-config
creating mm_conf.h
+ mm_conf.h is unchanged
Now please type `make' to compile. Good luck.
***************
*** 271,278 ****
checking for dlopen... yes
Checking for Threads...
! checking for threads... checking for pthread.h... yes
! pthread
checking for pthreads_cflags... -pthread
checking for pthreads_lib...
checking for pthread.h... yes
--- 272,278 ----
checking for dlopen... yes
Checking for Threads...
! checking for threads... pthread
checking for pthreads_cflags... -pthread
checking for pthreads_lib...
checking for pthread.h... yes
***************
*** 325,330 ****
--- 325,332 ----
creating include/apr.h
creating APRVARS
creating include/apr_private.h
+ include/apr.h is unchanged
+ include/apr_private.h is unchanged
apr configured properly
loading cache ./config.cache
updating cache ./config.cache
***************
*** 386,396 ****
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for OpenSSL... not found
- updating cache .././config.cache
creating ./config.status
creating Makefile
creating neon-config
creating config.h
Using configuration for building neon 0.7.5:
--- 388,398 ----
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for OpenSSL... not found
creating ./config.status
creating Makefile
creating neon-config
creating config.h
+ config.h is unchanged
Using configuration for building neon 0.7.5:
***************
*** 408,415 ****
neon configured properly
loading cache ./config.cache
checking for gcc... gcc
! checking whether the C compiler (gcc ) works... yes
! checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether ln -s works... yes
--- 410,417 ----
neon configured properly
loading cache ./config.cache
checking for gcc... gcc
! checking whether the C compiler (gcc -pthread ) works... yes
! checking whether the C compiler (gcc -pthread ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether ln -s works... yes
***************
*** 482,484 ****
--- 484,487 ----
creating subversion/mod_dav_svn/Makefile
creating subversion/mod_dav_svn/tests/Makefile
creating config.h
+ config.h is unchanged
- [Fwd: More APR fun (was Re: undefined reference to `pthread_mutexattr_init' in apr?)],
Bruce Korb <=