[PHP-DEV] Bug in Php 4.0.4pl1 configure (does not require solid lib)
Hi to all! I found a bug in the configure script of PHP 4.0.4pl1 in the solid section. There is a test in this file for the existence of the solid files after which there are several echo statements if there is a problem (you can pretty much search for these in the file). On the last echo statement the "else" clause is on the same line and is ignored. Unfortunately the else clause contains the linker statements and is ignored. I correct this and the compilation worked correctely! Denis -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Solid 3.5 and PHP 4.0.4pl1
Hi to all! Is anyone able to compile PHP 4.0.4pl1 with Solid 3.5 libraries? I have tried but it gives very very very many errors when the php module is linked during apache compilation. I know that a similar problem has been solved with PHP 4.0.3 and infact I'm able to compile Solid 3.5 with this version of PHP. But the 4.0.4pl1 version seems to ignore (or hasn't) the 4.0.3 patch. I report the errors from the compilation process at the end of the email. I compile PHP with apache 1.3.17 (but also i have tried with 1.3.14) in a red hat 7 enviroment. Thanks to all! Denis - START ERRORS gcc -DLINUX=22 -I/u/development/test/php-4.0.4pl1 -I/u/development/test/php-4.0.4pl1/main -I/u/development/test/php-4.0.4pl1/main -I/u/development/test/php-4.0.4pl1/Zend -I/u/development/test/php-4.0.4pl1/Zend -I/u/development/test/php-4.0.4pl1/TSRM -I/u/development/test/php-4.0.4pl1/TSRM -I/u/development/test/php-4.0.4pl1 -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 lib/expat-lite/libexpat.a -Wl,-rpath,/usr/local/lib -rdynamic -L/usr/local/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4-lpam -lc-client -ldl -lz -ljpeg -lpng -ltiff -lpdf -lmhash -lz -lpng -lgd -ljpeg -lresolv -lm -ldl -lcrypt -lnsl -lresolv -L/usr/local/lib -ljpeg -lm -lcrypt modules/php4/libphp4.a(php_odbc.o): In function `_free_odbc_result': php_odbc.o(.text+0x79): undefined reference to `SQLTransact' php_odbc.o(.text+0x84): undefined reference to `SQLFreeStmt' modules/php4/libphp4.a(php_odbc.o): In function `_close_odbc_conn': php_odbc.o(.text+0xb4): undefined reference to `SQLDisconnect' php_odbc.o(.text+0xbd): undefined reference to `SQLFreeConnect' php_odbc.o(.text+0xc5): undefined reference to `SQLFreeEnv' modules/php4/libphp4.a(php_odbc.o): In function `_close_odbc_pconn': php_odbc.o(.text+0xec): undefined reference to `SQLDisconnect' php_odbc.o(.text+0xf5): undefined reference to `SQLFreeConnect' php_odbc.o(.text+0xfd): undefined reference to `SQLFreeEnv' modules/php4/libphp4.a(php_odbc.o): In function `odbc_sql_error': php_odbc.o(.text+0x787): undefined reference to `SQLError' modules/php4/libphp4.a(php_odbc.o): In function `odbc_bindcols': php_odbc.o(.text+0x94b): undefined reference to `SQLFreeStmt' php_odbc.o(.text+0x99f): undefined reference to `SQLColAttributes' php_odbc.o(.text+0x9bb): undefined reference to `SQLColAttributes' php_odbc.o(.text+0x9f8): undefined reference to `SQLColAttributes' php_odbc.o(.text+0xa2b): undefined reference to `SQLBindCol' modules/php4/libphp4.a(php_odbc.o): In function `odbc_transact': php_odbc.o(.text+0xabe): undefined reference to `SQLTransact' modules/php4/libphp4.a(php_odbc.o): In function `odbc_column_lengths': php_odbc.o(.text+0xc76): undefined reference to `SQLColAttributes' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_prepare': php_odbc.o(.text+0xede): undefined reference to `SQLAllocStmt' php_odbc.o(.text+0xf27): undefined reference to `SQLPrepare' php_odbc.o(.text+0xf4b): undefined reference to `SQLFreeStmt' php_odbc.o(.text+0xf6e): undefined reference to `SQLNumParams' php_odbc.o(.text+0xf7b): undefined reference to `SQLNumResultCols' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_execute': php_odbc.o(.text+0x11d9): undefined reference to `SQLDescribeParam' php_odbc.o(.text+0x1282): undefined reference to `SQLFreeStmt' php_odbc.o(.text+0x1311): undefined reference to `SQLBindParameter' php_odbc.o(.text+0x1344): undefined reference to `SQLFreeStmt' php_odbc.o(.text+0x1373): undefined reference to `SQLExecute' php_odbc.o(.text+0x13a4): undefined reference to `SQLParamData' php_odbc.o(.text+0x13c2): undefined reference to `SQLPutData' php_odbc.o(.text+0x1429): undefined reference to `SQLFreeStmt' php_odbc.o(.text+0x1494): undefined reference to `SQLNumResultCols' php_odbc.o(.text+0x14ee): undefined reference to `SQLFreeStmt' php_odbc.o(.text+0x1526): undefined reference to `SQLFreeStmt' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_cursor': php_odbc.o(.text+0x15d4): undefined reference to `SQLGetInfo' php_odbc.o(.text+0x163d): undefined reference to `SQLGetCursorName' php_odbc.o(.text+0x167f): undefined reference to `SQLError' php_odbc.o(.text+0x16b1): undefined reference to `SQLSetCursorName' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_exec': php_odbc.o(.text+0x1934): undefined reference to `SQLAllocStmt' php_odbc.o(.text+0x1977): undefined reference to `SQLExecDirect' php_odbc.o(.text+0x199c): undefined reference to `SQLFreeStmt' php_odbc.o(.text+0x19c2): undefined reference to `SQLNumResultCols' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_fetch_into': php_odbc.o(.text+0x1b1e): undefined reference to `SQLFetch'