PHP 4.0 Bug #3383: problem when compiling php4 snapshot with solid 3.0
| From: | yannick at travelprice dot com | Date: | Wed, 02 Feb 2000 10:27:50 +0000 |
| Subject: | PHP 4.0 Bug #3383: problem when compiling php4 snapshot with solid 3.0 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15141@lists.php.net to get a copy of this message | ||
From: yannick@travelprice.com
Operating system: Linux RedHat 6.1
PHP version: 4.0 Latest CVS (02/02/2000)
PHP Bug Type: Compile Failure
Bug description: problem when compiling php4 snapshot with solid 3.0
before compiling i've made change in php4 files
i've change solid library name
from lux to l2x in
php4-200002010045/ext/odbc/config.m4
i've change solid include files name in
php4-200002010045/ext/odbc/php_odbc.h
<cli0cli.h>
<cli0defs.h>
<cli0env.h
When i try to compile apache 1.3.11 with the latest snapshot of php4 and
solid3.0 under redhat 6.1 i
get this message :
<=== src/modules
gcc -c -I./os/unix -I./include -DLINUX=2 -I/opt/install/php4-200002010045
-I/opt/install/php4-200002010045/Zend -I/opt/install/php4-200002010045/Zend
-I/opt/install/php4-200002010045 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-li
te -DNO_DL_NEEDED
./apaci modules.c
gcc -c -I./os/unix -I./include -DLINUX=2 -I/opt/install/php4-200002010045
-I/opt/install/php4-200002010045/Zend -I/opt/install/php4-200002010045/Zend
-I/opt/install/php4-200002010045 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-li
te -DNO_DL_NEEDED ./apaci buildmark.c
gcc -DLINUX=2 -I/opt/install/php4-200002010045 -I/opt/install/php4-20000201
0045/Zend -I/opt/install/php4-200002010045/Zend -I/opt/install/php4-20000201
0045 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./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
lib/expat-lite/libexpat.a -rdynamic -Lmodules/php4 -L../modules/php4 -L../.
./modules/php4 -lmodphp4 -lgdbm
/usr/local/solid/Linux_glibc2/lib/scll2x30.so -lpam -ldl -ldl -lttf -lgd -
lresolv -lm -lcrypt -lnsl -lresolv -lm -lcrypt
modules/php4/libphp4.a(php_odbc.o): In function `odbc_sql_error':
/opt/install/php4-200002010045/ext/odbc/php_odbc.c:505: undefined reference
to `SQL_SUCCEEDED'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/opt/install/apache_1.3.11/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/opt/install/apache_1.3.11'
make: *** [build] Error 2