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...
Want to share photos of your group with the world? Add a group photo to Flickr.

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 #2355 of 2479 |
Re: [DTL] Help, dtl can't build on ia64 linux

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 best bet is to #ifdef out one of the overloaded long & operators.  Then, for OverrideStmtAttr check if this is mis-specified.  It may be that it needs to take and argument of type SQLPOINTER rather than SDWORD.
 
Corwin
 
----- Original Message -----
From: Kev
Sent: Thursday, December 06, 2007 8:37 PM
Subject: [DTL] Help, dtl can't build on ia64 linux

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 3:40 pm

corwinjoy
Offline Offline
Send Email Send Email

Forward
Message #2355 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