php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15968 make error when making apache
Submitted: 2002-03-08 21:28 UTC Modified: 2002-09-29 20:49 UTC
From: larry dot hansard at library dot gatech dot edu Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.1.1 OS: Solaris 8
Private report: No CVE-ID: None
 [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





Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-09 06:30 UTC] sander@php.net
Can you post your configure lines? (both of PHP and Apache)
 [2002-03-09 19:19 UTC] larry dot hansard at library dot gatech dot edu
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
 [2002-09-29 20:49 UTC] sniper@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 06:01:34 2024 UTC