Closed
Bug 1317431
Opened 8 years ago
Closed 3 years ago
Problems when I compile in windows vs2015 NSPR (*_s.lib static)
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: juan, Unassigned)
Details
(Keywords: triage-deferred)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
Steps to reproduce:
When I try to compile Spidermonkey 45 in windows (mozilla-build start-shell-msvc2015.bat) with NSPR.
$ ../configure --with-nspr-cflags="-IC:/nspr/build1/dist/include/nspr" --with-n
spr-libs="C:/nspr/build1/dist/lib/libnspr4_s C:/nspr/build1/dist/lib/libplds4_s
C:/nspr/build1/dist/lib/libplc4_s" --disable-shared-js
I have errors like "...unresolved external symbol..." I know this is happening because the linker doesn´t find the external functions but the NSPR libraries are ok and I see the export functions inside the .libs so I don´t know how to fix this.
Right now I am using the SipderMonkey 1.8.5 and works bery well but It is very old so I want to upgrade, but... I can´t do it. I use SpiderMonkey static linked and I want to be this way with tihs new version.
Actual results:
Creating library jsapi-tests.lib and object jsapi-tests.exp
js_static.lib(TraceLoggingGraph.obj) : error LNK2001: unresolved external symbol
__imp__PR_Lock
js_static.lib(Unified_cpp_js_src1.obj) : error LNK2001: unresolved external symb
ol __imp__PR_Lock
js_static.lib(Parser.obj) : error LNK2001: unresolved external symbol __imp__PR_
Lock
js_static.lib(TraceLogging.obj) : error LNK2001: unresolved external symbol __im
p__PR_Lock
js_static.lib(Unified_cpp_js_src9.obj) : error LNK2001: unresolved external symb
ol __imp__PR_Lock
js_static.lib(Unified_cpp_js_src33.obj) : error LNK2001: unresolved external sym
bol __imp__PR_Lock
js_static.lib(Unified_cpp_js_src12.obj) : error LNK2001: unresolved external sym
bol __imp__PR_Lock
js_static.lib(Unified_cpp_js_src32.obj) : error LNK2001: unresolved external sym
bol __imp__PR_Lock
js_static.lib(Unified_cpp_js_src0.obj) : error LNK2001: unresolved external symb
ol __imp__PR_Lock
js_static.lib(Unified_cpp_js_src35.obj) : error LNK2001: unresolved external sym
bol __imp__PR_Lock
js_static.lib(Unified_cpp_js_src29.obj) : error LNK2001: unresolved external sym
bol __imp__PR_Lock
js_static.lib(Unified_cpp_js_src7.obj) : error LNK2001: unresolved external symb
ol __imp__PR_Lock
js_static.lib(jsatom.obj) : error LNK2001: unresolved external symbol __imp__PR_
Lock
Expected results:
I want the js_static.lib (standalone) well compiled.
I this version needs NSPR anyway? THREADSAFE is deprecated so. SpiderMonkey still needs NSPR?
Updated•7 years ago
|
Keywords: triage-deferred
Priority: -- → P3
Updated•3 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•