Subj : Re: SpiderMonkey Examples To : Brendan Eich From : Jeremy Gillick Date : Wed Jul 13 2005 11:55 am This is a multi-part message in MIME format. --------------060009030304070703080803 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Ah ha! Thanks it's fixed now. It actually wasn't a build problem at all. I thought I included that file in my project, and I hadn't. Thanks! Brendan Eich wrote: > Jeremy Gillick wrote: > >> On line #5, before including jsapi.h, I have "#define XP_UNIX", and >> still no joy. Am I doing it correctly? > > > Looking at the errors slightly more closely (you too can see this): > > jstypes.h:231:71: jsautocfg.h: No such file or directory > > That means you have not run jscpucfg. Makefile.ref should do this for > you in its $(OBJDIR)/jsautocfg.h rule. Debug why it didn't. > > /be --------------060009030304070703080803 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Ah ha!  Thanks it's fixed now.  It actually wasn't a build problem at all.  I thought I included that file in my project, and I hadn't.  Thanks!

Brendan Eich wrote:
Jeremy Gillick wrote:
On line #5, before including jsapi.h, I have "#define XP_UNIX", and still no joy.  Am I doing it correctly?

Looking at the errors slightly more closely (you too can see this):

jstypes.h:231:71: jsautocfg.h: No such file or directory

That means you have not run jscpucfg.  Makefile.ref should do this for you in its $(OBJDIR)/jsautocfg.h rule.  Debug why it didn't.

/be
--------------060009030304070703080803-- .