On Tue, Dec 07, 2010 at 03:15:32PM -0500, David Dreisigmeyer wrote: > I'm getting the following error for the attached cl.scm file (OpenCL > 1.0 on OS X 10.6): > > $ csc -s -o cl.so cl.scm -framework OpenCL -framework Accelerate > Warning: (line 205) unterminated here-doc string literal `EOF' > Error: (line 205) unterminated list, starting in line 19 > Error: shell command terminated with non-zero exit status 17920: > /usr/local/bin/chicken-4.6.0 cl.scm -output-file cl.c -dynamic > -feature chicken-compile-shared > > I was trying to follow the gl.scm (in the opengl egg) file as much as > possible.
Your code is correct, except that the EOF for the heredoc should be at the start of a line, and it must be on a line all by itself. In your code it has leading whitespace. Cheers, Peter -- http://sjamaan.ath.cx -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users