Subject: _Unwind* undefined symbols on libstdc++
To: None <tech-userlevel@NetBSD.org>
From: Juan RP <juan@xtraeme.unixbsd.org>
List: tech-userlevel
Date: 11/20/2003 18:15:40
I was trying to find what's the problem with galeon package
and -current (x86), looking at configure script it seems can't
find mozilla, because libgtkembedmoz want a few symbols from libstdc++,
which are undefined (or at least on my libstdc++).

That's the output:

[...]
configure:12453: checking for gtk_moz_embed_get_type in -lgtkembedmoz
configure:12484: cc -o conftest  -O2 -O2 -march=athlon-xp -mcpu=athlon-xp -pipe
-I/usr/pkg/include -I/usr/X11R6/include -I/usr/pkg/include/mozilla 
-I/usr/pkg/include/libglade-1.0 -I/usr/pkg/include/gdk-pixbuf-1.0
-I/usr/pkg/include/freetype2  -I/usr/pkg/include -I/usr/X11R6/include 
-Wl,-R/usr/lib  -Wl,-R/usr/pkg/lib/mozilla -Wl,-E -L/usr/pkg/lib
-Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/pkg/lib/mozilla
-lnspr4 -lplc4 -lplds4 -lgtkembedmoz -lxpcom -lgtksuperwin conftest.c
-lgtkembedmoz   -lintl >&5 
/usr/lib/libstdc++.so.5: undefined reference to `_Unwind_GetIP'
/usr/lib/libstdc++.so.5: undefined reference to `_Unwind_Resume_or_Rethrow'
/usr/lib/libstdc++.so.5: undefined reference to `_Unwind_GetRegionStart'
/usr/lib/libstdc++.so.5: undefined reference to `_Unwind_Resume'
/usr/lib/libstdc++.so.5: undefined reference to `_Unwind_DeleteException'
/usr/lib/libstdc++.so.5: undefined reference to `_Unwind_RaiseException'
/usr/lib/libstdc++.so.5: undefined reference to `_Unwind_SetIP'
/usr/lib/libstdc++.so.5: undefined reference to `_Unwind_GetTextRelBase'
[...]
configure:12487: $? = 1 

Is this a problem from our libstdc++ ? 
What's the right way to fix this ?

Thanks.
-- 
Kill me with your thoughts, use your mind, hand me over to
this world into death...