I've never, ever, seen any Linux/390-specific patches from IBM for something like PHP. This is likely something you'll need to work through with the PHP developers. Not that you're likely to get much of a response from them. I sent them a patch several weeks ago. The problem report still has not even been acknowledged, let alone have any indication if they'll do anything with the patch.
Mark Post -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Seader, Cameron Sent: Monday, September 20, 2004 10:07 AM To: [EMAIL PROTECTED] Subject: PHP + IBM DB2 V8.1 + SLES8 64 bit Does anyone know of any php patches for zSeries Linux from IBM. I am having trouble compiling. When i do a compile i get these errors. In file included from /home/db2admin/sqllib/include/sqlcli1.h:42, from /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc_includes.h:176, from /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c:37: /home/db2admin/sqllib/include/sqlcli.h:772:1: warning: "ODBCVER" redefined In file included from /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c:37: /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc_includes.h:28:1: warning: this is the location of the previous definition /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c: In function `safe_odbc_disconnect': /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c:201: warning: passing arg 1 of `SQLDisconnect' makes integer from pointer without a cast /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c:204: warning: passing arg 1 of `SQLTransact' makes integer from pointer without a cast /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c:204: warning: passing arg 2 of `SQLTransact' makes integer from pointer without a cast /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c:205: warning: passing arg 1 of `SQLDisconnect' makes integer from pointer without a cast /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c: In function `_close_odbc_conn': /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c:231: warning: passing arg 1 of `safe_odbc_disconnect' makes pointer from integer without a cast /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c: In function `_close_odbc_pconn': /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c:259: warning: passing arg 1 of `safe_odbc_disconnect' makes pointer from integer without a cast /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c: In function `odbc_bindcols': /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c:676: warning: passing arg 6 of `SQLBindCol' from incompatible pointer type /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c: In function `zif_odbc_execute': /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c:1038: warning: cast to pointer from integer of different size /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c: In function `zif_odbc_data_source': /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c:1219: warning: passing arg 2 of `odbc_sql_error' makes integer from pointer without a cast /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c: In function `php_odbc_fetch_hash': /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c:1430: warning: passing arg 6 of `SQLGetData' from incompatible pointer type /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c: In function `zif_odbc_fetch_into': /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c:1590: warning: passing arg 6 of `SQLGetData' from incompatible pointer type /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c: In function `zif_odbc_result': /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c:1821: warning: passing arg 6 of `SQLGetData' from incompatible pointer type /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c:1864: warning: passing arg 6 of `SQLGetData' from incompatible pointer type /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c: In function `zif_odbc_result_all': /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c:1968: warning: passing arg 6 of `SQLGetData' from incompatible pointer type /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c: In function `odbc_do_connect': /usr/src/packages/BUILD/php-4.3.3/ext/odbc/php_odbc.c:2298: warning: cast from pointer to integer of different size However When i do a compile it does complete and when i look at a phpinfo() page it shows odbc drivers are loaded. When i do an insert into a DB2 database it works just fine, but when i do a select statement it never works. I can never get data back from it. I think it has something to do with these errors im getting when i compile. Does anyone have any thoughts? Thanks, Cameron Seader [EMAIL PROTECTED] [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
