Mozilla FreeType build failure on FC3



For GARNOME 2.8.2, the Mozilla build in bootstrap
always fails when building the freetype stuff on FC3
i386. It fails both when i build everything in
bootstrap and when using the builtin FC3 freetype.
Below is the build error.

I also used the latest 2.8.2 patch from guenther
that was posted yesterday. Althought that has
nothing to do with moz.


--- snip ---
g++ -o nsFreeType.o -c -DOSTYPE=\"Linux2.6.9-1\" -DOSARCH=\"Linux\" -I../.. -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dist/include/unicharutil -I../../../dist/include/gfx -I../../../dist/include -I/tmp/garnome-work/mozilla/main.d/mozilla/dist/include/nspr     -I/usr/include/freetype2 -I/usr/X11R6/include   -fPIC  -I/home/mgalvin/garnome/include -I/usr/X11R6/include  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -I/home/mgalvin/garnome/include -I/usr/X11R6/include -L/home/mgalvin/garnome/lib -L/usr/X11R6/lib -O3 -pipe -march=pentium4 -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O  -I/home/mgalvin/garnome/include -I/usr/X11R6/include  -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsFreeType.pp nsFreeType.cpp
In file included from nsFreeType.h:39,
                 from nsFreeType.cpp:48:
../../../dist/include/gfx/nsIFreeType2.h:53: error: `FTC_Image_Cache' has not been declared
../../../dist/include/gfx/nsIFreeType2.h:53: error: ISO C++ forbids declaration of `aImageCache' with no type
../../../dist/include/gfx/nsIFreeType2.h:92: error: `FTC_Image_Cache' has not been declared
../../../dist/include/gfx/nsIFreeType2.h:92: error: `FTC_Image_Desc' has not been declared
../../../dist/include/gfx/nsIFreeType2.h:92: error: ISO C++ forbids declaration of `cache' with no type
../../../dist/include/gfx/nsIFreeType2.h:92: error: ISO C++ forbids declaration of `desc' with no type
../../../dist/include/gfx/nsIFreeType2.h:104: error: `FTC_Image_Cache' has not been declared
../../../dist/include/gfx/nsIFreeType2.h:104: error: ISO C++ forbids declaration of `cache' with no type
In file included from nsFreeType.cpp:48:
nsFreeType.h:107: error: typedef `FTC_Image_Cache_Lookup_t' is initialized (use __typeof__ instead)
nsFreeType.h:107: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.h:107: error: `FTC_Image_Desc' was not declared in this scope
nsFreeType.h:107: error: expected primary-expression before ',' token
nsFreeType.h:107: error: expected primary-expression before ',' token
nsFreeType.h:107: error: expected primary-expression before '*' token
nsFreeType.h:107: error: expected primary-expression before ')' token
nsFreeType.h:113: error: `FTC_Image_Cache' has not been declared
nsFreeType.h:113: error: ISO C++ forbids declaration of `parameter' with no typensFreeType.h:145: error: `FTC_Image_Cache' has not been declared
nsFreeType.h:145: error: ISO C++ forbids declaration of `aImageCache' with no type
nsFreeType.h:145: error: `FTC_Image_Cache' has not been declared
nsFreeType.h:145: error: `FTC_Image_Desc' has not been declared
nsFreeType.h:145: error: ISO C++ forbids declaration of `cache' with no type
nsFreeType.h:145: error: ISO C++ forbids declaration of `desc' with no type
nsFreeType.h:145: error: `FTC_Image_Cache' has not been declared
nsFreeType.h:145: error: ISO C++ forbids declaration of `cache' with no type
nsFreeType.h:216: error: `FTC_Image_Cache' does not name a type
nsFreeType.cpp:101: warning: invalid access to non-static data member `nsFreeType2::nsFT_Done_Face' of NULL object
nsFreeType.cpp:101: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:102: warning: invalid access to non-static data member `nsFreeType2::nsFT_Done_FreeType' of NULL object
nsFreeType.cpp:102: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:103: warning: invalid access to non-static data member `nsFreeType2::nsFT_Done_Glyph' of NULL object
nsFreeType.cpp:103: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:104: warning: invalid access to non-static data member `nsFreeType2::nsFT_Get_Char_Index' of NULL object
nsFreeType.cpp:104: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:105: warning: invalid access to non-static data member `nsFreeType2::nsFT_Get_Glyph' of NULL object
nsFreeType.cpp:105: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:106: warning: invalid access to non-static data member `nsFreeType2::nsFT_Get_Sfnt_Table' of NULL object
nsFreeType.cpp:106: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:107: warning: invalid access to non-static data member `nsFreeType2::nsFT_Glyph_Get_CBox' of NULL object
nsFreeType.cpp:107: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:108: warning: invalid access to non-static data member `nsFreeType2::nsFT_Init_FreeType' of NULL object
nsFreeType.cpp:108: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:109: warning: invalid access to non-static data member `nsFreeType2::nsFT_Load_Glyph' of NULL object
nsFreeType.cpp:109: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:110: warning: invalid access to non-static data member `nsFreeType2::nsFT_New_Face' of NULL object
nsFreeType.cpp:110: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:111: warning: invalid access to non-static data member `nsFreeType2::nsFT_Outline_Decompose' of NULL object
nsFreeType.cpp:111: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:112: warning: invalid access to non-static data member `nsFreeType2::nsFT_Set_Charmap' of NULL object
nsFreeType.cpp:112: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:113: warning: invalid access to non-static data member `nsFreeType2::nsFTC_Image_Cache_Lookup' of NULL object
nsFreeType.cpp:113: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:114: warning: invalid access to non-static data member `nsFreeType2::nsFTC_Manager_Lookup_Size' of NULL object
nsFreeType.cpp:114: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:115: warning: invalid access to non-static data member `nsFreeType2::nsFTC_Manager_Done' of NULL object
nsFreeType.cpp:115: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:116: warning: invalid access to non-static data member `nsFreeType2::nsFTC_Manager_New' of NULL object
nsFreeType.cpp:116: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:117: warning: invalid access to non-static data member `nsFreeType2::nsFTC_Image_Cache_New' of NULL object
nsFreeType.cpp:117: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:119: warning: invalid access to non-static data member `nsFreeType2::nsFT_Glyph_Transform' of NULL object
nsFreeType.cpp:119: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:120: warning: invalid access to non-static data member `nsFreeType2::nsFT_Get_Kerning' of NULL object
nsFreeType.cpp:120: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:121: warning: invalid access to non-static data member `nsFreeType2::nsFT_Glyph_Copy' of NULL object
nsFreeType.cpp:121: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:122: warning: invalid access to non-static data member `nsFreeType2::nsFT_Glyph_To_Bitmap' of NULL object
nsFreeType.cpp:122: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:124: warning: invalid access to non-static data member `nsFreeType2::nsFT_Get_First_Char' of NULL object
nsFreeType.cpp:124: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:125: warning: invalid access to non-static data member `nsFreeType2::nsFT_Get_Next_Char' of NULL object
nsFreeType.cpp:125: warning: (perhaps the `offsetof' macro was used incorrectly)nsFreeType.cpp:285: error: `nsresult nsFreeType2::ImageCacheLookup' is not a static member of `class nsFreeType2'
nsFreeType.cpp:285: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.cpp:285: error: `FTC_Image_Desc' was not declared in this scope
nsFreeType.cpp:285: error: `desc' was not declared in this scope
nsFreeType.cpp:286: error: expected primary-expression before "glyphID"
nsFreeType.cpp:286: error: expected primary-expression before '*' token
nsFreeType.cpp:286: error: `glyph' was not declared in this scope
nsFreeType.cpp:287: error: initializer expression list treated as compound expression
nsFreeType.cpp:287: error: expected `,' or `;' before '{' token
nsFreeType.cpp:323: error: `FTC_Image_Cache' has not been declared
nsFreeType.cpp:324: error: ISO C++ forbids declaration of `cache' with no type
nsFreeType.cpp:392: error: `nsresult nsFreeType2::GetImageCache' is not a static member of `class nsFreeType2'
nsFreeType.cpp:392: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.cpp:392: error: `aCache' was not declared in this scope
nsFreeType.cpp:393: error: expected `,' or `;' before '{' token
nsFreeType.cpp: In member function `void nsFreeType2::ClearGlobals()':
nsFreeType.cpp:429: error: `mImageCache' undeclared (first use this function)
nsFreeType.cpp:429: error: (Each undeclared identifier is reported only once for each function it appears in.)
nsFreeType.cpp: In member function `PRBool nsFreeType2::InitLibrary()':
nsFreeType.cpp:668: error: `mImageCache' undeclared (first use this function)
gmake[5]: *** [nsFreeType.o] Error 1
gmake[5]: Leaving directory `/tmp/garnome-work/mozilla/main.d/mozilla/gfx/src/freetype'
gmake[4]: *** [libs] Error 2
gmake[4]: Leaving directory `/tmp/garnome-work/mozilla/main.d/mozilla/gfx/src'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/tmp/garnome-work/mozilla/main.d/mozilla/gfx'
gmake[2]: *** [tier_9] Error 2
gmake[2]: Leaving directory `/tmp/garnome-work/mozilla/main.d/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/tmp/garnome-work/mozilla/main.d/mozilla'
make: *** [build-/tmp/garnome-work/mozilla/main.d/mozilla/Makefile] Error 2

--- snip ---

I didn't find anything about this error in the archives. Has anyone else had this problem.

Thanks,

Matt




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]