[Vm-dev] Is there a way to compile StackVM from XCode?
Mariano Martinez Peck
marianopeck at gmail.com
Sun Dec 12 21:36:39 UTC 2010
> > Undefined symbols:
> > "_dumpPrimTraceLog", referenced from:
> > _error in sqMacMain.o
> > ld: symbol(s) not found
> > collect2: ld returned 1 exit status
> >
> >
> oh.. this method is defined in CoInterpreter, but not in StackInterpreter.
>
> So, you can fix that in two ways:
> - add empty dumpPrimTraceLog for StackInterpreter. Like follwoing:
> dumpPrimTraceLog
> "The prim trace log is a circular buffer of entries. If there is
> an entry at primTraceLogIndex \\ PrimTraceLogSize it has entries.
> If there is something at primTraceLogIndex it has wrapped."
> <api>
> <inline: false>
> "do nothing"
>
Thanks Igor. This did the trick :)
Now it compiles and I can even start an image!
>
> or, in
> sqMacMain.c
> use #ifdefs and detect if you building coInterpreter or stack
> interpreter , in order to avoid using this function, because its not
> available in StackInterpreter.
>
> I think best would be to simply add it to StackInterpreter and don't
> mess with C code.
>
>
> >
> > So....I will continue trying to see what the problem is.
> >
> >>
> --
> Best regards,
> Igor Stasenko AKA sig.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20101212/93c8e348/attachment.htm
More information about the Vm-dev
mailing list