Bug #1055: Can't compile php 3.0.6 us Apache 1.3.3 module under AIX 4.2
| From: | ignas at sintegra dot lt | Date: | Tue, 12 Jan 1999 08:22:02 +0000 |
| Subject: | Bug #1055: Can't compile php 3.0.6 us Apache 1.3.3 module under AIX 4.2 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3487@lists.php.net to get a copy of this message | ||
From: ignas@sintegra.lt
Operating system: AIX 4.2
PHP version: 3.0.6
PHP Bug Type: Compile Failure
Bug description: Can't compile php 3.0.6 us Apache 1.3.3 module under AIX 4.2
PHP configure line:
./configure --with-apache=/home/ignas/apache_1.3.3 --with-gd=no --with-pgsql
--with-config-file-path=/usr/local/apache/etc --enable-debug=no --enable-safe-mode=yes
--with-exec-dir=/usr/local/apache/bin --enable-short-tags=no --enable-url-fopen-wrapper=no
APACHE 1.3.3 configure line:
./configure --prefix=/usr/local/apache --activate-module=src/modules/php3/libphp3.a
I have tryed to make changes described in Bug #853, but it gives me the same result.
Apache without PHP compile without any problems.
I get forlowing, when I compile Apache with php module:
===> src/modules/php3
gmake[4]: Entering directory `/home/ignas/apache_1.3.3/src/modules/php3'
gcc -c -I../../os/unix -I../../include -DAIX=42 -U__STR__ -DAIX_BIND_PROCESSO
R -DUSE_HSREGEX
../../apaci mod_php3.c
cp libmodphp3.a libphp3.a
ar r libphp3.a mod_php3.o
ranlib libphp3.a
gmake[4]: Leaving directory `/home/ignas/apache_1.3.3/src/modules/php3'
<=== src/modules/php3
gmake[3]: Leaving directory `/home/ignas/apache_1.3.3/src/modules'
<=== src/modules
gcc -c -I./os/unix -I./include -DAIX=42 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_
HSREGEX ./apaci modules.c
gcc -c -I./os/unix -I./include -DAIX=42 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_
HSREGEX ./apaci buildmark.c
gcc -DAIX=42 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX ./apaci -lm \
-o httpd buildmark.o modules.o modules/php3/libphp3.a modules/standard/lib
standard.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a -Lmodul
es/php3 -L../modules/php3 -L../../modules/php3 -lmodphp3 -ldb -L/
usr/local/pgsql/lib -lpq -lm -ldl -lnsl
collect2: ld returned 8 exit status
ld: 0711-317 ERROR: Undefined symbol: .ldopen
ld: 0711-317 ERROR: Undefined symbol: .ldclose
ld: 0711-317 ERROR: Undefined symbol: .ldnshread
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
gmake[2]: *** [target_static] Error 1
gmake[2]: Leaving directory `/home/ignas/apache_1.3.3/src'
gmake[1]: *** [build-std] Error 2
gmake[1]: Leaving directory `/home/ignas/apache_1.3.3'
gmake: *** [build] Error 2
# sys
ksh: sys: not found.
#
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net