|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-03-08 21:28 UTC] larry dot hansard at library dot gatech dot edu
I keep getting an error when I try to do a make in the
apache_1.3.22 directory. Everything up to that was good.
I was able to make php and install it. Here is the error:
<=== src/modules
gcc -c -I./os/unix -I./include -DSOLARIS2=280 -I/scratch/php-4.1.1 -I/scr
atch/php-4.1.1/main -I/scratch/php-4.1.1/main -I/scratch/php-4.1.1/Zend -I/s
cratch/php-4.1.1/Zend -I/scratch/php-4.1.1/TSRM -I/scratch/php-4.1.1/TSRM -I
/scratch/php-4.1.1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`
modules.c
gcc -c -I./os/unix -I./include -DSOLARIS2=280 -I/scratch/php-4.1.1 -I/scr
atch/php-4.1.1/main -I/scratch/php-4.1.1/main -I/scratch/php-4.1.1/Zend -I/s
cratch/php-4.1.1/Zend -I/scratch/php-4.1.1/TSRM -I/scratch/php-4.1.1/TSRM -I
/scratch/php-4.1.1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`
buildmark.c
gcc -DSOLARIS2=280 -I/scratch/php-4.1.1 -I/scratch/php-4.1.1/main -I/scratc
h/php-4.1.1/main -I/scratch/php-4.1.1/Zend -I/scratch/php-4.1.1/Zend -I/scra
tch/php-4.1.1/TSRM -I/scratch/php-4.1.1/TSRM -I/scratch/php-4.1.1 -DUSE_EXPA
T -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/usr/local/lib/gcc-lib/sparc-sun-
solaris2.8/2.95.3 -R/oracle/app/oracle/product/8.0.5/lib -L/usr/ucblib -L/u
sr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3 -L/oracle/app/oracle/produc
t/8.0.5/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4
-lpam -ldl -lclntsh -lpsa -lcore4 -lnlsrtl3 -ldl -lgen -lsocket -lnsl -lcr
ypt -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket -lgcc -lcrypt -lso
cket -lnsl
Undefined first referenced
symbol in file
dn_skipname modules/php4/libphp4.a(dns.o)
ld: fatal: Symbol referencing errors. No output written to httpd
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/scratch/apache_1.3.22/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/scratch/apache_1.3.22'
make: *** [build] Error 2
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 19 15:00:01 2025 UTC |
This is script that I am following: cd /scratch/apache_1.3.22 make clean # pre-configure Apache for PHP's configure step ./configure # configure PHP and apply it to the Apache source tree cd /scratch/php-4.1.1 make clean ./configure \ --with-apache=/scratch/apache_1.3.22 \ --with-oracle=/oracle/app/oracle/product/8.0.5 \ --with-oci8=/oracle/app/oracle/product/8.0.5 make make install # build/install Apache with and PHP cd /scratch/apache_1.3.22 ./configure \ --activate-module=src/modules/php4/libphp4.a \ --enable-module=php4 make