On Jan 21, 2005, at 7:24 AM, Mauricio Gomes wrote:
Hi Gennadiy, thank you for your tip ! I am still on the dark though.
I've run c++filt:
c++filt _ZTv0_n12_NSoD0Ev virtual thunk to std::basic_ostream
::~basic_ostream()
Then I tried to run just this: #include <iostream>
int main (int arc, char** argv) { std::cout << "test"; }
... and it failed with the same error. However, if I remove from the project the unit test framework files, it runs fine.
I am using libstdc++.a. I don't understand what is happening. Why when I add the unit test framework code it doesn't find the standard library ~basic_ostream() anymore ?
It seems these last 5 years doing only Java got me really rusty with C++ (I'd rather work with C++ but the market forced me to go to Java).
I really appreciate your help, thanks !
Best regards, Mauricio Gomes Pensar Digital phone: 55-11-4121-6287 mobile: 55-11-8319-9610 http://pensardigital.com
On Jan 20, 2005, at 4:40 PM, Gennadiy Rozental wrote:
"Mauricio Gomes"
wrote in message news:08171267-6B0C-11D9-83D2-000A95A08D26@pensardigital.com... Hello, I am trying to use boost unit test framework but I am getting the following error message (it compiled okay but linking failed): --------------------------------------------------------------------- -----
[Session started at 2005-01-20 15:43:30 -0200.] ZeroLink: unknown symbol '__ZTv0_n12_NSoD0Ev'
Try to run through c++filt or something similar to demandle this symbol
Gennadiy
I had problems with an ostream when I started using Xcode. Your problem sounds similar, maybe not exactly the same. IIRC, the fix was simply to turn off ZeroLink. Basically, the moral of the story was don't use ZeroLink with C++. You be interested in the archive posts. Here's my original post: http://lists.apple.com/archives/xcode-users/2004/Nov/msg00048.html