Doesn't compile with unixODBC
Gregor at HostGIS <[email protected]> Tue, 17 Aug 2010 10:44:00 -0700
| Newsgroups | gmane.comp.db.mdb-tools.devel |
|---|---|
| Message-ID | <[email protected]> |
Hey guys. I checked out MDB Tools from CVS, and it won't compile if I
try to include unixODBC support.
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/local/include -g -O2 -DSQL -DUNIXODBC -MT odbc.lo -MD -MP -MF
.deps/odbc.Tpo -c odbc.c -fPIC -DPIC -o .libs/odbc.o
odbc.c:215: error: conflicting types for 'SQLDescribeParam'
/usr/local/include/sqlext.h:1920: error: previous declaration of
'SQLDescribeParam' was here
odbc.c:215: error: conflicting types for 'SQLDescribeParam'
/usr/local/include/sqlext.h:1920: error: previous declaration of
'SQLDescribeParam' was here
(and many more: SQLExtendedFetch, SQLParamOptions, SQLSetPos, ... )
If I leave this out, MDB Tools will compile properly, but I do need the
unixODBC driver. Any ideas?
--
HostGIS, Open Source solutions for the global GIS community
Greg Allensworth - SysAdmin, Programmer, GIS Person, Security
Network+ Server+ A+ Security+ Linux+
PHP PostgreSQL MySQL DHTML/JavaScript/AJAX
"No one cares if you can back up — only if you can recover."
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev