Skip to Content.
Sympa Menu

freetds - Re: [freetds] error on MAKE (and misc questions)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Peter Van Lone <petervl AT gmail.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] error on MAKE (and misc questions)
  • Date: Tue, 10 Jan 2006 15:57:00 -0600

repost --- my test went but this (apparently) did not. I apologize if
some recieve this in duplicate!

On 1/10/06, Peter Van Lone <petervl AT gmail.com> wrote:
> I am trying to configure the freetds driver on a SLES v9 server.
> unixODBC is installed via SLES source. (it is there by default)
>
> First question: does anyone know of an RPM for SLES9? That would, of
> course, makes things simplier! ;-)
>
> Short of that, the ./configure completed with no errors. However, when
> I try to "make" I get the errors that are pasted below. unixODBC is
> installed in /usr/lib/unixODBC
>
> this is the ./configure command we used:
> linux:/ # ./configure --prefix=/usr --sysconfdir=/etc
> --with-tdsver=8.0 --with-unixodbc=/usr/lib/unixODBC
>
> make errors:
>
> odbc.c:4835: error: dereferencing pointer to incomplete type
> odbc.c:4835: error: dereferencing pointer to incomplete type
> odbc.c:4836: error: dereferencing pointer to incomplete type
> odbc.c:4837: error: `SQL_SUCCESS' undeclared (first use in this function)
> odbc.c:4840: error: dereferencing pointer to incomplete type
> odbc.c:4843: error: dereferencing pointer to incomplete type
> odbc.c:4844: error: dereferencing pointer to incomplete type
> odbc.c: At top level:
> odbc.c:4847: error: parse error before "SQL_API"
> odbc.c:4848: error: parse error before "hstmt"
> odbc.c:4849: warning: return type defaults to `int'
> odbc.c:4849: warning: function declaration isn't a prototype
> odbc.c: In function `SQLPutData':
> odbc.c:4850: error: `hstmt' undeclared (first use in this function)
> odbc.c:4850: error: `SQL_NULL_HSTMT' undeclared (first use in this function)
> odbc.c:4850: error: `SQL_HANDLE_STMT' undeclared (first use in this
> function)
> odbc.c:4850: error: `SQL_INVALID_HANDLE' undeclared (first use in this
> function)
> odbc.c:4850: error: dereferencing pointer to incomplete type
> odbc.c:4852: error: dereferencing pointer to incomplete type
> odbc.c:4854: error: dereferencing pointer to incomplete type
> odbc.c:4855: error: dereferencing pointer to incomplete type
> odbc.c:4855: error: `rgbValue' undeclared (first use in this function)
> odbc.c:4855: error: `cbValue' undeclared (first use in this function)
> odbc.c:4859: error: dereferencing pointer to incomplete type
> odbc.c:4859: error: `SQL_ERROR' undeclared (first use in this function)
> odbc.c: At top level:
> odbc.c:4863: error: parse error before "SQL_API"
> odbc.c:4864: error: parse error before "hdbc"
> odbc.c:4865: warning: return type defaults to `int'
> odbc.c:4865: warning: function declaration isn't a prototype
> odbc.c: In function `_SQLSetConnectAttr':
> odbc.c:4866: error: `SQLUINTEGER' undeclared (first use in this function)
> odbc.c:4866: error: parse error before "u_value"
> odbc.c:4868: error: `SQLRETURN' undeclared (first use in this function)
> odbc.c:4868: error: parse error before "ret"
> odbc.c:4870: error: `hdbc' undeclared (first use in this function)
> odbc.c:4870: error: `SQL_NULL_HDBC' undeclared (first use in this function)
> odbc.c:4870: error: `SQL_HANDLE_DBC' undeclared (first use in this function)
> odbc.c:4870: error: `SQL_INVALID_HANDLE' undeclared (first use in this
> function)
> odbc.c:4870: error: dereferencing pointer to incomplete type
> odbc.c:4872: error: `Attribute' undeclared (first use in this function)
> odbc.c:4873: error: `SQL_ATTR_AUTOCOMMIT' undeclared (first use in
> this function)
> odbc.c:4875: error: dereferencing pointer to incomplete type
> odbc.c:4875: error: `u_value' undeclared (first use in this function)
> odbc.c:4877: error: `SQL_ATTR_CONNECTION_TIMEOUT' undeclared (first
> use in this function)
> odbc.c:4878: error: dereferencing pointer to incomplete type
> odbc.c:4879: error: dereferencing pointer to incomplete type
> odbc.c:4881: error: `SQL_ATTR_ACCESS_MODE' undeclared (first use in
> this function)
> odbc.c:4882: error: dereferencing pointer to incomplete type
> odbc.c:4883: error: dereferencing pointer to incomplete type
> odbc.c:4885: error: `SQL_ATTR_CURRENT_CATALOG' undeclared (first use
> in this function)
> odbc.c:4886: error: `StringLength' undeclared (first use in this function)
> odbc.c:4886: error: `SQL_NTS' undeclared (first use in this function)
> odbc.c:4886: error: `SQL_NULL_DATA' undeclared (first use in this function)
> odbc.c:4887: error: dereferencing pointer to incomplete type
> odbc.c:4888: error: dereferencing pointer to incomplete type
> odbc.c:4888: error: `SQL_ERROR' undeclared (first use in this function)
> odbc.c:4890: error: `SQLCHAR' undeclared (first use in this function)
> odbc.c:4890: error: parse error before ')' token
> odbc.c:4891: error: `ret' undeclared (first use in this function)
> odbc.c:4891: error: `ValuePtr' undeclared (first use in this function)
> odbc.c:4892: error: dereferencing pointer to incomplete type
> odbc.c:4894: error: `SQL_ATTR_LOGIN_TIMEOUT' undeclared (first use in
> this function)
> odbc.c:4895: error: dereferencing pointer to incomplete type
> odbc.c:4896: error: dereferencing pointer to incomplete type
> odbc.c:4898: error: `SQL_ATTR_ODBC_CURSORS' undeclared (first use in
> this function)
> odbc.c:4899: error: dereferencing pointer to incomplete type
> odbc.c:4900: error: dereferencing pointer to incomplete type
> odbc.c:4902: error: `SQL_ATTR_PACKET_SIZE' undeclared (first use in
> this function)
> odbc.c:4903: error: dereferencing pointer to incomplete type
> odbc.c:4904: error: dereferencing pointer to incomplete type
> odbc.c:4906: error: `SQL_ATTR_QUIET_MODE' undeclared (first use in
> this function)
> odbc.c:4907: error: dereferencing pointer to incomplete type
> odbc.c:4907: error: `SQLHWND' undeclared (first use in this function)
> odbc.c:4907: error: parse error before "u_value"
> odbc.c:4908: error: dereferencing pointer to incomplete type
> odbc.c:4929: error: `SQL_ATTR_TXN_ISOLATION' undeclared (first use in
> this function)
> odbc.c:4930: error: dereferencing pointer to incomplete type
> odbc.c:4931: error: dereferencing pointer to incomplete type
> odbc.c:4933: error: `SQL_ATTR_TRANSLATE_LIB' undeclared (first use in
> this function)
> odbc.c:4934: error: `SQL_ATTR_TRANSLATE_OPTION' undeclared (first use
> in this function)
> odbc.c:4935: error: dereferencing pointer to incomplete type
> odbc.c:4936: error: dereferencing pointer to incomplete type
> odbc.c:4939: error: dereferencing pointer to incomplete type
> odbc.c:4940: error: dereferencing pointer to incomplete type
> odbc.c: At top level:
> odbc.c:4943: error: parse error before "SQL_API"
> odbc.c:4944: error: parse error before "hdbc"
> odbc.c:4945: warning: return type defaults to `int'
> odbc.c:4945: warning: function declaration isn't a prototype
> odbc.c: In function `SQLSetConnectAttr':
> odbc.c:4946: error: `hdbc' undeclared (first use in this function)
> odbc.c:4946: error: `Attribute' undeclared (first use in this function)
> odbc.c:4946: error: `ValuePtr' undeclared (first use in this function)
> odbc.c:4946: error: `StringLength' undeclared (first use in this function)
> odbc.c: At top level:
> odbc.c:4949: error: parse error before "SQL_API"
> odbc.c:4950: error: parse error before "hdbc"
> odbc.c:4951: warning: return type defaults to `int'
> odbc.c:4951: warning: function declaration isn't a prototype
> odbc.c: In function `SQLSetConnectOption':
> odbc.c:4952: error: `hdbc' undeclared (first use in this function)
> odbc.c:4952: error: `SQLINTEGER' undeclared (first use in this function)
> odbc.c:4952: error: parse error before "fOption"
> odbc.c: At top level:
> odbc.c:4955: error: parse error before "SQL_API"
> odbc.c:4956: error: parse error before "hstmt"
> odbc.c:4957: warning: return type defaults to `int'
> odbc.c:4957: warning: function declaration isn't a prototype
> odbc.c: In function `_SQLSetStmtAttr':
> odbc.c:4958: error: `SQLUINTEGER' undeclared (first use in this function)
> odbc.c:4958: error: parse error before "ui"
> odbc.c:4959: error: `SQLUSMALLINT' undeclared (first use in this function)
> odbc.c:4959: error: `usip' undeclared (first use in this function)
> odbc.c:4959: error: parse error before ')' token
> odbc.c:4960: error: `SQLINTEGER' undeclared (first use in this function)
> odbc.c:4960: error: `lp' undeclared (first use in this function)
> odbc.c:4960: error: parse error before ')' token
> odbc.c:4961: error: `ulp' undeclared (first use in this function)
> odbc.c:4961: error: parse error before ')' token
> odbc.c:4963: error: `hstmt' undeclared (first use in this function)
> odbc.c:4963: error: `SQL_NULL_HSTMT' undeclared (first use in this function)
> odbc.c:4963: error: `SQL_HANDLE_STMT' undeclared (first use in this
> function)
> odbc.c:4963: error: `SQL_INVALID_HANDLE' undeclared (first use in this
> function)
> odbc.c:4963: error: dereferencing pointer to incomplete type
> odbc.c:4967: error: `Attribute' undeclared (first use in this function)
> odbc.c:4969: error: `SQL_ATTR_APP_PARAM_DESC' undeclared (first use in
> this function)
> odbc.c:4970: error: `SQL_ATTR_APP_ROW_DESC' undeclared (first use in
> this function)
> odbc.c:4974: error: `ValuePtr' undeclared (first use in this function)
> odbc.c:4977: error: dereferencing pointer to incomplete type
> odbc.c:4978: error: dereferencing pointer to incomplete type
> odbc.c:4980: error: dereferencing pointer to incomplete type
> odbc.c:4981: error: dereferencing pointer to incomplete type
> odbc.c:4990: error: dereferencing pointer to incomplete type
> odbc.c:4990: error: `SQL_DESC_ALLOC_USER' undeclared (first use in
> this function)
> odbc.c:4991: error: dereferencing pointer to incomplete type
> odbc.c:4992: error: dereferencing pointer to incomplete type
> odbc.c:4992: error: `SQL_ERROR' undeclared (first use in this function)
> odbc.c:4998: error: `SQL_ATTR_ASYNC_ENABLE' undeclared (first use in
> this function)
> odbc.c:4999: error: dereferencing pointer to incomplete type
> odbc.c:4999: error: `ui' undeclared (first use in this function)
> odbc.c:5000: error: dereferencing pointer to incomplete type
> odbc.c:5001: error: dereferencing pointer to incomplete type
> odbc.c:5003: error: dereferencing pointer to incomplete type
> odbc.c:5005: error: `SQL_ATTR_CONCURRENCY' undeclared (first use in
> this function)
> odbc.c:5006: error: dereferencing pointer to incomplete type
> odbc.c:5007: error: dereferencing pointer to incomplete type
> odbc.c:5008: error: dereferencing pointer to incomplete type
> odbc.c:5008: error: `SQL_SUCCESS_WITH_INFO' undeclared (first use in
> this function)
> odbc.c:5010: error: dereferencing pointer to incomplete type
> odbc.c:5012: error: `SQL_ATTR_CURSOR_SCROLLABLE' undeclared (first use
> in this function)
> odbc.c:5013: error: dereferencing pointer to incomplete type
> odbc.c:5014: error: dereferencing pointer to incomplete type
> odbc.c:5015: error: dereferencing pointer to incomplete type
> odbc.c:5017: error: dereferencing pointer to incomplete type
> odbc.c:5019: error: `SQL_ATTR_CURSOR_SENSITIVITY' undeclared (first
> use in this function)
> odbc.c:5020: error: dereferencing pointer to incomplete type
> odbc.c:5021: error: dereferencing pointer to incomplete type
> odbc.c:5022: error: dereferencing pointer to incomplete type
> odbc.c:5024: error: dereferencing pointer to incomplete type
> odbc.c:5026: error: `SQL_ATTR_CURSOR_TYPE' undeclared (first use in
> this function)
> odbc.c:5027: error: dereferencing pointer to incomplete type
> odbc.c:5028: error: dereferencing pointer to incomplete type
> odbc.c:5029: error: dereferencing pointer to incomplete type
> odbc.c:5031: error: dereferencing pointer to incomplete type
> odbc.c:5033: error: `SQL_ATTR_ENABLE_AUTO_IPD' undeclared (first use
> in this function)
> odbc.c:5034: error: dereferencing pointer to incomplete type
> odbc.c:5035: error: dereferencing pointer to incomplete type
> odbc.c:5036: error: dereferencing pointer to incomplete type
> odbc.c:5038: error: dereferencing pointer to incomplete type
> odbc.c:5040: error: `SQL_ATTR_FETCH_BOOKMARK_PTR' undeclared (first
> use in this function)
> odbc.c:5041: error: dereferencing pointer to incomplete type
> odbc.c:5043: error: `SQL_ATTR_IMP_ROW_DESC' undeclared (first use in
> this function)
> odbc.c:5044: error: `SQL_ATTR_IMP_PARAM_DESC' undeclared (first use in
> this function)
> odbc.c:5045: error: dereferencing pointer to incomplete type
> odbc.c:5046: error: dereferencing pointer to incomplete type
> odbc.c:5049: error: `SQL_ATTR_KEYSET_SIZE' undeclared (first use in
> this function)
> odbc.c:5050: error: dereferencing pointer to incomplete type
> odbc.c:5053: error: `SQL_ATTR_MAX_LENGTH' undeclared (first use in
> this function)
> odbc.c:5054: error: dereferencing pointer to incomplete type
> odbc.c:5055: error: dereferencing pointer to incomplete type
> odbc.c:5056: error: dereferencing pointer to incomplete type
> odbc.c:5058: error: dereferencing pointer to incomplete type
> odbc.c:5061: error: `SQL_ATTR_MAX_ROWS' undeclared (first use in this
> function)
> odbc.c:5062: error: dereferencing pointer to incomplete type
> odbc.c:5063: error: dereferencing pointer to incomplete type
> odbc.c:5064: error: dereferencing pointer to incomplete type
> odbc.c:5066: error: dereferencing pointer to incomplete type
> odbc.c:5068: error: `SQL_ATTR_METADATA_ID' undeclared (first use in
> this function)
> odbc.c:5069: error: dereferencing pointer to incomplete type
> odbc.c:5072: error: `SQL_ATTR_NOSCAN' undeclared (first use in this
> function)
> odbc.c:5073: error: dereferencing pointer to incomplete type
> odbc.c:5075: error: `SQL_ATTR_PARAM_BIND_OFFSET_PTR' undeclared (first
> use in this function)
> odbc.c:5077: error: dereferencing pointer to incomplete type
> odbc.c:5079: error: `SQL_ATTR_PARAM_BIND_TYPE' undeclared (first use
> in this function)
> odbc.c:5080: error: dereferencing pointer to incomplete type
> odbc.c:5082: error: `SQL_ATTR_PARAM_OPERATION_PTR' undeclared (first
> use in this function)
> odbc.c:5083: error: dereferencing pointer to incomplete type
> odbc.c:5085: error: `SQL_ATTR_PARAM_STATUS_PTR' undeclared (first use
> in this function)
> odbc.c:5086: error: dereferencing pointer to incomplete type
> odbc.c:5088: error: `SQL_ATTR_PARAMS_PROCESSED_PTR' undeclared (first
> use in this function)
> odbc.c:5089: error: dereferencing pointer to incomplete type
> odbc.c:5093: error: `SQL_ATTR_PARAMSET_SIZE' undeclared (first use in
> this function)
> odbc.c:5095: error: dereferencing pointer to incomplete type
> odbc.c:5097: error: dereferencing pointer to incomplete type
> odbc.c:5098: error: dereferencing pointer to incomplete type
> odbc.c:5101: error: dereferencing pointer to incomplete type
> odbc.c:5103: error: `SQL_ATTR_QUERY_TIMEOUT' undeclared (first use in
> this function)
> odbc.c:5104: error: dereferencing pointer to incomplete type
> odbc.c:5107: error: `SQL_ATTR_RETRIEVE_DATA' undeclared (first use in
> this function)
> odbc.c:5108: error: dereferencing pointer to incomplete type
> odbc.c:5109: error: dereferencing pointer to incomplete type
> odbc.c:5110: error: dereferencing pointer to incomplete type
> odbc.c:5112: error: dereferencing pointer to incomplete type
> odbc.c:5114: error: `SQL_ATTR_ROW_ARRAY_SIZE' undeclared (first use in
> this function)
> odbc.c:5116: error: dereferencing pointer to incomplete type
> odbc.c:5117: error: dereferencing pointer to incomplete type
> odbc.c:5118: error: dereferencing pointer to incomplete type
> odbc.c:5119: error: dereferencing pointer to incomplete type
> odbc.c:5122: error: dereferencing pointer to incomplete type
> odbc.c:5124: error: `SQL_ATTR_ROW_BIND_OFFSET_PTR' undeclared (first
> use in this function)
> odbc.c:5126: error: dereferencing pointer to incomplete type
> odbc.c:5131: error: `SQL_ATTR_ROW_BIND_TYPE' undeclared (first use in
> this function)
> odbc.c:5132: error: dereferencing pointer to incomplete type
> odbc.c:5134: error: `SQL_ATTR_ROW_NUMBER' undeclared (first use in
> this function)
> odbc.c:5135: error: dereferencing pointer to incomplete type
> odbc.c:5136: error: dereferencing pointer to incomplete type
> odbc.c:5138: error: `SQL_ATTR_ROW_OPERATION_PTR' undeclared (first use
> in this function)
> odbc.c:5139: error: dereferencing pointer to incomplete type
> odbc.c:5141: error: `SQL_ATTR_ROW_STATUS_PTR' undeclared (first use in
> this function)
> odbc.c:5142: error: dereferencing pointer to incomplete type
> odbc.c:5144: error: `SQL_ATTR_ROWS_FETCHED_PTR' undeclared (first use
> in this function)
> odbc.c:5145: error: dereferencing pointer to incomplete type
> odbc.c:5147: error: `SQL_ATTR_SIMULATE_CURSOR' undeclared (first use
> in this function)
> odbc.c:5148: error: dereferencing pointer to incomplete type
> odbc.c:5149: error: dereferencing pointer to incomplete type
> odbc.c:5150: error: dereferencing pointer to incomplete type
> odbc.c:5152: error: dereferencing pointer to incomplete type
> odbc.c:5154: error: `SQL_ATTR_USE_BOOKMARKS' undeclared (first use in
> this function)
> odbc.c:5155: error: dereferencing pointer to incomplete type
> odbc.c:5157: error: `SQL_ROWSET_SIZE' undeclared (first use in this
> function)
> odbc.c:5158: error: dereferencing pointer to incomplete type
> odbc.c:5161: error: dereferencing pointer to incomplete type
> odbc.c:5162: error: dereferencing pointer to incomplete type
> odbc.c:5164: error: dereferencing pointer to incomplete type
> odbc.c: At top level:
> odbc.c:5175: error: parse error before "SQL_API"
> odbc.c:5176: error: parse error before "hstmt"
> odbc.c:5177: warning: return type defaults to `int'
> odbc.c:5177: warning: function declaration isn't a prototype
> odbc.c: In function `SQLSetStmtOption':
> odbc.c:5178: error: `hstmt' undeclared (first use in this function)
> odbc.c:5178: error: `SQLINTEGER' undeclared (first use in this function)
> odbc.c:5178: error: parse error before "fOption"
> odbc.c: At top level:
> odbc.c:5181: error: parse error before "SQL_API"
> odbc.c:5182: error: parse error before "hstmt"
> odbc.c:5185: warning: return type defaults to `int'
> odbc.c:5185: warning: function declaration isn't a prototype
> odbc.c: In function `SQLSpecialColumns':
> odbc.c:5189: error: `hstmt' undeclared (first use in this function)
> odbc.c:5189: error: `SQL_NULL_HSTMT' undeclared (first use in this function)
> odbc.c:5189: error: `SQL_HANDLE_STMT' undeclared (first use in this
> function)
> odbc.c:5189: error: `SQL_INVALID_HANDLE' undeclared (first use in this
> function)
> odbc.c:5189: error: dereferencing pointer to incomplete type
> odbc.c:5226: error: `fNullable' undeclared (first use in this function)
> odbc.c:5226: error: `SQL_NO_NULLS' undeclared (first use in this function)
> odbc.c:5231: error: `fScope' undeclared (first use in this function)
> odbc.c:5231: error: `SQL_SCOPE_CURROW' undeclared (first use in this
> function)
> odbc.c:5236: error: `SQL_BEST_ROWID' undeclared (first use in this function)
> odbc.c:5242: error: dereferencing pointer to incomplete type
> odbc.c:5242: error: `szTableName' undeclared (first use in this function)
> odbc.c:5243: error: `cbTableName' undeclared (first use in this function)
> odbc.c:5243: error: `szSchemaName' undeclared (first use in this function)
> odbc.c:5243: error: `cbSchemaName' undeclared (first use in this function)
> odbc.c:5243: error: `szCatalogName' undeclared (first use in this function)
> odbc.c:5243: error: `cbCatalogName' undeclared (first use in this function)
> odbc.c:5245: error: dereferencing pointer to incomplete type
> odbc.c:5245: error: `SQL_OV_ODBC3' undeclared (first use in this function)
> odbc.c:5250: error: dereferencing pointer to incomplete type
> odbc.c: At top level:
> odbc.c:5253: error: parse error before "SQL_API"
> odbc.c:5254: error: parse error before "hstmt"
> odbc.c:5257: warning: return type defaults to `int'
> odbc.c:5257: warning: function declaration isn't a prototype
> odbc.c: In function `SQLStatistics':
> odbc.c:5261: error: `hstmt' undeclared (first use in this function)
> odbc.c:5261: error: `SQL_NULL_HSTMT' undeclared (first use in this function)
> odbc.c:5261: error: `SQL_HANDLE_STMT' undeclared (first use in this
> function)
> odbc.c:5261: error: `SQL_INVALID_HANDLE' undeclared (first use in this
> function)
> odbc.c:5261: error: dereferencing pointer to incomplete type
> odbc.c:5288: error: `fAccuracy' undeclared (first use in this function)
> odbc.c:5288: error: `SQL_ENSURE' undeclared (first use in this function)
> odbc.c:5293: error: `fUnique' undeclared (first use in this function)
> odbc.c:5293: error: `SQL_INDEX_UNIQUE' undeclared (first use in this
> function)
> odbc.c:5299: error: dereferencing pointer to incomplete type
> odbc.c:5300: error: `szCatalogName' undeclared (first use in this function)
> odbc.c:5300: error: `cbCatalogName' undeclared (first use in this function)
> odbc.c:5300: error: `szSchemaName' undeclared (first use in this function)
> odbc.c:5300: error: `cbSchemaName' undeclared (first use in this function)
> odbc.c:5301: error: `szTableName' undeclared (first use in this function)
> odbc.c:5301: error: `cbTableName' undeclared (first use in this function)
> odbc.c:5302: error: dereferencing pointer to incomplete type
> odbc.c:5302: error: `SQL_OV_ODBC3' undeclared (first use in this function)
> odbc.c:5308: error: dereferencing pointer to incomplete type
> odbc.c: At top level:
> odbc.c:5312: error: parse error before "SQL_API"
> odbc.c:5313: error: parse error before "hstmt"
> odbc.c:5316: warning: return type defaults to `int'
> odbc.c:5316: warning: function declaration isn't a prototype
> odbc.c: In function `SQLTables':
> odbc.c:5321: error: `hstmt' undeclared (first use in this function)
> odbc.c:5321: error: `SQL_NULL_HSTMT' undeclared (first use in this function)
> odbc.c:5321: error: `SQL_HANDLE_STMT' undeclared (first use in this
> function)
> odbc.c:5321: error: `SQL_INVALID_HANDLE' undeclared (first use in this
> function)
> odbc.c:5321: error: dereferencing pointer to incomplete type
> odbc.c:5324: error: `szTableType' undeclared (first use in this function)
> odbc.c:5325: error: `cbTableType' undeclared (first use in this function)
> odbc.c:5352: error: dereferencing pointer to incomplete type
> odbc.c:5353: error: dereferencing pointer to incomplete type
> odbc.c:5353: error: `SQL_ERROR' undeclared (first use in this function)
> odbc.c:5377: error: `SQLCHAR' undeclared (first use in this function)
> odbc.c:5377: error: parse error before ')' token
> odbc.c:5382: error: `szTableName' undeclared (first use in this function)
> odbc.c:5382: error: `cbTableName' undeclared (first use in this function)
> odbc.c:5382: error: `szSchemaName' undeclared (first use in this function)
> odbc.c:5383: error: `cbSchemaName' undeclared (first use in this function)
> odbc.c:5383: error: `szCatalogName' undeclared (first use in this function)
> odbc.c:5383: error: `cbCatalogName' undeclared (first use in this function)
> odbc.c:5387: error: dereferencing pointer to incomplete type
> odbc.c:5387: error: `SQL_OV_ODBC3' undeclared (first use in this function)
> odbc.c:5391: error: dereferencing pointer to incomplete type
> odbc.c: In function `odbc_log_unimplemented_type':
> odbc.c:5421: error: `SQL_COLLATION_SEQ' undeclared (first use in this
> function)
> odbc.c:5425: error: `SQL_CONVERT_BIGINT' undeclared (first use in this
> function)
> odbc.c:5429: error: `SQL_CONVERT_DATE' undeclared (first use in this
> function)
> odbc.c:5433: error: `SQL_CONVERT_DOUBLE' undeclared (first use in this
> function)
> odbc.c:5437: error: `SQL_CONVERT_INTERVAL_DAY_TIME' undeclared (first
> use in this function)
> odbc.c:5441: error: `SQL_CONVERT_INTERVAL_YEAR_MONTH' undeclared
> (first use in this function)
> odbc.c:5445: error: `SQL_DM_VER' undeclared (first use in this function)
> odbc.c:5449: error: `SQL_DRIVER_HDESC' undeclared (first use in this
> function)
> odbc.c:5453: error: `SQL_DRIVER_HLIB' undeclared (first use in this
> function)
> odbc.c:5463: error: `SQL_USER_NAME' undeclared (first use in this function)
> odbc.c: In function `odbc_quote_metadata':
> odbc.c:5485: error: dereferencing pointer to incomplete type
> odbc.c:5485: error: `SQL_FALSE' undeclared (first use in this function)
> odbc.c:5486: error: dereferencing pointer to incomplete type
> odbc.c:5489: error: dereferencing pointer to incomplete type
> odbc.c:5492: error: dereferencing pointer to incomplete type
> odbc.c:5544: error: dereferencing pointer to incomplete type
> odbc.c: At top level:
> odbc.c:5567: error: parse error before "odbc_stat_execute"
> odbc.c:5568: warning: return type defaults to `int'
> odbc.c: In function `odbc_stat_execute':
> odbc.c:5572: error: parse error before "SQLCHAR"
> odbc.c:5572: warning: no semicolon at end of struct or union
> odbc.c:5573: warning: unused variable `len'
> odbc.c:5574: warning: unused variable `type'
> odbc.c: At top level:
> odbc.c:5576: warning: type defaults to `int' in declaration of `params'
> odbc.c:5576: error: conflicting types for `params'
> ../../include/tdsodbc.h:308: error: previous declaration of `params'
> odbc.c:5576: warning: data definition has no type or storage class
> odbc.c:5577: error: `len' used prior to declaration
> odbc.c:5579: error: `retcode' used prior to declaration
> odbc.c:5583: error: parse error before "void"
> odbc.c:5586: warning: type defaults to `int' in declaration of
> `__builtin_va_start'
> odbc.c:5586: warning: parameter names (without types) in function
> declaration
> odbc.c:5586: warning: conflicting types for built-in function
> `__builtin_va_start'
> odbc.c:5586: warning: data definition has no type or storage class
> odbc.c:5587: warning: type defaults to `int' in declaration of `len'
> odbc.c:5587: error: `begin' undeclared here (not in a function)
> odbc.c:5587: error: initializer element is not constant
> odbc.c:5587: warning: data definition has no type or storage class
> odbc.c:5588: error: parse error before "for"
> odbc.c:5600: error: parse error before '.' token
> odbc.c:5602: error: parse error before '.' token
> odbc.c:5603: error: parse error before '.' token
> odbc.c:5608: warning: type defaults to `int' in declaration of
> `__builtin_va_end'
> odbc.c:5608: warning: parameter names (without types) in function
> declaration
> odbc.c:5608: warning: conflicting types for built-in function
> `__builtin_va_end'
> odbc.c:5608: warning: data definition has no type or storage class
> odbc.c:5611: error: parse error before "if"
> odbc.c:5617: warning: type defaults to `int' in declaration of `p'
> odbc.c:5617: error: conflicting types for `p'
> odbc.c:5578: error: previous declaration of `p'
> odbc.c:5617: warning: data definition has no type or storage class
> odbc.c:5618: warning: type defaults to `int' in declaration of `strcpy'
> odbc.c:5618: warning: parameter names (without types) in function
> declaration
> odbc.c:5618: warning: data definition has no type or storage class
> odbc.c:5619: error: parse error before '+=' token
> odbc.c:5626: error: parse error before '++' token
> odbc.c:5629: error: parse error before '++' token
> odbc.c:5632: error: parse error before "void"
> odbc.c:5635: warning: type defaults to `int' in declaration of `retcode'
> odbc.c:5635: error: `stmt' undeclared here (not in a function)
> odbc.c:5635: error: invalid operands to binary -
> odbc.c:5635: error: initializer element is not constant
> odbc.c:5635: warning: data definition has no type or storage class
> odbc.c:5636: warning: type defaults to `int' in declaration of `free'
> odbc.c:5636: warning: parameter names (without types) in function
> declaration
> odbc.c:5636: error: conflicting types for `free'
> /usr/include/stdlib.h:597: error: previous declaration of `free'
> odbc.c:5636: warning: data definition has no type or storage class
> odbc.c:5638: error: parse error before "if"
> odbc.c:5642: warning: type defaults to `int' in declaration of `retcode'
> odbc.c:5642: error: redefinition of `retcode'
> odbc.c:5635: error: `retcode' previously defined here
> odbc.c:5642: error: `stmt' undeclared here (not in a function)
> odbc.c:5642: error: initializer element is not constant
> odbc.c:5642: warning: data definition has no type or storage class
> odbc.c:5643: error: parse error before "if"
> odbc.c:5650: error: parse error before "odbc_free_dynamic"
> odbc.c:5651: warning: return type defaults to `int'
> odbc.c: In function `odbc_free_dynamic':
> odbc.c:5652: error: dereferencing pointer to incomplete type
> odbc.c:5654: error: dereferencing pointer to incomplete type
> odbc.c:5655: error: dereferencing pointer to incomplete type
> odbc.c:5657: error: dereferencing pointer to incomplete type
> odbc.c:5657: error: `SQL_ERROR' undeclared (first use in this function)
> odbc.c:5658: error: dereferencing pointer to incomplete type
> odbc.c:5659: error: dereferencing pointer to incomplete type
> odbc.c:5662: error: dereferencing pointer to incomplete type
> odbc.c:5665: error: `SQL_SUCCESS' undeclared (first use in this function)
> odbc.c: In function `SQLSetDescField':
> odbc.c:2034: error: break statement not within loop or switch
> odbc.c:2038: error: break statement not within loop or switch
> odbc.c:2042: error: break statement not within loop or switch
> odbc.c:2046: error: break statement not within loop or switch
> odbc.c:2060: error: break statement not within loop or switch
> odbc.c: In function `SQLGetInfo':
> odbc.c:4012: warning: value computed is not used
> odbc.c:4030: warning: value computed is not used
> odbc.c:4033: warning: value computed is not used
> odbc.c:4047: warning: value computed is not used
> odbc.c:4059: warning: value computed is not used
> odbc.c:4064: warning: value computed is not used
> odbc.c:4069: warning: value computed is not used
> odbc.c:4074: warning: value computed is not used
> odbc.c:4080: warning: value computed is not used
> odbc.c:4085: warning: value computed is not used
> odbc.c:4090: warning: value computed is not used
> odbc.c:4095: warning: value computed is not used
> odbc.c:4099: warning: value computed is not used
> odbc.c:4104: warning: value computed is not used
> odbc.c:4109: warning: value computed is not used
> odbc.c:4114: warning: value computed is not used
> odbc.c:4118: warning: value computed is not used
> odbc.c:4123: warning: value computed is not used
> odbc.c:4128: warning: value computed is not used
> odbc.c:4134: warning: value computed is not used
> odbc.c:4137: warning: value computed is not used
> odbc.c:4156: warning: value computed is not used
> odbc.c:4179: warning: value computed is not used
> odbc.c:4183: warning: value computed is not used
> odbc.c:4186: warning: value computed is not used
> odbc.c:4189: warning: value computed is not used
> odbc.c:4223: warning: value computed is not used
> odbc.c:4278: warning: value computed is not used
> odbc.c:4286: warning: value computed is not used
> odbc.c:4298: warning: value computed is not used
> odbc.c:4301: warning: value computed is not used
> odbc.c:4305: warning: value computed is not used
> odbc.c:4320: warning: value computed is not used
> odbc.c:4323: warning: value computed is not used
> odbc.c:4332: warning: value computed is not used
> odbc.c:4356: warning: value computed is not used
> odbc.c:4365: warning: value computed is not used
> odbc.c:4368: warning: value computed is not used
> odbc.c:4371: warning: value computed is not used
> odbc.c:4377: warning: value computed is not used
> odbc.c:4381: warning: value computed is not used
> odbc.c:4385: warning: value computed is not used
> odbc.c:4388: warning: value computed is not used
> odbc.c:4393: warning: value computed is not used
> odbc.c:4396: warning: value computed is not used
> odbc.c:4402: warning: value computed is not used
> odbc.c:4408: warning: value computed is not used
> odbc.c:4415: warning: value computed is not used
> odbc.c:4419: warning: value computed is not used
> odbc.c:4425: warning: value computed is not used
> odbc.c:4435: warning: value computed is not used
> odbc.c:4448: warning: value computed is not used
> odbc.c:4451: warning: value computed is not used
> odbc.c:4454: warning: value computed is not used
> odbc.c:4461: warning: value computed is not used
> odbc.c:4469: warning: value computed is not used
> odbc.c:4472: warning: value computed is not used
> odbc.c:4505: warning: value computed is not used
> odbc.c:4509: warning: value computed is not used
> odbc.c:4519: warning: value computed is not used
> odbc.c:4534: warning: value computed is not used
> odbc.c:4537: warning: value computed is not used
> odbc.c:4599: warning: value computed is not used
> odbc.c:4605: warning: value computed is not used
> odbc.c:4608: warning: value computed is not used
> odbc.c:4614: warning: value computed is not used
> odbc.c:4618: warning: value computed is not used
> odbc.c:4622: warning: value computed is not used
> odbc.c:4630: warning: value computed is not used
> odbc.c:4634: warning: value computed is not used
> odbc.c:4637: warning: value computed is not used
> odbc.c: At top level:
> ../../include/tdsodbc.h:319: error: storage size of `errs' isn't known
> ../../include/tdsodbc.h:160: error: storage size of `header' isn't known
> ../../include/tdsodbc.h:323: error: storage size of `attr' isn't known
> odbc.c:5481: warning: `odbc_quote_metadata' defined but not used
> make[3]: *** [odbc.lo] Error 1
> make[3]: Leaving directory `/usr/local/freetds-0.63/src/odbc'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/usr/local/freetds-0.63/src/odbc'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/usr/local/freetds-0.63/src'
> make: *** [install-recursive] Error 1 linux:/usr/local/freetds-0.63 # cd /
>


--
"That whenever any Form of Government becomes destructive of these
ends, it is the Right of the People to alter or to abolish it, and to
institute new Government ...."

If you are a US citizen, and don't know the origin of the above: shame on you!




Archive powered by MHonArc 2.6.24.

Top of Page