Shop OBEX P1 Docs P2 Docs Learn Events
BST compile error with valid spinneret server source file — Parallax Forums

BST compile error with valid spinneret server source file

max72max72 Posts: 1,155
edited 2012-03-10 17:19 in Propeller 1
I'm using the multisocket server, and while it compiles happily with the propeller tool, BST stops the compilation with an error in the negative constant declaration.
Is it a known issue?
I can fix the code, after all we are speking of few constants, so no big issue here, only I never encountered a valid spin file that BST could not compile.

Massimo

Comments

  • johnfosjohnfos Posts: 59
    edited 2012-03-10 09:01
    I can't find a multisocket server in the Obex: can you give its location?
  • Dave HeinDave Hein Posts: 6,347
    edited 2012-03-10 09:51
    There was a bug in an earlier version of BST when doing something like "repeat -num". As a work-around I replaced it with "repeat 0-num" in my code. However, I believe the latest version of BST handles it OK now. Maybe your problem is similar this. Are you using the latest version of BST?
  • max72max72 Posts: 1,155
    edited 2012-03-10 12:46
    Thanks Dave. In fact your suggestion works. I used the "latest" and the last "development", but I still get the same error unless I use your workaround.

    @Johnfos, please check the dedicated spinneret forum.
    There is a lot of material, and the main code is either on the forum or on a google repository - http://code.google.com/p/spinneret-web-server/
    If you check the main discussion about the miltisocket you'll find a lot of stuff. I'm using it only to "get" to other servers, but there is room for a lot of fun...

    Moreover propforth has special versions for the spinneret. I have little time to play with it, but a propeller (re)-programmable from a telnet looks intriguing..

    Massimo
  • Mark_TMark_T Posts: 1,981
    edited 2012-03-10 17:15
    Does the latest BST still insist on having an argument to the ORG directive and not defaulting to zero? Several Obex objects fail to build on my version of BST for this reason (although I kind of think there shouldn't be a default for ORG or FIT for "deep philosophical reasons").
  • T ChapT Chap Posts: 4,223
    edited 2012-03-10 17:19
    I just get a message about the ORG issues, but it always compiles anyway and loads the Prop.
Sign In or Register to comment.