From: Gregor at H. <gr...@ho...> - 2010-08-17 17:44:14
|
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." |