Build error on Stack VM

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Build error on Stack VM

Sean P. DeNigris
Administrator
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
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Build error on Stack VM

Igor Stasenko
 
On 26 August 2011 14:45, Sean P. DeNigris <[hidden email]> wrote:
>
> After these steps:
> 1. Fresh Pharo 1.3 image
> 2. MetacelloRepository ConfigurationOfCog
> 3. 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.


--
Best regards,
Igor Stasenko AKA sig.
Reply | Threaded
Open this post in threaded view
|

Re: Build error on Stack VM

Sean P. DeNigris
Administrator
 

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.
Cheers,
Sean