From:  "SirDarckCat" <sirdarckcat@gmail.com>
Date:  04 Dec 2006 08:31:46 Hong Kong Time
Newsgroup:  news.mozilla.org/netscape.public.mozilla.jseng
Subject:  

Re: Building SpiderMonkey from Trunk using MSVC6

NNTP-Posting-Host:  148.221.85.51

kokhoor ha escrito:

> 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:
>
> 
> 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'
> 
>
> Is there any step I have left out? Any ideas what I can do to fix this?
>
> Thanks in advance.
>
> Regards,
>     Kok Hoor

Hello!

well.. i had the same problem..

try with this one:
http://ftp.mozilla.org/pub/mozilla.org/js/

if you have the GNU Linker, remove its path from the %PATH% enviroment
variable.

any way, using the .MDP will work fine :P

it also includes JSD (javascript debugger)

Greetz!!