RC2 under FreeBSD 3.3 - undefined reference to `isfinite'?

From: Date: Wed, 17 May 2000 08:24:06 +0000
Subject: RC2 under FreeBSD 3.3 - undefined reference to `isfinite'?
Groups: php.version4 
Request: Send a blank email to php-version4+get-15113@lists.php.net to get a copy of this message
Hi, I've been trying to compile PHP4 RC2 under FreeBSD 3.3, using: ./configure --with-mysql=/usr/local --with-gd=/usr/local --with-apache=/usr/local/custom/apache/apache_1.3.12 --disable-display-source I can build libphp4.a, but when I go to make Apache, I get: " gcc -I/usr/local/custom/zend/php-4.0RC2 -I/usr/local/custom/zend/php-4.0RC2/Zend -I/usr/local/custom/zend/php-4.0RC2/Zend -I/usr/lo cal/custom/zend/php-4.0RC2 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci -o httpd buildmark.o modules.o modules/stand ard/libstandard.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -R/usr/local/li b -R/usr/local/lib/mysql -rdynamic -L/usr/local/lib -L/usr/local/lib/mysql -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -l modphp4 -lmysqlclient -lgd -lm -lcrypt -lcrypt modules/php4/libphp4.a(zend_operators.o): In function `is_numeric_string': /usr/local/custom/zend/php-4.0RC2/Zend/zend_operators.c(.text+0x2fe0): undefined reference to `isfinite' " The only place I can find 'isfinite' mentioned (admitadly with a simple fgrep) is in: Zend/zend_operators.c:#define finite(a) isfinite(a) /* HPUX 11 only has isfinite() */ Commenting out that line fixes the problem... I'd guess something thinks it's needed when it isn't? - The opening few lines from the ./configure show: shtool:echo:Warning: unable to determine terminal sequence for bold mode shtool:echo:Warning: unable to determine terminal sequence for bold mode checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... found checking for working automake... missing checking for working autoheader... found checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i386-unknown-freebsdelfRELENG -Karl

« previous php.version4 (#15113) next »