[Vm-dev] Error compiling Cog.

Mariano Martinez Peck marianopeck at gmail.com
Tue Mar 29 21:28:00 UTC 2011


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

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20110329/4ed5918a/attachment-0001.htm


More information about the Vm-dev mailing list