php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5141 Unable to compile due to missing missing functions
Submitted: 2000-06-20 10:54 UTC Modified: 2000-06-20 13:25 UTC
From: p dot bunck at fss dot uu dot nl Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.0 Release OS: aix 4.3.20
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: p dot bunck at fss dot uu dot nl
New email:
PHP Version: OS:

 

 [2000-06-20 10:54 UTC] p dot bunck at fss dot uu dot nl
Compiler:  ibmcxx.cmp                 3.6.6.0
-------------------------------------------------------
The following lines are output of the make command:
................
        /bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..  -DXML_BYTE_ORDER=21 -g -
c ./zend_execute.c
"./zend_execute.c", line 2375.1: 1506-162 (W) No definition was found for function zend_ptr_stack_get_arg.
Storage class changed to extern.
"./zend_execute.c", line 2375.1: 1506-162 (W) No definition was found for function zend_ptr_stack_clear_mult
iple.  Storage class changed to extern.
"./zend_execute.c", line 2375.1: 1506-162 (W) No definition was found for function zend_assign_to_variable_r
eference.  Storage class changed to extern.
"./zend_execute.c", line 2375.1: 1506-162 (W) No definition was found for function i_zend_is_true.  Storage
class changed to extern.
"./zend_execute.c", line 2375.1: 1506-162 (W) No definition was found for function safe_free_zval_ptr.  Stor
age class changed to extern.
        /bin/sh /usr/local/sources/php/php-4.0.0/libtool --silent --mode=link cc -g   -o php -export-dynamic
         stub.lo libphp4.la
...............
ld: 0711-317 ERROR: Undefined symbol: .safe_free_zval_ptr
ld: 0711-317 ERROR: Undefined symbol: .zend_assign_to_variable_reference
ld: 0711-317 ERROR: Undefined symbol: .i_zend_is_true
ld: 0711-317 ERROR: Undefined symbol: .zend_ptr_stack_clear_multiple
ld: 0711-317 ERROR: Undefined symbol: .zend_ptr_stack_get_arg
ld: 0711-317 ERROR: Undefined symbol: .is_numeric_string
make: 1254-004 The error code from the last command is 8.
---------------------------------------------
I had to undef HAVE_DLFCN, since ibm defines the function dlerror as dlfcn.h:extern char     *dlerror(void);
while php uses:
const char	*dlerror(void);
The compiler sees the difference as an error.
--------
The file stub.c has size 0.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-20 13:25 UTC] sas at cvs dot php dot net
Please configure with --enable-c9x-inline. This switch is not available in 4.0.0, so please wait until 4.0.1 or use a recent snapshot:

http://snaps.php.net/
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 19:01:36 2025 UTC