[Ecls-list] Statically linked ECL?

Waldek Hebisch hebisch at math.uni.wroc.pl
Sun Jan 20 03:30:45 UTC 2008


I am trying to build statically linked ECL.  So I gave '--enable-shared=no'
option to configure.  But I am getting errros.  First one seem to
be just typo, 'src/Makefile.in' contains the line:

if grep 'undef ENABLE_DLOPEN' ecl/config.h; then cp c/external.h h; fi

while only 'ecl/c/external.h' (and h/external.h) exists.

After fixing this build preceeds for some time, but then fails. 
End of build log is:

;;; Note: Invoking external command:
;;; ar cr libserve-event.a /var/tmp/hebisch/lisp/ecl-0.9j_p2/build/ECLINITQf3kXt.o /var/tmp/hebisch/lisp/ecl-0.9j_p2/build/ext/serve-event.o

;;; Note: Invoking external command:
;;; ranlib libserve-event.a

;;; Note: Invoking external command:
;;; gcc  -D_GNU_SOURCE -g -p -Os  -fstrict-aliasing -Dlinux -I"/var/tmp/hebisch/lisp/ecl-0.9j_p2/src/c"  "-I/var/tmp/hebisch/lisp/ecl-0.9j_p2/build/" -w -c "/var/tmp/hebisch/lisp/ecl-0.9j_p2/build/ECLINITmgn1L8.c" -o "/var/tmp/hebisch/lisp/ecl-0.9j_p2/build/ECLINITmgn1L8.o"

Unable to find library directory
Broken at TOP-LEVEL.No restarts available.
Top level.
SI> sed -e 's, at libdir\\@,/var/tmp/hebisch/usrp/lib/,' \
            -e 's, at includedir\\@,/var/tmp/hebisch/usrp/include/,' bin/ecl-config.pre > bin/ecl-config
make[1]: Leaving directory `/var/tmp/hebisch/lisp/ecl-0.9j_p2/build'

BTW:  I want to profile ECL, so I also specified CFLAGS='-g -p -Os' and
LDFLAGS='-g -p'.

-- 
                              Waldek Hebisch
hebisch at math.uni.wroc.pl 




More information about the ecl-devel mailing list