Closed
Bug 469556
Opened 16 years ago
Closed 16 years ago
mozilla cannot compile with --enable-system-lcms
Categories
(Core :: Graphics: Color Management, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: arno, Unassigned)
Details
Hi, I'm trying to compile mozilla with --enable-system-lcms, but it fails with:
c++ -o gfxPlatform.o -c -I../../../dist/include/system_wrappers -include /home/arno/mozilla/config/gcc_hidden.h -DIMPL_THEBES -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -I/home/arno/mozilla/gfx/thebes/src -I. -I../../../dist/include/cairo -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/xpcom -I../../../dist/include/unicharutil -I../../../dist/include/locale -I../../../dist/include -I../../../dist/include/thebes -I/home/arno/mozilla/obj-i686-pc-linux-gnu/xulrunner/dist/include/nspr -I/home/arno/mozilla/obj-i686-pc-linux-gnu/xulrunner/dist/sdk/include -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -pedantic -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions -I/home/arno/mozilla/obj-i686-pc-linux-gnu/xulrunner/dist/include/cairo -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/gfxPlatform.pp /home/arno/mozilla/gfx/thebes/src/gfxPlatform.cpp
/home/arno/mozilla/gfx/thebes/src/gfxPlatform.cpp: In static member function ‘static PRBool gfxPlatform::GetRenderingIntent()’:
/home/arno/mozilla/gfx/thebes/src/gfxPlatform.cpp:530: error: ‘INTENT_MIN’ was not declared in this scope
/home/arno/mozilla/gfx/thebes/src/gfxPlatform.cpp:530: error: ‘INTENT_MAX’ was not declared in this scope
/home/arno/mozilla/gfx/thebes/src/gfxPlatform.cpp: In static member function ‘static void* gfxPlatform::GetCMSOutputProfile()’:
/home/arno/mozilla/gfx/thebes/src/gfxPlatform.cpp:616: error: ‘cmsProfileIsBogus’ was not declared in this scope
/home/arno/mozilla/gfx/thebes/src/gfxPlatform.cpp:629: error: ‘CMS_PRECACHE_LI168_REVERSE’ was not declared in this scope
/home/arno/mozilla/gfx/thebes/src/gfxPlatform.cpp:629: error: ‘cmsPrecacheProfile’ was not declared in this scope
/home/arno/mozilla/gfx/thebes/src/gfxPlatform.cpp: In static member function ‘static void* gfxPlatform::GetCMSsRGBProfile()’:
/home/arno/mozilla/gfx/thebes/src/gfxPlatform.cpp:645: error: ‘CMS_PRECACHE_LI8F_FORWARD’ was not declared in this scope
/home/arno/mozilla/gfx/thebes/src/gfxPlatform.cpp:645: error: ‘cmsPrecacheProfile’ was not declared in this scope
/home/arno/mozilla/gfx/thebes/src/gfxPlatform.cpp: In static member function ‘static void* gfxPlatform::GetCMSRGBTransform()’:
/home/arno/mozilla/gfx/thebes/src/gfxPlatform.cpp:663: error: ‘cmsFLAGS_FLOATSHAPER’ was not declared in this scope
/home/arno/mozilla/gfx/thebes/src/gfxPlatform.cpp: In static member function ‘static void* gfxPlatform::GetCMSInverseRGBTransform()’:
/home/arno/mozilla/gfx/thebes/src/gfxPlatform.cpp:682: error: ‘cmsFLAGS_FLOATSHAPER’ was not declared in this scope
/home/arno/mozilla/gfx/thebes/src/gfxPlatform.cpp: In static member function ‘static void* gfxPlatform::GetCMSRGBATransform()’:
/home/arno/mozilla/gfx/thebes/src/gfxPlatform.cpp:701: error: ‘cmsFLAGS_FLOATSHAPER’ was not declared in this scope
Comment 1•16 years ago
|
||
We've made quite a few changes to LCMS, and the upstream maintainer doesn't seem too interested in them. There's pretty much no way we're going to be in a situation where mozilla can use system lcms any time soon.
Moreover, the long term plan is to cut our copy of lcms down to what we actually need (see bug 468576).
As such, the build option --enable-system-lcms should be removed. I'm filing a bug for that now.
Comment 2•16 years ago
|
||
bug 469558 has been filed in response to this bug. Marking this bug as WONTFIX.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•