[unixODBC-dev] unixODBC (as per cvs) and current source for sqlite odbc

Peter Harvey pharvey at codebydesign.com
Thu Jul 23 06:24:20 BST 2009


This is an FYI...

openSuse x64

Built the latest unixODBC (from cvs) and then tried building sqliteodbc. 
Perhaps a problem here...

creating ./config.status
creating Makefile
creating sqliteodbc.spec
pharvey at xeon:~/Downloads/sqliteodbc-0.83> make
./libtool --mode=compile gcc -g -O2 -DDRIVER_VER_INFO=\"0.83\"  -c \
                    -I/usr/include -DHAVE_UNIXODBC=1 -I/usr/include 
-DHAVE_ODBCINSTEXT_H=1 -Imissing -DHAVE_SQLLEN=1 -DHAVE_SQLULEN=1 
-DHAVE_SQLSETPOSIROW=1 -DCOLATTRIBUTE_LAST_ARG_TYPE=SQLLEN_PTR 
-DHAVE_LONG_LONG=1 -DPTRDIFF_T=ptrdiff_t -DUSE_DLOPEN_FOR_GPPS 
-DCANT_PASS_VALIST_AS_CHARPTR=1 -DHAVE_USLEEP=1 -DHAVE_LOCALECONV=1 
-DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DWITHOUT_WINTERFACE=1 \
                    -DHAVE_SQLITE3COLUMNTABLENAME=1 
-DHAVE_SQLITE3LOADEXTENSION=0 -DHAVE_SQLITE3OVERLOADFUNCTION=1 
-DHAVE_SQLITE3PREPAREV2=1 -DHAVE_SQLITE3CLEARBINDINGS=1 
-DHAVE_SQLITE3CREATEMODULEV2=1 -DHAVE_SQLITE3VFS=1 
-DHAVE_SQLITE3TABLECOLUMNMETADATA=1 sqlite3odbc.c
mkdir .libs
gcc -g -O2 -DDRIVER_VER_INFO=\"0.83\" -c -I/usr/include 
-DHAVE_UNIXODBC=1 -I/usr/include -DHAVE_ODBCINSTEXT_H=1 -Imissing 
-DHAVE_SQLLEN=1 -DHAVE_SQLULEN=1 -DHAVE_SQLSETPOSIROW=1 
-DCOLATTRIBUTE_LAST_ARG_TYPE=SQLLEN_PTR -DHAVE_LONG_LONG=1 
-DPTRDIFF_T=ptrdiff_t -DUSE_DLOPEN_FOR_GPPS 
-DCANT_PASS_VALIST_AS_CHARPTR=1 -DHAVE_USLEEP=1 -DHAVE_LOCALECONV=1 
-DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DWITHOUT_WINTERFACE=1 
-DHAVE_SQLITE3COLUMNTABLENAME=1 -DHAVE_SQLITE3LOADEXTENSION=0 
-DHAVE_SQLITE3OVERLOADFUNCTION=1 -DHAVE_SQLITE3PREPAREV2=1 
-DHAVE_SQLITE3CLEARBINDINGS=1 -DHAVE_SQLITE3CREATEMODULEV2=1 
-DHAVE_SQLITE3VFS=1 -DHAVE_SQLITE3TABLECOLUMNMETADATA=1 sqlite3odbc.c  
-fPIC -DPIC -o .libs/sqlite3odbc.lo
sqlite3odbc.c:7676: error: conflicting types for 'SQLSetStmtOption'
/usr/include/sql.h:796: error: previous declaration of 
'SQLSetStmtOption' was here
make: *** [sqlite3odbc.lo] Error 1
pharvey at xeon:~/Downloads/sqliteodbc-0.83>


--
Peter



More information about the unixODBC-dev mailing list