Subject: Re: galeon is broken...
To: None <perry@piermont.com>
From: Shin'ichiro TAYA <taya@ba2.so-net.ne.jp>
List: tech-pkg
Date: 11/28/2003 08:51:41
From: "Perry E.Metzger" <perry@piermont.com>
Subject: galeon is broken...
Date: Tue, 18 Nov 2003 18:33:11 -0500

> With brand new fresh pkgsrc, and all packages rebuilt in the last few
> days, Galeon breaks during the config stage and won't build -- it
> complains that it needs Mozilla 1.3 (which it didn't need a few months
> ago.)

from config.log, there is an error like this:

configure:12453: checking for gtk_moz_embed_get_type in -lgtkembedmoz
configure:12484: cc -o conftest  -O2 -I/usr/pkg/include -I/usr/X11R6/include -I/usr/pkg/include/mozilla  -I/usr/X11R6/include/libglade-1.0 -I/usr/X11R6/include/gdk-pixbuf-1.0 -I/usr/X11R6/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'
/usr/lib/libstdc++.so.5: undefined reference to `_Unwind_GetLanguageSpecificData'
/usr/lib/libstdc++.so.5: undefined reference to `_Unwind_SetGR'
/usr/lib/libstdc++.so.5: undefined reference to `_Unwind_GetDataRelBase'
configure:12487: $? = 1
configure: failed program was:
| #line 12461 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "galeon"
| #define VERSION "1.2.13"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SCANDIR 1
| #define GNOME_PIXMAPS_DIR "/usr/X11R6/share/pixmaps"
| #define HAVE_XINERAMA 1
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char gtk_moz_embed_get_type ();
| int
| main ()
| {
| gtk_moz_embed_get_type ();
|   ;
|   return 0;
| }


liblgtkembedmoz.so is a C++ library.
Is it OK to link with cc?
Should I change to link with c++?
Or toolchain should be fixed?
(gcc-2.95.x can compile this)