niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Berkeley DB
compiling errors
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
Alberto
*nix forums beginner


Joined: 10 Mar 2005
Posts: 45

PostPosted: Fri Apr 01, 2005 9:27 am    Post subject: compiling errors Reply with quote

Hi,

I'm a newbie not only on dbxml but also on C++ under Unix-like
platforms, so here's a silly question: when I try to compile the
examples that come with the distribution I get the following errors:

/tmp/ccYkMUfv.o(.gnu.linkonce.t._ZN4MyDbD1Ev+0x28): In function
`MyDb::~MyDb [in-charge]()':
: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::~basic_string
[in-charge]()'
/tmp/ccYkMUfv.o(.gnu.linkonce.t._ZN4MyDbD1Ev+0x3f): In function
`MyDb::~MyDb [in-charge]()':
: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::~basic_string
[in-charge]()'
/tmp/ccYkMUfv.o(.gnu.linkonce.t._ZN4MyDbD1Ev+0x52): In function
`MyDb::~MyDb [in-charge]()':
: undefined reference to `Db::~Db [in-charge]()'
/tmp/ccYkMUfv.o(.gnu.linkonce.t._ZN4MyDbD1Ev+0x6e): In function
`MyDb::~MyDb [in-charge]()':
: undefined reference to `Db::~Db [in-charge]()'


Lots of those "undefined reference(s)"... Well, that example was for
the db, not dbxml, but I tried it with the dbxml and I get the same
stuff anyway. Have I missed something in the library path or something
like that? Why doesn't the linker find the DB stuff?

Thanks/Alberto
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 2:24 am | All times are GMT
navigation Forum index » Databases » Berkeley DB
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Postfix fatal authentication errors! JamesMaxwell Postfix 0 Tue Oct 28, 2008 3:37 pm
No new posts dma errors John Schmidt Debian 3 Wed Jul 19, 2006 4:40 pm
No new posts strange RSCT errors Polani AIX 0 Wed Jul 19, 2006 1:33 pm
No new posts Inode Errors Peter Collins Debian 0 Mon Jul 17, 2006 3:40 pm
No new posts veeery STRANGE compilation errors!! Sheer Gentoo 5 Mon Jul 17, 2006 8:46 am

Loans | Proxy | Debt Consolidation | Debt Consolidation | Bad Credit Mortgages
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1914s ][ Queries: 16 (0.1245s) ][ GZIP on - Debug on ]