Hi all,
i had problem with the mdbtool binaries i found for cygwin. mdb-export
don't exports any files...(It is 0.6pre binary which does not work.)
Looks like the 0.5 binary version works but it does not have the '-I'
switch make INSERTs with mdb-export
So i decided to build from the 0.6pre source. That also did not work. I
saw that i should use the cvs version. Before trying on Cygwin i wanted
to test it on Debian. It was easy to build. But the same on cygwin and i
still get these errors:( gcc 3.3.3 and 3.4 tested
all building depencys should be installed
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:87:
warning: (near initialization for `type_info[2]')
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:87:
warning: excess elements in scalar initializer
[...]
uest for member `minimum_scale' in something not a structure or union
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1323:
error: re
quest for member `maximum_scale' in something not a structure or union
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/unittest.c:122:
error:
parse error before ')' token
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/unittest.c:127:
error:
parse error before "szSqlState"
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1324:
error: re
quest for member `sql_data_type' in something not a structure or union
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1325:
error: re
quest for member `sql_datetime_sub' in something not a structure or union
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1325:
error: re
quest for member `sql_datetime_sub' in something not a structure or union
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/unittest.c:142:
warnin
g: passing arg 1 of `SQLAllocStmt' makes pointer from integer without a cast
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/unittest.c:144:
error:
parse error before "szSqlState"
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/unittest.c:170:
error:
parse error before
"szCol1"/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src
/odbc/odbc.c:1326: error: request for member `num_prec_radix' in
something not a
structure or union
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1326:
error: re
quest for member `num_prec_radix' in something not a structure or union
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/unittest.c:176:
error:
parse error before "szSqlState"
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/unittest.c:189:
error:
`szCol1' undeclared (first use in this function)
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1327:
error: re
quest for member `interval_precision' in something not a structure or union
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1327:
error: re
quest for member `interval_precision' in something not a structure or union
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c: At top
level:
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1343:
error: pa
rse error before "SQLPOINTER"
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1351:
error: pa
rse error before "SQLPOINTER"
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1360:
error: pa
rse error before "SQLUSMALLINT"make[2]: *** [unittest.o] Error 1
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1369:
error: pa
rse error before "SQLUSMALLINT"
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1378:
error: pa
rse error before "SQLUSMALLINT"
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1394:
error: pa
rse error before "SQLCHAR"make[2]: *** Waiting for unfinished jobs....
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1409:
error: pa
rse error before "SQLCHAR"
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c: In
function `S
QLTables':
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1425:
error: `h
stmt' undeclared (first use in this function)
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1427:
error: `c
bCatalogName' undeclared (first use in this function)
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1427:
error: `s
zCatalogName' undeclared (first use in this function)
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1428:
error: `c
bSchemaName' undeclared (first use in this function)
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1428:
error: `s
zSchemaName' undeclared (first use in this function)
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1429:
error: `c
bTableName' undeclared (first use in this function)
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1429:
error: `s
zTableName' undeclared (first use in this function)
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1430:
error: `c
bTableType' undeclared (first use in this function)
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1430:
error: `s
zTableType' undeclared (first use in this function)
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c: At top
level:
/usr/src/mdbtools-0.6pre1-1/src/mdbtools-0.6pre1/src/odbc/odbc.c:1476:
error: pa
rse error before "SQLUSMALLINT"
make[2]: *** [odbc.lo] Error 1
make[2]: Leaving directory `/usr/src/mdbtools-0.6pre1-1/build/src/odbc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mdbtools-0.6pre1-1/build/src'
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
|
|