[Vm-dev] Error compiling Cog.

Igor Stasenko siguctua at gmail.com
Wed Mar 30 11:59:21 UTC 2011


On 30 March 2011 10:31, Mariano Martinez Peck <marianopeck at gmail.com> wrote:
>
> Thanks to both. Indeed, you were right. I was following Igor's slides for Deep Smalltalk and he was using version 1.3
>
> Now, I have a couple of questions:
>
> 1) Who commits to the blessed Cog repo?
>
> 2) The guy that does 1) also takes care of updating ConfigurationOfCog ?
>
> So, what I want to know is , if I always download the latest from git, and the late version of ConfigurationOfCog, the VM should "compile and works", shouldn't it ?
> REALLY having the platform code in sync with ConfigurationOfCog is something what I would love to have. So far seems to work :)
>
A commit contains all information for recreating VM for given commit.
If you load latest (or other version) of VMMaker which not corresponds
to commit,
compilation or linking may fail.

See http://code.google.com/p/cog/wiki/AutomatedBuilds

> Cheers
>
> Mariano
>
>
>
> On Wed, Mar 30, 2011 at 3:26 AM, Igor Stasenko <siguctua at gmail.com> wrote:
>>
>> On 29 March 2011 23:28, Mariano Martinez Peck <marianopeck at gmail.com> wrote:
>> >
>> > I started once again having bad luck compiling VMs....I did
>> >
>> > git  clone git://gitorious.org/cogvm/blessed.git
>> >
>> > then I download a PharoCore1.3 fresh and I evaluated:
>> >
>> > Gofer new
>> > squeaksource: 'MetacelloRepository';
>> > package: 'ConfigurationOfCog';
>> > load.
>> > (ConfigurationOfCog project version: '1.3') load
>> >
>> Use LoadVMMaker.st which is in codegen-scripts directory.
>> It should load 1.5 version.
>>
>> > Gofer new
>> > squeaksource: 'VMMaker';
>> > package: 'CMakeVMMaker';
>> > load.
>> >
>> >
>> > Then I moved the image to /blessed/image
>> >
>> > Then I evaluated:  CogMacOSConfig generateWithSources
>> >
>> > And finally, cmake .
>> >
>> > And I have this error:
>> >
>> > In file included from /Users/mariano/bin/blessed/platforms/unix/vm/sqUnixThreads.c:18:
>> > /Users/mariano/bin/blessed/platforms/Cross/vm/sq.h:182: warning: ignoring #pragma auto_inline off
>> > /Users/mariano/bin/blessed/platforms/Cross/vm/sq.h:184: warning: ignoring #pragma auto_inline on
>> > Linking CXX executable CogVM.app/Contents/MacOS/CogVM
>> > Undefined symbols:
>> >   "_ifValidWriteBackStackPointersSaveTo", referenced from:
>> >       _reportStackState in sqMacMain.c.o
>> >       _reportStackState in sqMacMain.c.o
>> > ld: symbol(s) not found
>> > collect2: ld returned 1 exit status
>> > make[2]: *** [CogVM.app/Contents/MacOS/CogVM] Error 1
>> > make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
>> > make: *** [all] Error 2
>> >
>> > any hints?
>> >
>> > thanks
>> >
>> > Mariano
>> >
>> >
>>
>>
>>
>> --
>> Best regards,
>> Igor Stasenko AKA sig.
>
>
>



-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list