Closed
Bug 391943
Opened 18 years ago
Closed 18 years ago
Mingw build error: undefined reference to `EnsureSymInitialized'
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: martijn.martijn, Unassigned)
References
Details
I'm getting this build error in my mingw debug build, after updating the tree:
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper g++ -mno-cygwin -shared -Wl,--o
ut-implib -Wl,libxpcom_core.dll.a -o xpcom_core.dll pldhash.o nsArrayEnumerator
.o nsArrayUtils.o nsCategoryCache.o nsCOMPtr.o nsCOMArray.o nsCRTGlue.o nsCompon
entManagerUtils.o nsEnumeratorUtils.o nsID.o nsIInterfaceRequestorUtils.o nsINIP
arser.o nsISupportsImpl.o nsMemory.o nsWeakReference.o nsGREGlue.o nsVersionComp
arator.o nsTHashtable.o nsQuickSort.o nsVoidArray.o nsTArray.o nsThreadUtils.o n
sTObserverArray.o nsCycleCollectionParticipant.o nsAutoLock.o nsGenericFactory.o
nsProxyRelease.o nsXPComInit.o nsXPCOMStrings.o dlldeps.o ./module.res
-Wl,--whole-archive ../ds/libxpcomds_s.a ../io/libxpcomio_s.a ../components/l
ibxpcomcomponents_s.a ../threads/libxpcomthreads_s.a ../proxy/src/libxpcomproxy_
s.a ../base/libxpcombase_s.a ../reflect/xptcall/src/libxptcall.a ../reflect/xptc
all/src/libxptcmd.a ../reflect/xptinfo/src/libxptinfo.a ../../dist/lib/libxpt.a
../string/src/libstring_s.a -Wl,--no-whole-archive -L../../dist/lib -lnspr4 -l
plc4 -lplds4 -lshell32 -lole32 -luuid -lversion -limagehlp -lm -lgdi32 -lwinmm
-lwsock32
Creating library file: libxpcom_core.dll.a
../base/libxpcombase_s.a(nsTraceRefcntImpl.o): In function `ZN17nsTraceRefcntImp
l18LoadLibrarySymbolsEPKcPv':c:/mozilla/mozilla/xpcom/base/nsTraceRefcntImpl.cpp
:900: undefined reference to `EnsureSymInitialized'
:c:/mozilla/mozilla/xpcom/base/nsTraceRefcntImpl.cpp:916: undefined reference to
`_SymLoadModule'
collect2: ld returned 1 exit status
make[5]: *** [xpcom_core.dll] Error 1
make[5]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/build'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom'
make[3]: *** [libs_tier_xpcom] Error 2
make[3]: Leaving directory `/cygdrive/c/mozilla/mozilla'
make[2]: *** [tier_xpcom] Error 2
make[2]: Leaving directory `/cygdrive/c/mozilla/mozilla'
make[1]: *** [alldep] Error 2
make[1]: Leaving directory `/cygdrive/c/mozilla/mozilla'
make: *** [alldep] Error 2
I suspect this is caused somehow by the patch from bug 374689.
I'm guessing the patch to bug 391793 will make this go away; the question is whether there will be other errors remaining.
Reporter | ||
Comment 3•18 years ago
|
||
Fixed by bug 391793.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•