Subj : Re: Problem with JavaScript functions To : Yuraukar From : Brendan Eich Date : Fri Oct 10 2003 12:01 pm Yuraukar wrote: > >>To rule out NOICF-lack or similar problems, could you add a >> >> printf("%p %p\n", js_GetArgument, js_GetLocalVariable); >> >>in your app (you'll have to include "jsinterp.h" just for this)? If the >>two addresses are the same, you are suffering from the "identical COMDAT >>folding" bug that NOICF works around. If the addresses differ, you have >>some other problem. >> > > > This gives me two linker errors: > JSFirst error LNK2019: unresolved external symbol _js_GetArgument referenced > in function _main > JSFirst error LNK2019: unresolved external symbol _js_GetLocalVariable > referenced in function _main > > anything else I need to link with? > Hmm, why don't you put that printf at the top of js_Interpret. That will avoid the link problem. /be .