[Ecls-list] Integrating Monolithic Static Libraries with asdf

Seth Burleigh seth at tewebs.com
Sat Mar 27 19:34:47 UTC 2010


It now all works except for this:  when i do
 (asdf:make-build :utils :type :binary :monolithic t :move-here
"~/lisp/")

it no longer creates a .fas file, only a .a, .asd, and .fasb file. If i
rename the .fasb file to .fas, it works, otherwise it fails with 

"Filesystem error with pathname #P\"/home/seth/lisp/utils-mono.fas\".
Either
 1) the file does not exist, or
 2) we are not allow to access the file, or
 3) the pathname points to a broken symbolic link."

This is my asd file.
;;; Prebuilt ASDF definition for system utils;;; Built for ECL 10.3.1 on
a Linux/i686 2.6.31-20-generic
(ASDF:DEFSYSTEM :|utils|
                :CLASS
                ASDF:PREBUILT-SYSTEM
                :COMPONENTS
                ((:COMPILED-FILE "utils-mono"))
                :LIB
                #P"libutils-mono.a")


On Fri, 2010-03-26 at 21:31 -0500, Seth Burleigh wrote:
> I tried recompiling ecl from git and got this:
> 
> Cannot find the external symbol PREBUILT-SYSTEM in #<"ASDF" package>.
> Available restarts:
> 
> 1. (ABORT) ABORT
> 
> 
> On Sat, 2010-03-27 at 00:12 +0100, Juan Jose Garcia-Ripoll wrote:
> > On Sat, Mar 27, 2010 at 12:11 AM, Juan Jose Garcia-Ripoll
> > <juanjose.garciaripoll at googlemail.com> wrote:
> >         On Fri, Mar 26, 2010 at 9:35 PM, Seth Burleigh
> >         <seth at tewebs.com> wrote:
> >                 Im guessing that theres some mechanism in place to
> >                 prevent users from
> >                 loading those static library.asd files from regular
> >                 lisp code, because
> >                 directly evaluating (require 'utils) from my c program
> >                 works perfectly,
> >                 no errors.
> >         
> >         
> >         You are guessing too much. Sorry for letting you write and
> >         write without answer, but your flow of emails just coincided
> >         with me travelling a long way, disconnected.
> >         
> >         
> >         The *.asd file that ASDF was producing was missing a detail,
> >         that is :class asdf:prebuilt-system I have uploaded a patch
> >         that fixes this, but I could not test it. Hope it solves your
> >         problem.
> > 
> > 
> > BTW, the patch is only in GIT because SF is refusing connections right
> > now.
> > 
> > 
> > Juanjo 
> > 
> > -- 
> > Instituto de Física Fundamental, CSIC
> > c/ Serrano, 113b, Madrid 28006 (Spain) 
> > http://tream.dreamhosters.com
> 
> 
> 
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
> 






More information about the ecl-devel mailing list