Apache make error: undefined reference to `modphp4_module'

From: Date: Fri, 17 Mar 2000 03:57:28 +0000
Subject: Apache make error: undefined reference to `modphp4_module'
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-12301@lists.php.net to get a copy of this message
I'm on RedHat 6.1 running on a Pentium. I'm trying to make PHP 4 Beta 4 patch level 1 with Apache, MySQL and a couple of other options. Here's my directory structure: /root/php/php-4.0b4pl1/ PHP source, including configure, etc. /root/apache/apache_1.3.11/ Apache source, including configure, etc. # First, I start the Apache configure... cd /root/apache/apache_1.3.11 ./configure --prefix=/usr/local/apache \ --activate-module=src/modules/php4/libmodphp4.a # Then I do the PHP configure, make and make install... cd /root/php/php-4.0b4pl1 ./configure --with-mysql --with-xml --with-gd --with-ttf \ --with-apache=/root/apache/apache_1.3.11 make make install # No errors so far. Now back to Apache... cd /root/apache/apache_1.3.11 make It makes a bunch of stuff successfully, then it bombs out: gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./ap
aci`    \
      -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4
/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a lib/expa
t-lite/libexpat.a -lm -lcrypt modules.o(.data+0x48): undefined reference to `modphp4_module' modules.o(.data+0x98): undefined reference to `modphp4_module' collect2: ld returned 1 exit status make[2]: *** [target_static] Error 1 make[2]: Leaving directory `/root/apache/apache_1.3.11/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/root/apache/apache_1.3.11' make: *** [build] Error 2 # Help! -- Ken Jenks, http://abiblion.com/ Tools for reading.

« previous php.version4 (#12301) next »