[Vm-dev] Problem building CogMT vm with CogMTCocoaIOSConfig
Esteban Lorenzano
estebanlm at gmail.com
Tue May 8 17:16:02 UTC 2012
I need to check it... I'm not building MT machines since some months ago (I'm waiting to eliot announce they are "ready to test", he)
Esteban
On May 8, 2012, at 4:00 PM, Mariano Martinez Peck wrote:
> Hi guys. If I do:
>
> CogMTCocoaIOSConfig new
> "generateForDebug;"
> generateSources; generate.
>
> I get this error:
>
> [ 36%] Building C object CMakeFiles/CogMTVM.dir/Users/mariano/Pharo/VM/git/cogVMBlessedSSH/blessed/src/vm/cogit.c.o
> <command-line>: warning: "COGMTVM" redefined
> <command-line>: warning: this is the location of the previous definition
> /Users/mariano/Pharo/VM/git/cogVMBlessedSSH/blessed/src/vm/cogit.c:18:22: 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.
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20120508/ccfb1ab8/attachment.htm
More information about the Vm-dev
mailing list