Closed Bug 584034 Opened 14 years ago Closed 14 years ago

xpcomglue_s.lib dependencies on mozalloc.lib

Categories

(Firefox Build System :: General, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 577831

People

(Reporter: dudi, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; Windows NT 6.1; rv:2.0b2) Gecko/20100720 Firefox/4.0b2
Build Identifier: Mozilla/5.0 (Windows; Windows NT 6.1; rv:2.0b2) Gecko/20100720 Firefox/4.0b2

When trying to compile xpcom dll with visual studio 2008. If in link stage I'm using xpcoglue_s.lib, the following errors appear:

xpcomglue_s.lib(GenericModule.obj) : error LNK2001: unresolved external symbol __imp__moz_xmalloc
xpcomglue_s.lib(nsISupportsImpl.obj) : error LNK2001: unresolved external symbol __imp__moz_free
xpcomglue_s.lib(nsVersionComparator.obj) : error LNK2019: unresolved external symbol __imp__moz_strdup referenced in function "int __cdecl NS_CompareVersions(char const *,char const *)" (?NS_CompareVersions@@YAHPBD0@Z)

There is no mozalloc.lib in the sdk, so I cannot fix the problem

Reproducible: Always

Steps to Reproduce:
1. Compile xpcom dll, while using xpcomglue_s.lib

Actual Results:  
Errors in linkage step

Expected Results:  
Ni compilation errors
Component: Developer Tools → Build Config
Product: Firefox → Core
QA Contact: developer.tools → build-config
Version: unspecified → Trunk
Status: UNCONFIRMED → RESOLVED
Closed: 14 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.