Problem Compiling PHP4.0b3 Module into Apache 1.3.11
| From: | Steve Benson | Date: | Thu, 10 Feb 2000 22:27:44 +0000 |
| Subject: | Problem Compiling PHP4.0b3 Module into Apache 1.3.11 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-10076@lists.php.net to get a copy of this message | ||
Hi,
Please help, I've been trying to get PHP4 up on my server for several days now.
I'm using RH Linux 6.1 Kernel 2.2.12-20 and the Apache source version 1.3.11 which I've compiled and have running with Perl and experienced no problems until trying to add the PHP4 module.
When I follow the instructions included with the PHP4.0b3 distribution:
(php4 dir)
./configure --with-apache=../apache_1.3.11 --enable-track-vars
(no errors)
make
(no errors)
make install
(no errors)
(apache dir)
./configure --activate-module=src/modules/php4/libphp4.a
(no errors)
make
(ERRORS)
All appears to work fine until I get to running 'make' for Apache which produces the following error output. Is my distribution missing a header file (.h)? (note: this is only the error output, I didn't include all the standard output lines without errors that preceded the errors)
modules/php4/libphp4.a(browscap.o): In function `browser_reg_compare':
/usr/local/src/php-4.0b3/ext/standard/browscap.c:54: undefined reference to `php_regcomp'
/usr/local/src/php-4.0b3/ext/standard/browscap.c:57: undefined reference to `php_regexec'
/usr/local/src/php-4.0b3/ext/standard/browscap.c:60: undefined reference to `php_regfree'
modules/php4/libphp4.a(reg.o): In function `_php_regcomp':
/usr/local/src/php-4.0b3/ext/standard/reg.c:73: undefined reference to `php_regcomp'
modules/php4/libphp4.a(reg.o): In function `_free_reg_cache':
/usr/local/src/php-4.0b3/ext/standard/reg.c:91: undefined reference to `php_regfree'
modules/php4/libphp4.a(reg.o): In function `_php3_reg_eprint':
/usr/local/src/php-4.0b3/ext/standard/reg.c:148: undefined reference to `php_regerror'
/usr/local/src/php-4.0b3/ext/standard/reg.c:153: undefined reference to `php_regerror'
/usr/local/src/php-4.0b3/ext/standard/reg.c:158: undefined reference to `php_regerror'
/usr/local/src/php-4.0b3/ext/standard/reg.c:169: undefined reference to `php_regerror'
modules/php4/libphp4.a(reg.o): In function `_php3_ereg':
/usr/local/src/php-4.0b3/ext/standard/reg.c:239: undefined reference to `php_regexec'
modules/php4/libphp4.a(reg.o): In function `_php3_regreplace':
/usr/local/src/php-4.0b3/ext/standard/reg.c:339: undefined reference to `php_regexec'
modules/php4/libphp4.a(reg.o): In function `php3_split':
/usr/local/src/php-4.0b3/ext/standard/reg.c:588: undefined reference to `php_regexec'
modules/php4/libphp4.a(url.o): In function `url_parse':
/usr/local/src/php-4.0b3/ext/standard/url.c:76: undefined reference to `php_regcomp'
/usr/local/src/php-4.0b3/ext/standard/url.c:82: undefined reference to `php_regexec'
/usr/local/src/php-4.0b3/ext/standard/url.c:114: undefined reference to `php_regfree'
/usr/local/src/php-4.0b3/ext/standard/url.c:116: undefined reference to `php_regcomp'
/usr/local/src/php-4.0b3/ext/standard/url.c:116: undefined reference to `php_regexec'
/usr/local/src/php-4.0b3/ext/standard/url.c:150: undefined reference to `php_regfree'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[1]: *** [build-std] Error 2
make: *** [build] Error 2
Thanks for any help you can provide,
Steve Benson
Application Software Developer
Stanford University
Communication Services, Information Systems Group
Steve.Benson@Stanford.Edu
(650) 725-3475
FAX (650) 725-9393