Apache 'undefined reference'
| From: | Patrick Lanphier | Date: | Fri, 17 Nov 2000 19:42:36 +0000 |
| Subject: | Apache 'undefined reference' | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-828@lists.php.net to get a copy of this message | ||
Compiling Apache with PHP statically linked. When compiling apache I get
the below errors. This is the configure I used the reason for the
SHARED_CORE is because I get less 'undefined references' this may be the
incorrect way to approach this.
./configure \
--with-layout=RedHat \
--enable-rule=SHARED_CORE \
--activate-module=src/modules/php4/libphp4.a
How do you fix this?
./libhttpd.so: undefined reference to `empty_string'
./libhttpd.so: undefined reference to `_estrdup'
./libhttpd.so: undefined reference to `zend_hash_add_or_update'
./libhttpd.so: undefined reference to `zend_alter_ini_entry'
./libhttpd.so: undefined reference to `php_request_shutdown'
./libhttpd.so: undefined reference to `apache_php_module_main'
./libhttpd.so: undefined reference to `sapi_get_default_content_type'
./libhttpd.so: undefined reference to `zend_hash_merge_ex'
./libhttpd.so: undefined reference to `zend_startup_module'
./libhttpd.so: undefined reference to `php_module_shutdown_wrapper'
./libhttpd.so: undefined reference to `_efree'
./libhttpd.so: undefined reference to `zend_hash_destroy'
./libhttpd.so: undefined reference to `php_module_shutdown_for_exec'
./libhttpd.so: undefined reference to `sapi_shutdown'
./libhttpd.so: undefined reference to `php_register_variable'
./libhttpd.so: undefined reference to `apache_module_entry'
./libhttpd.so: undefined reference to `php_handle_aborted_connection'
./libhttpd.so: undefined reference to `php_request_shutdown_for_exec'
./libhttpd.so: undefined reference to `core_globals'
./libhttpd.so: undefined reference to `sapi_startup'
./libhttpd.so: undefined reference to `zend_error'
./libhttpd.so: undefined reference to `zend_hash_init'
./libhttpd.so: undefined reference to `php_module_startup'
./libhttpd.so: undefined reference to `zend_hash_apply'
./libhttpd.so: undefined reference to `sapi_globals'
./libhttpd.so: undefined reference to `executor_globals'
Patrick Lanphier
The Artemis Group
http://www.artemisgroup.com