From:             [EMAIL PROTECTED]
Operating system: HP-UX 10.20
PHP version:      4.2.3
PHP Bug Type:     Compile Failure
Bug description:  GNU pthreads issue?

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 bug report at http://bugs.php.net/?id=19555&edit=1
-- 
Try a CVS snapshot:  http://bugs.php.net/fix.php?id=19555&r=trysnapshot
Fixed in CVS:        http://bugs.php.net/fix.php?id=19555&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=19555&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=19555&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=19555&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19555&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=19555&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=19555&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=19555&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=19555&r=globals

Reply via email to