After these steps: 1. Fresh Pharo 1.3 image 2. MetacelloRepository ConfigurationOfCog 3. ConfigurationOfCog project latestVersion load. 4. CocoaIOSCogStackConfig generateWithSources 5. cd build 6. cmake . 7. make
I got the following error:
CMake Error at CroquetPlugin/CMakeLists.txt:17 (add_library): Cannot find source file:
/Users/sean/Squeak/vm/seandenigris-cog-blessed/platforms/Cross/plugins/CroquetPlugin/tribox.c
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
I commented out the offending line in CMakeLists.txt and then got the following:
I got this error:
Linking CXX executable /Users/sean/Squeak/vm/seandenigris-cog-blessed/results/StackVM.app/Contents/MacOS/StackVM Undefined symbols for architecture i386: "_getStackPointer", referenced from: _sqGetInterpreterProxy in sqVirtualMachine.c.o "_signalNoResume", referenced from: _sqGetInterpreterProxy in sqVirtualMachine.c.o ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status make[2]: *** [/Users/sean/Squeak/vm/seandenigris-cog-blessed/results/StackVM.app/Contents/MacOS/StackVM] Error 1 make[1]: *** [CMakeFiles/StackVM.dir/all] Error 2 make: *** [all] Error 2
What do I do now?
Thanks. Sean
-- View this message in context: http://forum.world.st/Build-error-on-Stack-VM-tp3770884p3770884.html Sent from the Squeak VM mailing list archive at Nabble.com.
On 26 August 2011 14:45, Sean P. DeNigris sean@clipperadams.com wrote:
After these steps:
- Fresh Pharo 1.3 image
- MetacelloRepository ConfigurationOfCog
- ConfigurationOfCog project latestVersion load.
please, do not use #latestVersion for loading a configuration. Because it may load different versions of packages which may not fit with each other, and with source code you using. This option is good for developers who knowing what they do :)
Choose the last available configuration which is proven to work, like:
(ConfigurationOfCog project version: 'x.y') load
@others: we discussed these errors with Sean and they are solved.
Igor Stasenko wrote:
please, do not use #latestVersion for loading a configuration. ... Choose the last available configuration which is proven to work, like: (ConfigurationOfCog project version: 'x.y') load
This is not a good system. In Metacello, (#latestVersion = 'last available configuration which is proven to work'). How is anyone but the handful of vm devs supposed to know which 'x.y' to put as things progress?
Sean
-- View this message in context: http://forum.world.st/Build-error-on-Stack-VM-tp3770884p3771867.html Sent from the Squeak VM mailing list archive at Nabble.com.
vm-dev@lists.squeakfoundation.org