ID:               46509
 User updated by:  jangh at bhphotovideo dot com
 Reported By:      jangh at bhphotovideo dot com
 Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Solaris 5.10 Generic_137111-03
 PHP Version:      5.2.6
 New Comment:

I went to check Bug #40310. It is not the same error as what I have.
Bug #40310 is related to library files and mysql.
And there was no resolution to this bug ID.

My compilation used configure without any options and still fails.

Here's the result I got when used --disable-all option

# ./configure --disable-all

# make test
/bin/sh /tmp/php-5.2.6/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Iext/standard/ -I/tmp/php-5.2.6/ext/standard/
-DPHP_ATOM_INC -I/tmp/php-5.2.6/include -I/tmp/php-5.2.6/main
-I/tmp/php-5.2.6 -I/tmp/php-5.2.6/ext/date/lib -I/tmp/php-5.2.6/TSRM
-I/tmp/php-5.2.6/Zend  -D_POSIX_PTHREAD_SEMANTICS  -g -O2  -c
/tmp/php-5.2.6/ext/standard/info.c -o ext/standard/info.lo
/bin/sh /tmp/php-5.2.6/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Imain/ -I/tmp/php-5.2.6/main/ -DPHP_ATOM_INC
-I/tmp/php-5.2.6/include -I/tmp/php-5.2.6/main -I/tmp/php-5.2.6
-I/tmp/php-5.2.6/ext/date/lib -I/tmp/php-5.2.6/TSRM
-I/tmp/php-5.2.6/Zend  -D_POSIX_PTHREAD_SEMANTICS  -g -O2  -c
/tmp/php-5.2.6/main/reentrancy.c -o main/reentrancy.lo
/tmp/php-5.2.6/main/reentrancy.c: In function `php_ctime_r':
/tmp/php-5.2.6/main/reentrancy.c:63: error: too many arguments to
function `ctime_r'
/tmp/php-5.2.6/main/reentrancy.c: In function `php_asctime_r':
/tmp/php-5.2.6/main/reentrancy.c:70: error: too many arguments to
function `asctime_r'
/tmp/php-5.2.6/main/reentrancy.c: In function `php_readdir_r':
/tmp/php-5.2.6/main/reentrancy.c:139: error: too few arguments to
function `readdir_r'
*** Error code 1
make: Fatal error: Command failed for target `main/reentrancy.lo'


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

[2008-11-06 18:03:48] [EMAIL PROTECTED]

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

See bug #40310

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

[2008-11-06 15:18:13] jangh at bhphotovideo dot com

Description:
------------
Hello.

Trying to compile php-5.2.6
I am using gcc version 3.4.6

configure was done without any options.
And was completed.

make fails with following error.

/tmp/php-5.2.6/main/reentrancy.c: In function `php_ctime_r':
/tmp/php-5.2.6/main/reentrancy.c:63: error: too many arguments to
function `ctime_r'
/tmp/php-5.2.6/main/reentrancy.c: In function `php_asctime_r':
/tmp/php-5.2.6/main/reentrancy.c:70: error: too many arguments to
function `asctime_r'
/tmp/php-5.2.6/main/reentrancy.c: In function `php_readdir_r':
/tmp/php-5.2.6/main/reentrancy.c:139: error: too few arguments to
function `readdir_r'
*** Error code 1
make: Fatal error: Command failed for target `main/reentrancy.lo'




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


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

Reply via email to