ID: 40310 Updated by: [EMAIL PROTECTED] Reported By: sjohns at nerfarena dot org -Status: Open +Status: Assigned Bug Type: Compile Failure Operating System: Solaris/SPARC V10 PHP Version: 5.2.0 -Assigned To: +Assigned To: tony2001
Previous Comments: ------------------------------------------------------------------------ [2007-02-03 00:41:18] sjohns at nerfarena dot org Hi Tony, I have duplicated the environment for your login that I used when attempting the build. Cheers, Steve Johns ------------------------------------------------------------------------ [2007-02-02 18:25:15] [EMAIL PROTECTED] `man actime_r` char *asctime_r(const struct tm *restrict tm, char *restrict buf, int buflen); This is what Solaris documentation says (and PHP uses the same number of arguments). Also, is it possible to fix the build utils, so I can test the build? $ make make: not found ------------------------------------------------------------------------ [2007-02-02 16:09:05] sjohns at nerfarena dot org Hi Tony, I have setup the account you requested. It can be reached via ssh only. ssh [EMAIL PROTECTED] password: f0RpHP2@ The php source is located at /export/sunsource/php-5.2.0 Regards, Steve Johns ------------------------------------------------------------------------ [2007-02-01 22:19:10] [EMAIL PROTECTED] Is it possible to get an unprivileged account on this machine? ------------------------------------------------------------------------ [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