PHP4 Building
| From: | Patrick Lanphier | Date: | Tue, 19 Sep 2000 14:28:16 +0000 |
| Subject: | PHP4 Building | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2460@lists.php.net to get a copy of this message | ||
In my config.log file I receive the following error, any ideas? I'm using
glibc-devel-2.1.3-21 glibc-2.1.3-21.
configure:2569: gcc -o conftest -g -O2 -kthread -I/usr/include
-L/usr/lib/gcc-lib/i586-mandrake- linux/2.95.3 conftest.c 1>&5
gcc: unrecognized option `-kthread'
/tmp/cckyXM6P.o: In function `main':
/home/php-4.0.2/configure:2564: undefined reference to
`pthread_mutexattr_init'
/home/php-4.0.2/configure:2565: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2551 "configure"
#include "confdefs.h"
#include <pthread.h>
#include <stddef.h>
void *thread_routine(void *data) {
return data;
}
int main() {
pthread_t thd;
pthread_mutexattr_t mattr;
int data = 1;
pthread_mutexattr_init(&mattr);
return pthread_create(&thd, NULL, thread_routine, &data);
}
Patrick Lanphier
The Artemis Group
http://www.artemisgroup.com