----- Original Message -----From: KevSent: Thursday, December 06, 2007 8:37 PMSubject: [DTL] Help, dtl can't build on ia64 linuxHi,
I try to build dtl with ia64 linux box, but without success...
first, I try to run the build script as:
===================== ========= ========= ========= ========= ======
[root@localhost lib]# sh build.sh
c++ -march=i686 -g -Wall -O0 -g3 -DDTL_UC -DUNIX -DHAVE_LONG_LONG
-D_DEBUG -c -MMD -o debug/BoundIO.o BoundIO.cpp
cc1plus: error: invalid option `arch=i686'
make: *** [debug/BoundIO.o] Error 1
===================== ========= ========= ========= ========= =======
then I remove the "-march=i686" flag as:
===================== ========= ========= ========= ========= =======
[root@localhost lib]# c++ -g -Wall -O0 -g3 -DDTL_UC -DUNIX
-DHAVE_LONG_LONG -D_DEBUG -c -MMD -o debug/BoundIO. o BoundIO.cpp
In file included from BoundIO.h:25,
from BoundIO.cpp:13:
variant_row.h:486: error: `dtl::dtl_variant_ t::operator long int()
const' and `dtl::dtl_variant_t::operator long int() const' cannot be
overloaded
variant_row.h:929: error: `dtl::variant_ field::operator long int()
const' and `dtl::variant_field::operator long int() const' cannot be
overloaded
In file included from BoundIO.cpp:13:
BoundIO.h:563: error: `void dtl::BoundIO::GenericBind( long int&)' and
`void dtl::BoundIO::GenericBind( long int&)' cannot be overloaded
BoundIO.h:563: error: `dtl::BoundIO dtl::BoundIO::operator= =(long
int&)' and `dtl::BoundIO dtl::BoundIO::operator= =(long int&)' cannot
be overloaded
BoundIO.h:563: error: `dtl::BoundIO dtl::BoundIO::operator< <(long
int&)' and `dtl::BoundIO dtl::BoundIO::operator< <(long int&)' cannot
be overloaded
BoundIO.h:563: error: `dtl::BoundIO dtl::BoundIO::operator> >(long
int&)' and `dtl::BoundIO dtl::BoundIO::operator> >(long int&)' cannot
be overloaded
In file included from BoundIO.cpp:16:
DBStmt.h: In member function `void
dtl::DBStmt::OverrideStmtAtt r(SQLINTEGER, SDWORD, SQLINTEGER)' :
DBStmt.h:262: warning: cast to pointer from integer of different size
===================== ========= ========= ========= ========= ========= ========= ========= ==
How do I build the dtl on ia64 Linux, can somebody please help?