Problem with Openlink and iODBC

[email protected]
Newsgroups php.version4
Message-ID <[email protected]>
/*
I am sending this email to:
                [email protected]
                [email protected]
                [email protected]
                [email protected]
*/

I'm having some problems with openlink and iodbc support in php4 (I have tried beta 2 -> 4.0 release and have complained about this before on the php list)

----

First when compiling php with the line "./configure --with-openlink=/usr/openlink --with-iodbc=/usr"
I have the following compile error
-- It is due to isql.h not being in any of the include paths


make[3]: Entering directory `/usr/local/src/php-4.0.0/ext/odbc'
gcc -DHAVE_CONFIG_H -I. -I/usr/local/src/php-4.0.0/ext/odbc -I/usr/local/src/php
-4.0.0 -I/usr/local/src/php-4.0.0/Zend -I/usr/local/src/php-4.0.0 -I/usr/local/s
rc/php-4.0.0/ext/mysql/libmysql -I/usr/local/src/php-4.0.0/ext/xml/expat/xmltok-I/usr/local/src/php-4.0.0/ext/xml/expat/xmlparse  -DXML_BYTE_ORDER=12 -g -O2  -
c php_odbc.c && touch php_odbc.lo
In file included from php_odbc.c:35:
php_odbc.h:80: isql.h: No such file or directory
php_odbc.h:81: isqlext.h: No such file or directory
make[3]: *** [php_odbc.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.0.0/ext/odbc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.0.0/ext/odbc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.0/ext'
make: *** [all-recursive] Error 1

-----

now if I put -I/usr/openlink/odbcsdk/include in the include path of gcc I get the following error... now who or what is causing this problem?



rat:/usr/local/src/php-4.0.0# cd ext/odbc/
rat:/usr/local/src/php-4.0.0/ext/odbc# gcc -DHAVE_CONFIG_H -I. -I/usr/local/src/php-4.0.0/ext/odbc -I/usr/local/src/php-4.0.0 -I/usr/local/src/php-4.0.0/Zend -I/usr/local/src/php-4.0.0 -I/usr/local/src/php-4.0.0/ext/mysql/libmysql -I/usr/local/src/php-4.0.0/ext/xml/expat/xmltok -I/usr/local/src/php-4.0.0/ext/xml/expat/xmlparse -I/usr/openlink/odbcsdk/include  -DXML_BYTE_ORDER=12 -g -O2  -c php_odbc.c && touch php_odbc.lo
In file included from php_odbc.c:35:
php_odbc.h:88: warning: `SQL_LEN_DATA_AT_EXEC' redefined
/usr/openlink/include/isqlext.h:134: warning: this is the location of the previo
us definition
In file included from php_odbc.h:80,
                 from php_odbc.c:35:
/usr/openlink/include/isql.h:10: parse error before `*'
/usr/openlink/include/isql.h:10: warning: data definition has no type or storage
 class
/usr/openlink/include/isql.h:11: parse error before `*'
/usr/openlink/include/isql.h:11: warning: data definition has no type or storage
 class
/usr/openlink/include/isql.h:12: parse error before `*'
/usr/openlink/include/isql.h:12: warning: data definition has no type or storage
 class
/usr/openlink/include/isql.h:13: parse error before `*'
/usr/openlink/include/isql.h:13: warning: data definition has no type or storage
 class
