ID: 12342
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: PHP options/info functions
Operating System: RH 7.1
PHP Version: 4.0.6
New Comment:

I get similar 'errors' in config.log but it's normal.
More important are the errors you during 'make' ??
What are they?

--Jani


Previous Comments:
------------------------------------------------------------------------

[2001-07-24 11:21:27] [EMAIL PROTECTED]

make version 3.79.1
automake version 1.4
gcc version 2.96
kernel 2.4.3-12enterprise
when run ./configure \
        --prefix=/usr \
        --disable-debug \
        --enable-pic \
        --enable-shared \
        --enable-inline-optimization \
        $* \
        --with-exec-dir=/usr/bin \
        --with-regex=system \
        --with-gettext \
        --with-gd \
        --with-jpeg-dir=/usr \
        --with-config-file-path=/etc \
        --with-png \
        --with-zlib \
        --with-bz2 \
        --with-gdbm \
        --with-mysql \
        --without-db2 \
        --without-db3 \
        --enable-debugger \
        --enable-magic-quotes \
        --enable-safe-mode \
        --enable-sockets \
        --enable-sysvsem \
        --enable-sysvshm \
        --enable-track-vars \
        --enable-yp \
        --enable-ftp \
        --enable-wddx \
        --with-oracle \
        --with-oci8 \
        --with-xml \
        --with-java \
        --with-smtp
I have no errors in the screen but in the config.log I get a lot of error messages 
same as:
configure:2572: gcc -o conftest -g -O2   conftest.c  1>&5
/tmp/ccarKgpO.o: In function `main':
/varios/php-4.0.6/configure:2567: undefined reference to `pthread_mutexattr_init'
/varios/php-4.0.6/configure:2568: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2554 "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:2592: checking for pthreads_cflags
configure:2625: gcc -o conftest -g -O2 -kthread   conftest.c  1>&5
gcc: unrecognized option `-kthread'
/tmp/ccVNfWDx.o: In function `main':
/varios/php-4.0.6/configure:2620: undefined reference to `pthread_mutexattr_init'
/varios/php-4.0.6/configure:2621: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2607 "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);
}

 and then the make does´t run properly.
Same as the 9788 bug but without the --with-crack option.



------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=12342&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to