[unixODBC-support] unixODBC 2.2.14 build error on 64-bit platforms

Wempa, Kristofer Kristofer.Wempa at sig.com
Fri Jun 26 16:21:42 BST 2009

I am trying to build unixODBC 2.2.14 on 6 different platforms (SLES9SP4, SLES10SP1, SLES10SP2 both 32-bit and 64-bit).  All of the 64-bit builds fail.  There are 2 issues.  The first issue is that the configure script hangs when trying to detect the QT directories.

I can get around this by specifying additional options on the configure line:

            ./configure --prefix={install path} --with-qt-dir=/usr/lib64/qt3 --with-qt-includes=/usr/lib64/qt3/include --with-qt-libraries=/usr/lib64/qt3/lib64

However, this should not be necessary.  The script should be able to determine where the 64-bit libraries are on a 64-bit server.  After I get passed the configure and run "make", I run into the same build failure on all 3 platforms:

then mv -f ".deps/results.Tpo" ".deps/results.Po"; else rm -f ".deps/results.Tpo"; exit 1; fi
results.cpp: In member function âvoid dExtendedFetch::Ok()â:
results.cpp:2608: error: cannot convert âSQLUINTEGER*â to âSQLULEN*â for argument â4â to âSQLRETURN SQLExtendedFetch(void*, SQLUSMALLINT, SQLLEN, SQLULEN*, SQLUSMALLINT*)â
make[1]: *** [results.o] Error 1
make[1]: Leaving directory `/siglinux/rpm/SOURCES/IGNORE/unixODBC-2.2.14/odbctest'
make: *** [all-recursive] Error 1
sdlcuser at isdevbal806:(toolchain-staging):/siglinux/rpm/SOURCES/IGNORE/unixODBC-2.2.14<mailto:sdlcuser at isdevbal806:(toolchain-staging):/siglinux/rpm/SOURCES/IGNORE/unixODBC-2.2.14>>

None of the 32-bit builds give me this problem.  Also, version 2.2.12 gave me no such problems.  Is this a code problem or is it possible that I am doing something wrong.  Any help would be appreciated.  Thanks.

IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20090626/9c5d5ce4/attachment.html>

More information about the unixODBC-support mailing list