Re: Apache 'undefined reference'
| From: | Steven Hatch | Date: | Sun, 18 Mar 2001 04:47:28 +0000 |
| Subject: | Re: Apache 'undefined reference' | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-2485@lists.php.net to get a copy of this message | ||
Patrick Lanphier wrote:
> 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
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
Did you ever get this error resolved?