Dear concerns:
I am running CMUCL on the Alpha machine and the OS is linux redhat 7.2. I am wondering if the ftp://cvs2.cons.org/pub/lisp/cmucl/binaries/ cmucl-19990212.alpha.linux.tgz is the only version for this kind of combination (Alpha + Linux)? This tarball actually just includes two files (lisp and lisp.core). Some other scipt files like sample-wrapper and load-foreign.csh missed. So can I use these kind of files from other verion's? Since they seem almost the same. I am going to call C function from CMUCL. I input the ?Step-by-Step Alien Example? in the chapter 8.8 of user manual, but I met two problems. The first one is about the (load-foreign ?test.o?).When I first time execute this on Top-level, I always got the error information like: { Error in function SYSTEM::ENSURE-LISP-TABLE-OPENED: Can?t open global symbol table: ?:cannot map file data: Operation not supported by device? Restarts: 0: [ABORT] Return to Top-level. Debug:(type H for help) (SYSTEM::ENSURE-LISP-TABLE-OPENED) Source: Error finding source Error in function COMMON-LISP::%ENUMERATE-SEARCH-LIST: Undefined search list: trunk } But after I choose ABORT to Top-level and execute (load-foreign ?test.o?) again. It will success. The second problem is about the ?(free-alien res)? which is the last line of the test.lisp (Step-by-Step Alien Example). If Iinclude this free function I will got error message like: { Error in function UNIX::SINGSEGV-HANDLER: Segmentation Violation at #1200286b8. Restarts: 0: [ABOUT] Return to Top-level. Debug (type H for help) (UNIX::SIGSEGV-HANDLER #<unavailable-arg> #< unavailable-arg > #.(SYSTEM::INT-SAP #x11ffff560)) } But If I get rid of it from the lisp program, everything seems ok. I asked this question last time. I also find this will not happend on CMUCL for x86 version on my own pc. So I am wondering if it is a bug for alpha-linux version or I have some installation problems. Like put the load-foreign.csh in wrong directory (now it is in the same directory with lisp.core, it is also the directory given to enviroment var CMUCLLIB). But I am not sure if it is used by load-foreign function. Since even I delete it from CMUCL for x86 version, load-foreign can still work correctly. Also in load-foreign function I try to designate the parameter of :base-file since the manual says it is the file to use for the initial symbol table information. But I try to set to lisp or sample-wrapper. The problem remains. Even I give it a non-exist file. Load-foreign can work. Maybe it uses its default. originally, the Admi installed the lisp.core on directory of /usr/lib/cmucl/lisp.core. the lisp on directory of /usr/local/bin/lisp. Since I feel maybe it is not complete and also I cannot wait for Administrator to update. I install on my $HOME dirctory Like: files in $HOME/cmucl-dir/lib: lisp.core load-foreign.csh config config.lisp site-init.lisp files in $HOME/cmucl-dir/bin: lisp I use sample-wrapper to start lisp and set CMUCLLIB to $HOME/cmucl-dir/lib My $HOME is NFS directory. Thank you so much for your helping and looking forward to your reply Jun Chen __________________________________________________ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute
