PHP 4.0 Bug #5141: Unable to compile due to missing missing functions
| From: | p dot bunck at fss dot uu dot nl | Date: | Tue, 20 Jun 2000 08:54:50 +0000 |
| Subject: | PHP 4.0 Bug #5141: Unable to compile due to missing missing functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21796@lists.php.net to get a copy of this message | ||
From: p.bunck@fss.uu.nl
Operating system: aix 4.3.20
PHP version: 4.0.0 Release
PHP Bug Type: Compile Failure
Bug description: Unable to compile due to missing missing functions
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.