Closed Bug 473378 Opened 16 years ago Closed 16 years ago

Debug build fails, complaining about undefined cms symbols

Categories

(Core :: Graphics: Color Management, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: Swatinem, Unassigned)

References

Details

A debug build fails in thebes with the following errors:

gfxPlatform.o: In function `ShutdownCMS':
/mnt/data/Coding/mozilla-central/gfx/thebes/src/gfxPlatform.cpp:712: undefined reference to `cmsDeleteTransform'
/mnt/data/Coding/mozilla-central/gfx/thebes/src/gfxPlatform.cpp:716: undefined reference to `cmsDeleteTransform'
/mnt/data/Coding/mozilla-central/gfx/thebes/src/gfxPlatform.cpp:720: undefined reference to `cmsDeleteTransform'
/mnt/data/Coding/mozilla-central/gfx/thebes/src/gfxPlatform.cpp:724: undefined reference to `cmsCloseProfile'
/mnt/data/Coding/mozilla-central/gfx/thebes/src/gfxPlatform.cpp:732: undefined reference to `cmsCloseProfile'
gfxPlatform.o: In function `gfxPlatform::GetCMSsRGBProfile()':
/mnt/data/Coding/mozilla-central/gfx/thebes/src/gfxPlatform.cpp:641: undefined reference to `cmsCreate_sRGBProfile'
/mnt/data/Coding/mozilla-central/gfx/thebes/src/gfxPlatform.cpp:645: undefined reference to `cmsPrecacheProfile'
gfxPlatform.o: In function `gfxPlatform::GetCMSOutputProfile()':
/mnt/data/Coding/mozilla-central/gfx/thebes/src/gfxPlatform.cpp:604: undefined reference to `cmsOpenProfileFromFile'
/mnt/data/Coding/mozilla-central/gfx/thebes/src/gfxPlatform.cpp:616: undefined reference to `cmsProfileIsBogus'
/mnt/data/Coding/mozilla-central/gfx/thebes/src/gfxPlatform.cpp:619: undefined reference to `cmsCloseProfile'
/mnt/data/Coding/mozilla-central/gfx/thebes/src/gfxPlatform.cpp:629: undefined reference to `cmsPrecacheProfile'
gfxPlatform.o: In function `gfxPlatform::GetCMSRGBATransform()':
/mnt/data/Coding/mozilla-central/gfx/thebes/src/gfxPlatform.cpp:701: undefined reference to `cmsCreateTransform'
gfxPlatform.o: In function `gfxPlatform::GetCMSInverseRGBTransform()':
/mnt/data/Coding/mozilla-central/gfx/thebes/src/gfxPlatform.cpp:682: undefined reference to `cmsCreateTransform'
gfxPlatform.o: In function `gfxPlatform::GetCMSRGBTransform()':
/mnt/data/Coding/mozilla-central/gfx/thebes/src/gfxPlatform.cpp:663: undefined reference to `cmsCreateTransform'
gfxPlatform.o: In function `gfxPlatform::TransformPixel(gfxRGBA const&, gfxRGBA&, void*)':
/mnt/data/Coding/mozilla-central/gfx/thebes/src/gfxPlatform.cpp:555: undefined reference to `cmsDoTransform'
gfxPlatform.o: In function `gfxPlatform::Init()':
/mnt/data/Coding/mozilla-central/gfx/thebes/src/gfxPlatform.cpp:230: undefined reference to `cmsErrorAction'
gfxPlatformGtk.o: In function `gfxPlatformGtk::GetPlatformCMSOutputProfile()':
/mnt/data/Coding/mozilla-central/gfx/thebes/src/gfxPlatformGtk.cpp:565: undefined reference to `cmsOpenProfileFromMem'
/mnt/data/Coding/mozilla-central/gfx/thebes/src/gfxPlatformGtk.cpp:638: undefined reference to `cmsBuildGamma'
/mnt/data/Coding/mozilla-central/gfx/thebes/src/gfxPlatformGtk.cpp:644: undefined reference to `cmsCreateRGBProfile'
/mnt/data/Coding/mozilla-central/gfx/thebes/src/gfxPlatformGtk.cpp:646: undefined reference to `cmsFreeGamma'
/usr/bin/ld: libthebes.so: hidden symbol `cmsErrorAction' isn't defined
/usr/bin/ld: final link failed: Nonrepresentable section on output

I'm not quite sure this is related to the landing of bug 469558, but maybe that could be the cause.
The build only fails for debug builds. Opt builds build and run fine for me.

System:
Kernel: Linux 2.6.27-11-generic x86_64
GCC: 4.3.2
Arpad - can you confirm that this was fixed with bsmedberg's backout 8f347bf50a53?
Yes, it builds fine now.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.