[Vm-dev] Problem building CogMT vm with CogMTCocoaIOSConfig

Mariano Martinez Peck marianopeck at gmail.com
Tue May 8 14:00:06 UTC 2012

Hi guys. If I do:

CogMTCocoaIOSConfig new
       generateSources; generate.

I get this error:

[ 36%] Building C object
<command-line>: warning: "COGMTVM" redefined
<command-line>: warning: this is the location of the previous definition
error: cointerp.h: No such file or directory

This is wrong because the file it should be searching is cointerpmt.h: and
not cointerp.h. So what I think it is happening is that somehow we are
missing the -DCOGMTVM=1 we are sending while compiling. So then Cog thinks
it is a regular Cog (not MT) and hence tries to include cointerp.h.
Moreover, this warning is suspiciuous:
<command-line>: warning: "COGMTVM" redefined

Of course, if I use CogCocoaIOSConfig instead of CogMTCocoaIOSConfig, it
works fine.

Any ideas?  I will see if I find something more.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20120508/87cde979/attachment.htm

More information about the Vm-dev mailing list