Date: 06/30/00
- Next message: Michal Pakula: "[PHP-INST] PHP4 doesn't work :-("
- Previous message: Alexei Yudichev: "[PHP-INST] I was unable to install php4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello php-install,
My previous mail was incomplete. Here's part of config.log with
complete error message:
php-4.0.0, freebsd 4.0-release.
--------------------------------config.log-------------------------------------------
...
configure:2413: gcc -o conftest -g -O2 conftest.c 1>&5
/tmp/ccN57739.o: In function `main':
/usr/src/php-4.0.0/configure(.text+0x1d): undefined reference to `pthread_mutexattr_init'
/usr/src/php-4.0.0/configure(.text+0x31): undefined reference to `pthread_create'
configure: failed program was:
#line 2395 "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);
}
configure:2433: checking for pthreads_cflags
configure:2466: gcc -o conftest -g -O2 -pthreads conftest.c 1>&5
gcc: unrecognized option `-pthreads'
/tmp/ccB57754.o: In function `main':
/usr/src/php-4.0.0/configure(.text+0x1d): undefined reference to `pthread_mutexattr_init'
/usr/src/php-4.0.0/configure(.text+0x31): undefined reference to `pthread_create'
configure: failed program was:
#line 2448 "configure"
#include "confdefs.h"
#include <pthread.h>
#include <stddef.h>
----------------------------------------------------------------------------------
-- Best regards, Alexei mailto:ayud <email protected>-- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-install-unsubscribe <email protected> For additional commands, e-mail: php-install-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Michal Pakula: "[PHP-INST] PHP4 doesn't work :-("
- Previous message: Alexei Yudichev: "[PHP-INST] I was unable to install php4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

