problem with g++ and "undefined reference to `__gxx_personality_v0'"
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/203548/undefined-symbol-gxx-personality-v0-on-link">Undefined Symbol ___gxx_personality_v0 on link</a>  </p>
</blockquote>



<p>I have a problem, I have the Following programm</p>

<pre><code>// fkt.cpp

#include "fkt.h"

int add2(int a, int b)
{
    return a+b;
}
</code></pre>

<p>and the header:</p>

<pre><code>// fkt.h

int add2(int a, int b);
</code></pre>

<p>now I compile this with: <code>g++ -c fkt.cpp</code></p>

<p>now I run <code>nm</code> and get:</p>

<pre><code>00000000 T _Z6add2ii
         U __gxx_personality_v0
</code></pre>

<p>when I want to use the function anywhere I get:</p>

<pre><code>(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
</code></pre>

<p>how can I solve this problem? (i'm using ubuntu linux)</p>
