[Ecls-list] problems with c:build-program [FIXED; USER ERROR]
Larry Clapp
larry at theclapp.org
Mon Apr 26 14:24:01 UTC 2004
On Fri, Apr 23, 2004 at 08:28:32AM -0400, I wrote:
> Erik Winkels said:
> > Larry Clapp <larry at theclapp.org> wrote on Thu, 22 Apr 2004
> > 23:11:32 -0400:
> >>>
> >>> Unrecoverable error:
> >>> Lisp initialization error.
> >>>
> >>> zsh: 14832 abort (core dumped) ./myecl
> >>
> >> If I only list the first two, the executable runs fine.
> >>
> >> Can any one else reproduce this? I have a recent cvs
> >> snapshot, and I use --with-cxx.
> >
> > Can you list the precise steps you want us to reproduce? I'm
> > not even able to use c:build-program with two files in
> > :lisp-files, only using one .o-file works for me.
>
> Sure, sorry. Here are the steps:
>
> foo.lisp:
> (defun foo1 () t)
>
> bar.lisp:
> (defun foo2 () t)
>
> baz.lisp:
> (defun foo3 () t)
>
> In ecl:
> (compile-file "foo" :system-p t)
> (compile-file "bar" :system-p t)
> (compile-file "baz" :system-p t)
> (c:build-program "myecl" :lisp-files '("foo" "bar" "baz"))
I trace my error to the fact that one of my test files was actually
called "defclass.lisp", not "bar.lisp". ecl doesn't like that. It
never occurred to me that that might cause a problem, or I'd have used
the actual file names in my 'reproduction instructions'. I changed it
to "defclass2.lisp" -- no problem.
Sorry for the confusion.
-- Larry
More information about the ecl-devel
mailing list