[cells-gtk-devel] new code fails to compile on clisp-2.37/win2K server

Kenny Tilton ktilton at nyc.rr.com
Tue Jan 10 15:11:05 UTC 2006


Subhasis Ray wrote:

> Hi,
>  I have been trying to load the new cells-gtk on clisp-2.37/windows 
> 2000 server with gtk+2.8.9. It compiles fine till cells/cells.lisp. 
> But fails while trying to compile cells/cell-types.lisp.
>
>  Here is the output :
>
> ;; Compiling file C:\clisp\cells-gtk\cells\cell-types.lisp ...
> WARNING in 114 126 (PROGN (DEFMODEL STREAMERTEST NIL ...) 
> (DEF-C-OUTPUT VAL # ...) ...)-15-1 in lines 114..126 :
> STREAMERTEST is neither declared nor bound,
> it will be treated as if it were declared SPECIAL.


FWIW, I do not show any "streamertest" in my current cells source. I can 
guarantee you this, the "stream" stuff in Cells is only partially 
implemented and not used by anything else in Cells (or any application 
code, I wager, since it never got finished). So just comment out as 
necessary. :)

> ERROR in #:|114 126 (PROGN (DEFMODEL STREAMERTEST NIL ...) 
> (DEF-C-OUTPUT VAL # ...) ...)-15-1| in lines 114..126 :
> Not the name of a function: (VAL :ACCESSOR VAL :INITFORM (C~~~ :FROM 0 
> :TO (^OVAL)))
> WARNING in 114 126 (PROGN (DEFMODEL STREAMERTEST NIL ...) 
> (DEF-C-OUTPUT VAL # ...) ...)-15-2 in lines 114..126 :
> VAL is neither declared nor bound,
> it will be treated as if it were declared SPECIAL.
> ERROR in #:|114 126 (PROGN (DEFMODEL STREAMERTEST NIL ...) 
> (DEF-C-OUTPUT VAL # ...) ...)-15-2| in lines 114..126 :
> Not the name of a function: (SELF STREAMERTEST)
> WARNING in 114 126 (PROGN (DEFMODEL STREAMERTEST NIL ...) 
> (DEF-C-OUTPUT VAL # ...) ...)-15-2 in lines 114..126 :
> OLD-VALUE is neither declared nor bound,
> it will be treated as if it were declared SPECIAL.
> WARNING in 114 126 (PROGN (DEFMODEL STREAMERTEST NIL ...) 
> (DEF-C-OUTPUT VAL # ...) ...)-15-2 in lines 114..126 :
> NEW-VALUE is neither declared nor bound,
> it will be treated as if it were declared SPECIAL.
> ;; Deleted file C:\clisp\cells-gtk\cells\cell-types.fas
> WARNING: COMPILE-FILE warned while performing #<COMPILE-OP NIL 
> #x19EEFAF9> on
>          #<CL-SOURCE-FILE "cell-types" #x19EEDDDD>.
> WARNING: COMPILE-FILE failed while performing #<COMPILE-OP NIL 
> #x19EEFAF9> on
>          #<CL-SOURCE-FILE "cell-types" #x19EEDDDD>.
> *** - erred while invoking #<COMPILE-OP NIL #x19EEFAF9> on 
> #<CL-SOURCE-FILE
>       "cell-types" #x19EEDDDD>
>
> When I tried with cells checked out from the CVS, I got the following 
> error:
>
> ;;  Loading file C:\clisp\cells-gtk\root\gtk-ffi\gtk-core.fas ...
> ** - Continuable Error
> FFI::FOREIGN-LIBRARY-FUNCTION: no dynamic object named "g_free" in library
>       :DEFAULT
>
> I think this is a problem with the new version of cells-gtk as I can 
> successfully load Vasili's original clisp version and run the demo on 
> the same system [ one modification I had to do was to comment out the 
> #+clisp ...  part in the file utils-kt/detritus.lisp ].

That is puzzling. Does CLisp not put :clisp on *features*? If it 
does,... or by "#clisp part" do you mean you had to knock out the 
conditional "#+clisp" /and/ the following form? That would make sense, 
since CLisp MOP has come a long way since I wrote that code. Sounds like 
that can be removed, as you did.

hth, kt




More information about the cells-gtk-devel mailing list