Advertisement
alestane

Untitled

Jun 28th, 2011
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.84 KB | None | 0 0
  1. src/ls_odbc.c:43: error: expected specifier-qualifier-list before ‘SQLHENV’
  2. src/ls_odbc.c:51: error: expected specifier-qualifier-list before ‘SQLHDBC’
  3. src/ls_odbc.c:60: error: expected specifier-qualifier-list before ‘SQLHSTMT’
  4. src/ls_odbc.c:121: warning: type defaults to ‘int’ in declaration of ‘SQLSMALLINT’
  5. src/ls_odbc.c:121: error: expected ‘;’, ‘,’ or ‘)’ before ‘type’
  6. src/ls_odbc.c:147: warning: type defaults to ‘int’ in declaration of ‘SQLSMALLINT’
  7. src/ls_odbc.c:147: error: expected ‘;’, ‘,’ or ‘)’ before ‘type’
  8. src/ls_odbc.c:178: warning: type defaults to ‘int’ in declaration of ‘SQLHSTMT’
  9. src/ls_odbc.c:178: error: expected ‘;’, ‘,’ or ‘)’ before ‘hstmt’
  10. src/ls_odbc.c: In function ‘cur_fetch’:
  11. src/ls_odbc.c:270: error: ‘SQLHSTMT’ undeclared (first use in this function)
  12. src/ls_odbc.c:270: error: (Each undeclared identifier is reported only once
  13. src/ls_odbc.c:270: error: for each function it appears in.)
  14. src/ls_odbc.c:270: error: expected ‘;’ before ‘hstmt’
  15. src/ls_odbc.c:271: warning: ISO C90 forbids mixed declarations and code
  16. src/ls_odbc.c:272: error: ‘SQLRETURN’ undeclared (first use in this function)
  17. src/ls_odbc.c:272: error: expected ‘;’ before ‘rc’
  18. src/ls_odbc.c:273: error: ‘rc’ undeclared (first use in this function)
  19. src/ls_odbc.c:273: error: ‘SQL_NO_DATA’ undeclared (first use in this function)
  20. src/ls_odbc.c:276: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
  21. src/ls_odbc.c:276: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
  22. src/ls_odbc.c:276: warning: implicit declaration of function ‘fail’
  23. src/ls_odbc.c:276: error: ‘SQL_HANDLE_STMT’ undeclared (first use in this function)
  24. src/ls_odbc.c:276: error: ‘hstmt’ undeclared (first use in this function)
  25. src/ls_odbc.c:279: error: ‘SQLUSMALLINT’ undeclared (first use in this function)
  26. src/ls_odbc.c:279: error: expected ‘;’ before ‘i’
  27. src/ls_odbc.c:280: warning: ISO C90 forbids mixed declarations and code
  28. src/ls_odbc.c:283: error: ‘i’ undeclared (first use in this function)
  29. src/ls_odbc.c:284: warning: implicit declaration of function ‘push_column’
  30. src/ls_odbc.c:303: error: expected ‘;’ before ‘i’
  31. src/ls_odbc.c: In function ‘cur_close’:
  32. src/ls_odbc.c:320: error: ‘SQLRETURN’ undeclared (first use in this function)
  33. src/ls_odbc.c:320: error: expected ‘;’ before ‘ret’
  34. src/ls_odbc.c:329: error: ‘ret’ undeclared (first use in this function)
  35. src/ls_odbc.c:329: warning: implicit declaration of function ‘SQLCloseCursor’
  36. src/ls_odbc.c:329: error: ‘cur_data’ has no member named ‘hstmt’
  37. src/ls_odbc.c:330: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
  38. src/ls_odbc.c:330: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
  39. src/ls_odbc.c:331: error: ‘SQL_HANDLE_STMT’ undeclared (first use in this function)
  40. src/ls_odbc.c:331: error: ‘cur_data’ has no member named ‘hstmt’
  41. src/ls_odbc.c:332: warning: implicit declaration of function ‘SQLFreeHandle’
  42. src/ls_odbc.c:332: error: ‘cur_data’ has no member named ‘hstmt’
  43. src/ls_odbc.c:334: error: ‘cur_data’ has no member named ‘hstmt’
  44. src/ls_odbc.c: In function ‘create_colinfo’:
  45. src/ls_odbc.c:370: error: ‘SQLCHAR’ undeclared (first use in this function)
  46. src/ls_odbc.c:370: error: expected ‘;’ before ‘buffer’
  47. src/ls_odbc.c:371: error: ‘SQLSMALLINT’ undeclared (first use in this function)
  48. src/ls_odbc.c:371: error: expected ‘;’ before ‘namelen’
  49. src/ls_odbc.c:372: error: ‘SQLRETURN’ undeclared (first use in this function)
  50. src/ls_odbc.c:372: error: expected ‘;’ before ‘ret’
  51. src/ls_odbc.c:373: warning: ISO C90 forbids mixed declarations and code
  52. src/ls_odbc.c:379: error: ‘i’ undeclared (first use in this function)
  53. src/ls_odbc.c:380: error: ‘ret’ undeclared (first use in this function)
  54. src/ls_odbc.c:380: warning: implicit declaration of function ‘SQLDescribeCol’
  55. src/ls_odbc.c:380: error: ‘cur_data’ has no member named ‘hstmt’
  56. src/ls_odbc.c:380: error: ‘buffer’ undeclared (first use in this function)
  57. src/ls_odbc.c:381: error: ‘namelen’ undeclared (first use in this function)
  58. src/ls_odbc.c:381: error: ‘datatype’ undeclared (first use in this function)
  59. src/ls_odbc.c:385: warning: implicit declaration of function ‘sqltypetolua’
  60. src/ls_odbc.c:385: warning: passing argument 2 of ‘lua_pushstring’ makes pointer from integer without a cast
  61. src/ls_odbc.c: At top level:
  62. src/ls_odbc.c:397: warning: type defaults to ‘int’ in declaration of ‘SQLHSTMT’
  63. src/ls_odbc.c:397: error: expected ‘;’, ‘,’ or ‘)’ before ‘hstmt’
  64. src/ls_odbc.c: In function ‘conn_close’:
  65. src/ls_odbc.c:423: error: ‘SQLRETURN’ undeclared (first use in this function)
  66. src/ls_odbc.c:423: error: expected ‘;’ before ‘ret’
  67. src/ls_odbc.c:424: warning: ISO C90 forbids mixed declarations and code
  68. src/ls_odbc.c:441: error: ‘ret’ undeclared (first use in this function)
  69. src/ls_odbc.c:441: warning: implicit declaration of function ‘SQLDisconnect’
  70. src/ls_odbc.c:441: error: ‘conn_data’ has no member named ‘hdbc’
  71. src/ls_odbc.c:442: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
  72. src/ls_odbc.c:442: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
  73. src/ls_odbc.c:443: error: ‘SQL_HANDLE_DBC’ undeclared (first use in this function)
  74. src/ls_odbc.c:443: error: ‘conn_data’ has no member named ‘hdbc’
  75. src/ls_odbc.c:444: error: ‘conn_data’ has no member named ‘hdbc’
  76. src/ls_odbc.c:446: error: ‘conn_data’ has no member named ‘hdbc’
  77. src/ls_odbc.c: In function ‘conn_execute’:
  78. src/ls_odbc.c:460: error: ‘SQLHDBC’ undeclared (first use in this function)
  79. src/ls_odbc.c:460: error: expected ‘;’ before ‘hdbc’
  80. src/ls_odbc.c:461: error: ‘SQLHSTMT’ undeclared (first use in this function)
  81. src/ls_odbc.c:461: error: expected ‘;’ before ‘hstmt’
  82. src/ls_odbc.c:462: error: ‘SQLSMALLINT’ undeclared (first use in this function)
  83. src/ls_odbc.c:462: error: expected ‘;’ before ‘numcols’
  84. src/ls_odbc.c:463: error: ‘SQLRETURN’ undeclared (first use in this function)
  85. src/ls_odbc.c:463: error: expected ‘;’ before ‘ret’
  86. src/ls_odbc.c:464: error: ‘ret’ undeclared (first use in this function)
  87. src/ls_odbc.c:464: warning: implicit declaration of function ‘SQLAllocHandle’
  88. src/ls_odbc.c:464: error: ‘SQL_HANDLE_STMT’ undeclared (first use in this function)
  89. src/ls_odbc.c:464: error: ‘hdbc’ undeclared (first use in this function)
  90. src/ls_odbc.c:464: error: ‘hstmt’ undeclared (first use in this function)
  91. src/ls_odbc.c:465: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
  92. src/ls_odbc.c:465: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
  93. src/ls_odbc.c:466: error: ‘SQL_HANDLE_DBC’ undeclared (first use in this function)
  94. src/ls_odbc.c:468: warning: implicit declaration of function ‘SQLPrepare’
  95. src/ls_odbc.c:468: error: ‘SQL_NTS’ undeclared (first use in this function)
  96. src/ls_odbc.c:476: warning: implicit declaration of function ‘SQLExecute’
  97. src/ls_odbc.c:484: warning: implicit declaration of function ‘SQLNumResultCols’
  98. src/ls_odbc.c:484: error: ‘numcols’ undeclared (first use in this function)
  99. src/ls_odbc.c:493: warning: implicit declaration of function ‘create_cursor’
  100. src/ls_odbc.c:496: error: ‘SQLINTEGER’ undeclared (first use in this function)
  101. src/ls_odbc.c:496: error: expected ‘;’ before ‘numrows’
  102. src/ls_odbc.c:497: warning: implicit declaration of function ‘SQLRowCount’
  103. src/ls_odbc.c:497: error: ‘numrows’ undeclared (first use in this function)
  104. src/ls_odbc.c: In function ‘conn_commit’:
  105. src/ls_odbc.c:514: error: ‘SQLRETURN’ undeclared (first use in this function)
  106. src/ls_odbc.c:514: error: expected ‘;’ before ‘ret’
  107. src/ls_odbc.c:515: error: ‘ret’ undeclared (first use in this function)
  108. src/ls_odbc.c:515: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
  109. src/ls_odbc.c:515: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
  110. src/ls_odbc.c:516: error: ‘SQL_HANDLE_STMT’ undeclared (first use in this function)
  111. src/ls_odbc.c:516: error: ‘conn_data’ has no member named ‘hdbc’
  112. src/ls_odbc.c: In function ‘conn_rollback’:
  113. src/ls_odbc.c:526: error: ‘SQLRETURN’ undeclared (first use in this function)
  114. src/ls_odbc.c:526: error: expected ‘;’ before ‘ret’
  115. src/ls_odbc.c:527: error: ‘ret’ undeclared (first use in this function)
  116. src/ls_odbc.c:527: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
  117. src/ls_odbc.c:527: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
  118. src/ls_odbc.c:528: error: ‘SQL_HANDLE_STMT’ undeclared (first use in this function)
  119. src/ls_odbc.c:528: error: ‘conn_data’ has no member named ‘hdbc’
  120. src/ls_odbc.c: In function ‘conn_setautocommit’:
  121. src/ls_odbc.c:538: error: ‘SQLRETURN’ undeclared (first use in this function)
  122. src/ls_odbc.c:538: error: expected ‘;’ before ‘ret’
  123. src/ls_odbc.c:540: error: ‘ret’ undeclared (first use in this function)
  124. src/ls_odbc.c:540: warning: implicit declaration of function ‘SQLSetConnectAttr’
  125. src/ls_odbc.c:540: error: ‘conn_data’ has no member named ‘hdbc’
  126. src/ls_odbc.c:540: error: ‘SQL_ATTR_AUTOCOMMIT’ undeclared (first use in this function)
  127. src/ls_odbc.c:541: error: ‘SQLPOINTER’ undeclared (first use in this function)
  128. src/ls_odbc.c:541: error: expected ‘)’ before ‘SQL_AUTOCOMMIT_ON’
  129. src/ls_odbc.c:543: error: ‘conn_data’ has no member named ‘hdbc’
  130. src/ls_odbc.c:544: error: expected ‘)’ before ‘SQL_AUTOCOMMIT_OFF’
  131. src/ls_odbc.c:546: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
  132. src/ls_odbc.c:546: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
  133. src/ls_odbc.c:547: error: ‘SQL_HANDLE_STMT’ undeclared (first use in this function)
  134. src/ls_odbc.c:547: error: ‘conn_data’ has no member named ‘hdbc’
  135. src/ls_odbc.c: At top level:
  136. src/ls_odbc.c:556: error: expected declaration specifiers or ‘...’ before ‘SQLHDBC’
  137. src/ls_odbc.c: In function ‘create_connection’:
  138. src/ls_odbc.c:559: error: ‘SQLRETURN’ undeclared (first use in this function)
  139. src/ls_odbc.c:559: error: expected ‘;’ before ‘ret’
  140. src/ls_odbc.c:561: error: ‘ret’ undeclared (first use in this function)
  141. src/ls_odbc.c:561: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
  142. src/ls_odbc.c:561: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
  143. src/ls_odbc.c:562: error: ‘SQL_HANDLE_DBC’ undeclared (first use in this function)
  144. src/ls_odbc.c:562: error: ‘hdbc’ undeclared (first use in this function)
  145. src/ls_odbc.c:570: error: ‘conn_data’ has no member named ‘hdbc’
  146. src/ls_odbc.c: In function ‘env_connect’:
  147. src/ls_odbc.c:592: error: ‘SQLHDBC’ undeclared (first use in this function)
  148. src/ls_odbc.c:592: error: expected ‘;’ before ‘hdbc’
  149. src/ls_odbc.c:593: error: ‘SQLRETURN’ undeclared (first use in this function)
  150. src/ls_odbc.c:593: error: expected ‘;’ before ‘ret’
  151. src/ls_odbc.c:596: error: ‘ret’ undeclared (first use in this function)
  152. src/ls_odbc.c:596: error: ‘SQL_HANDLE_DBC’ undeclared (first use in this function)
  153. src/ls_odbc.c:596: error: ‘env_data’ has no member named ‘henv’
  154. src/ls_odbc.c:596: error: ‘hdbc’ undeclared (first use in this function)
  155. src/ls_odbc.c:597: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
  156. src/ls_odbc.c:597: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
  157. src/ls_odbc.c:601: warning: implicit declaration of function ‘SQLConnect’
  158. src/ls_odbc.c:601: error: ‘SQL_NTS’ undeclared (first use in this function)
  159. src/ls_odbc.c:610: error: too many arguments to function ‘create_connection’
  160. src/ls_odbc.c: In function ‘env_close’:
  161. src/ls_odbc.c:617: error: ‘SQLRETURN’ undeclared (first use in this function)
  162. src/ls_odbc.c:617: error: expected ‘;’ before ‘ret’
  163. src/ls_odbc.c:618: warning: ISO C90 forbids mixed declarations and code
  164. src/ls_odbc.c:628: error: ‘ret’ undeclared (first use in this function)
  165. src/ls_odbc.c:628: error: ‘SQL_HANDLE_ENV’ undeclared (first use in this function)
  166. src/ls_odbc.c:628: error: ‘env_data’ has no member named ‘henv’
  167. src/ls_odbc.c:629: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
  168. src/ls_odbc.c:629: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
  169. src/ls_odbc.c:630: error: ‘env_data’ has no member named ‘henv’
  170. src/ls_odbc.c:631: error: ‘env_data’ has no member named ‘henv’
  171. src/ls_odbc.c: In function ‘create_environment’:
  172. src/ls_odbc.c:676: error: ‘SQLHENV’ undeclared (first use in this function)
  173. src/ls_odbc.c:676: error: expected ‘;’ before ‘henv’
  174. src/ls_odbc.c:677: error: ‘SQLRETURN’ undeclared (first use in this function)
  175. src/ls_odbc.c:677: error: expected ‘;’ before ‘ret’
  176. src/ls_odbc.c:678: error: ‘ret’ undeclared (first use in this function)
  177. src/ls_odbc.c:678: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
  178. src/ls_odbc.c:678: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
  179. src/ls_odbc.c:681: warning: implicit declaration of function ‘SQLSetEnvAttr’
  180. src/ls_odbc.c:681: error: ‘henv’ undeclared (first use in this function)
  181. src/ls_odbc.c:681: error: ‘SQL_ATTR_ODBC_VERSION’ undeclared (first use in this function)
  182. src/ls_odbc.c:682: error: ‘SQL_OV_ODBC3’ undeclared (first use in this function)
  183. src/ls_odbc.c:685: error: ‘SQL_HANDLE_ENV’ undeclared (first use in this function)
  184. src/ls_odbc.c:694: error: ‘env_data’ has no member named ‘henv’
  185. make: *** [src/ls_odbc.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement