[Ecls-list] [Win32] Bad Image error when using asdf:operate

Goffioul Michael goffioul at imec.be
Wed Sep 27 07:35:00 UTC 2006


> I have built ECL 0.9i on my Windows box using MinGW, 
> installed it, and it runs. However, when I try to use ASDF to 
> load a library, I get the Windows Bad Image error dialog. It 
> looks like ECL is trying to execute the ASD file (that is the 
> filename mentioned in the error
> dialog) as if it were a binary? The console output shows, e.g.,
> 
> > (asdf:operate 'asdf:load-op :cffi)
> ; loading system definition from
> ; c:/projects/third_party/asdf-repo/cffi-060606/cffi.asd into 
> #<ASDF58 package> ;;; Loading 
> "c:/projects/third_party/asdf-repo/cffi-060606/cffi.asd"
> Segmentation violation.
> Broken at OPERATE.
> ASDF58>>
> 
> My init file has (require 'asdf) and I see
> 
> ;;; Loading #P"C:/bin/msys/1.0/local/lib/ecl/ASDF.fas"
> 
> at startup, so I believe I'm picking up the bundled ASDF 
> instead of some other version.
> 
> Any hints as to what I'm missing?

That's strange, I usually have that problem when I try to load
an ASDF file without having the ASDF package loaded into memory.
Can you try to:

(require 'asdf)
(load "cffi.asd")

Michael.




More information about the ecl-devel mailing list