/usr/openlink/include/isql.h:151: parse error before `CALLBACK'
/usr/openlink/include/isql.h:151: parse error before `henv'
/usr/openlink/include/isql.h:151: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:152: parse error before `CALLBACK'
/usr/openlink/include/isql.h:152: parse error before `FAR'
/usr/openlink/include/isql.h:152: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:153: parse error before `CALLBACK'
/usr/openlink/include/isql.h:153: parse error before `hdbc'
/usr/openlink/include/isql.h:153: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:154: parse error before `CALLBACK'
/usr/openlink/include/isql.h:154: parse error before `hstmt'
/usr/openlink/include/isql.h:155: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:156: parse error before `CALLBACK'
/usr/openlink/include/isql.h:156: parse error before `hstmt'
/usr/openlink/include/isql.h:156: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:157: parse error before `CALLBACK'
/usr/openlink/include/isql.h:157: parse error before `hstmt'
/usr/openlink/include/isql.h:158: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:159: parse error before `CALLBACK'
/usr/openlink/include/isql.h:159: parse error before `hdbc'
/usr/openlink/include/isql.h:160: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:161: parse error before `CALLBACK'
/usr/openlink/include/isql.h:161: parse error before `hstmt'
/usr/openlink/include/isql.h:164: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:165: parse error before `CALLBACK'
/usr/openlink/include/isql.h:165: parse error before `hdbc'
/usr/openlink/include/isql.h:165: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:166: parse error before `CALLBACK'
/usr/openlink/include/isql.h:166: parse error before `henv'
/usr/openlink/include/isql.h:168: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:169: parse error before `CALLBACK'
/usr/openlink/include/isql.h:169: parse error before `hstmt'
/usr/openlink/include/isql.h:170: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:171: parse error before `CALLBACK'
/usr/openlink/include/isql.h:171: parse error before `hstmt'
/usr/openlink/include/isql.h:171: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:172: parse error before `CALLBACK'
/usr/openlink/include/isql.h:172: parse error before `hstmt'
/usr/openlink/include/isql.h:172: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:173: parse error before `CALLBACK'
/usr/openlink/include/isql.h:173: parse error before `hdbc'
/usr/openlink/include/isql.h:173: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:174: parse error before `CALLBACK'
/usr/openlink/include/isql.h:174: parse error before `henv'
/usr/openlink/include/isql.h:174: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:175: parse error before `CALLBACK'
/usr/openlink/include/isql.h:175: parse error before `hstmt'
/usr/openlink/include/isql.h:175: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:176: parse error before `CALLBACK'
/usr/openlink/include/isql.h:176: parse error before `hstmt'
/usr/openlink/include/isql.h:177: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:178: parse error before `CALLBACK'
/usr/openlink/include/isql.h:178: parse error before `hstmt'
/usr/openlink/include/isql.h:178: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:179: parse error before `CALLBACK'
/usr/openlink/include/isql.h:179: parse error before `hstmt'
/usr/openlink/include/isql.h:180: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:181: parse error before `CALLBACK'
/usr/openlink/include/isql.h:181: parse error before `hstmt'
/usr/openlink/include/isql.h:181: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:182: parse error before `CALLBACK'
/usr/openlink/include/isql.h:182: parse error before `hstmt'
/usr/openlink/include/isql.h:183: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:184: parse error before `CALLBACK'
/usr/openlink/include/isql.h:184: parse error before `henv'
/usr/openlink/include/isql.h:184: warning: data definition has no type or storag
e class
/usr/openlink/include/isql.h:189: parse error before `CALLBACK'
/usr/openlink/include/isql.h:189: parse error before `hstmt'
/usr/openlink/include/isql.h:191: warning: data definition has no type or storag
e class
In file included from php_odbc.h:81,
                 from php_odbc.c:35:
