Mozilla 1.0rc3-r1 fails compilation like: fccharset.c: In function `FcFreeTypeCharSet': fccharset.c:1007: warning: comparison between signed and unsigned fccharset.c:1046: too few arguments to function `FT_Get_Next_Char' fccharset.c:1073: too few arguments to function `FT_Get_Next_Char' gcc 2.95.3 Im guessing its related to freetype, i have 2.0.9 installed. /Andreas
I also have the same problem building mozilla 1.0rc3-r1. using gcc 2.95.3, and freetype 2.0.9 on PPC. below is the complete error: gcc -o fccharset.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI -DFC_FALLBA CK_FONTS=\"/usr/X11R6/lib/X11/fonts/Type1\" -I../../../../dist/include/freetype 2 -I../../../../dist/include/fontconfig -I../../../../dist/include/expat -I../.. /../../dist/include/fontconfig -I../../../../dist/include -I/var/tmp/portage/moz illa-1.0_rc3-r1/work/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-lon g-long -O2 -pipe -mcpu=750 -mmultiple -mstring -pthread -pipe -DNDEBUG -DTRIMME D -O3 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -include ../../../../config-defs.h -DMOZILLA_CLIENT -Wp,-MD,.deps/fccharset.pp f ccharset.c fccharset.c: In function `FcFreeTypeCharIndex': fccharset.c:906: warning: comparison between signed and unsigned fccharset.c:915: warning: comparison between signed and unsigned fccharset.c:924: warning: comparison between signed and unsigned fccharset.c: In function `FcFreeTypeCharSet': fccharset.c:1007: warning: comparison between signed and unsigned fccharset.c:1046: too few arguments to function `FT_Get_Next_Char' fccharset.c:1073: too few arguments to function `FT_Get_Next_Char' make[4]: *** [fccharset.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/mozilla-1.0_rc3-r1/work/mozilla/oth er-licenses/Xft/fontconfig/src' make[3]: *** [libs] Error 2 make[3]: Leaving directory `/var/tmp/portage/mozilla-1.0_rc3-r1/work/mozilla/oth er-licenses/Xft/fontconfig' make[2]: *** [libs] Error 2 make[2]: Leaving directory `/var/tmp/portage/mozilla-1.0_rc3-r1/work/mozilla/oth er-licenses/Xft' make[1]: *** [tier_9] Error 2 make[1]: Leaving directory `/var/tmp/portage/mozilla-1.0_rc3-r1/work/mozilla' make: *** [default] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 87, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/net-www/mozilla/mozilla-1.0_rc3-r1.ebuild . [root@pdq /home/heim]#
That is probibly because you merged xfree-4.2.0-r11. Mozilla link against the freetype distributed with xfree ... this was freetype-2.0.6 until r11 of xfree. The fix is rather simple ... just unmask mozilla-1.0_rc3-r2, and merge that.