|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-08-12 01:49 UTC] sniper@php.net
[2000-08-29 18:20 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 11:00:02 2025 UTC |
I am trying to compile PHP4 as a static module with apache 1.3.11 on solaris 2.7. The following error occures while making Apache at "make all" (final) stage: gcc -c -I./os/unix -I./include -DSOLARIS2=270 -I/opt/php-4.0.0 -I/opt/php -4.0.0/Zend -I/opt/php-4.0.0/Zend -I/opt/php-4.0.0 -DUSE_EXPAT -I./lib/expat -lite -DNO_DL_NEEDED `./apaci` modules.c gcc -c -I./os/unix -I./include -DSOLARIS2=270 -I/opt/php-4.0.0 -I/opt/php -4.0.0/Zend -I/opt/php-4.0.0/Zend -I/opt/php-4.0.0 -DUSE_EXPAT -I./lib/expat -lite -DNO_DL_NEEDED `./apaci` buildmark.c gcc -DSOLARIS2=270 -I/opt/php-4.0.0 -I/opt/php-4.0.0/Zend -I/opt/php-4.0.0/ Zend -I/opt/php-4.0.0 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` \ -o httpd buildmark.o modules.o modules/php4/libphp4.a modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -R/usr/ucblib -R/opt/mysql/lib -L/usr/ucblib -L/ opt/mysql/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp 4 -lpam -ldl -lmysqlclient -lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsock et -lsocket -lsocket -lnsl Undefined first referenced symbol in file php_startup_internal_extensions modules/php4/libphp4.a(main.o) php_global_startup_internal_extensions modules/php4/libphp4.a(SAPI.o) php_global_shutdown_internal_extensions modules/php4/libphp4.a(SAPI.o) ld: fatal: Symbol referencing errors. No output written to httpd *** Error code 1 make: Fatal error: Command failed for target `target_static' Note: i had previously received and ignored the following warning while builing PHP4: sh: !: not found mkdir -p /opt/apache_1.3.11/src/modules/php4; cp libs/libphp4.a /opt/apache_1.3.11/src/modules/php4/libmodphp4.a; cp /opt/php-4.0.0//sapi/apache/mod_php4.* sapi/apache/libphp4.module /opt/apache_1.3.11/src/modules/php4; cp ./sapi/apache/apMakefile.tmpl /opt/apache_1.3.11/src/modules/php4/Makefile.tmpl; cp ./sapi/apache/apMakefile.libdir /opt/apache_1.3.11/src/modules/php4/Makefile.libdir installing shared modules into /usr/local/lib/php/extensions/debug-non-zts-20000401 cp: cannot access modules/* Making install in pear creating header file hierarchy creating phpize creating php-config