Closed Bug 356425 Opened 18 years ago Closed 18 years ago

link of libxul failed when mozstorage is enabled

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: laurent, Assigned: benjamin)

Details

Attachments

(3 files)

I'm working on a xulrunner application based on the trunk. Mozstorage is enabled but places is not. The compiling failed during the link of the libxul : nsStaticXULComponents.o:(.data.rel.ro+0x13c): undefined reference to « mozStorageModule_NSGetModule(nsIComponentManager*, nsIFile*, nsIModule**) » Perhaps i'm wrong, but i think the bug is in toolkit/library/libxul-config.mk : ifdef MOZ_PLACES STATIC_LIBS += morkreader_s COMPONENT_LIBS += \ storagecomps \ places \ $(NULL) else ifdef MOZ_MORK ifdef MOZ_XUL COMPONENT_LIBS += \ mork \ tkhstory \ $(NULL) endif endif endif If places is disabled, storage component is not included, even if MOZ_STORAGE=1. (note: if MOZ_STORAGE=, the compiler failed on the compiling of toolkit/components/satchel/src/nsFormFillController.cpp : mozIStorageService.h is unknown.
These are my patches to build my own application (to do --enable-application=etna).
Attached file my mozconfig file
Assignee: nobody → benjamin
Status: NEW → ASSIGNED
Attachment #242092 - Flags: review?(jacquemin_laurent)
Attachment #242092 - Flags: review?(jacquemin_laurent) → review?(laurent)
Comment on attachment 242092 [details] [diff] [review] Fix ifdefs, rev. 1 r=laurent@xulfr.org It's ok for me.
Attachment #242092 - Flags: review?(laurent) → review+
Could someone check in this patch ? (i haven't write access on the CVS) Benjamin ? Is it all right ?
Fixed on trunk.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: