[Ecls-list] Threads on MacOSX (and others)

Juan Jose Garcia Ripoll lisp at arrakis.es
Thu Jan 27 01:03:05 UTC 2005

bernard tatin wrote:

> And the very bad thing : all my tests where done in the command line 
> or by loading source files. When I try to compile, I get that :
> > (compile-file "simple")
> ;;; Loading #P"/usr/local/lib/ecl/cmp.fas"
> ;;; Freeing library /usr/local/lib/ecl/cmp.fas
> LOAD: Could not load file #P"/usr/local/lib/ecl/cmp.fas" (Error: "")
> Broken at LAMBDA.

It seems that there is a problem loading the module cmp.fas itself. 
However, if this is the case, then the error message should show some 
text produced by the operating system.

> I look at the compilation problem and after I will look at the thread 
> problem.


> I make no mistake when I say that all the compiler stuff is in src/cmp ?

Yes, you are right: src/{lsp,clos} are the lisp sources for the 
Common-Lisp environment, src/cmp belongs to the compiler. I would 
recommend you to do the following:

1) go to directory build/
2) launch the debugger like "gdb ./ecl". At this point it will complain 
that it cannot set certain breakpoints because it has not yet loaded the 
dll, but pay no attention to that.
3) type "break main" and "run".
4) from there, type any breakpoints you need, such as "break si_load_binary"
5) type "continue". This will take you to the command line, where you 
can simply write (load "cmp.fas")

If things go right, you will be able to debug not only ECL itself, but 
the module cmp.fas and see where the errors are.



More information about the ecl-devel mailing list