[PHP-DEV] Bug #12342 Updated: error in configuration with pthread

2001-07-30 Thread longinos . ferrando

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

I get some warnings:
zlib_fopen_wrapper.c:59: warning: initialization from incompatible pointer type
bz2.c: In function `php_bz2_error':
bz2.c:408: warning: initialization discards qualifiers from pointer target type
bz2.c:414: warning: passing arg 4 of `add_assoc_string_ex' discards qualifiers f
rom pointer target type
oracle.c: In function `php_minit_oracle':
oracle.c:298: warning: passing arg 1 of `zend_register_list_destructors_ex' from
 incompatible pointer type
oracle.c:299: warning: passing arg 2 of `zend_register_list_destructors_ex' from
 incompatible pointer type
yp.c: In function `php_if_yp_err_string':
yp.c:350: warning: assignment discards qualifiers from pointer target type

No php executable file is generated. No  libphp4.so is generated. Only  libphp4.la in 
the root directory and no modules is generated only libphp_java.la  and ibphp_java.so 
is generated in directory modules. 

Previous Comments:


[2001-07-27 13:50:42] [EMAIL PROTECTED]

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

--Jani




[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  15
/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  15
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=12342edit=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]




[PHP-DEV] Bug #12342 Updated: error in configuration with pthread

2001-07-30 Thread sniper

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:

Try this:

# rm config.cache
# ./configure
# make clean ; make

Do you get 'php' binary now?

--Jani


Previous Comments:


[2001-07-30 05:05:32] [EMAIL PROTECTED]

I get some warnings:
zlib_fopen_wrapper.c:59: warning: initialization from incompatible pointer type
bz2.c: In function `php_bz2_error':
bz2.c:408: warning: initialization discards qualifiers from pointer target type
bz2.c:414: warning: passing arg 4 of `add_assoc_string_ex' discards qualifiers f
rom pointer target type
oracle.c: In function `php_minit_oracle':
oracle.c:298: warning: passing arg 1 of `zend_register_list_destructors_ex' from
 incompatible pointer type
oracle.c:299: warning: passing arg 2 of `zend_register_list_destructors_ex' from
 incompatible pointer type
yp.c: In function `php_if_yp_err_string':
yp.c:350: warning: assignment discards qualifiers from pointer target type

No php executable file is generated. No  libphp4.so is generated. Only  libphp4.la in 
the root directory and no modules is generated only libphp_java.la  and ibphp_java.so 
is generated in directory modules. 



[2001-07-27 13:50:42] [EMAIL PROTECTED]

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

--Jani




[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  15
/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  15
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=12342edit=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]




[PHP-DEV] Bug #12342 Updated: error in configuration with pthread

2001-07-30 Thread sniper

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

User error. (read INSTALL file next time..)


Previous Comments:


[2001-07-30 06:00:34] [EMAIL PROTECTED]

Try this:

# rm config.cache
# ./configure
# make clean ; make

Do you get 'php' binary now?

--Jani




[2001-07-30 05:05:32] [EMAIL PROTECTED]

I get some warnings:
zlib_fopen_wrapper.c:59: warning: initialization from incompatible pointer type
bz2.c: In function `php_bz2_error':
bz2.c:408: warning: initialization discards qualifiers from pointer target type
bz2.c:414: warning: passing arg 4 of `add_assoc_string_ex' discards qualifiers f
rom pointer target type
oracle.c: In function `php_minit_oracle':
oracle.c:298: warning: passing arg 1 of `zend_register_list_destructors_ex' from
 incompatible pointer type
oracle.c:299: warning: passing arg 2 of `zend_register_list_destructors_ex' from
 incompatible pointer type
yp.c: In function `php_if_yp_err_string':
yp.c:350: warning: assignment discards qualifiers from pointer target type

No php executable file is generated. No  libphp4.so is generated. Only  libphp4.la in 
the root directory and no modules is generated only libphp_java.la  and ibphp_java.so 
is generated in directory modules. 



[2001-07-27 13:50:42] [EMAIL PROTECTED]

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

--Jani




[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  15
/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  15
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=12342edit=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]




[PHP-DEV] Bug #12342 Updated: error in configuration with pthread

2001-07-27 Thread sniper

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  15
/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  15
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=12342edit=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]