Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- src/ls_odbc.c:43: error: expected specifier-qualifier-list before ‘SQLHENV’
- src/ls_odbc.c:51: error: expected specifier-qualifier-list before ‘SQLHDBC’
- src/ls_odbc.c:60: error: expected specifier-qualifier-list before ‘SQLHSTMT’
- src/ls_odbc.c:121: warning: type defaults to ‘int’ in declaration of ‘SQLSMALLINT’
- src/ls_odbc.c:121: error: expected ‘;’, ‘,’ or ‘)’ before ‘type’
- src/ls_odbc.c:147: warning: type defaults to ‘int’ in declaration of ‘SQLSMALLINT’
- src/ls_odbc.c:147: error: expected ‘;’, ‘,’ or ‘)’ before ‘type’
- src/ls_odbc.c:178: warning: type defaults to ‘int’ in declaration of ‘SQLHSTMT’
- src/ls_odbc.c:178: error: expected ‘;’, ‘,’ or ‘)’ before ‘hstmt’
- src/ls_odbc.c: In function ‘cur_fetch’:
- src/ls_odbc.c:270: error: ‘SQLHSTMT’ undeclared (first use in this function)
- src/ls_odbc.c:270: error: (Each undeclared identifier is reported only once
- src/ls_odbc.c:270: error: for each function it appears in.)
- src/ls_odbc.c:270: error: expected ‘;’ before ‘hstmt’
- src/ls_odbc.c:271: warning: ISO C90 forbids mixed declarations and code
- src/ls_odbc.c:272: error: ‘SQLRETURN’ undeclared (first use in this function)
- src/ls_odbc.c:272: error: expected ‘;’ before ‘rc’
- src/ls_odbc.c:273: error: ‘rc’ undeclared (first use in this function)
- src/ls_odbc.c:273: error: ‘SQL_NO_DATA’ undeclared (first use in this function)
- src/ls_odbc.c:276: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
- src/ls_odbc.c:276: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
- src/ls_odbc.c:276: warning: implicit declaration of function ‘fail’
- src/ls_odbc.c:276: error: ‘SQL_HANDLE_STMT’ undeclared (first use in this function)
- src/ls_odbc.c:276: error: ‘hstmt’ undeclared (first use in this function)
- src/ls_odbc.c:279: error: ‘SQLUSMALLINT’ undeclared (first use in this function)
- src/ls_odbc.c:279: error: expected ‘;’ before ‘i’
- src/ls_odbc.c:280: warning: ISO C90 forbids mixed declarations and code
- src/ls_odbc.c:283: error: ‘i’ undeclared (first use in this function)
- src/ls_odbc.c:284: warning: implicit declaration of function ‘push_column’
- src/ls_odbc.c:303: error: expected ‘;’ before ‘i’
- src/ls_odbc.c: In function ‘cur_close’:
- src/ls_odbc.c:320: error: ‘SQLRETURN’ undeclared (first use in this function)
- src/ls_odbc.c:320: error: expected ‘;’ before ‘ret’
- src/ls_odbc.c:329: error: ‘ret’ undeclared (first use in this function)
- src/ls_odbc.c:329: warning: implicit declaration of function ‘SQLCloseCursor’
- src/ls_odbc.c:329: error: ‘cur_data’ has no member named ‘hstmt’
- src/ls_odbc.c:330: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
- src/ls_odbc.c:330: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
- src/ls_odbc.c:331: error: ‘SQL_HANDLE_STMT’ undeclared (first use in this function)
- src/ls_odbc.c:331: error: ‘cur_data’ has no member named ‘hstmt’
- src/ls_odbc.c:332: warning: implicit declaration of function ‘SQLFreeHandle’
- src/ls_odbc.c:332: error: ‘cur_data’ has no member named ‘hstmt’
- src/ls_odbc.c:334: error: ‘cur_data’ has no member named ‘hstmt’
- src/ls_odbc.c: In function ‘create_colinfo’:
- src/ls_odbc.c:370: error: ‘SQLCHAR’ undeclared (first use in this function)
- src/ls_odbc.c:370: error: expected ‘;’ before ‘buffer’
- src/ls_odbc.c:371: error: ‘SQLSMALLINT’ undeclared (first use in this function)
- src/ls_odbc.c:371: error: expected ‘;’ before ‘namelen’
- src/ls_odbc.c:372: error: ‘SQLRETURN’ undeclared (first use in this function)
- src/ls_odbc.c:372: error: expected ‘;’ before ‘ret’
- src/ls_odbc.c:373: warning: ISO C90 forbids mixed declarations and code
- src/ls_odbc.c:379: error: ‘i’ undeclared (first use in this function)
- src/ls_odbc.c:380: error: ‘ret’ undeclared (first use in this function)
- src/ls_odbc.c:380: warning: implicit declaration of function ‘SQLDescribeCol’
- src/ls_odbc.c:380: error: ‘cur_data’ has no member named ‘hstmt’
- src/ls_odbc.c:380: error: ‘buffer’ undeclared (first use in this function)
- src/ls_odbc.c:381: error: ‘namelen’ undeclared (first use in this function)
- src/ls_odbc.c:381: error: ‘datatype’ undeclared (first use in this function)
- src/ls_odbc.c:385: warning: implicit declaration of function ‘sqltypetolua’
- src/ls_odbc.c:385: warning: passing argument 2 of ‘lua_pushstring’ makes pointer from integer without a cast
- src/ls_odbc.c: At top level:
- src/ls_odbc.c:397: warning: type defaults to ‘int’ in declaration of ‘SQLHSTMT’
- src/ls_odbc.c:397: error: expected ‘;’, ‘,’ or ‘)’ before ‘hstmt’
- src/ls_odbc.c: In function ‘conn_close’:
- src/ls_odbc.c:423: error: ‘SQLRETURN’ undeclared (first use in this function)
- src/ls_odbc.c:423: error: expected ‘;’ before ‘ret’
- src/ls_odbc.c:424: warning: ISO C90 forbids mixed declarations and code
- src/ls_odbc.c:441: error: ‘ret’ undeclared (first use in this function)
- src/ls_odbc.c:441: warning: implicit declaration of function ‘SQLDisconnect’
- src/ls_odbc.c:441: error: ‘conn_data’ has no member named ‘hdbc’
- src/ls_odbc.c:442: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
- src/ls_odbc.c:442: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
- src/ls_odbc.c:443: error: ‘SQL_HANDLE_DBC’ undeclared (first use in this function)
- src/ls_odbc.c:443: error: ‘conn_data’ has no member named ‘hdbc’
- src/ls_odbc.c:444: error: ‘conn_data’ has no member named ‘hdbc’
- src/ls_odbc.c:446: error: ‘conn_data’ has no member named ‘hdbc’
- src/ls_odbc.c: In function ‘conn_execute’:
- src/ls_odbc.c:460: error: ‘SQLHDBC’ undeclared (first use in this function)
- src/ls_odbc.c:460: error: expected ‘;’ before ‘hdbc’
- src/ls_odbc.c:461: error: ‘SQLHSTMT’ undeclared (first use in this function)
- src/ls_odbc.c:461: error: expected ‘;’ before ‘hstmt’
- src/ls_odbc.c:462: error: ‘SQLSMALLINT’ undeclared (first use in this function)
- src/ls_odbc.c:462: error: expected ‘;’ before ‘numcols’
- src/ls_odbc.c:463: error: ‘SQLRETURN’ undeclared (first use in this function)
- src/ls_odbc.c:463: error: expected ‘;’ before ‘ret’
- src/ls_odbc.c:464: error: ‘ret’ undeclared (first use in this function)
- src/ls_odbc.c:464: warning: implicit declaration of function ‘SQLAllocHandle’
- src/ls_odbc.c:464: error: ‘SQL_HANDLE_STMT’ undeclared (first use in this function)
- src/ls_odbc.c:464: error: ‘hdbc’ undeclared (first use in this function)
- src/ls_odbc.c:464: error: ‘hstmt’ undeclared (first use in this function)
- src/ls_odbc.c:465: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
- src/ls_odbc.c:465: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
- src/ls_odbc.c:466: error: ‘SQL_HANDLE_DBC’ undeclared (first use in this function)
- src/ls_odbc.c:468: warning: implicit declaration of function ‘SQLPrepare’
- src/ls_odbc.c:468: error: ‘SQL_NTS’ undeclared (first use in this function)
- src/ls_odbc.c:476: warning: implicit declaration of function ‘SQLExecute’
- src/ls_odbc.c:484: warning: implicit declaration of function ‘SQLNumResultCols’
- src/ls_odbc.c:484: error: ‘numcols’ undeclared (first use in this function)
- src/ls_odbc.c:493: warning: implicit declaration of function ‘create_cursor’
- src/ls_odbc.c:496: error: ‘SQLINTEGER’ undeclared (first use in this function)
- src/ls_odbc.c:496: error: expected ‘;’ before ‘numrows’
- src/ls_odbc.c:497: warning: implicit declaration of function ‘SQLRowCount’
- src/ls_odbc.c:497: error: ‘numrows’ undeclared (first use in this function)
- src/ls_odbc.c: In function ‘conn_commit’:
- src/ls_odbc.c:514: error: ‘SQLRETURN’ undeclared (first use in this function)
- src/ls_odbc.c:514: error: expected ‘;’ before ‘ret’
- src/ls_odbc.c:515: error: ‘ret’ undeclared (first use in this function)
- src/ls_odbc.c:515: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
- src/ls_odbc.c:515: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
- src/ls_odbc.c:516: error: ‘SQL_HANDLE_STMT’ undeclared (first use in this function)
- src/ls_odbc.c:516: error: ‘conn_data’ has no member named ‘hdbc’
- src/ls_odbc.c: In function ‘conn_rollback’:
- src/ls_odbc.c:526: error: ‘SQLRETURN’ undeclared (first use in this function)
- src/ls_odbc.c:526: error: expected ‘;’ before ‘ret’
- src/ls_odbc.c:527: error: ‘ret’ undeclared (first use in this function)
- src/ls_odbc.c:527: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
- src/ls_odbc.c:527: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
- src/ls_odbc.c:528: error: ‘SQL_HANDLE_STMT’ undeclared (first use in this function)
- src/ls_odbc.c:528: error: ‘conn_data’ has no member named ‘hdbc’
- src/ls_odbc.c: In function ‘conn_setautocommit’:
- src/ls_odbc.c:538: error: ‘SQLRETURN’ undeclared (first use in this function)
- src/ls_odbc.c:538: error: expected ‘;’ before ‘ret’
- src/ls_odbc.c:540: error: ‘ret’ undeclared (first use in this function)
- src/ls_odbc.c:540: warning: implicit declaration of function ‘SQLSetConnectAttr’
- src/ls_odbc.c:540: error: ‘conn_data’ has no member named ‘hdbc’
- src/ls_odbc.c:540: error: ‘SQL_ATTR_AUTOCOMMIT’ undeclared (first use in this function)
- src/ls_odbc.c:541: error: ‘SQLPOINTER’ undeclared (first use in this function)
- src/ls_odbc.c:541: error: expected ‘)’ before ‘SQL_AUTOCOMMIT_ON’
- src/ls_odbc.c:543: error: ‘conn_data’ has no member named ‘hdbc’
- src/ls_odbc.c:544: error: expected ‘)’ before ‘SQL_AUTOCOMMIT_OFF’
- src/ls_odbc.c:546: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
- src/ls_odbc.c:546: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
- src/ls_odbc.c:547: error: ‘SQL_HANDLE_STMT’ undeclared (first use in this function)
- src/ls_odbc.c:547: error: ‘conn_data’ has no member named ‘hdbc’
- src/ls_odbc.c: At top level:
- src/ls_odbc.c:556: error: expected declaration specifiers or ‘...’ before ‘SQLHDBC’
- src/ls_odbc.c: In function ‘create_connection’:
- src/ls_odbc.c:559: error: ‘SQLRETURN’ undeclared (first use in this function)
- src/ls_odbc.c:559: error: expected ‘;’ before ‘ret’
- src/ls_odbc.c:561: error: ‘ret’ undeclared (first use in this function)
- src/ls_odbc.c:561: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
- src/ls_odbc.c:561: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
- src/ls_odbc.c:562: error: ‘SQL_HANDLE_DBC’ undeclared (first use in this function)
- src/ls_odbc.c:562: error: ‘hdbc’ undeclared (first use in this function)
- src/ls_odbc.c:570: error: ‘conn_data’ has no member named ‘hdbc’
- src/ls_odbc.c: In function ‘env_connect’:
- src/ls_odbc.c:592: error: ‘SQLHDBC’ undeclared (first use in this function)
- src/ls_odbc.c:592: error: expected ‘;’ before ‘hdbc’
- src/ls_odbc.c:593: error: ‘SQLRETURN’ undeclared (first use in this function)
- src/ls_odbc.c:593: error: expected ‘;’ before ‘ret’
- src/ls_odbc.c:596: error: ‘ret’ undeclared (first use in this function)
- src/ls_odbc.c:596: error: ‘SQL_HANDLE_DBC’ undeclared (first use in this function)
- src/ls_odbc.c:596: error: ‘env_data’ has no member named ‘henv’
- src/ls_odbc.c:596: error: ‘hdbc’ undeclared (first use in this function)
- src/ls_odbc.c:597: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
- src/ls_odbc.c:597: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
- src/ls_odbc.c:601: warning: implicit declaration of function ‘SQLConnect’
- src/ls_odbc.c:601: error: ‘SQL_NTS’ undeclared (first use in this function)
- src/ls_odbc.c:610: error: too many arguments to function ‘create_connection’
- src/ls_odbc.c: In function ‘env_close’:
- src/ls_odbc.c:617: error: ‘SQLRETURN’ undeclared (first use in this function)
- src/ls_odbc.c:617: error: expected ‘;’ before ‘ret’
- src/ls_odbc.c:618: warning: ISO C90 forbids mixed declarations and code
- src/ls_odbc.c:628: error: ‘ret’ undeclared (first use in this function)
- src/ls_odbc.c:628: error: ‘SQL_HANDLE_ENV’ undeclared (first use in this function)
- src/ls_odbc.c:628: error: ‘env_data’ has no member named ‘henv’
- src/ls_odbc.c:629: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
- src/ls_odbc.c:629: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
- src/ls_odbc.c:630: error: ‘env_data’ has no member named ‘henv’
- src/ls_odbc.c:631: error: ‘env_data’ has no member named ‘henv’
- src/ls_odbc.c: In function ‘create_environment’:
- src/ls_odbc.c:676: error: ‘SQLHENV’ undeclared (first use in this function)
- src/ls_odbc.c:676: error: expected ‘;’ before ‘henv’
- src/ls_odbc.c:677: error: ‘SQLRETURN’ undeclared (first use in this function)
- src/ls_odbc.c:677: error: expected ‘;’ before ‘ret’
- src/ls_odbc.c:678: error: ‘ret’ undeclared (first use in this function)
- src/ls_odbc.c:678: error: ‘SQL_SUCCESS’ undeclared (first use in this function)
- src/ls_odbc.c:678: error: ‘SQL_SUCCESS_WITH_INFO’ undeclared (first use in this function)
- src/ls_odbc.c:681: warning: implicit declaration of function ‘SQLSetEnvAttr’
- src/ls_odbc.c:681: error: ‘henv’ undeclared (first use in this function)
- src/ls_odbc.c:681: error: ‘SQL_ATTR_ODBC_VERSION’ undeclared (first use in this function)
- src/ls_odbc.c:682: error: ‘SQL_OV_ODBC3’ undeclared (first use in this function)
- src/ls_odbc.c:685: error: ‘SQL_HANDLE_ENV’ undeclared (first use in this function)
- src/ls_odbc.c:694: error: ‘env_data’ has no member named ‘henv’
- make: *** [src/ls_odbc.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement