Skip to Content.
Sympa Menu

freetds - [freetds] Building freetds-0.63.dev.20041026 with libiodbc-3.52.1

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Chuck Bearden <cfbearden AT gmail.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] Building freetds-0.63.dev.20041026 with libiodbc-3.52.1
  • Date: Wed, 27 Oct 2004 15:07:03 -0500

Trying to keep my ODBC stuff up-to-date. I have a working
freetds-0.62.4 (plus a patch from Freddy) with libiodbc-3.51.2. I am
now trying to build a recent snapshot against the current
libiodbc-3.52.1. I built libiodbc after configuring like so:

./configure --prefix=/home/cbearden/opt/libiodbc-3.52.1 \
--with-iodbc-inidir=/home/cbearden/opt/etc \
--disable-gui

Then I try to build FreeTDS after configuring like so:

LDFLAGS='-L/home/cbearden/opt/libiodbc-3.52.1/lib' \
CFLAGS='-I/home/cbearden/opt/libiodbc-3.52.1/include' \
./configure \
--prefix=/home/cbearden/opt/freetds-0.63.dev.20041026-a \
--with-iodbc=/home/cbearden/opt/libiodbc-3.52.1 \
--sysconfdir=/home/cbearden/opt/etc

(I supply the LDFLAGS and CFLAGS to get FreeTDS to build against the
new libiodbc libraries & header files, since the libraries presently
in production use are pointed to in ld.so.conf.)

The 'make' dies (choking noise of the build appended).

I doubtless made some elementary error in building, and I would be
grateful for any suggestions or pointers.

Thanks,
Chuck

gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
-I/home/cbearden/opt/libiodbc-3.52.1/include -D_FREETDS_LIBRARY_SOURCE
-DIODBC -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long
-I/home/cbearden/opt/libiodbc-3.52.1/include -MT odbc.lo -MD -MP -MF
.deps/odbc.Tpo -c odbc.c -fPIC -DPIC -o .libs/odbc.o
odbc.c:633: conflicting types for `SQLParamOptions'
/home/cbearden/opt/libiodbc-3.52.1/include/sqlext.h:2448: previous
declaration of `SQLParamOptions'
odbc.c:918: conflicting types for `SQLBindParameter'
/home/cbearden/opt/libiodbc-3.52.1/include/sqlext.h:2514: previous
declaration of `SQLBindParameter'
odbc.c:926: conflicting types for `SQLBindParam'
/home/cbearden/opt/libiodbc-3.52.1/include/sql.h:818: previous
declaration of `SQLBindParam'
odbc.c:1190: conflicting types for `SQLBindCol'
/home/cbearden/opt/libiodbc-3.52.1/include/sql.h:807: previous
declaration of `SQLBindCol'
odbc.c:1350: conflicting types for `SQLDescribeCol'
/home/cbearden/opt/libiodbc-3.52.1/include/sql.h:888: previous
declaration of `SQLDescribeCol'
odbc.c:1603: conflicting types for `SQLColAttributes'
/home/cbearden/opt/libiodbc-3.52.1/include/sqlext.h:2387: previous
declaration of `SQLColAttributes'
odbc.c:1611: conflicting types for `SQLColAttribute'
/home/cbearden/opt/libiodbc-3.52.1/include/sql.h:840: previous
declaration of `SQLColAttribute'
odbc.c:1696: conflicting types for `SQLSetDescRec'
/home/cbearden/opt/libiodbc-3.52.1/include/sql.h:1109: previous
declaration of `SQLSetDescRec'
odbc.c:1751: conflicting types for `SQLGetDescRec'
/home/cbearden/opt/libiodbc-3.52.1/include/sql.h:992: previous
declaration of `SQLGetDescRec'
odbc.c:2777: conflicting types for `SQLFetchScroll'
/home/cbearden/opt/libiodbc-3.52.1/include/sql.h:925: previous
declaration of `SQLFetchScroll'
odbc.c:3338: conflicting types for `SQLRowCount'
/home/cbearden/opt/libiodbc-3.52.1/include/sql.h:1071: previous
declaration of `SQLRowCount'
odbc.c:3447: conflicting types for `SQLSetParam'
/home/cbearden/opt/libiodbc-3.52.1/include/sql.h:1183: previous
declaration of `SQLSetParam'
odbc.c:3579: conflicting types for `SQLGetData'
/home/cbearden/opt/libiodbc-3.52.1/include/sql.h:970: previous
declaration of `SQLGetData'
odbc.c:4842: conflicting types for `SQLPutData'
/home/cbearden/opt/libiodbc-3.52.1/include/sql.h:1067: previous
declaration of `SQLPutData'
odbc.c:4944: conflicting types for `SQLSetConnectOption'
/home/cbearden/opt/libiodbc-3.52.1/include/sql.h:1084: previous
declaration of `SQLSetConnectOption'
odbc.c:5170: conflicting types for `SQLSetStmtOption'
/home/cbearden/opt/libiodbc-3.52.1/include/sql.h:1130: previous
declaration of `SQLSetStmtOption'
make[3]: *** [odbc.lo] Error 1
make[3]: Leaving directory
`/home/cbearden/src/freetds-0.63.dev.20041026/src/odbc'
make[2]: *** [all-recursive] Error 1




Archive powered by MHonArc 2.6.24.

Top of Page