php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3383 problem when compiling php4 snapshot with solid 3.0
Submitted: 2000-02-02 05:27 UTC Modified: 2000-02-23 14:16 UTC
From: yannick at travelprice dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Latest CVS (02/02/2000) OS: Linux RedHat 6.1
Private report: No CVE-ID: None
 [2000-02-02 05:27 UTC] yannick at travelprice dot com
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-23 14:16 UTC] sas at cvs dot php dot net
Thanks for your report, fixed in CVS.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Jan 23 00:03:42 2022 UTC