PHP4 & Apache compile error
| From: | Nick Popoff | Date: | Tue, 20 Jul 1999 22:18:05 +0000 |
| Subject: | PHP4 & Apache compile error | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-2368@lists.php.net to get a copy of this message | ||
I'm running the newest Apache on FreeBSD 3.2. When trying to build
Apache with PHP4 as a module, I get the following error well into the
Apache build process:
gcc -funsigned-char -I/usr/local/src/php4 -I/usr/local/src/php4/libzend
-I/usr/local/src/php4/libzend -I/usr/local/src/php4 -DUSE_HSREGEX
./apaci -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 -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4 -L/usr/local/src/php4/ext/pcre/pcrelib -lpcre
-L/usr/local/src/php4/regex -lregex -L/usr/local/lib/mysql -lmysqlclient -lpam -lm -lcrypt
-rdynamic -lcrypt
modules/php4/libphp4.a(internal_functions.o): In function `module_startup_modules':
/usr/local/src/php4/internal_functions.c(.data+0x50): undefined reference to
`apache_module_entry'
*** Error code 1
Is this something simple I'm missing, or are others experiencing this?
Let me know if there is any information I can provide to help diagnose
this...