php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37101 Cannot compile with HAVE_LOG1P undefined in php_config.h
Submitted: 2006-04-17 02:23 UTC Modified: 2006-04-17 08:27 UTC
From: vap at vap dot name Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.1.2 OS: Linux with uClibc 0.9.27
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: vap at vap dot name
New email:
PHP Version: OS:

 

 [2006-04-17 02:23 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-17 08:27 UTC] tony2001@php.net
Fixed in CVS three months ago.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 03:01:33 2025 UTC