Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2005 10:06:55 -0500
From:      Robert Huff <roberthuff@rcn.com>
To:        gnome@freebsd.org
Subject:   problems building mozilla-devel
Message-ID:  <16972.4623.185600.150332@jerusalem.litteratus.org>

next in thread | raw e-mail | index | archive | help

	I'm running:

huff@> uname -v
FreeBSD 6.0-CURRENT #0: Tue Mar 29 08:25:33 EST 2005  huff@jerusalem.litteratus.org:/usr/obj/usr/src/sys/JERUSALEM 

	and attempts to build mozilla-devel die with:

gmake[3]: Entering directory `/usr/ports/www/mozilla-devel/work/mozilla/gfx/src'
/usr/ports/www/mozilla-devel/work/mozilla/config/nsinstall -R -m 755 libgkgfx.so ../../dist/gre
/usr/ports/www/mozilla-devel/work/mozilla/config/nsinstall -R -m 755 libgkgfx.so ../../dist/lib
/usr/ports/www/mozilla-devel/work/mozilla/config/nsinstall -R -m 755 libgkgfx.so ../../dist/bin
gmake[4]: Entering directory `/usr/ports/www/mozilla-devel/work/mozilla/gfx/src/shared'
/usr/ports/www/mozilla-devel/work/mozilla/config/nsinstall -R -m 644 libgfxshared_s.a ../../../dist/lib
gmake[4]: Leaving directory `/usr/ports/www/mozilla-devel/work/mozilla/gfx/src/shared'
gmake[4]: Entering directory `/usr/ports/www/mozilla-devel/work/mozilla/gfx/src/freetype'
nsFreeType.cpp
c++ -o nsFreeType.o -c  -DOSTYPE=\"FreeBSD6\" -DOSARCH=\"FreeBSD\" -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/usr/ports/www/mozilla-devel/work/mozilla/dist/include/nspr  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include   -fPIC  -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 -O -fno-strict-aliasing -pipe -fshort-wchar -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O  -I/usr/X11R6/include  -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h 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)
gmake[4]: *** [nsFreeType.o] Error 1
gmake[4]: Leaving directory `/usr/ports/www/mozilla-devel/work/mozilla/gfx/src/freetype'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/usr/ports/www/mozilla-devel/work/mozilla/gfx/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/ports/www/mozilla-devel/work/mozilla/gfx'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/usr/ports/www/mozilla-devel/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

Stop in /usr/ports/www/mozilla-devel.


	I upgraded to gnome 2.10 yesterday, but know of no other change
that might have broken this.  Is there something out there that
needs to be re-installed?


				Robert Huff



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16972.4623.185600.150332>