From: [EMAIL PROTECTED] Operating system: Solaris 8 Sparc PHP version: 4.2.3 PHP Bug Type: Compile Failure Bug description: math.c: In function `_php_math_zvaltobase' [...] `HUGE_VAL' undeclared
Hi I' trying to compile php 4.2.3 with apache 1.3.27 on Sparc Solaris 8 (gcc3.0.3). Configured with ./configure --without-x --with-apache=../apache_1.3.27 --enable-force-cgi-redirect --enable-discard-path --enable-safe-mode --enable-magic-quotes --disable-rpath --with-zlib --enable-calendar --with-cyrus --with-db3=/usr/local/BerkeleyDB.3.2 --enable-ftp --with-mysql --enable-sockets --enable-memory-limit --enable-shared=yes --enable-mailparse --enable-track-vars --prefix=/usr/local/apache/php configure runs without errors. make then yields [...] math.c: In function `_php_math_zvaltobase': math.c:774: `HUGE_VAL' undeclared (first use in this function) math.c:774: (Each undeclared identifier is reported only once math.c:774: for each function it appears in.) make[3]: *** [math.lo] Error 1 [...] Strangely, when I compile php 4.2.2 on the same machine against apache 1.3.27, the error does not occur, i.e. everything works just fine. (btw.: the only math.h on the system is in /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3/include/math.h and does definitely not define HUGE_VAL) The only thing I can think of right now is to get a newer math.h, i.e. update gcc (which I would sure hate :-[ Does anybody have any other suggestion? kind regards /markus -- Edit bug report at http://bugs.php.net/?id=19807&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19807&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19807&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19807&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19807&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19807&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19807&r=support Expected behavior: http://bugs.php.net/fix.php?id=19807&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19807&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19807&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19807&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19807&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=19807&r=dst IIS Stability: http://bugs.php.net/fix.php?id=19807&r=isapi