gmake[5]: Leaving directory `/var/tmp/portage/mozilla-1.7.3/work/mozilla/extensions/spellcheck/myspell/dictionaries' gmake[4]: Leaving directory `/var/tmp/portage/mozilla-1.7.3/work/mozilla/extensions/spellcheck/myspell' gmake[3]: Leaving directory `/var/tmp/portage/mozilla-1.7.3/work/mozilla/extensions/spellcheck' gmake[3]: Entering directory `/var/tmp/portage/mozilla-1.7.3/work/mozilla/extensions/gnomevfs' nsGnomeVFSProtocolHandler.cpp g++ -o nsGnomeVFSProtocolHandler.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DHAVE_DEPENDENT_LIBS -I../../dist/include/xpcom -I../../dist/include/string -I../../dist/include/necko -I../../dist/include/intl -I../../dist/include/mimetype -I../../dist/include/pref -I../../dist/include/nkgnomevfs -I../../dist/include -I/var/tmp/portage/mozilla-1.7.3/work/mozilla/dist/include/nspr -I. -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=k8 -pipe -fPIC -Wno-deprecated -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O1 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsGnomeVFSProtocolHandler.pp nsGnomeVFSProtocolHandler.cpp nsGnomeVFSProtocolHandler.cpp:40:35: libgnomevfs/gnome-vfs.h: No such file or directory nsGnomeVFSProtocolHandler.cpp:41:54: libgnomevfs/gnome-vfs-standard-callbacks.h: No such file or directory nsGnomeVFSProtocolHandler.cpp:42:46: libgnomevfs/gnome-vfs-mime-utils.h: No such file or directory nsGnomeVFSProtocolHandler.cpp:82: error: `GnomeVFSResult' was not declared in this scope nsGnomeVFSProtocolHandler.cpp:83: error: expected `,' or `;' before '{' token nsGnomeVFSProtocolHandler.cpp:169: error: variable or field `ProxiedAuthCallback' declared void nsGnomeVFSProtocolHandler.cpp:169: error: `gconstpointer' was not declared in this scope nsGnomeVFSProtocolHandler.cpp:170: error: `gsize' was not declared in this scope nsGnomeVFSProtocolHandler.cpp:171: error: `gpointer' was not declared in this scope nsGnomeVFSProtocolHandler.cpp:172: error: `gsize' was not declared in this scope nsGnomeVFSProtocolHandler.cpp:173: error: `gpointer' was not declared in this scope nsGnomeVFSProtocolHandler.cpp:174: error: initializer expression list treated as compound expression nsGnomeVFSProtocolHandler.cpp:174: error: expected `,' or `;' before '{' token nsGnomeVFSProtocolHandler.cpp:311: error: `gconstpointer' does not name a type nsGnomeVFSProtocolHandler.cpp:312: error: `gsize' does not name a type nsGnomeVFSProtocolHandler.cpp:313: error: `gpointer' does not name a type nsGnomeVFSProtocolHandler.cpp:314: error: `gsize' does not name a type nsGnomeVFSProtocolHandler.cpp:315: error: `gpointer' does not name a type nsGnomeVFSProtocolHandler.cpp: In function `void* AuthCallbackEventHandler(PLEvent*)': nsGnomeVFSProtocolHandler.cpp:322: error: 'struct nsGnomeVFSAuthParams' has no member named 'in' nsGnomeVFSProtocolHandler.cpp:322: error: 'struct nsGnomeVFSAuthParams' has no member named 'in_size' nsGnomeVFSProtocolHandler.cpp:323: error: 'struct nsGnomeVFSAuthParams' has no member named 'out' nsGnomeVFSProtocolHandler.cpp:323: error: 'struct nsGnomeVFSAuthParams' has no member named 'out_size' nsGnomeVFSProtocolHandler.cpp:324: error: 'struct nsGnomeVFSAuthParams' has no member named 'callback_data' nsGnomeVFSProtocolHandler.cpp:324: error: `ProxiedAuthCallback' cannot be used as a function nsGnomeVFSProtocolHandler.cpp: At global scope: nsGnomeVFSProtocolHandler.cpp:335: error: variable or field `AuthCallback' declared void nsGnomeVFSProtocolHandler.cpp:335: error: `gconstpointer' was not declared in this scope nsGnomeVFSProtocolHandler.cpp:336: error: `gsize' was not declared in this scope nsGnomeVFSProtocolHandler.cpp:337: error: `gpointer' was not declared in this scope nsGnomeVFSProtocolHandler.cpp:338: error: `gsize' was not declared in this scope nsGnomeVFSProtocolHandler.cpp:339: error: `gpointer' was not declared in this scope nsGnomeVFSProtocolHandler.cpp:340: error: initializer expression list treated as compound expression nsGnomeVFSProtocolHandler.cpp:340: error: expected `,' or `;' before '{' token nsGnomeVFSProtocolHandler.cpp:369: error: `gint' does not name a type nsGnomeVFSProtocolHandler.cpp:418: error: `GnomeVFSResult' does not name a type nsGnomeVFSProtocolHandler.cpp:419: error: `GnomeVFSResult' does not name a type nsGnomeVFSProtocolHandler.cpp:425: error: ISO C++ forbids declaration of `GnomeVFSHandle' with no type nsGnomeVFSProtocolHandler.cpp:425: error: expected `;' before '*' token nsGnomeVFSProtocolHandler.cpp:428: error: ISO C++ forbids declaration of `GList' with no type nsGnomeVFSProtocolHandler.cpp:428: error: expected `;' before '*' token nsGnomeVFSProtocolHandler.cpp:429: error: ISO C++ forbids declaration of `GList' with no type nsGnomeVFSProtocolHandler.cpp:429: error: expected `;' before '*' token nsGnomeVFSProtocolHandler.cpp: In constructor `nsGnomeVFSInputStream::nsGnomeVFSInputStream(const nsCString&)': nsGnomeVFSProtocolHandler.cpp:389: error: class `nsGnomeVFSInputStream' does not have any field named `mHandle' nsGnomeVFSProtocolHandler.cpp:392: error: class `nsGnomeVFSInputStream' does not have any field named `mDirList' nsGnomeVFSProtocolHandler.cpp:393: error: class `nsGnomeVFSInputStream' does not have any field named `mDirListPtr' nsGnomeVFSProtocolHandler.cpp: At global scope: nsGnomeVFSProtocolHandler.cpp:435: error: `GnomeVFSResult' does not name a type nsGnomeVFSProtocolHandler.cpp:533: error: `GnomeVFSResult' does not name a type nsGnomeVFSProtocolHandler.cpp: In member function `virtual nsresult nsGnomeVFSInputStream::Close()': nsGnomeVFSProtocolHandler.cpp:709: error: `mHandle' undeclared (first use this function) nsGnomeVFSProtocolHandler.cpp:709: error: (Each undeclared identifier is reported only once for each function it appears in.) nsGnomeVFSProtocolHandler.cpp:711: error: `gnome_vfs_close' undeclared (first use this function) nsGnomeVFSProtocolHandler.cpp:715: error: `mDirList' undeclared (first use this function) nsGnomeVFSProtocolHandler.cpp:718: error: `GFunc' undeclared (first use this function) nsGnomeVFSProtocolHandler.cpp:718: error: `g_list_foreach' undeclared (first use this function) nsGnomeVFSProtocolHandler.cpp:719: error: `g_list_free' undeclared (first use this function) nsGnomeVFSProtocolHandler.cpp:721: error: `mDirListPtr' undeclared (first use this function) nsGnomeVFSProtocolHandler.cpp: In member function `virtual nsresult nsGnomeVFSInputStream::Read(char*, PRUint32, PRUint32*)': nsGnomeVFSProtocolHandler.cpp:766: error: `GnomeVFSResult' undeclared (first use this function) nsGnomeVFSProtocolHandler.cpp:766: error: expected `;' before "rv" nsGnomeVFSProtocolHandler.cpp:769: error: `mHandle' undeclared (first use this function) nsGnomeVFSProtocolHandler.cpp:770: error: `rv' undeclared (first use this function) nsGnomeVFSProtocolHandler.cpp:770: error: `DoOpen' undeclared (first use this function) nsGnomeVFSProtocolHandler.cpp:772: error: `GNOME_VFS_OK' undeclared (first use this function) nsGnomeVFSProtocolHandler.cpp:773: error: `DoRead' undeclared (first use this function) nsGnomeVFSProtocolHandler.cpp:778: error: `MapGnomeVFSResult' cannot be used as a function nsGnomeVFSProtocolHandler.cpp: In member function `nsresult nsGnomeVFSProtocolHandler::Init()': nsGnomeVFSProtocolHandler.cpp:836: error: `gnome_vfs_initialized' undeclared (first use this function) nsGnomeVFSProtocolHandler.cpp:838: error: `gnome_vfs_init' undeclared (first use this function) nsGnomeVFSProtocolHandler.cpp: In member function `virtual nsresult nsGnomeVFSProtocolHandler::NewURI(const nsACString&, const char*, nsIURI*, nsIURI**)': nsGnomeVFSProtocolHandler.cpp:936: error: `GnomeVFSURI' undeclared (first use this function) nsGnomeVFSProtocolHandler.cpp:936: error: `uri' undeclared (first use this function) nsGnomeVFSProtocolHandler.cpp:936: error: `gnome_vfs_uri_new' undeclared (first use this function) gmake[3]: *** [nsGnomeVFSProtocolHandler.o] Error 1 gmake[3]: Leaving directory `/var/tmp/portage/mozilla-1.7.3/work/mozilla/extensions/gnomevfs' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/mozilla-1.7.3/work/mozilla/extensions' gmake[1]: *** [tier_94] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/mozilla-1.7.3/work/mozilla' make: *** [default] Error 2 !!! ERROR: net-www/mozilla-1.7.3 failed. !!! Function src_compile, Line 104, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge mozilla 2. 3. USE="acpi acpi4linux apache2 cdrom chroot curl curlwrappers dga divx4linux \ dvd dvdr editor emacs emacs-w3 escreen etwin evo fbdev ffmpeg flac \ flash freetype fs ftp gimp icq image imagemagick imap innodb irda \ jabber java lirc live maildir md5sum mixer mng mpeg4 mplayer msn \ multilib music mysqli native net nvidia openssh pda php portaudio \ posix pthreads samba sasl theora threads tidy tiff transcode v4l2 \ vhosts videos xalan xine xrandr xsl xvid wmf graphviz jbig lcms \ gnome kde xinerama xmms oggvorbis nas mpeg mythtv mad dvdread aalib \ cdparanoia directfb encode sdl dvb v4l tetex spell" CHOST="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" ACCEPT_KEYWORDS="amd64" PORTDIR_OVERLAY=/usr/local/portage GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.mirror.sdv.fr http://www.gigaload.org/gentoo.org/ http://gentoo.math.bme.hu http://gentoo.mirror.icd.hu/" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" RSYNC_TIMEOUT=60 FEATURES="sandbox ccache userpriv usersandbox" CCACHE_SIZE="8G"
mm i am getting this error too.... just installed gentoo to another drive and am trying to emerge gnome. i am on amd64 too but this is an ~x86 install. JaiBaba ~ # emerge info Portage 2.0.51-r3 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-nitro2 i686) ================================================================= System uname: 2.6.9-nitro2 i686 AMD Athlon(tm) 64 FX-53 Processor Gentoo Base System version 1.6.5 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r6 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm avi berkdb bitmap-fonts cdr crypt cups dvd dvdr dvdread encode esd f77 fbcon fbdev foomaticdb fortran gdbm gif gnome gpm gtk imlib jpeg libg++ libwww mad mikmod motif mpeg ncurses nls nptl nvidia oggvorbis openal opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcpd truetype x86 xfce4 xml2 xmms xv zlib"
nicolai are you using gcc-3.4.3? i was and after downgrading to 3.4.2-r2, then did an emerge -e world after which mozilla compiled.
gcc -v Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/specs Configured with: /var/tmp/portage/gcc-3.4.2-r2/work/gcc-3.4.2/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/include/g++-v3 --host=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-shared --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --with-gnu-ld --enable-threads=posix --enable-multilib --disable-libgcj --enable-languages=c,c++ Thread model: posix gcc version 3.4.2 (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1, pie-8.7.6.5)
I tryed USE="-gnome" emerge mozilla that worked just fine... hope that helps isolationing the problem.
I added gtk2 to use and now it works perfect. There is a need to make sure that gtk2 is set if gnome is. atleast in the mozilla ebuild
fixed in mozilla-1.7.3-r2