when i try to emerge nautilus (and galeon), compile fails with "undefined reference to `nsCOMPtr_base::~nsCOMPtr_base(void)'". Looks like problems with mozilla?
Created attachment 430 [details] The ebuild output
What version of gcc ? Did you try to unmerge older versions ?
(11:56:54) (root@calle:~) qpkg mozilla net-www/mozilla-0.9.7-r2 net-www/mozilla-0.9.8-r1 net-www/mozilla-0.9.8-r2 net-www/mozilla-0.9.8-r3 net-www/mozilla-0.9.9-r1 * (11:56:58) (root@calle:~) gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs gcc version 2.95.3 20010315 (release) (11:57:01) (root@calle:~) need anything else?
Try to unmerge the older versions of mozilla, and try again.
the star indicates which versions is installed. (07:40:19) (root@calle:~) emerge --unmerge mozilla Couldn't find any matching installed packages. (07:40:23) (root@calle:~) qpkg mozilla net-www/mozilla-0.9.7-r2 net-www/mozilla-0.9.8-r1 net-www/mozilla-0.9.8-r2 net-www/mozilla-0.9.8-r3 net-www/mozilla-0.9.9-r1 (07:40:44) (root@calle:~) I have no older versions installed..
Make sure you have the latest versions of automake and autoconf, and try again.
Works for me. I installed nautilus today w/ mozilla-0.9.9-r1; no problems.
I have exactly the same error, and it happens with compiling galeon, too.I have the same versions for gcc and mozilla, and I've updated automake/autoconf also. Maybe the compile is missing some included libs, but I cannot find out which libs provide these functions ...Here's the exact error:c++ -mcpu=i686 -march=i686 -O3 -pipe -Wall -Wmissing-declarations -Wmissing-prototypes -Wsign-compare -Werror -D__const__= -o galeon-bin GaleonAutomation-common.o Galeon-impl.o GaleonAutomation-stubs.o GaleonAutomation-skels.o Gtm-common.o Gtm-stubs.o autobookmarks.o autocompletion.o autoreload.o bookmarks_io_own_format.o bookmarks_io_netscape.o bookmarks.o bookmarks_editor.o bookmarks_editor_callbacks.o bookmarks_editor_dnd.o bookmarks_menus.o bookmarks_menus_callbacks.o bookmarks_toolbars.o context.o dialog.o dnd-hints.o downloader.o eel-gconf-extensions.o element_props.o embed.o embed_callbacks.o favicon.o find.o glade.o gestures.o history.o history_callbacks.o js_console.o link_interfaces.o main.o menu_callbacks.o menubar.o mime.o misc_callbacks.o misc_general.o misc_gui.o misc_string.o mozcallbacks.o mozilla_i18n.o mozilla_notifiers.o mozilla_prefs.o netscape.o newuser.o newuser_callbacks.o page_info.o panel.o persistent_data_manager.o persistent_data_manager_callbacks.o prefs.o prefs_mime.o prefs_utils.o print.o session.o spinner.o state.o stroke.o stylesheets.o tabbutton.o themes.o toolbar.o toolbar_editor.o toolbar_editor_callbacks.o window.o window_callbacks.o window_notifiers.o xbel.o xlink.o -rdynamic -rdynamic ../src/mozilla/libmozilla-interaction.a -L/usr/lib/mozilla -lgtkembedmoz -lgtksuperwin -lxpcom -lnspr4 -lplc4 -lplds4 -L/usr/lib -L/usr/X11R6/lib /usr/lib/libgdk_pixbuf.so /usr/lib/libgnomevfs.so -lssl -lcrypto -lrt /usr/lib/libgthread.so /usr/lib/libglade-gnome.so /usr/lib/libglade.so /usr/lib/libgnomeui.so /usr/lib/libart_lgpl.so /usr/lib/libgdk_imlib.so -lSM -lICE /usr/lib/libgnome.so /usr/lib/libgnomesupport.so /usr/lib/libesd.so /usr/lib/libaudiofile.so -ldb1 /usr/lib/libxml.so -lncurses -lz -lXinerama /usr/lib/libgconf-gtk-1.so /usr/lib/libgconf-1.so /usr/lib/liboaf.so /usr/lib/libpopt.so /usr/lib/libORBitCosNaming.so /usr/lib/libORBit.so /usr/lib/libIIOP.so /usr/lib/libORBitutil.so /usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libgmodule.so /usr/lib/libglib.so -ldl -lXi -lXext -lX11 -lm -lpthread../src/mozilla/libmozilla-interaction.a(mozilla.o): In function `mozilla_save_prefs':mozilla.o(.text+0x5c): undefined reference to `nsCOMPtr_base::~nsCOMPtr_base(void)'mozilla.o(.text+0xae): undefined reference to `nsCOMPtr_base::~nsCOMPtr_base(void)'mozilla.o(.text+0xd6): undefined reference to `nsCOMPtr_base::~nsCOMPtr_base(void)'mozilla.o(.text+0x10c): undefined reference to `nsCOMPtr_base::~nsCOMPtr_base(void)'mozilla.o(.text+0x133): undefined reference to `nsCOMPtr_base::~nsCOMPtr_base(void)'../src/mozilla/libmozilla-interaction.a(mozilla.o)(.text+0x156): more undefined references to `nsCOMPtr_base::~nsCOMPtr_base(void)' followcollect2: ld returned 1 exit status
Works for me now. Unmerged most of X, gtk, gnome, xml, Pretty much everything not core. Remerged everything.