Thank you Alan and Peter - that took care of it. csc is also complaining about, e.g., int32_t , uint , uint64_t , __attribute__ and
#define CL_API_SUFFIX__VERSION_1_0 AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER If I change, e.g., int32_t to int, uint64_t to unsigned long int things work out -- not sure if this is a good idea though. I don't know how to get the __attribute__ or above #define to work though. On Tue, Dec 7, 2010 at 3:22 PM, Peter Bex <peter....@xs4all.nl> wrote: > 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 > _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users