Search the web
Sign In
New User? Sign Up
DatabaseTemplateLibrary · The Database Template Library
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Help, dtl can't build on ia64 linux   Message List  
Reply | Forward Message #2352 of 2479 |
Hi,
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::OverrideStmtAttr(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?






Fri Dec 7, 2007 2:37 am

chkev2001
Offline Offline
Send Email Send Email

Forward
Message #2352 of 2479 |
Expand Messages Author Sort by Date

Hi, I try to build dtl with ia64 linux box, but without success... first, I try to run the build script as: ...
Kev
chkev2001
Offline Send Email
Dec 7, 2007
2:37 am

Hi Kev, DTL has been run before on 64 bit solaris so I think what you are seeing is just collisions with how pointers get defined under ia64. Probably your...
Corwin Joy
corwinjoy
Offline Send Email
Dec 7, 2007
3:41 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help