Closed Bug 394096 Opened 18 years ago Closed 18 years ago

mozcairo.lib not linked when building without svg and canvas

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 389638

People

(Reporter: atzaus, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070801 BonEcho/2.0.0.6 (tete009 G7 SSE2) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070801 BonEcho/2.0.0.6 (tete009 G7 SSE2) When building with the following options --disable-canvas --disable-svg --disable-svg-foreignobject mozcairo.lib is not linked leading to LNK2001 errors. Reproducible: Always
OS: Windows XP → Linux
Product: Firefox → Core
QA Contact: build.config → build-config
Version: unspecified → Trunk
Could you be more specific? What library are you linking when the error occurs: what is the link line, and which linking configuration are you using (debug-dynamic, libxul, or static)?
I haven't specified any linking configuration so by default it is libxul It happens when linking the xul library Creating library xul.lib and object xul.exp thebes.lib(gfxPDFSurface.obj) : error LNK2001: unresolved external symbol __moz_cairo_create thebes.lib(gfxPDFSurface.obj) : error LNK2001: unresolved external symbol __moz_cairo_destroy thebes.lib(gfxPDFSurface.obj) : error LNK2001: unresolved external symbol __moz_cairo_pdf_surface_create_for_stream thebes.lib(gfxPDFSurface.obj) : error LNK2001: unresolved external symbol __moz_cairo_show_page thebes.lib(gfxPDFSurface.obj) : error LNK2001: unresolved external symbol __moz_cairo_surface_set_fallback_resolution thebes.lib(gfxPath.obj) : error LNK2001: unresolved external symbol __moz_cairo_path_destroy thebes.lib(gfxContext.obj) : error LNK2001: unresolved external symbol __moz_cairo_set_line_cap thebes.lib(gfxContext.obj) : error LNK2001: unresolved external symbol __moz_cairo_surface_get_device_offset thebes.lib(gfxContext.obj) : error LNK2001: unresolved external symbol __moz_cairo_set_line_width thebes.lib(gfxContext.obj) : error LNK2001: unresolved external symbol __moz_cairo_get_source thebes.lib(gfxContext.obj) : error LNK2001: unresolved external symbol __moz_cairo_device_to_user The link line is the same with/without the options only difference is that mozcairo.lib is not mentioned. I think the problem is with libxul-rules.mk because cairo libraries are only being added when svg and canvas are being built.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.