ID: 40310 Updated by: [EMAIL PROTECTED] Reported By: sjohns at nerfarena dot org -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Solaris/SPARC V10 PHP Version: 5.2.0 New Comment:
Is it possible to get an unprivileged account on this machine? Previous Comments: ------------------------------------------------------------------------ [2007-02-01 22:16:08] sjohns at nerfarena dot org Description: ------------ Compile fails in functions php_ctime_r, php_asctime_r, php_readdir_r too many/too few arguments Reproduce code: --------------- Compile using GCC v3.4.6 ./configure \ --with-apxs2=/usr/local/apache2/bin/apxs \ --enable-libgcc \ --with-openssl=yes \ --with-openssl-dir=/usr/local/ssl \ --with-jpeg-dir=/usr/lib \ --with-png-dir=/usr/lib \ --with-freetype-dir=/usr/local/lib \ --with-xpm-dir=/usr/lib --with-mysql-sock=/tmp/mysql.sock \ --enable-ftp \ --with-mysql \ --with-mysql=/usr/local/mysql \ --with-mysqli \ --with-zlib=/usr/include \ --with-zlib \ --disable-ipv6 Expected result: ---------------- Successful compilation. Actual result: -------------- /bin/sh /export/sunsource/php-5.2.0/libtool --silent --preserve-dup-deps --mode= compile gcc -Imain/ -I/export/sunsource/php-5.2.0/main/ -DPHP_ATOM_INC -I/expor t/sunsource/php-5.2.0/include -I/export/sunsource/php-5.2.0/main -I/export/sunso urce/php-5.2.0 -I/usr/local/include/libxml2 -I/usr/sfw/include -I/export/sunsour ce/php-5.2.0/ext/date/lib -I/usr/local/mysql/include/mysql -I/export/sunsource/p hp-5.2.0/TSRM -I/export/sunsource/php-5.2.0/Zend -D_POSIX_PTHREAD_SEMANTICS -I /usr/local/include -g -O2 -c /export/sunsource/php-5.2.0/main/reentrancy.c -o main/reentrancy.lo /export/sunsource/php-5.2.0/main/reentrancy.c: In function `php_ctime_r': /export/sunsource/php-5.2.0/main/reentrancy.c:67: error: too many arguments to f unction `ctime_r' /export/sunsource/php-5.2.0/main/reentrancy.c: In function `php_asctime_r': /export/sunsource/php-5.2.0/main/reentrancy.c:74: error: too many arguments to f unction `asctime_r' /export/sunsource/php-5.2.0/main/reentrancy.c: In function `: /export/sunsource/php-5.2.0/main/reentrancy.c:143: error: too few arguments to f unction `readdir_r' make: *** [main/reentrancy.lo] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40310&edit=1