#37101 [NEW]: Cannot compile with HAVE_LOG1P undefined in php_config.h
| From: | vap at vap dot name | Date: | Mon, 17 Apr 2006 02:23:19 +0000 |
| Subject: | #37101 [NEW]: Cannot compile with HAVE_LOG1P undefined in php_config.h | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-95875@lists.php.net to get a copy of this message | ||
From: vap at vap dot name
Operating system: Linux with uClibc 0.9.27
PHP version: 5.1.2
PHP Bug Type: Compile Failure
Bug description: Cannot compile with HAVE_LOG1P undefined in php_config.h
Description:
------------
I was trying to compile php 5.1.2 for my embedded device, running uClibc C
library instead of glibc.
./configure in uClibc-based system produces a configuration with
HAVE_LOG1P undefined in php_config.h, and in this circumstances
compilation fails - it cannot find zif_log1p symbol at link time.
Problem is caused by PHP_FE(log1p,NULL) not properly ifdefed with
HAVE_LOG1P macro in php-5.1.2/ext/standard/basic_functions.c.
This tiny patch helps: http://vap.name/tmp/php_5_1_2_have_log1p.patch
--
Edit bug report at http://bugs.php.net/?id=37101&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37101&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37101&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37101&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37101&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37101&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37101&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37101&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37101&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37101&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37101&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37101&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37101&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37101&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37101&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37101&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37101&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37101&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37101&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37101&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37101&r=mysqlcfg