ID:               34393
 User updated by:  tamer23 at myrealbox dot com
 Reported By:      tamer23 at myrealbox dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: Gentoo Linux 2005.1
 PHP Version:      5.0.4
 New Comment:

The error is the same as on php 5.0.4, 5.0.5 or the scnapshot which I
downloaded yesterday: 

Result from the CVS-snapshot: 

/tmp/php5-200509070630:

c -o main/strlcpy.lo
/bin/sh /tmp/php5-200509070630/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Imain/ -I/tmp/php5-200509070630/main/
-DPHP_ATOM_INC -I/tmp/php5-200509070630/include
-I/tmp/php5-200509070630/main -I/tmp/php5-200509070630
-I/usr/include/libxml2 -I/usr/include/mysql
-I/tmp/php5-200509070630/TSRM -I/tmp/php5-200509070630/Zend    -g -O2 
-prefer-non-pic -c /tmp/php5-200509070630/main/strlcat.c -o
main/strlcat.lo
/bin/sh /tmp/php5-200509070630/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Imain/ -I/tmp/php5-200509070630/main/
-DPHP_ATOM_INC -I/tmp/php5-200509070630/include
-I/tmp/php5-200509070630/main -I/tmp/php5-200509070630
-I/usr/include/libxml2 -I/usr/include/mysql
-I/tmp/php5-200509070630/TSRM -I/tmp/php5-200509070630/Zend    -g -O2 
-prefer-non-pic -c /tmp/php5-200509070630/main/mergesort.c -o
main/mergesort.lo
/bin/sh /tmp/php5-200509070630/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Imain/ -I/tmp/php5-200509070630/main/
-DPHP_ATOM_INC -I/tmp/php5-200509070630/include
-I/tmp/php5-200509070630/main -I/tmp/php5-200509070630
-I/usr/include/libxml2 -I/usr/include/mysql
-I/tmp/php5-200509070630/TSRM -I/tmp/php5-200509070630/Zend    -g -O2 
-prefer-non-pic -c /tmp/php5-200509070630/main/reentrancy.c -o
main/reentrancy.lo
/tmp/php5-200509070630/main/reentrancy.c: In function `php_readdir_r':
/tmp/php5-200509070630/main/reentrancy.c:143: error: too few arguments
to function `readdir_r'
make: *** [main/reentrancy.lo] Error 1



And the error from php-5.0.5:

/bin/sh /tmp/php-5.0.5/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Imain/ -I/tmp/php-5.0.5/main/ -DPHP_ATOM_INC
-I/tmp/php-5.0.5/include -I/tmp/php-5.0.5/main -I/tmp/php-5.0.5
-I/usr/include/libxml2 -I/usr/include/mysql -I/tmp/php-5.0.5/TSRM
-I/tmp/php-5.0.5/Zend    -g -O2  -prefer-non-pic -c
/tmp/php-5.0.5/main/php_scandir.c -o main/php_scandir.lo
/bin/sh /tmp/php-5.0.5/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Imain/ -I/tmp/php-5.0.5/main/ -DPHP_ATOM_INC
-I/tmp/php-5.0.5/include -I/tmp/php-5.0.5/main -I/tmp/php-5.0.5
-I/usr/include/libxml2 -I/usr/include/mysql -I/tmp/php-5.0.5/TSRM
-I/tmp/php-5.0.5/Zend    -g -O2  -prefer-non-pic -c
/tmp/php-5.0.5/main/php_ini.c -o main/php_ini.lo
/bin/sh /tmp/php-5.0.5/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Imain/ -I/tmp/php-5.0.5/main/ -DPHP_ATOM_INC
-I/tmp/php-5.0.5/include -I/tmp/php-5.0.5/main -I/tmp/php-5.0.5
-I/usr/include/libxml2 -I/usr/include/mysql -I/tmp/php-5.0.5/TSRM
-I/tmp/php-5.0.5/Zend    -g -O2  -prefer-non-pic -c
/tmp/php-5.0.5/main/SAPI.c -o main/SAPI.lo
/bin/sh /tmp/php-5.0.5/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Imain/ -I/tmp/php-5.0.5/main/ -DPHP_ATOM_INC
-I/tmp/php-5.0.5/include -I/tmp/php-5.0.5/main -I/tmp/php-5.0.5
-I/usr/include/libxml2 -I/usr/include/mysql -I/tmp/php-5.0.5/TSRM
-I/tmp/php-5.0.5/Zend    -g -O2  -prefer-non-pic -c
/tmp/php-5.0.5/main/rfc1867.c -o main/rfc1867.lo
/bin/sh /tmp/php-5.0.5/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Imain/ -I/tmp/php-5.0.5/main/ -DPHP_ATOM_INC
-I/tmp/php-5.0.5/include -I/tmp/php-5.0.5/main -I/tmp/php-5.0.5
-I/usr/include/libxml2 -I/usr/include/mysql -I/tmp/php-5.0.5/TSRM
-I/tmp/php-5.0.5/Zend    -g -O2  -prefer-non-pic -c
/tmp/php-5.0.5/main/php_content_types.c -o main/php_content_types.lo
/bin/sh /tmp/php-5.0.5/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Imain/ -I/tmp/php-5.0.5/main/ -DPHP_ATOM_INC
-I/tmp/php-5.0.5/include -I/tmp/php-5.0.5/main -I/tmp/php-5.0.5
-I/usr/include/libxml2 -I/usr/include/mysql -I/tmp/php-5.0.5/TSRM
-I/tmp/php-5.0.5/Zend    -g -O2  -prefer-non-pic -c
/tmp/php-5.0.5/main/strlcpy.c -o main/strlcpy.lo
/bin/sh /tmp/php-5.0.5/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Imain/ -I/tmp/php-5.0.5/main/ -DPHP_ATOM_INC
-I/tmp/php-5.0.5/include -I/tmp/php-5.0.5/main -I/tmp/php-5.0.5
-I/usr/include/libxml2 -I/usr/include/mysql -I/tmp/php-5.0.5/TSRM
-I/tmp/php-5.0.5/Zend    -g -O2  -prefer-non-pic -c
/tmp/php-5.0.5/main/reentrancy.c -o main/reentrancy.lo
/tmp/php-5.0.5/main/reentrancy.c: In function `php_readdir_r':
/tmp/php-5.0.5/main/reentrancy.c:143: error: too few arguments to
function `readdir_r'


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

[2005-09-07 14:29:21] [EMAIL PROTECTED]

The error can't be same for the CVS snapshot since there's nothing on
line 193 in it..what's the exact error you get with the snapshot?

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

[2005-09-07 14:17:28] tamer23 at myrealbox dot com

The error is the same. Even though, I have updated the gcc-compiler
from 3.3.5 to 3.4.4 and the error still exists. The error message is
EXACTLY the same of php-5.0.4 and that one from the CVS. 

Has it got something todo with the c++ library installed on my system?!


Tamer

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

[2005-09-07 08:49:24] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip



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

[2005-09-06 16:35:22] tamer23 at myrealbox dot com

Description:
------------
Hi!
After I installed with the instruction (as it is described in the
README) Apache 2.0 I tried to compile php with this configure command:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
--with-openssl --with-kerberos --enable-dbx



Actual result:
--------------
The compilation error results:

/tmp/php-5.0.4/main/reentrancy.c: In function `php_readdir_r':
/tmp/php-5.0.4/main/reentrancy.c:193: error: too few arguments to
function `readdir_r'




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


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

Reply via email to