19 messages in com.mysql.lists.plusplusRe: Link errors with resetdb example ...
FromSent OnAttachments
Dale Smith08 Jun 2005 12:20 
Chris Frey08 Jun 2005 13:22 
Dale Smith08 Jun 2005 13:31 
Chris Frey08 Jun 2005 13:44 
Dale Smith08 Jun 2005 14:00 
Dale Smith08 Jun 2005 14:23 
Chris Frey08 Jun 2005 16:38 
Warren Young09 Jun 2005 07:28 
Dale Smith09 Jun 2005 07:31 
Dale Smith10 Jun 2005 12:03 
Warren Young10 Jun 2005 13:10 
Dale Smith10 Jun 2005 13:26 
Warren Young10 Jun 2005 14:31 
Chris Frey12 Jun 2005 02:19 
Dale Smith13 Jun 2005 07:40 
Dale Smith13 Jun 2005 08:25 
Warren Young13 Jun 2005 12:45 
Chris Frey13 Jun 2005 20:24 
Warren Young14 Jun 2005 11:30 
Subject:Re: Link errors with resetdb example program
From:Warren Young (mysq@etr-usa.com)
Date:06/10/2005 01:10:19 PM
List:com.mysql.lists.plusplus

Dale Smith wrote:

my installation. I'm running a 64-bit Itanium platform; has anyone successfully used mysql++ on that platform before?

The last system in that class I used was a Cray Y-MP, back before Linux had even been invented.

resetdb.o(.gnu.linkonce.r._ZTCN7mysqlpp5QueryE0_Sd+0x18): undefined reference to `std::basic_iostream<char, std::char_traits<char>

::~basic_iostream()'

Check this GCC mailing list thread out:

http://gcc.gnu.org/ml/libstdc++/2004-09/msg00228.html

That link drops you into the middle of the thread, to a suggestion I'd like you to try as well.

One other thing: can you hack resetdb.cpp to remove any uses of the Query object? Basically, I want it to just connect to the database, and exit. If that links, then this message may be relevant:

http://groups-beta.google.com/group/gnu.g++.help/browse_thread/thread/6b1cc4e3a0b8f1d0

...though not helpful, because nobody replied to it. Well, maybe helpful: if the Query object is implicated, then this is yet more reason to change it to not derive from std::stringstream.