kokhoor
2006-11-23 03:59:42 UTC
Hi all,
I have used cvs to checkout the SpiderMonkey source from the trunk at
mozilla/js/src, and tried building it, using the steps given. I have even
added '/OPT:REF /OPT:NOICF' to the linker option as stated in some
documents.
The command I used to build was:
nmake /f js.mak CFG="js - Win32 Debug"
However, I received the following linking errors and if I am not mistaken,
all these functions are defined in jsiter.h and jsiter.c:
<error>
jsapi.obj : error LNK2001: unresolved external symbol _js_GeneratorClass
jsapi.obj : error LNK2001: unresolved external symbol _js_IteratorClass
jsapi.obj : error LNK2001: unresolved external symbol _js_StopIterationClass
jsapi.obj : error LNK2001: unresolved external symbol
_js_InitIteratorClasses
jsobj.obj : error LNK2001: unresolved external symbol
_js_InitIteratorClasses
jsgc.obj : error LNK2001: unresolved external symbol
_js_CloseGeneratorObject
jsgc.obj : error LNK2001: unresolved external symbol _js_CloseIteratorState
jsinterp.obj : error LNK2001: unresolved external symbol _js_NewGenerator
jsinterp.obj : error LNK2001: unresolved external symbol
_js_CloseNativeIterator
jsinterp.obj : error LNK2001: unresolved external symbol
_js_CallIteratorNext
jsinterp.obj : error LNK2001: unresolved external symbol _js_ValueToIterator
.\Debug/js32.dll : fatal error LNK1120: 10 unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
</error>
Is there any step I have left out? Any ideas what I can do to fix this?
Thanks in advance.
Regards,
Kok Hoor
I have used cvs to checkout the SpiderMonkey source from the trunk at
mozilla/js/src, and tried building it, using the steps given. I have even
added '/OPT:REF /OPT:NOICF' to the linker option as stated in some
documents.
The command I used to build was:
nmake /f js.mak CFG="js - Win32 Debug"
However, I received the following linking errors and if I am not mistaken,
all these functions are defined in jsiter.h and jsiter.c:
<error>
jsapi.obj : error LNK2001: unresolved external symbol _js_GeneratorClass
jsapi.obj : error LNK2001: unresolved external symbol _js_IteratorClass
jsapi.obj : error LNK2001: unresolved external symbol _js_StopIterationClass
jsapi.obj : error LNK2001: unresolved external symbol
_js_InitIteratorClasses
jsobj.obj : error LNK2001: unresolved external symbol
_js_InitIteratorClasses
jsgc.obj : error LNK2001: unresolved external symbol
_js_CloseGeneratorObject
jsgc.obj : error LNK2001: unresolved external symbol _js_CloseIteratorState
jsinterp.obj : error LNK2001: unresolved external symbol _js_NewGenerator
jsinterp.obj : error LNK2001: unresolved external symbol
_js_CloseNativeIterator
jsinterp.obj : error LNK2001: unresolved external symbol
_js_CallIteratorNext
jsinterp.obj : error LNK2001: unresolved external symbol _js_ValueToIterator
.\Debug/js32.dll : fatal error LNK1120: 10 unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
</error>
Is there any step I have left out? Any ideas what I can do to fix this?
Thanks in advance.
Regards,
Kok Hoor