compile errors in CVS

"Casimir Cichon" <[email protected]>
Newsgroups gmane.comp.db.mdb-tools.devel
Message-ID <s417f7c4.074@tu_asynch_1.tuc.com>
I know I just joined the list, but when compiling with --with-unixodbc I
get all kinds of compiler errors in odbc.c


the first errors I get look like this:

odbc.c:82: warning: (near initialization for 'type_info[0]')
odbc.c:82: warning: excess elements in scalar initializer
odbc.c:82: warning: (near initialization for 'type_info[0]')
odbc.c:82: error: 'SQL_TRUE' undeclared here (not in a function)


at the end I get errors like this (which I'm assuming are based on the
previous errors):
odbc.c: In function 'SQLDataSources':
odbc.c:1570: error: 'SQL_SUCCESS' undeclared (first use in this
function)
odbc.c: In function '_odbc_get_string_size':
odbc.c:1618: error: 'SQL_NTS' undeclared (first use in this function)
odbc.c: In function '_odbc_get_server_type':
odbc.c:1630: error: 'SQL_BIT' undeclared (first use in this function)
odbc.c:1631: error: 'SQL_TINYINT' undeclared (first use in this
function)
odbc.c: At top level:
odbc.c:1643: error: syntax error before '_odbc_get_client_type'
odbc.c: In function '_odbc_get_client_type':
odbc.c:1647: error: 'SQL_BIT' undeclared (first use in this function)
odbc.c:1650: error: 'SQL_TINYINT' undeclared (first use in this
function)
make[2]: *** [odbc.lo] Error 1
make[2]: Leaving directory `/home/ccichon/mdbtools/src/odbc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ccichon/mdbtools/src'
make: *** [all-recursive] Error 1




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
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.