Compiling CVS on Linux
| Newsgroups | gmane.comp.mozilla.devel.unix |
|---|---|
| Organization | none. |
| Message-ID | <[email protected]> |
I have tried compiling Mozilla CVS on Linux and have run accross
a problem. Is this a problem with my setup or Mozilla? Here are the
important parts of my .mozconfig,
ac_add_options --enable-crypto
ac_add_options --disable-pedantic
ac_add_options --with-pthreads
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-toolkit-gtk2
ac_add_options --enable-xft2
ac_add_options --enable-xinerama
The last time I compiled Mozilla was about 4 weeks ago and I am using
that version now.
/usr/gcc34x/bin/g++ -o nsFreeType.o -c -DOSTYPE=\"Linux2.6.8\" -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/drives/work/src/mozilla/dist/include/nspr -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -fPIC -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 -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2 -march=athlon-mp -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsFreeType.pp nsFreeType.cpp
In file included from nsFreeType.h:55,
from nsFreeType.cpp:48:
../../../dist/include/gfx/nsIFreeType2.h:53: error: `GetImageCache' declared as a `virtual' field
../../../dist/include/gfx/nsIFreeType2.h:53: warning: `visibility' attribute ignored
../../../dist/include/gfx/nsIFreeType2.h:53: warning: `regparm' attribute only applies to function types
../../../dist/include/gfx/nsIFreeType2.h:53: warning: `cdecl' attribute only applies to function types
../../../dist/include/gfx/nsIFreeType2.h:53: error: expected `;' before '(' token
../../../dist/include/gfx/nsIFreeType2.h:92: error: `ImageCacheLookup' declared as a `virtual' field
../../../dist/include/gfx/nsIFreeType2.h:92: warning: `visibility' attribute ignored
../../../dist/include/gfx/nsIFreeType2.h:92: warning: `regparm' attribute only applies to function types
../../../dist/include/gfx/nsIFreeType2.h:92: warning: `cdecl' attribute only applies to function types
../../../dist/include/gfx/nsIFreeType2.h:92: error: expected `;' before '(' token
../../../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:123: error: typedef `FTC_Image_Cache_Lookup_t' is initialized (use __typeof__ instead)
nsFreeType.h:123: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.h:123: error: `FTC_Image_Desc' was not declared in this scope
nsFreeType.h:123: error: expected primary-expression before ',' token
nsFreeType.h:123: error: expected primary-expression before ',' token
nsFreeType.h:123: error: expected primary-expression before '*' token
nsFreeType.h:123: error: expected primary-expression before ')' token
nsFreeType.h:129: error: `FTC_Image_Cache' has not been declared
nsFreeType.h:129: error: ISO C++ forbids declaration of `parameter' with no type
nsFreeType.h:161: error: `GetImageCache' declared as a `virtual' field
nsFreeType.h:161: warning: `visibility' attribute ignored
nsFreeType.h:161: warning: `regparm' attribute only applies to function types
nsFreeType.h:161: warning: `cdecl' attribute only applies to function types
nsFreeType.h:161: error: expected `;' before '(' token
nsFreeType.h:161: error: `ImageCacheLookup' declared as a `virtual' field
nsFreeType.h:161: warning: `visibility' attribute ignored
nsFreeType.h:161: warning: `regparm' attribute only applies to function types
nsFreeType.h:161: warning: `cdecl' attribute only applies to function types
nsFreeType.h:161: error: expected `;' before '(' token
nsFreeType.h:161: error: `FTC_Image_Cache' has not been declared
nsFreeType.h:161: error: ISO C++ forbids declaration of `cache' with no type
nsFreeType.h:232: 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)
make[5]: *** [nsFreeType.o] Error 1
make[5]: Leaving directory `/drives/work/src/mozilla/gfx/src/freetype'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/drives/work/src/mozilla/gfx/src'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/drives/work/src/mozilla/gfx'
make[2]: *** [tier_9] Error 2
make[2]: Leaving directory `/drives/work/src/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/drives/work/src/mozilla'
make: *** [build] Error 2
--
Fred
Error Loading Explorer.exe
You must reinstall Windows.