php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19555 GNU pthreads issue?
Submitted: 2002-09-23 03:04 UTC Modified: 2003-01-17 22:10 UTC
Votes:3
Avg. Score:4.3 ± 0.9
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: ralf dot hildebrandt at charite dot de Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4.4.0-dev OS: HP-UX 10.20
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ralf dot hildebrandt at charite dot de
New email:
PHP Version: OS:

 

 [2002-09-23 03:04 UTC] ralf dot hildebrandt at charite dot 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 
 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-07 01:37 UTC] 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-12-09 02:45 UTC] ralf dot hildebrandt at charite dot de
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
 [2002-12-09 05:51 UTC] sniper@php.net
Please try again in about 3-4 hours. I just committed a fix for this T_AAAA thing. (our snapshots are generated every 3 hours or so)

 [2002-12-10 07:53 UTC] ralf dot hildebrandt at charite dot de
I tried today's snapshot and got: 
/bin/ksh libtool --silent --mode=compile gcc  
-Isapi/apache2filter/ 
-I/users2/gnu/php4-200212101030/sapi/apache2filter/ 
-DPHP_ATOM_INC -I/users2/gnu/php4-200212101030/include 
-I/users2/gnu/php4-200212101030/main 
-I/users2/gnu/php4-200212101030 
-I/usr/local/apache2/include 
-I/users2/gnu/php4-200212101030/Zend 
-I/users2/gnu/php4-200212101030/ext/xml/expat  
-I/users2/gnu/php4-200212101030/TSRM  -O  -prefer-pic -c 
/users2/gnu/php4-200212101030/sapi/apache2filter/sapi_apache2.c 
-o sapi/apache2filter/sapi_apache2.lo 
In file included from 
/usr/local/apache2/include/apr_portable.h:90, 
                 from 
/usr/local/apache2/include/http_protocol.h:64, 
                 from 
/users2/gnu/php4-200212101030/sapi/apache2filter/sapi_apache2.c:41: 
/usr/local/include/pthread.h:183: conflicting types for 
`socklen_t' 
/users2/gnu/php4-200212101030/main/php.h:139: previous 
declaration of `socklen_t' 
make: *** [sapi/apache2filter/sapi_apache2.lo] Error 1 
 
by using: 
CFLAGS='-O' LDFLAGS='-L/lib/pa1.1' \ 
./configure --with-apxs2=/usr/local/apache2/bin/apxs 
--with-tsrm-pth --disable-ipv6 
make
 [2002-12-10 09:02 UTC] sniper@php.net
Instead of --with-tsrm-pth try using --enable-experimental-zts
 [2002-12-10 09:03 UTC] sniper@php.net
updated the version info.

 [2002-12-26 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2002-12-26 05:35 UTC] ralf dot hildebrandt at charite dot de
Today I retried with php4-200212261030 and got: 
 
/bin/ksh libtool --silent --mode=compile gcc  -Iext/ctype/ 
-I/users2/gnu/php4-200212261030/ext/ctype/ -DPHP_ATOM_INC 
-I/users2/gnu/php4-200212261030/include 
-I/users2/gnu/php4-200212261030/main 
-I/users2/gnu/php4-200212261030 
-I/usr/local/apache2/include 
-I/users2/gnu/php4-200212261030/Zend 
-I/users2/gnu/php4-200212261030/ext/xml/expat  
-D_REENTRANT -I/users2/gnu/php4-200212261030/TSRM 
-DTHREAD=1  -O -DZTS  -prefer-pic -c 
/users2/gnu/php4-200212261030/ext/ctype/ctype.c -o 
ext/ctype/ctype.lo  
In file included from 
/users2/gnu/php4-200212261030/ext/ctype/ctype.c:23: 
/users2/gnu/php4-200212261030/main/php.h:139: conflicting 
types for `socklen_t' 
/users2/local/include/pthread.h:184: previous declaration 
of `socklen_t' 
make: *** [ext/ctype/ctype.lo] Error 1
 [2003-01-02 20:08 UTC] nicos@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


 [2003-01-17 22:10 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 06 17:01:27 2024 UTC