Subject: firefox [nsFreeType.o]
To: None <tech-pkg@NetBSD.org>
From: Francois Briere <f.briere@dopha.org>
List: tech-pkg
Date: 04/28/2004 20:00:52
--6sX45UoQRIJXqkqR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
After upgrading freetype i am now trying to build firefox but there
is a problem..
here is the log..
--6sX45UoQRIJXqkqR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="nsfreetype.log"
Content-Transfer-Encoding: quoted-printable
gmake[1]: Entering directory `/usr/pkgsrc/www/firefox/work/mozilla/gfx/src/=
freetype'
/usr/pkg/bin/perl -I../../../config ../../../config/build-list.pl ../../../=
config/final-link-libs gfxft2_s
gmake[1]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla/gfx/src/f=
reetype'
/usr/pkg/bin/gmake libs
gmake[1]: Entering directory `/usr/pkgsrc/www/firefox/work/mozilla/gfx/src/=
freetype'
nsFreeType.cpp
g++ -o nsFreeType.o -c -DOSTYPE=3D\"NetBSD2\" -DOSARCH=3D\"NetBSD\" -I../..=
-I/usr/pkg/include -I/usr/pkg/include/freetype2 -I../../../dist/include/xp=
com -I../../../dist/include/string -I../../../dist/include/pref -I../../../=
dist/include/uconv -I../../../dist/include/unicharutil -I../../../dist/incl=
ude/gfx -I../../../dist/include -I/usr/pkgsrc/www/firefox/work/mozilla/dist=
/include/nspr -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/fr=
eetype2 -I/usr/pkg/include -I/usr/X11R6/include -fPIC -DPIC -I/usr/pkg/i=
nclude -I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/include -I/usr/pkg/include/=
freetype2 -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversio=
n -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-=
privacy -Wno-long-long -O2 -I/usr/pkg/include -I/usr/pkg/include/gdk-pixbuf=
-1.0 -I/usr/include -I/usr/pkg/include/freetype2 -Dunix -fshort-wchar -pthr=
ead -pipe -DNDEBUG -DTRIMMED -O2 -I/usr/pkg/include -I/usr/pkg/include/gd=
k-pixbuf-1.0 -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/X11R6/incl=
ude -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsFre=
eType.pp nsFreeType.cpp
In file included from nsFreeType.h:34,
from nsFreeType.cpp:48:
=2E./../../dist/include/gfx/nsIFreeType2.h:50: error: `FTC_Image_Cache' was=
not=20
declared in this scope
=2E./../../dist/include/gfx/nsIFreeType2.h:50: error: `aImageCache' was not=
=20
declared in this scope
=2E./../../dist/include/gfx/nsIFreeType2.h:50: error: variable declaration =
is not=20
allowed here
=2E./../../dist/include/gfx/nsIFreeType2.h:89: error: `FTC_Image_Cache' was=
not=20
declared in this scope
=2E./../../dist/include/gfx/nsIFreeType2.h:89: error: syntax error before `=
,'=20
token
=2E./../../dist/include/gfx/nsIFreeType2.h:101: error: type specifier omitt=
ed for=20
parameter `FTC_Image_Cache'
=2E./../../dist/include/gfx/nsIFreeType2.h:101: error: syntax error before =
`*'=20
token
In file included from nsFreeType.cpp:48:
nsFreeType.h:108: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.h:108: error: `FTC_Image_Desc' was not declared in this scope
nsFreeType.h:108: error: syntax error before `,' token
nsFreeType.h:114: error: type specifier omitted for parameter `FTC_Image_Ca=
che'
nsFreeType.h:114: error: syntax error before `*' token
nsFreeType.h:138: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.h:138: error: `aImageCache' was not declared in this scope
nsFreeType.h:138: error: invalid data member initialization
nsFreeType.h:138: error: (use `=3D' to initialize static data members)
nsFreeType.h:138: error: `GetImageCache' declared as a `virtual' field
nsFreeType.h:138: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.h:138: error: syntax error before `,' token
nsFreeType.h:138: error: type specifier omitted for parameter `FTC_Image_Ca=
che'
nsFreeType.h:138: error: syntax error before `*' token
nsFreeType.h:199: error: 'FTC_Image_Cache' is used as a type, but is not=20
defined as 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=20
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=20
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=20
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=20
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=20
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=20
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=20
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=20
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=20
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=20
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=20
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=20
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=20
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=20
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=20
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=20
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=20
incorrectly)
nsFreeType.cpp:118: warning: invalid access to non-static data member `
nsFreeType2::nsFT_Get_First_Char' of NULL object
nsFreeType.cpp:118: warning: (perhaps the `offsetof' macro was used=20
incorrectly)
nsFreeType.cpp:119: warning: invalid access to non-static data member `
nsFreeType2::nsFT_Get_Next_Char' of NULL object
nsFreeType.cpp:119: warning: (perhaps the `offsetof' macro was used=20
incorrectly)
nsFreeType.cpp:279: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.cpp:279: error: syntax error before `,' token
nsFreeType.cpp: In member function `virtual nsresult=20
nsFreeType2::ImageCacheLookup(...)':
nsFreeType.cpp:283: error: `cache' undeclared (first use this function)
nsFreeType.cpp:283: error: (Each undeclared identifier is reported only onc=
e=20
for each function it appears in.)
nsFreeType.cpp:283: error: `desc' undeclared (first use this function)
nsFreeType.cpp:283: error: `glyphID' undeclared (first use this function)
nsFreeType.cpp:283: error: `glyph' undeclared (first use this function)
nsFreeType.cpp: At global scope:
nsFreeType.cpp:317: error: type specifier omitted for parameter `
FTC_Image_Cache'
nsFreeType.cpp:317: error: syntax error before `*' token
nsFreeType.cpp: In member function `virtual nsresult=20
nsFreeType2::ImageCacheNew(...)':
nsFreeType.cpp:320: error: `manager' undeclared (first use this function)
nsFreeType.cpp: At global scope:
nsFreeType.cpp:348: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.cpp:348: error: `aCache' was not declared in this scope
nsFreeType.cpp:349: error: `nsresult nsFreeType2::GetImageCache' is not a=
=20
static member of `class nsFreeType2'
nsFreeType.cpp:349: error: syntax error before `{' token
nsFreeType.cpp: In member function `void nsFreeType2::ClearGlobals()':
nsFreeType.cpp:385: error: `mImageCache' undeclared (first use this functio=
n)
gmake[1]: *** [nsFreeType.o] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla/gfx/src/f=
reetype'
gmake: *** [all] Error 2
--6sX45UoQRIJXqkqR--