dbTalk Databases Forums  

Can not compile cxx examples

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss Can not compile cxx examples in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
alaytimi@wheatlandsystems.com
 
Posts: n/a

Default Can not compile cxx examples - 02-02-2005 , 03:51 PM






I get the following error:
/usr/local/arm-elf/stlport/exception.h:31 ../include/exception.h: No
such file or directory
the exception.h file is included in the db_cxx.h

Thanks for the help


Reply With Quote
  #2  
Old   
Michael Cahill
 
Posts: n/a

Default Re: Can not compile cxx examples - 02-03-2005 , 05:03 PM






Hi,

I think this is indicating some problem in your STL installation.

If you can't fix your system, you can have DB avoid this header file:

* remove the line "#include <exception.h" from db_cxx.h
* change this line:

class _exported DbException : public __DB_STD(exception)

to this:

class _exported DbException

Of course, after this change, you will not be able to catch DbException
objects with a "catch(exception)", but it should work around the build
problem.

Regards,
Michael.


Reply With Quote
  #3  
Old   
alaytimi@wheatlandsystems.com
 
Posts: n/a

Default Re: Can not compile cxx examples - 02-07-2005 , 05:40 PM



I think you are rught that my STL installation may have problems. The
exception.h size is zero. dou have any idea how my STL did not get
built right. Thanks


Reply With Quote
  #4  
Old   
Michael Cahill
 
Posts: n/a

Default Re: Can not compile cxx examples - 02-17-2005 , 05:16 PM



Hi,

I have no experience with installing STL by hand, sorry.

Michael.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.