ID: 9161
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Apache related
Assigned To: 
Comments:

Try doing 'make clean ; make install' for PHP 4 and then try making Apache 
again.

--Jani


Previous Comments:
---------------------------------------------------------------------------

[2001-02-07 13:18:52] [EMAIL PROTECTED]
apache_1.3.17 & php-4.0.4pl1 (Solaris 2.6 GCC 2.95.2) 

Atempting to static link php into apache.  Getting undefined symbols in apache 
(shown below).  config'd apache 1st, then config'd php using:
   ./configure --with-mysql --with-apache=../apache_1.3.17 --enable-track-vars
did a make and make install and all worked.  Then configured apache with:
    ./configure --prefix=/opt/apache --activate-module=src/modules/php4/libphp4.a
and make fails with the following.

Suggestions?

gcc  -DSOLARIS2=260 -I/opt/local/src/php-4.0.4pl1 -I/opt/local/src/php-4.0.4pl1/
main -I/opt/local/src/php-4.0.4pl1/main -I/opt/local/src/php-4.0.4pl1/Zend -I/op
t/local/src/php-4.0.4pl1/Zend -I/opt/local/src/php-4.0.4pl1/TSRM -I/opt/local/sr
c/php-4.0.4pl1/TSRM -I/opt/local/src/php-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite
 -DNO_DL_NEEDED `./apaci`    
      -o httpd buildmark.o modules.o modules/php4/libphp4.a modules/standard/lib
standard.a main/libmain.a ./os/unix/libos.a ap/libap.a  lib/expat-lite/libexpat.
a  -R/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2  -L/usr/uc
blib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2 -Lmodules/php4 -L../mo
dules/php4 -L../../modules/php4 -lmodphp4  -lpam  -ldl -lresolv -lresolv -lm -ld
l -lcrypt -lnsl -lsocket  -lsocket -lgcc   -lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
php_register_variable               modules/php4/libphp4.a(mod_php4.o)
core_globals                        modules/php4/libphp4.a(mod_php4.o)
sapi_startup                        modules/php4/libphp4.a(mod_php4.o)
sapi_shutdown                       modules/php4/libphp4.a(mod_php4.o)
zend_ini_rshutdown                  modules/php4/libphp4.a(mod_php4.o)
php_module_shutdown_for_exec        modules/php4/libphp4.a(mod_php4.o)
apache_php_module_main              modules/php4/libphp4.a(mod_php4.o)
php_request_shutdown_for_exec       modules/php4/libphp4.a(mod_php4.o)
zend_hash_apply                     modules/php4/libphp4.a(mod_php4.o)
executor_globals                    modules/php4/libphp4.a(mod_php4.o)
zend_hash_destroy                   modules/php4/libphp4.a(mod_php4.o)
_estrdup                            modules/php4/libphp4.a(mod_php4.o)
zend_error                          modules/php4/libphp4.a(mod_php4.o)
sapi_get_default_content_type       modules/php4/libphp4.a(mod_php4.o)
php_module_shutdown_wrapper         modules/php4/libphp4.a(mod_php4.o)
sapi_globals                        modules/php4/libphp4.a(mod_php4.o)
zend_startup_module                 modules/php4/libphp4.a(mod_php4.o)
php_request_shutdown                modules/php4/libphp4.a(mod_php4.o)
php_handle_aborted_connection       modules/php4/libphp4.a(mod_php4.o)
zend_hash_add_or_update             modules/php4/libphp4.a(mod_php4.o)
zend_alter_ini_entry                modules/php4/libphp4.a(mod_php4.o)
apache_module_entry                 modules/php4/libphp4.a(mod_php4.o)
zend_hash_merge_ex                  modules/php4/libphp4.a(mod_php4.o)
zend_hash_init                      modules/php4/libphp4.a(mod_php4.o)
empty_string                        modules/php4/libphp4.a(mod_php4.o)
_efree                              modules/php4/libphp4.a(mod_php4.o)
php_module_startup                  modules/php4/libphp4.a(mod_php4.o)
ld: fatal: Symbol referencing errors. No output written to httpd


---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9161&edit=2


-- 
PHP Development 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