PHP 4.0 Bug #2932: Compiliation fails with several "undefined symbols"

From: Date: Tue, 07 Dec 1999 19:42:49 +0000
Subject: PHP 4.0 Bug #2932: Compiliation fails with several "undefined symbols"
Groups: php.dev 
Request: Send a blank email to php-dev+get-13498@lists.php.net to get a copy of this message
From: dswhite42@yahoo.com Operating system: IBM AIX 4.2 PHP version: 4.0 Beta 3 PHP Bug Type: Compile Failure Bug description: Compiliation fails with several "undefined symbols" I'm continuing on my quest to compile PHP with Apache on IBM AIX 4.2 using IBM's native cc compiler and/or gcc. However, I can't even get PHP to compile as a standalone CGI yet. First, my configure command: > ./configure \ --with-config-file-path=/http/php \ --disable-shared Then "make", which first produces these warnings: /bin/sh ./libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I/http/bcbsnc/src/php-4.0b3/./libzend -I. -g -g -c -o zend_execute.lo zend_execute.c "zend_execute.c", line 2118.1: 1506-162 (W) No definition was found for function zend_ptr_stack_get_arg. Storage class changed to extern. "zend_execute.c", line 2118.1: 1506-162 (W) No definition was found for function zend_ptr_stack_clear_multiple. Storage class changed to extern. "zend_execute.c", line 2118.1: 1506-162 (W) No definition was found for function zend_assign_to_variable_reference. Storage class changed to extern. "zend_execute.c", line 2118.1: 1506-162 (W) No definition was found for function i_zend_is_true. Storage class changed to extern. "zend_execute.c", line 2118.1: 1506-162 (W) No definition was found for function safe_free_zval_ptr. Storage class changed to extern. and finally crashes at the end with these errors: /bin/sh ./libtool --silent --mode=link cc -g -g -o libphp4.la -rpath /http/bcbsnc/src/php-4.0b3/libs main.lo internal_functions.lo snprintf.lo php3_sprintf.lo configuration-parser.lo configuration-scanner.lo request_info.lo safe_mode.lo fopen-wrappers.lo php3_realpath.lo alloca.lo php_ini.lo SAPI.lo rfc1867.lo dlist.lo php_content_types.lo strlcpy.lo strlcat.lo mergesort.lo libzend/libzend.la sapi/cgi/libphpsapi_cgi.la regex/libregex.la ext/db/libphpext_db.la ext/pcre/libphpext_pcre.la ext/session/libphpext_session.la ext/standard/libphpext_standard.la -ldl -lm -lnsl -lbind cc -DHAVE_CONFIG_H -I. -I. -I. -I./libzend -I. -I./libzend -g -g -c stub.c "stub.c", line 1: 1506-229 (W) File is empty. "stub.c", line 1.1: 1506-356 (W) Compilation unit is empty. /bin/sh ./libtool --silent --mode=link cc -g -g -o php -export-dynamic stub.o 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

« previous php.dev (#13498) next »