#19555 [Fbk->Opn]: GNU pthreads issue?
| From: | ralf dot hildebrandt at charite dot de | Date: | Mon, 09 Dec 2002 08:45:37 +0000 |
| Subject: | #19555 [Fbk->Opn]: GNU pthreads issue? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27140@lists.php.net to get a copy of this message | ||
ID: 19555
User updated by: ralf.hildebrandt@charite.de
Reported By: ralf.hildebrandt@charite.de
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: HP-UX 10.20
PHP Version: 4.2.3
New Comment:
The new snapshot http://snaps.php.net/php4-latest.tar.gz
fails differently now:
...
/bin/ksh libtool --silent --mode=compile gcc
-Iext/standard/
-I/users2/gnu/php4-200212090630/ext/standard/
-DPHP_ATOM_INC -I/users2/gnu/php4-200212090630/include
-I/users2/gnu/php4-200212090630/main
-I/users2/gnu/php4-200212090630
-I/usr/local/apache2/include
-I/users2/gnu/php4-200212090630/Zend
-I/users2/gnu/php4-200212090630/ext/xml/expat
-I/users2/gnu/php4-200212090630/TSRM -O
-I/users2/local/include -prefer-pic -c
/users2/gnu/php4-200212090630/ext/standard/dns.c -o
ext/standard/dns.lo
/users2/gnu/php4-200212090630/ext/standard/dns.c: In
function `zif_dns_check_record':
/users2/gnu/php4-200212090630/ext/standard/dns.c:244:
`T_AAAA' undeclared (first use in this function)
/users2/gnu/php4-200212090630/ext/standard/dns.c:244:
(Each undeclared identifier is reported only once
/users2/gnu/php4-200212090630/ext/standard/dns.c:244: for
each function it appears in.)
make: *** [ext/standard/dns.lo] Error 1
Previous Comments:
------------------------------------------------------------------------
[2002-12-07 01:37:42] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Instead of --with-tsrm-pth try using --enable-experimental-zts
------------------------------------------------------------------------
[2002-09-23 03:04:35] ralf.hildebrandt@charite.de
When building PHP-4.2.3 I use:
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-tsrm-pth
During make I get:
> make
Making all in Zend
make[1]: Entering directory
`/mnt/disk4/gnu/php-4.2.3/Zend'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mnt/disk4/gnu/php-4.2.3/Zend'
Making all in main
make[1]: Entering directory
`/mnt/disk4/gnu/php-4.2.3/main'
make[2]: Entering directory
`/mnt/disk4/gnu/php-4.2.3/main'
/bin/ksh /users2/gnu/php-4.2.3/libtool --silent
--mode=compile gcc -I. -I/users2/gnu/php-4.2.3/main
-I/users2/gnu/php-4.2.3/main -I/users2/gnu/php-4.2.3
-I/usr/local/apache2/include -I/users2/gnu/php-4.2.3/Zend
-I/users2/gnu/php-4.2.3/ext/mysql/libmysql
-I/users2/gnu/php-4.2.3/ext/xml/expat -D_REENTRANT
-I/users2/gnu/php-4.2.3/TSRM -I/users2/local/include
-DTHREAD=1 -O -I/users2/local/include -DZTS -prefer-pic
-c main.c
cc1: warning: changing search order for system directory
"/users2/local/include"
cc1: warning: as it has already been specified as a
non-system directory
In file included from main.c:26:
php.h:114: conflicting types for `socklen_t'
/users2/local/include/pth.h:53: previous declaration of
`socklen_t'
make[2]: *** [main.lo] Error 1
make[2]: Leaving directory `/mnt/disk4/gnu/php-4.2.3/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/disk4/gnu/php-4.2.3/main'
make: *** [all-recursive] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19555&edit=1