PHP 4.0 Bug #6792 Updated: Openlink ODBC

From: Date: Thu, 21 Sep 2000 02:24:41 +0000
Subject: PHP 4.0 Bug #6792 Updated: Openlink ODBC
Groups: php.dev 
Request: Send a blank email to php-dev+get-33484@lists.php.net to get a copy of this message
ID: 6792 User Update by: aubrey@isoft.co.za Status: Open Bug Type: Compile Failure Description: Openlink ODBC I have now compiled and tested it and it works. I had run openlink.sh but I had forgotten to change --with-iodbc to --with-openlink Thanks Aubrey Previous Comments: --------------------------------------------------------------------------- [2000-09-20 19:43:03] aubrey@isoft.co.za I have now reloaded Openlink. The odbctest works fine and I can connect to my database and run select etc statements. I have loaded the odbcsdk and have comiled using --with-openlink=/usr/openlink and --with-openlink=/usr/openlink/odbcsdk. My Openlink release files are as follows, I have installed using install.sh and my env shows correct information as to paths etc : -rwxrwxrwx 1 root root 1189429 Sep 20 09:35 l3adp83b.taz -rwxrwxrwx 1 root root 2353351 Sep 20 09:35 l3brzzzz.taz -rwxrwxrwx 1 root root 564452 Sep 20 09:35 l3kozzzz.taz My compile looks like this: /bin/sh /home/aubrey/php-4.0.2/libtool --silent --mode=compile gcc -I. -I/home/aubrey/php-4.0.2/main -I/home/aubrey/php-4.0.2 -I/home/aubrey/php-4.0.2/main -I/usr/include/apache -I/home/aubrey/php-4.0.2/Zend -I/home/aubrey/php-4.0.2 -I/usr/include/freetype -I/usr/include/gd -I/home/aubrey/php-4.0.2/ext/mysql/libmysql -I/usr/openlink/odbcsdk/include -I/home/aubrey/php-4.0.2/ext/xml/expat/xmltok -I/home/aubrey/php-4.0.2/ext/xml/expat/xmlparse -DEAPI=1 -DXML_BYTE_ORDER=12 -g -O2 -c internal_functions.c In file included from internal_functions.c:38: /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:90:29: warning: "SQL_LEN_DATA_AT_EXEC" redefined /usr/openlink/odbcsdk/include/isqlext.h:134:1: warning: this is the location of the previous definition In file included from /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:83, from internal_functions.c:39: /usr/openlink/odbcsdk/include/isql.h:10: parse error before `*' /usr/openlink/odbcsdk/include/isql.h:10: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:11: parse error before `*' /usr/openlink/odbcsdk/include/isql.h:11: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:12: parse error before `*' /usr/openlink/odbcsdk/include/isql.h:12: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:13: parse error before `*' /usr/openlink/odbcsdk/include/isql.h:13: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:151: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:151: parse error before `henv' /usr/openlink/odbcsdk/include/isql.h:151: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:152: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:152: parse error before `FAR' /usr/openlink/odbcsdk/include/isql.h:152: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:153: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:153: parse error before `hdbc' /usr/openlink/odbcsdk/include/isql.h:153: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:154: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:154: parse error before `hstmt' /usr/openlink/odbcsdk/include/isql.h:155: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:156: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:156: parse error before `hstmt' /usr/openlink/odbcsdk/include/isql.h:156: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:157: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:157: parse error before `hstmt' /usr/openlink/odbcsdk/include/isql.h:158: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:159: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:159: parse error before `hdbc' /usr/openlink/odbcsdk/include/isql.h:160: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:161: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:161: parse error before `hstmt' /usr/openlink/odbcsdk/include/isql.h:164: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:165: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:165: parse error before `hdbc' /usr/openlink/odbcsdk/include/isql.h:165: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:166: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:166: parse error before `henv' /usr/openlink/odbcsdk/include/isql.h:168: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:169: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:169: parse error before `hstmt' /usr/openlink/odbcsdk/include/isql.h:170: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:171: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:171: parse error before `hstmt' /usr/openlink/odbcsdk/include/isql.h:171: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:172: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:172: parse error before `hstmt' /usr/openlink/odbcsdk/include/isql.h:172: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:173: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:173: parse error before `hdbc' /usr/openlink/odbcsdk/include/isql.h:173: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:174: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:174: parse error before `henv' /usr/openlink/odbcsdk/include/isql.h:174: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:175: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:175: parse error before `hstmt' /usr/openlink/odbcsdk/include/isql.h:175: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:176: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:176: parse error before `hstmt' /usr/openlink/odbcsdk/include/isql.h:177: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:178: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:178: parse error before `hstmt' /usr/openlink/odbcsdk/include/isql.h:178: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:179: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:179: parse error before `hstmt' /usr/openlink/odbcsdk/include/isql.h:180: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:181: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:181: parse error before `hstmt' /usr/openlink/odbcsdk/include/isql.h:181: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:182: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:182: parse error before `hstmt' /usr/openlink/odbcsdk/include/isql.h:183: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:184: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:184: parse error before `henv' /usr/openlink/odbcsdk/include/isql.h:184: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isql.h:189: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isql.h:189: parse error before `hstmt' /usr/openlink/odbcsdk/include/isql.h:191: warning: data definition has no type or storage class In file included from /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:84, from internal_functions.c:39: /usr/openlink/odbcsdk/include/isqlext.h:1052: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1052: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1055: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1056: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1056: parse error before `hdbc' /usr/openlink/odbcsdk/include/isqlext.h:1058: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1059: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1059: parse error before `hdbc' /usr/openlink/odbcsdk/include/isqlext.h:1059: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1060: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1060: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1061: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1062: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1062: parse error before `hdbc' /usr/openlink/odbcsdk/include/isqlext.h:1063: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1064: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1064: parse error before `hdbc' /usr/openlink/odbcsdk/include/isqlext.h:1065: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1066: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1066: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1066: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1067: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1067: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1067: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1068: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1068: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1068: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1069: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1069: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1069: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1070: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1070: parse error before `hdbc' /usr/openlink/odbcsdk/include/isqlext.h:1070: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1071: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1071: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1071: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1072: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1072: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1075: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1076: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1076: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1078: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1079: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1079: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1082: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1087: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1087: parse error before `hdbc' /usr/openlink/odbcsdk/include/isqlext.h:1089: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1090: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1090: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1093: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1094: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1094: parse error before `henv' /usr/openlink/odbcsdk/include/isqlext.h:1097: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1098: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1098: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1100: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1101: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1101: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1102: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1103: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1103: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1108: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1109: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1109: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1109: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1110: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1110: parse error before `hdbc' /usr/openlink/odbcsdk/include/isqlext.h:1112: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1113: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1113: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1113: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1114: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1114: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1114: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1115: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1115: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1117: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1118: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1118: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1121: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1122: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1122: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1124: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1125: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1125: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1125: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1126: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1126: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1128: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1133: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1133: parse error before `henv' /usr/openlink/odbcsdk/include/isqlext.h:1136: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1137: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1137: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1139: warning: data definition has no type or storage class /usr/openlink/odbcsdk/include/isqlext.h:1144: parse error before `CALLBACK' /usr/openlink/odbcsdk/include/isqlext.h:1144: parse error before `hstmt' /usr/openlink/odbcsdk/include/isqlext.h:1145: warning: data definition has no type or storage class In file included from internal_functions.c:39: /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:227: parse error before `HENV' /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:227: warning: no semicolon at end of struct or union /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:228: warning: data definition has no type or storage class /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:232: parse error before `}' /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:232: warning: data definition has no type or storage class /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:247: parse error before `HSTMT' /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:247: warning: no semicolon at end of struct or union /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:259: parse error before `*' /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:259: warning: data definition has no type or storage class /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:260: parse error before `}' /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:260: warning: data definition has no type or storage class /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:279: parse error before `odbc_result' /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:280: parse error before `*' /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:280: warning: data definition has no type or storage class /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:282: parse error before `HDBC' /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:283: parse error before `*' /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:283: warning: data definition has no type or storage class /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:285: parse error before `*' /home/aubrey/php-4.0.2/ext/odbc/php_odbc.h:295: parse error before `henv' make[2]: *** [internal_functions.lo] Error 1 make[2]: Leaving directory `/u1/home/aubrey/php-4.0.2/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/u1/home/aubrey/php-4.0.2/main' make: *** [all-recursive] Error 1 --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=6792

« previous php.dev (#33484) next »