PHP 4.0 Bug #4994: undefined functions in zend_execute.c cause compile failure
| From: | garrem at alum dot rpi dot edu | Date: | Mon, 12 Jun 2000 20:32:42 +0000 |
| Subject: | PHP 4.0 Bug #4994: undefined functions in zend_execute.c cause compile failure | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21155@lists.php.net to get a copy of this message | ||
From: garrem@alum.rpi.edu
Operating system: AIX 4.3.3
PHP version: 4.0.0 Release
PHP Bug Type: Compile Failure
Bug description: undefined functions in zend_execute.c cause compile failure
These five functions referenced in zend_execute.c are not defined, causing compilation failure:
zend_ptr_stack_get_arg
zend_ptr_stack_clear_multiple
zend_assign_to_variable_reference
zend_assign_to_variable_reference
safe_free_zval_ptr
Also, one function used in basic_functions.c is not defined:
is_numeric_string
During compilation, warnings about the above are produced, but during final linking as static Apache
module, fatal errors occur:
# configure --with-apache=../apache_1.3.12
# make
.
.
.
/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -DXM
L_BYTE_ORDER=21 -O2 -qmaxmem=8192 -c ./zend_execute.c
"./zend_execute.c", line 2375.1: 1506-162 (W) No definition was found for functi
on zend_ptr_stack_get_arg. Storage class changed to extern.
"./zend_execute.c", line 2375.1: 1506-162 (W) No definition was found for functi
on zend_ptr_stack_clear_multiple. Storage class changed to extern.
"./zend_execute.c", line 2375.1: 1506-162 (W) No definition was found for functi
on zend_assign_to_variable_reference. Storage class changed to extern.
"./zend_execute.c", line 2375.1: 1506-162 (W) No definition was found for functi
on i_zend_is_true. Storage class changed to extern.
"./zend_execute.c", line 2375.1: 1506-162 (W) No definition was found for functi
on safe_free_zval_ptr. Storage class changed to extern.
.
.
.
cc -DHAVE_CONFIG_H -I. -I/usr/local/packages/php-4.0.0/ext/standard -I/usr/local
/packages/php-4.0.0 -I/usr/local/bind/include -I/usr/local/packages/apache_1.3.1
2/src/include -I/usr/local/packages/apache_1.3.12/src/os/unix -I/usr/local/packa
ges/php-4.0.0/Zend -I/usr/local/packages/php-4.0.0 -I/usr/local/packages/php-4.0
.0/ext/xml/expat/xmltok -I/usr/local/packages/php-4.0.0/ext/xml/expat/xmlparse
-DXML_BYTE_ORDER=21 -O2 -qmaxmem=8192 -c basic_functions.c && touch basic_funct
ions.lo
"basic_functions.c", line 1993.1: 1506-162 (W) No definition was found for funct
ion is_numeric_string. Storage class changed to extern.
.
.
.
# while making Apache httpd:
xlc -O2 -qmaxmem=8192 -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -I/usr/local/packa
ges/php-4.0.0 -I/usr/local/packages/php-4.0.0/Zend -I/usr/local/packages/php-4.0
.0/Zend -I/usr/local/packages/php-4.0.0 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_N
EEDED
./apaci -lm -L/usr/local/bind/lib \
-o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4
/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.
a -lbind -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -ldl
-lresolv -lbind -lm -ldl -lcrypt -lresolv
ld: 0711-317 ERROR: Undefined symbol: .alloca
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
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make[2]: *** [target_static] Error 8
make[2]: Leaving directory `/usr/local/packages/apache_1.3.12/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/packages/apache_1.3.12'
(These undefined functions also cause the same problem when building php as a standalone cgi
program.)