Hello all, First of all, I am glad to see that since 1.2.0.1 the linux version of chuck behaves so much nicer! (for me, anyways) I jumped to the 1.2.0.3 now and can't get it to compile: make -f makefile.jack make[1]: Entering directory `/home/mis/downloads/chuck-1.2.0.3/src' gcc -D__LINUX_JACK__ -O3 -c -D__CK_SNDFILE_NATIVE__ chuck.yy.c chuck.lex: In function `block_comment': chuck.lex:280: error: `yytext_ptr' undeclared (first use in this function) chuck.lex:280: error: (Each undeclared identifier is reported only once chuck.lex:280: error: for each function it appears in.) make[1]: *** [chuck.yy.o] Error 1 make[1]: Leaving directory `/home/mis/downloads/chuck-1.2.0.3/src' make: [linux-jack] Error 2 (ignored) 1.2.0.1 compiled fine, have the requirements changed since then? thanks (should this be going to chuck-dev or something? I'm subbed to this list only). ./MiS
Hi Michael et al!
First of all, I am glad to see that since 1.2.0.1 the linux version of chuck behaves so much nicer! (for me, anyways)
That is great to hear. Switching to callback mechanism as default in 1.2.0.1 seems to greatly help real-time stability across the board.
I jumped to the 1.2.0.3 now and can't get it to compile: make -f makefile.jack make[1]: Entering directory `/home/mis/downloads/chuck-1.2.0.3/src' gcc -D__LINUX_JACK__ -O3 -c -D__CK_SNDFILE_NATIVE__ chuck.yy.c chuck.lex: In function `block_comment': chuck.lex:280: error: `yytext_ptr' undeclared (first use in this function) chuck.lex:280: error: (Each undeclared identifier is reported only once chuck.lex:280: error: for each function it appears in.)
1.2.0.1 compiled fine, have the requirements changed since then?
The requirements haven't (intentionally) changed since 1.2.0.1. These compilations errors seem to be related to the new blocking commenting function. After a quick google search, it looks like the error may be caused by inconsistent support of unput() macro in various portions of the lex file under linux. So let's try: 1. download and replace chuck.lex and rebuild: http://chuck.cs.princeton.edu/release/files/snapshot/ did the error go away? 2. if not, try upgrading flex on your system and rebuild if neither of the above works, then we shall look for another solution. Best, Ge!
Hello, For some reason Ge's answer to my query about compilation of 1.2.0.3 has not reached me and just discovered it in the archives... Replacing the chuck.lex file worked. thank you. ./MiS
Greetings all, We recently also found 2 more problems with 1.2.0.3: 1. std.fabs() returns incorrect result 2. several examples in basic/ still use std.abs for floats These have been fixed (I think), and along with the updated chuck.lex are now in the 1.2.0.3 tar/zip ball: http://chuck.cs.princeton.edu/release/ The version of the executable (chuck --version): 1.2.0.3b The only thing that isn't fixed yet is that the windows executable is still not updated to have the std.fabs() fix. This will happen after I find a suitable windows machine in Beijing... Please post if you run into problems. My apologies for the nested disasters. Best, Ge! On Oct 29, 2005, at 12:51 PM, Michal Seta wrote:
Hello,
For some reason Ge's answer to my query about compilation of 1.2.0.3 has not reached me and just discovered it in the archives...
Replacing the chuck.lex file worked. thank you.
./MiS
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (2)
-
Ge Wang
-
Michal Seta