logo       


Building mdbtools on cygwin[cvs and 0.6pre version]: msg#00009

Subject: Building mdbtools on cygwin[cvs and 0.6pre version]
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/


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe