Ubuntu 8.04 x86_64 fully patched up to 20080610.
g++, unixODBC from Ubuntu repositories.
dtl.tar.gz 3.6.11 from
http://groups.yahoo.com/group/DatabaseTemplateLibrary/files/DTL36/dtl.tar.gz
downloaded 20080610.
1. Problems start with this message after every successful compilation:
sed: -e expression #1, char 299: unterminated address regex
2. Compilation fails on DBStmt.cpp:
c++ -g -Wall -O0 -g3 -DDTL_UC -DUNIX -DHAVE_LONG_LONG
-I/usr/local/include/unixodbc -D_DEBUG -c -MMD -o debug/DBStmt.o
DBStmt.cpp
with the following message:
DBStmt.cpp: In member function 'void dtl::DBStmt::BindParam(SDWORD,
SDWORD, SDWORD, SDWORD, SDWORD, SDWORD, void*, SDWORD, SDWORD*)':
DBStmt.cpp:906: error: cannot convert 'SQLINTEGER*' to 'SQLLEN*' for
argument '10' to 'SQLRETURN SQLBindParameter(void*, SQLUSMALLINT,
SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*,
SQLLEN, SQLLEN*)'
I suppose that SQLINTEGER is int32 and SQLLEN is int64 or other way
round on this platform, and both types are int32 on 32 bit machine.