Hello, Seems to be a problem with expat.h but if I include it it does not solve this issue. Can you please have a look? --- i686-pc-linux-gnu-g++ -o CNavDTD.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=2007063020 -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/necko -I../../../dist/include/util -I../../../dist/include/uconv -I../../../dist/include/unicharutil -I../../../dist/include/expat -I../../../dist/include/xml -I../../../dist/include/content -I../../../dist/include/dom -I../../../dist/include/pref -I../../../dist/include/nkcache -I../../../dist/include/intl -I../../../dist/include/xpconnect -I../../../dist/include/htmlparser -I../../../dist/include -I/usr/include/nspr -I../../../dist/sdk/include -fPIC -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\" -fno-rtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=pentium-m -pipe -Wno-return-type -w -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\" -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/CNavDTD.pp CNavDTD.cpp nsExpatDriver.cpp: In member function ‘nsresult nsExpatDriver::HandleEndElement(const PRUnichar*)’: nsExpatDriver.cpp:444: error: ‘MOZ_XML_StopParser’ was not declared in this scope nsExpatDriver.cpp: In member function ‘nsresult nsExpatDriver::HandleProcessingInstruction(const PRUnichar*, const PRUnichar*)’: nsExpatDriver.cpp:511: error: ‘MOZ_XML_StopParser’ was not declared in this scope nsExpatDriver.cpp: In member function ‘nsresult nsExpatDriver::HandleError()’: nsExpatDriver.cpp:876: error: ‘MOZ_XML_GetMismatchedTag’ was not declared in this scope nsExpatDriver.cpp: In member function ‘virtual nsresult nsExpatDriver::ConsumeToken(nsScanner&, PRBool&)’: nsExpatDriver.cpp:1081: error: ‘MOZ_XML_ResumeParser’ was not declared in this scope nsExpatDriver.cpp: In member function ‘virtual void nsExpatDriver::Terminate()’: nsExpatDriver.cpp:1271: error: ‘MOZ_XML_StopParser’ was not declared in this scope gmake[3]: *** [nsExpatDriver.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... gmake[3]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0.0.4/work/mozilla/parser/htmlparser/src' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0.0.4/work/mozilla/parser/htmlparser' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0.0.4/work/mozilla' make: *** [default] Error 2 --- # emerge --info Portage 2.1.3_rc6 (selinux/x86/2006.1, gcc-4.1.2, glibc-2.5-r3, 2.6.21-suspend2-r6 i686) ================================================================= System uname: 2.6.21-suspend2-r6 i686 Intel(R) Pentium(R) M processor 1.80GHz Gentoo Base System release 1.12.9 Timestamp of tree: Sat, 30 Jun 2007 01:47:01 +0000 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22, 1.5.23b virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium-m -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O3 -march=pentium-m -fomit-frame-pointer -pipe" DISTDIR="/var/gentoo/distfiles" FEATURES="autoaddcvs cvs distlocks loadpolicy metadata-transfer parallel-fetch sandbox selinux sesandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo http://gentoo.osuosl.org" LANG="he" LINGUAS="en he" MAKEOPTS="-j2" PKGDIR="/var/gentoo/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/alon-barlev-portage /usr/local/ase-portage" SYNC="" USE="X aac acpi alsa apache2 arts berkdb bidi bluetooth bzip2 cairo crypt cups curl dbus dri dvd encode esd fam gif gpm gstreamer gtk iconv ipv6 jpeg jpeg2k kde kdeenablefinal kerberos ldap logrotate midi mmx mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam png python qt3 qt4 readline samba sdl selinux smartcard spell sse sse2 ssl svga tcpd tiff truetype unicode vorbis wifi x86 xcomposite xinerama xml xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en he" USERLAND="GNU" VIDEO_CARDS="radeon fglrx" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
*** This bug has been marked as a duplicate of bug 182929 ***