Closed
Bug 328735
Opened 20 years ago
Closed 20 years ago
Firefox static build for qt fails with compiler errors
Categories
(Core Graveyard :: Ports: Qt, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: zefciu, Assigned: zack)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051219 Firefox/1.5
Build Identifier: ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.5.0.1/source/firefox-1.5.0.1-source.tar.bz2
Trying to compile firefox with following options:
$topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir
ac_add_options --enable-optimise
ac_add_options --disable-debug
ac_add_options --enable-default-toolkit=qt
ac_add_options --enable-freetype2
ac_add_options --with-qtdir=/usr
ac_add_options --enable-static --disable-shared
ac_add_options --disable-tests
the build fails with following errors:
/home/zefciu/instalki/mozilla/gfx/src/freetype/nsFreeType.cpp:291: error: 'nsresult nsFreeType2::ImageCacheLookup' is not a static member of 'class nsFreeType2'
/home/zefciu/instalki/mozilla/gfx/src/freetype/nsFreeType.cpp:291: error: 'FTC_Image_Cache' was not declared in this scope
/home/zefciu/instalki/mozilla/gfx/src/freetype/nsFreeType.cpp:291: error: 'FTC_Image_Desc' was not declared in this scope
/home/zefciu/instalki/mozilla/gfx/src/freetype/nsFreeType.cpp:291: error: 'desc' was not declared in this scope
/home/zefciu/instalki/mozilla/gfx/src/freetype/nsFreeType.cpp:292: error: expected primary-expression before 'glyphID'
/home/zefciu/instalki/mozilla/gfx/src/freetype/nsFreeType.cpp:292: error: expected primary-expression before '*' token
/home/zefciu/instalki/mozilla/gfx/src/freetype/nsFreeType.cpp:292: error: 'glyph' was not declared in this scope
/home/zefciu/instalki/mozilla/gfx/src/freetype/nsFreeType.cpp:292: error: initializer expression list treated as compound expression
/home/zefciu/instalki/mozilla/gfx/src/freetype/nsFreeType.cpp:293: error: expected ',' or ';' before '{' token
/home/zefciu/instalki/mozilla/gfx/src/freetype/nsFreeType.cpp:329: error: 'FTC_Image_Cache' has not been declared
/home/zefciu/instalki/mozilla/gfx/src/freetype/nsFreeType.cpp:398: error: 'nsresult nsFreeType2::GetImageCache' is not a static member of 'class nsFreeType2'
/home/zefciu/instalki/mozilla/gfx/src/freetype/nsFreeType.cpp:398: error: 'FTC_Image_Cache' was not declared in this scope
/home/zefciu/instalki/mozilla/gfx/src/freetype/nsFreeType.cpp:398: error: 'aCache' was not declared in this scope
/home/zefciu/instalki/mozilla/gfx/src/freetype/nsFreeType.cpp:399: error: expected ',' or ';' before '{' token
/home/zefciu/instalki/mozilla/gfx/src/freetype/nsFreeType.cpp: In member function 'void nsFreeType2::ClearGlobals()':
/home/zefciu/instalki/mozilla/gfx/src/freetype/nsFreeType.cpp:435: error: 'mImageCache' was not declared in this scope
/home/zefciu/instalki/mozilla/gfx/src/freetype/nsFreeType.cpp: In member function 'PRBool nsFreeType2::InitLibrary()':
/home/zefciu/instalki/mozilla/gfx/src/freetype/nsFreeType.cpp:671: error: 'mImageCache' was not declared in this scope
Reproducible: Always
Steps to Reproduce:
1. Edit .mozconfig with mentioned options
2. Run make -f client.mk
Comment 1•20 years ago
|
||
QT isn't being actively maintained that I know of.
Assignee: nobody → zack
Component: Build Config → Ports: Qt
Product: Firefox → Core
QA Contact: build.config → cbiesinger
Version: unspecified → Trunk
Comment 2•20 years ago
|
||
> ac_add_options --enable-freetype2
why that?
(In reply to comment #2)
> > ac_add_options --enable-freetype2
>
> why that?
>
Without this switch it was the same.
Comment 4•20 years ago
|
||
This looks alot like bug 234035. The usual workaround is to --disable-freetype2 and --enable-xft.
Comment 5•20 years ago
|
||
try --disable-freetype2 (I'd expect that the xft one is ignored for qt)
Ok, --disable-freetype2 worded for me. There is still some linking problem, but that's not a case for this bug-report.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 7•20 years ago
|
||
nothing changed in mozilla -> not fixed
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Updated•20 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → INVALID
Updated•20 years ago
|
QA Contact: cbiesinger → ports-qt
Updated•18 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•