/usr/openlink/include/isqlext.h:1052: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1052: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1055: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1056: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1056: parse error before `hdbc'
/usr/openlink/include/isqlext.h:1058: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1059: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1059: parse error before `hdbc'
/usr/openlink/include/isqlext.h:1059: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1060: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1060: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1061: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1062: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1062: parse error before `hdbc'
/usr/openlink/include/isqlext.h:1063: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1064: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1064: parse error before `hdbc'
/usr/openlink/include/isqlext.h:1065: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1066: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1066: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1066: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1067: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1067: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1067: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1068: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1068: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1068: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1069: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1069: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1069: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1070: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1070: parse error before `hdbc'
/usr/openlink/include/isqlext.h:1070: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1071: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1071: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1071: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1072: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1072: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1075: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1076: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1076: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1078: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1079: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1079: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1082: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1087: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1087: parse error before `hdbc'
/usr/openlink/include/isqlext.h:1089: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1090: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1090: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1093: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1094: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1094: parse error before `henv'
/usr/openlink/include/isqlext.h:1097: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1098: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1098: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1100: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1101: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1101: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1102: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1103: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1103: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1108: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1109: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1109: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1109: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1110: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1110: parse error before `hdbc'
/usr/openlink/include/isqlext.h:1112: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1113: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1113: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1113: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1114: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1114: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1114: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1115: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1115: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1117: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1118: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1118: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1121: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1122: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1122: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1124: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1125: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1125: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1125: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1126: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1126: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1128: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1133: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1133: parse error before `henv'
/usr/openlink/include/isqlext.h:1136: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1137: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1137: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1139: warning: data definition has no type or st
orage class
/usr/openlink/include/isqlext.h:1144: parse error before `CALLBACK'
/usr/openlink/include/isqlext.h:1144: parse error before `hstmt'
/usr/openlink/include/isqlext.h:1145: warning: data definition has no type or st
orage class
In file included from php_odbc.c:35:
php_odbc.h:216: parse error before `HENV'
php_odbc.h:216: warning: no semicolon at end of struct or union
php_odbc.h:217: warning: data definition has no type or storage class
php_odbc.h:221: parse error before `}'
php_odbc.h:221: warning: data definition has no type or storage class
php_odbc.h:234: parse error before `HSTMT'
php_odbc.h:234: warning: no semicolon at end of struct or union
php_odbc.h:246: parse error before `*'
php_odbc.h:246: warning: data definition has no type or storage class
php_odbc.h:247: parse error before `}'
php_odbc.h:247: warning: data definition has no type or storage class
php_odbc.h:266: parse error before `odbc_result'
php_odbc.h:267: parse error before `*'
php_odbc.h:267: warning: data definition has no type or storage class
php_odbc.h:269: parse error before `HDBC'
php_odbc.h:270: parse error before `*'
php_odbc.h:270: warning: data definition has no type or storage class
php_odbc.h:277: parse error before `henv'
php_odbc.h:279: parse error before `*'
php_odbc.c:140: parse error before `*'
php_odbc.c: In function `_free_odbc_result':
php_odbc.c:144: `res' undeclared (first use in this function)
php_odbc.c:144: (Each undeclared identifier is reported only once
php_odbc.c:144: for each function it appears in.)
php_odbc.c: At top level:
php_odbc.c:168: parse error before `*'
php_odbc.c: In function `_close_odbc_conn':
php_odbc.c:177: `conn' undeclared (first use in this function)
php_odbc.c: At top level:
php_odbc.c:184: parse error before `*'
php_odbc.c: In function `_close_odbc_pconn':
php_odbc.c:188: `conn' undeclared (first use in this function)
php_odbc.c: At top level:
php_odbc.c:461: parse error before `henv'
php_odbc.c: In function `odbc_sql_error':
php_odbc.c:476: `henv' undeclared (first use in this function)
php_odbc.c:476: `conn' undeclared (first use in this function)
php_odbc.c:476: `stmt' undeclared (first use in this function)
php_odbc.c:478: `func' undeclared (first use in this function)
php_odbc.c: In function `php_odgbc_fetch_attribs':
php_odbc.c:493: `result' undeclared (first use in this function)
php_odbc.c:494: parse error before `*'
php_odbc.c:498: `pv_res' undeclared (first use in this function)
php_odbc.c:498: `pv_flag' undeclared (first use in this function)
php_odbc.c:504: parse error before `)'
php_odbc.c: At top level:
php_odbc.c:519: parse error before `*'
php_odbc.c: In function `odbc_bindcols':
php_odbc.c:527: `result' undeclared (first use in this function)
php_odbc.c:558: warning: unreachable code at beginning of switch statement
php_odbc.c: In function `odbc_transact':
php_odbc.c:581: `conn' undeclared (first use in this function)
php_odbc.c:582: parse error before `rc'
php_odbc.c:586: `pv_conn' undeclared (first use in this function)
php_odbc.c:590: parse error before `)'
php_odbc.c:592: `rc' undeclared (first use in this function)
php_odbc.c: In function `_close_pconn_with_id':
php_odbc.c:604: parse error before `)'
php_odbc.c: In function `odbc_column_lengths':
php_odbc.c:613: `result' undeclared (first use in this function)
php_odbc.c:614: parse error before `len'
php_odbc.c:617: `pv_res' undeclared (first use in this function)
php_odbc.c:617: `pv_num' undeclared (first use in this function)
php_odbc.c:623: parse error before `)'
php_odbc.c:641: `len' undeclared (first use in this function)
php_odbc.c: In function `php_if_odbc_prepare':
php_odbc.c:708: `result' undeclared (first use in this function)
php_odbc.c:709: `conn' undeclared (first use in this function)
php_odbc.c:710: parse error before `rc'
php_odbc.c:716: parse error before `)'
php_odbc.c:721: parse error before `)'
php_odbc.c:729: `rc' undeclared (first use in this function)
php_odbc.c: In function `php_if_odbc_execute':
php_odbc.c:784: `result' undeclared (first use in this function)
php_odbc.c:785: parse error before `int'
php_odbc.c:788: `numArgs' undeclared (first use in this function)
php_odbc.c:802: parse error before `)'
php_odbc.c:811: `ne' undeclared (first use in this function)
php_odbc.c:820: `i' undeclared (first use in this function)
php_odbc.c:864: `rc' undeclared (first use in this function)
php_odbc.c: In function `php_if_odbc_cursor':
php_odbc.c:939: `result' undeclared (first use in this function)
php_odbc.c:940: parse error before `rc'
php_odbc.c:947: parse error before `)'
php_odbc.c:949: `rc' undeclared (first use in this function)
php_odbc.c: In function `php_if_odbc_exec':
php_odbc.c:1003: `result' undeclared (first use in this function)
php_odbc.c:1004: `conn' undeclared (first use in this function)
php_odbc.c:1005: parse error before `rc'
php_odbc.c:1020: parse error before `)'
php_odbc.c:1025: parse error before `)'
php_odbc.c:1031: `rc' undeclared (first use in this function)
php_odbc.c:1047: `scrollopts' undeclared (first use in this function)
php_odbc.c: In function `php_if_odbc_fetch_into':
php_odbc.c:1102: `result' undeclared (first use in this function)
php_odbc.c:1103: parse error before `rc'
php_odbc.c:1116: `pv_res' undeclared (first use in this function)
php_odbc.c:1116: `pv_res_arr' undeclared (first use in this function)
php_odbc.c:1120: `pv_row' undeclared (first use in this function)
php_odbc.c:1123: `rownum' undeclared (first use in this function)
php_odbc.c:1144: parse error before `)'
php_odbc.c:1161: `rc' undeclared (first use in this function)
php_odbc.c:1161: `crow' undeclared (first use in this function)
php_odbc.c:1161: `RowStatus' undeclared (first use in this function)
php_odbc.c:1179: `tmp' undeclared (first use in this function)
php_odbc.c:1183: `sql_c_type' undeclared (first use in this function)
php_odbc.c:1201: `buf' undeclared (first use in this function)
php_odbc.c:1191: warning: unreachable code at beginning of switch statement
php_odbc.c: In function `php_if_odbc_fetch_row':
php_odbc.c:1270: `result' undeclared (first use in this function)
php_odbc.c:1271: parse error before `rc'
php_odbc.c:1280: `pv_res' undeclared (first use in this function)
php_odbc.c:1283: `pv_row' undeclared (first use in this function)
php_odbc.c:1289: parse error before `)'
php_odbc.c:1299: `rc' undeclared (first use in this function)
php_odbc.c:1299: `crow' undeclared (first use in this function)
php_odbc.c:1299: `RowStatus' undeclared (first use in this function)
php_odbc.c: In function `php_if_odbc_result':
php_odbc.c:1327: `result' undeclared (first use in this function)
php_odbc.c:1328: parse error before `int'
php_odbc.c:1340: `pv_res' undeclared (first use in this function)
php_odbc.c:1340: `pv_field' undeclared (first use in this function)
php_odbc.c:1351: parse error before `)'
php_odbc.c:1360: `i' undeclared (first use in this function)
php_odbc.c:1383: `rc' undeclared (first use in this function)
php_odbc.c:1383: `crow' undeclared (first use in this function)
php_odbc.c:1383: `RowStatus' undeclared (first use in this function)
php_odbc.c:1405: `fieldsize' undeclared (first use in this function)
php_odbc.c:1398: warning: unreachable code at beginning of switch statement
php_odbc.c: In function `php_if_odbc_result_all':
php_odbc.c:1497: `result' undeclared (first use in this function)
php_odbc.c:1498: parse error before `rc'
php_odbc.c:1508: `pv_res' undeclared (first use in this function)
php_odbc.c:1511: `pv_format' undeclared (first use in this function)
php_odbc.c:1515: parse error before `)'
php_odbc.c:1523: `rc' undeclared (first use in this function)
php_odbc.c:1523: `crow' undeclared (first use in this function)
php_odbc.c:1523: `RowStatus' undeclared (first use in this function)
php_odbc.c:1550: `sql_c_type' undeclared (first use in this function)
php_odbc.c:1556: warning: unreachable code at beginning of switch statement
php_odbc.c: In function `php_if_odbc_free_result':
php_odbc.c:1619: `result' undeclared (first use in this function)
php_odbc.c:1625: parse error before `)'
php_odbc.c: At top level:
php_odbc.c:1648: parse error before `*'
php_odbc.c: In function `odbc_sqlconnect':
php_odbc.c:1652: `conn' undeclared (first use in this function)
php_odbc.c:1652: parse error before `)'
php_odbc.c:1671: `cur_opt' undeclared (first use in this function)
php_odbc.c:1708: `db' undeclared (first use in this function)
php_odbc.c:1708: `uid' undeclared (first use in this function)
php_odbc.c:1708: `pwd' undeclared (first use in this function)
php_odbc.c: In function `odbc_do_connect':
php_odbc.c:1739: `db_conn' undeclared (first use in this function)
php_odbc.c:1740: parse error before `char'
php_odbc.c:1754: `cur_opt' undeclared (first use in this function)
php_odbc.c:1789: `len' undeclared (first use in this function)
php_odbc.c:1790: `hashed_details' undeclared (first use in this function)
php_odbc.c:1797: `hashed_len' undeclared (first use in this function)
php_odbc.c:1849: parse error before `)'
php_odbc.c: In function `php_if_odbc_close':
php_odbc.c:1924: `conn' undeclared (first use in this function)
php_odbc.c:1925: `res' undeclared (first use in this function)
php_odbc.c:1926: parse error before `int'
php_odbc.c:1936: parse error before `)'
php_odbc.c:1938: parse error before `)'
php_odbc.c:1939: `is_pconn' undeclared (first use in this function)
php_odbc.c:1942: `nument' undeclared (first use in this function)
php_odbc.c:1944: `i' undeclared (first use in this function)
php_odbc.c:1945: `type' undeclared (first use in this function)
php_odbc.c:1947: parse error before `)'
php_odbc.c: In function `php_if_odbc_num_rows':
php_odbc.c:1967: `result' undeclared (first use in this function)
php_odbc.c:1968: parse error before `rows'
php_odbc.c:1971: `pv_res' undeclared (first use in this function)
php_odbc.c:1975: parse error before `)'
php_odbc.c:1976: `rows' undeclared (first use in this function)
php_odbc.c: In function `php_if_odbc_num_fields':
php_odbc.c:1985: `result' undeclared (first use in this function)
php_odbc.c:1986: parse error before `*'
php_odbc.c:1988: `pv_res' undeclared (first use in this function)
php_odbc.c:1991: parse error before `)'
php_odbc.c: In function `php_if_odbc_field_name':
php_odbc.c:2000: `result' undeclared (first use in this function)
php_odbc.c:2001: parse error before `*'
php_odbc.c:2003: `pv_res' undeclared (first use in this function)
php_odbc.c:2003: `pv_num' undeclared (first use in this function)
php_odbc.c:2009: parse error before `)'
php_odbc.c: In function `php_if_odbc_field_type':
php_odbc.c:2034: `result' undeclared (first use in this function)
php_odbc.c:2035: parse error before `char'
php_odbc.c:2039: `pv_res' undeclared (first use in this function)
php_odbc.c:2039: `pv_num' undeclared (first use in this function)
php_odbc.c:2045: parse error before `)'
php_odbc.c:2063: `tmp' undeclared (first use in this function)
php_odbc.c:2063: `tmplen' undeclared (first use in this function)
php_odbc.c: In function `php_if_odbc_field_num':
php_odbc.c:2090: `result' undeclared (first use in this function)
php_odbc.c:2091: parse error before `int'
php_odbc.c:2094: `pv_res' undeclared (first use in this function)
php_odbc.c:2094: `pv_name' undeclared (first use in this function)
php_odbc.c:2098: parse error before `)'
php_odbc.c:2109: `i' undeclared (first use in this function)
php_odbc.c: In function `php_if_odbc_autocommit':
php_odbc.c:2125: `conn' undeclared (first use in this function)
php_odbc.c:2126: parse error before `rc'
php_odbc.c:2130: `argc' undeclared (first use in this function)
php_odbc.c:2132: `pv_conn' undeclared (first use in this function)
php_odbc.c:2132: `pv_onoff' undeclared (first use in this function)
php_odbc.c:2143: parse error before `)'
php_odbc.c:2151: `rc' undeclared (first use in this function)
php_odbc.c:2162: invalid operands to binary &
php_odbc.c: In function `php_if_odbc_setoption':
php_odbc.c:2199: `conn' undeclared (first use in this function)
php_odbc.c:2200: `result' undeclared (first use in this function)
php_odbc.c:2201: parse error before `rc'
php_odbc.c:2204: `pv_handle' undeclared (first use in this function)
php_odbc.c:2204: `pv_which' undeclared (first use in this function)
php_odbc.c:2204: `pv_opt' undeclared (first use in this function)
php_odbc.c:2204: `pv_val' undeclared (first use in this function)
php_odbc.c:2214: parse error before `)'
php_odbc.c:2219: `rc' undeclared (first use in this function)
php_odbc.c:2226: parse error before `)'
php_odbc.c:2214: warning: unreachable code at beginning of switch statement
php_odbc.c: In function `php_if_odbc_tables':
php_odbc.c:2254: `result' undeclared (first use in this function)
php_odbc.c:2255: `conn' undeclared (first use in this function)
php_odbc.c:2256: parse error before `char'
php_odbc.c:2260: `argc' undeclared (first use in this function)
php_odbc.c:2270: `cat' undeclared (first use in this function)
php_odbc.c:2272: `schema' undeclared (first use in this function)
php_odbc.c:2274: `table' undeclared (first use in this function)
php_odbc.c:2276: `type' undeclared (first use in this function)
php_odbc.c:2281: parse error before `)'
php_odbc.c:2283: parse error before `)'
php_odbc.c:2289: `rc' undeclared (first use in this function)
php_odbc.c: In function `php_if_odbc_columns':
php_odbc.c:2336: `result' undeclared (first use in this function)
php_odbc.c:2337: `conn' undeclared (first use in this function)
php_odbc.c:2338: parse error before `char'
php_odbc.c:2342: `argc' undeclared (first use in this function)
php_odbc.c:2352: `cat' undeclared (first use in this function)
php_odbc.c:2354: `schema' undeclared (first use in this function)
php_odbc.c:2356: `table' undeclared (first use in this function)
php_odbc.c:2358: `column' undeclared (first use in this function)
php_odbc.c:2363: parse error before `)'
php_odbc.c:2365: parse error before `)'
php_odbc.c:2371: `rc' undeclared (first use in this function)
php_odbc.c: In function `php_if_odbc_columnprivileges':
php_odbc.c:2419: `result' undeclared (first use in this function)
php_odbc.c:2420: `conn' undeclared (first use in this function)
php_odbc.c:2421: parse error before `char'
php_odbc.c:2425: `argc' undeclared (first use in this function)
php_odbc.c:2431: `cat' undeclared (first use in this function)
php_odbc.c:2433: `schema' undeclared (first use in this function)
php_odbc.c:2435: `table' undeclared (first use in this function)
php_odbc.c:2437: `column' undeclared (first use in this function)
php_odbc.c:2442: parse error before `)'
php_odbc.c:2444: parse error before `)'
php_odbc.c:2450: `rc' undeclared (first use in this function)
php_odbc.c: In function `php_if_odbc_foreignkeys':
php_odbc.c:2500: `result' undeclared (first use in this function)
php_odbc.c:2501: `conn' undeclared (first use in this function)
php_odbc.c:2502: parse error before `char'
php_odbc.c:2507: `argc' undeclared (first use in this function)
php_odbc.c:2514: `pcat' undeclared (first use in this function)
php_odbc.c:2516: `pschema' undeclared (first use in this function)
php_odbc.c:2518: `ptable' undeclared (first use in this function)
php_odbc.c:2520: `fcat' undeclared (first use in this function)
php_odbc.c:2522: `fschema' undeclared (first use in this function)
php_odbc.c:3001: parse error before `char'
php_odbc.c:3006: `argc' undeclared (first use in this function)
php_odbc.c:3013: `cat' undeclared (first use in this function)
php_odbc.c:3015: `schema' undeclared (first use in this function)
php_odbc.c:3017: `name' undeclared (first use in this function)
php_odbc.c:3019: `unique' undeclared (first use in this function)
php_odbc.c:3021: `reserved' undeclared (first use in this function)
php_odbc.c:3026: parse error before `)'
php_odbc.c:3028: parse error before `)'
php_odbc.c:3034: `rc' undeclared (first use in this function)
php_odbc.c: In function `php_if_odbc_tableprivileges':
php_odbc.c:3083: `result' undeclared (first use in this function)
php_odbc.c:3084: `conn' undeclared (first use in this function)
php_odbc.c:3085: parse error before `char'
php_odbc.c:3089: `argc' undeclared (first use in this function)
php_odbc.c:3095: `cat' undeclared (first use in this function)
php_odbc.c:3097: `schema' undeclared (first use in this function)
php_odbc.c:3099: `table' undeclared (first use in this function)
php_odbc.c:3104: parse error before `)'
php_odbc.c:3106: parse error before `)'
php_odbc.c:3112: `rc' undeclared (first use in this function)
rat:/usr/local/src/php-4.0.0/ext/odbc#
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.