Closed Bug 288882 Opened 20 years ago Closed 20 years ago

../../../dist/include/gfx/nsIFreeType2.h:92: syntax error before `,'

Categories

(Firefox :: General, defect)

All
Linux
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 234035

People

(Reporter: wlgivens, Assigned: bugzilla)

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; snprtz|T04077883740043) Build Identifier: Firefox-1.0.2 ../../../dist/include/gfx/nsIFreeType2.h:92: syntax error before `,' token ../../../dist/include/gfx/nsIFreeType2.h:104: type specifier omitted for parameter `FTC_Image_Cache' ../../../dist/include/gfx/nsIFreeType2.h:104: syntax error before `*' token In file included from nsFreeType.cpp:48: nsFreeType.h:107: `FTC_Image_Cache' was not declared in this scope nsFreeType.h:107: `FTC_Image_Desc' was not declared in this scope nsFreeType.h:107: syntax error before `,' token nsFreeType.h:113: type specifier omitted for parameter `FTC_Image_Cache' nsFreeType.h:113: syntax error before `*' token nsFreeType.h:145: `FTC_Image_Cache' was not declared in this scope nsFreeType.h:145: `aImageCache' was not declared in this scope nsFreeType.h:145: invalid data member initialization nsFreeType.h:145: (use `=' to initialize static data members) nsFreeType.h:145: `GetImageCache' declared as a `virtual' field nsFreeType.h:145: `FTC_Image_Cache' was not declared in this scope nsFreeType.h:145: syntax error before `,' token nsFreeType.h:145: type specifier omitted for parameter `FTC_Image_Cache' nsFreeType.h:145: syntax error before `*' token nsFreeType.h:216: 'FTC_Image_Cache' is used as a type, but is not defined as a type. nsFreeType.cpp:102: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:102: warning: cast from pointer to integer of different size nsFreeType.cpp:103: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:103: warning: cast from pointer to integer of different size nsFreeType.cpp:104: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:104: warning: cast from pointer to integer of different size nsFreeType.cpp:105: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:105: warning: cast from pointer to integer of different size nsFreeType.cpp:106: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:106: warning: cast from pointer to integer of different size nsFreeType.cpp:107: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:107: warning: cast from pointer to integer of different size nsFreeType.cpp:108: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:108: warning: cast from pointer to integer of different size nsFreeType.cpp:109: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:109: warning: cast from pointer to integer of different size nsFreeType.cpp:110: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:110: warning: cast from pointer to integer of different size nsFreeType.cpp:111: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:111: warning: cast from pointer to integer of different size nsFreeType.cpp:112: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:112: warning: cast from pointer to integer of different size nsFreeType.cpp:113: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:113: warning: cast from pointer to integer of different size nsFreeType.cpp:114: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:114: warning: cast from pointer to integer of different size nsFreeType.cpp:115: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:115: warning: cast from pointer to integer of different size nsFreeType.cpp:116: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:116: warning: cast from pointer to integer of different size nsFreeType.cpp:117: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:117: warning: cast from pointer to integer of different size nsFreeType.cpp:118: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:118: warning: cast from pointer to integer of different size nsFreeType.cpp:120: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:120: warning: cast from pointer to integer of different size nsFreeType.cpp:121: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:121: warning: cast from pointer to integer of different size nsFreeType.cpp:122: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:122: warning: cast from pointer to integer of different size nsFreeType.cpp:123: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:123: warning: cast from pointer to integer of different size nsFreeType.cpp:125: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:125: warning: cast from pointer to integer of different size nsFreeType.cpp:126: warning: invalid offsetof from non-POD type `class nsFreeType2'; use pointer to member instead nsFreeType.cpp:126: warning: cast from pointer to integer of different size nsFreeType.cpp:286: `FTC_Image_Cache' was not declared in this scope nsFreeType.cpp:286: syntax error before `,' token nsFreeType.cpp: In member function `virtual nsresult nsFreeType2::ImageCacheLookup(...)': nsFreeType.cpp:290: `cache' undeclared (first use this function) nsFreeType.cpp:290: (Each undeclared identifier is reported only once for each function it appears in.) nsFreeType.cpp:290: `desc' undeclared (first use this function) nsFreeType.cpp:290: `glyphID' undeclared (first use this function) nsFreeType.cpp:290: `glyph' undeclared (first use this function) nsFreeType.cpp: At global scope: nsFreeType.cpp:324: type specifier omitted for parameter `FTC_Image_Cache' nsFreeType.cpp:324: syntax error before `*' token nsFreeType.cpp: In member function `virtual nsresult nsFreeType2::ImageCacheNew(...)': nsFreeType.cpp:327: `manager' undeclared (first use this function) nsFreeType.cpp: At global scope: nsFreeType.cpp:393: `FTC_Image_Cache' was not declared in this scope nsFreeType.cpp:393: `aCache' was not declared in this scope nsFreeType.cpp:394: `nsresult nsFreeType2::GetImageCache' is not a static member of `class nsFreeType2' nsFreeType.cpp:394: syntax error before `{' token nsFreeType.cpp: In member function `void nsFreeType2::ClearFunctions()': nsFreeType.cpp:419: warning: cast from `char*' to `void (**)()' increases required alignment of target type nsFreeType.cpp: In member function `void nsFreeType2::ClearGlobals()': nsFreeType.cpp:430: `mImageCache' undeclared (first use this function) nsFreeType.cpp: In member function `PRBool nsFreeType2::LoadSharedLib()': nsFreeType.cpp:713: warning: cast from `char*' to `void (**)()' increases required alignment of target type In the directory /usr2/www/pub/alpha- RH7/html/mozilla/firefox/mozilla/gfx/src/freetype The following command failed to execute properly: ccache g++-3.2.3 -o nsFreeType.o -c -DOSTYPE="Linux2.6.11" -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/usr2/www/linux- related/html/mozilla/firefox/mozilla/dist/include/nspr - I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -fPIC - O2 -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 -pedantic -O2 -mtune=ev56 -mcpu=ev56 -Wno- deprecated -fpic -fPIC -finline -mieee -fshort-wchar -pthread -pipe -DNDEBUG - DTRIMMED -O2 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla- config.h -Wp,-MD,.deps/nsFreeType.pp nsFreeType.cpp make[3]: *** [nsFreeType.o] Error 1 make[2]: *** [libs] Error 2 make[1]: *** [libs] Error 2 make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1.create mozconfig 2.run ./configure script 3.run make Actual Results: same error as above DETAILS Expected Results: to build and have a nice and wonderful internet experience This, among others, are old ass bugs that NEVER seem to get fixed or corrected. I've installed patches going all the way back to Mozilla-1.2 in order to get this sucka to work and it does build, provided you disable FreeType2. I did a seach on Google and noticed this issue was going all the way back to about 1999. Has ANYONE created a patch for this and if not, not bother to include FreeType2 support? It is somewhat ironic that one would release software that can only be compiled if your system is EXACTLY like their own!?!?!?
Short version, recent distro versions have dropped the legacy API support from freetype packages. You can take the patch from the original. *** This bug has been marked as a duplicate of 234035 ***
Severity: blocker → major
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.