|
Dwarf Exception Unwind Info
I spent quite a while with one of the delegates on our C and C++ course yesterday looking for the cause of compile / load errors including the text:
Dwarf Exception Unwind Info
The whole thing was very bizarre - from a perfect compile just a minute of two earlier, and with minimal source code changes, the whole thing had gone wild:
munchkin:cj12 grahamellis$ gcc -o flow2 flow2.cpp
Undefined symbols for architecture x86_64:
"std::ios_base::Init::Init()", referenced from:
__static_initialization_and_destruction_0(int, int)in cc23QGz4.o
"std::ios_base::Init::~Init()", referenced from:
___tcf_0 in cc23QGz4.o
etc
culminating in that dwarf exception message.
Alas - solution turns out to be absurdly simple. I had called up the C compiler rather than the C++ compiler ... but given it C++ code. Change from gcc to g++ and it works perfectly:
munchkin:cj12 grahamellis$ g++ -o flow2 flow2.cpp
munchkin:cj12 grahamellis
(written 2012-07-20, updated 2012-08-11)
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles C051 - C and C based languages - C++ - General [3587] C++ Courses - do I get official certification at the end of my Well House course? - (2012-01-20) [3250] C++ - how we teach the language and the concepts behind the language - (2011-04-17) [3155] Rake - a build system using code written in Ruby - (2011-02-03) [3129] Extra courses - C and C++ - (2011-01-12) [3067] Using C and C++ functions in the same program - how to do it - (2010-11-24) [3052] Getting your C++ program to run - (2010-11-15) [2851] Further C++ material - view new or old - (2010-07-04) [2763] Our C and C++ training course are on Open Source platforms - (2010-05-13) [2577] Complete teaching example - C++, inheritance, polymorphism - (2010-01-15) [2536] All the Cs ... and Java too - (2009-12-13) [2504] Learning to program in ... - (2009-11-15) [2370] C++, Python, and other training - do we use an IDE - (2009-08-21)
Some other Articles
Injection Attacks - PHP, SQL, HTML, Javascript - and how to neutralise themThe Melksham News - July 2012 - Part 1, Campus and Chamber of CommerceAssociated Classes - using objects of one class within anotherReading files, and using factories to create vectors of objects from the data in C++Dwarf Exception Unwind InfoCan you put names to faces?Reading (and writing) files in C++2011 Census results - initial figures for Wiltshire.Scenes from commuting by trainA Walk on the South Bank
1348
|
4106 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83 at 50 posts per page
This is a page archived from The Horse's Mouth at
http://www.wellho.net/horse/ -
the diary and writings of Graham Ellis.
Every attempt was made to provide current information at the time the
page was written, but things do move forward in our business - new software
releases, price changes, new techniques. Please check back via
our main site for current courses,
prices, versions, etc - any mention of a price in "The Horse's Mouth"
cannot be taken as an offer to supply at that price.
Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).
|