Closed Bug 562311 Opened 11 years ago Closed 11 years ago

Build problem of gfx/layers, windows debug shared build

Categories

(Core :: Graphics, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mayhemer, Unassigned)

References

Details

See first bug 449283 comment 25.  After I applied Neil's patch I am still not able to build.  Performed full clobbered build on a very fresh trunk:


link -NOLOGO -DLL -OUT:layers.dll -PDB:layers.pdb -SUBSYSTEM:WINDOWS  BasicImages.obj BasicLayers.obj LayerManagerOGL.obj ThebesLayerOGL.obj ContainerLayerOGL.obj ImageLayerOGL.obj    ./module.res -NXCOMPAT -DYNAMICBASE -SAFESEH  -DEBUG -DEBUGTYPE:CV   ../../dist/lib/gkgfx.lib ../../dist/lib/thebes.lib ../../dist/lib/ycbcr.lib ../../gfx/cairo/cairo/src/mozcairo.lib ../../gfx/cairo/libpixmanzlibpixman.lib d:/mozilla/mozilla-central/_obj-browser-debug/dist/lib/xpcom.libd:/mozilla/mozilla-central/_obj-browser-debug/dist/lib/xpcom_core.lib d:/mozilla/mozilla-central/_obj-browser-debug/dist/lib/mozalloc.lib d:/mozilla/mozilla-central/_obj-browser-debug/dist/lib/nspr4.lib d:/mozilla/mozilla-central/_obj-browser-debug/dist/lib/plc4.lib d:/mozilla/mozilla-central/_obj-browser-debug/dist/lib/plds4.lib   kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib   
   Creating library layers.lib and object layers.exp
LayerManagerOGL.obj : error LNK2001: unresolved external symbol "class mozilla::gl::GLContextProvider mozilla::gl::sGLContextProvider" (?sGLContextProvider@gl@mozilla@@3VGLContextProvider@12@A)
layers.dll : fatal error LNK1120: 1 unresolved externals
make[5]: *** [layers.dll] Error 96
make[5]: Leaving directory `/d/mozilla/mozilla-central/_obj-browser-debug/gfx/layers'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/d/mozilla/mozilla-central/_obj-browser-debug/gfx'
make[3]: *** [libs_tier_platform] Error 2
make[3]: Leaving directory `/d/mozilla/mozilla-central/_obj-browser-debug'
make[2]: *** [tier_platform] Error 2
make[2]: Leaving directory `/d/mozilla/mozilla-central/_obj-browser-debug'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/d/mozilla/mozilla-central/_obj-browser-debug'
make: *** [build] Error 2
I've posted a fix on bug 560147.
Bas, thanks, I can confirm this fixes the build problem for me.
Depends on: 560147
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.