Solid 3.5 and PHP 4.0.4pl1
| From: | Denis Gasparin | Date: | Wed, 28 Feb 2001 16:17:51 +0000 |
| Subject: | Solid 3.5 and PHP 4.0.4pl1 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-47671@lists.php.net to get a copy of this message | ||
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'
php_odbc.o(.text+0x1c71): undefined reference to `SQLGetData'
modules/php4/libphp4.a(php_odbc.o): In function `php_if_solid_fetch_prev':
php_odbc.o(.text+0x1dc2): undefined reference to `SQLFetchPrev'
modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_fetch_row':
php_odbc.o(.text+0x1f2a): undefined reference to `SQLFetch'
modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_result':
php_odbc.o(.text+0x2131): undefined reference to `SQLFetch'
php_odbc.o(.text+0x21e1): undefined reference to `SQLColAttributes'
php_odbc.o(.text+0x225a): undefined reference to `SQLGetData'
php_odbc.o(.text+0x23ff): undefined reference to `SQLGetData'
modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_result_all':
php_odbc.o(.text+0x24fe): undefined reference to `SQLFetch'
php_odbc.o(.text+0x2740): undefined reference to `SQLGetData'
php_odbc.o(.text+0x27f1): undefined reference to `SQLFetch'
modules/php4/libphp4.a(php_odbc.o): In function `odbc_sqlconnect':
php_odbc.o(.text+0x2923): undefined reference to `SQLAllocEnv'
php_odbc.o(.text+0x2934): undefined reference to `SQLAllocConnect'
php_odbc.o(.text+0x294a): undefined reference to `SQLSetConnectOption'
php_odbc.o(.text+0x2972): undefined reference to `SQLFreeConnect'
php_odbc.o(.text+0x2996): undefined reference to `SQLConnect'
php_odbc.o(.text+0x29bf): undefined reference to `SQLFreeConnect'
modules/php4/libphp4.a(php_odbc.o): In function `odbc_do_connect':
php_odbc.o(.text+0x2edf): undefined reference to `SQLGetInfo'
php_odbc.o(.text+0x2f08): undefined reference to `SQLDisconnect'
php_odbc.o(.text+0x2f14): undefined reference to `SQLFreeConnect'
modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_num_rows':
php_odbc.o(.text+0x321a): undefined reference to `SQLRowCount'
modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_field_type':
php_odbc.o(.text+0x3562): undefined reference to `SQLColAttributes'
modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_autocommit':
php_odbc.o(.text+0x387c): undefined reference to `SQLSetConnectOption'
php_odbc.o(.text+0x38ab): undefined reference to `SQLGetConnectOption'
modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_setoption':
php_odbc.o(.text+0x3b8d): undefined reference to `SQLSetConnectOption'
php_odbc.o(.text+0x3bf8): undefined reference to `SQLSetStmtOption'
modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_tables':
php_odbc.o(.text+0x3f74): undefined reference to `SQLAllocStmt'
php_odbc.o(.text+0x400e): undefined reference to `SQLTables'
php_odbc.o(.text+0x4044): undefined reference to `SQLNumResultCols'
modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_columns':
php_odbc.o(.text+0x43dc): undefined reference to `SQLAllocStmt'
php_odbc.o(.text+0x4476): undefined reference to `SQLColumns'
php_odbc.o(.text+0x44ac): undefined reference to `SQLNumResultCols'
modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_gettypeinfo':
php_odbc.o(.text+0x4660): undefined reference to `SQLAllocStmt'
php_odbc.o(.text+0x46b3): undefined reference to `SQLGetTypeInfo'
php_odbc.o(.text+0x46e8): undefined reference to `SQLNumResultCols'
modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_primarykeys':
php_odbc.o(.text+0x4994): undefined reference to `SQLAllocStmt'
php_odbc.o(.text+0x4a15): undefined reference to `SQLPrimaryKeys'
php_odbc.o(.text+0x4a48): undefined reference to `SQLNumResultCols'
modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_specialcolumns':
php_odbc.o(.text+0x4ec4): undefined reference to `SQLAllocStmt'
php_odbc.o(.text+0x4f5a): undefined reference to `SQLSpecialColumns'
php_odbc.o(.text+0x4f90): undefined reference to `SQLNumResultCols'
modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_statistics':
php_odbc.o(.text+0x5374): undefined reference to `SQLAllocStmt'
php_odbc.o(.text+0x5405): undefined reference to `SQLStatistics'
php_odbc.o(.text+0x5438): undefined reference to `SQLNumResultCols'
collect2: ld returned 1 exit status
<----------------------------- END ERRORS ---------------------------------------->