#37101 [Opn->Csd]: Cannot compile with HAVE_LOG1P undefined in php_config.h

From: Date: Mon, 17 Apr 2006 08:27:02 +0000
Subject: #37101 [Opn->Csd]: Cannot compile with HAVE_LOG1P undefined in php_config.h
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-95877@lists.php.net to get a copy of this message
ID: 37101 Updated by: tony2001@php.net Reported By: vap at vap dot name -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: Linux with uClibc 0.9.27 PHP Version: 5.1.2 New Comment: Fixed in CVS three months ago. Previous Comments: ------------------------------------------------------------------------ [2006-04-17 02:23:19] vap at vap dot name 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 this bug report at http://bugs.php.net/?id=37101&edit=1

« previous php.bugs (#95877) next »