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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

Did you ever get this error resolved?


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to