[Ecls-list] ./configure --disable-shared

Erik Huelsmann ehuels at gmail.com
Wed Jun 25 23:08:56 UTC 2008


Because the default Debian Etch install doesn't include /usr/local/lib
in ld.so.conf, I wanted to build a statically linked ecl executable
using this configure command:

 $

However, --disable-shared seems broken, because I end up with the
following build output (only last part):

;;; Emitting code for SOCKET-DONT-ROUTE.
;;; Emitting code for (SETF SOCKET-DONT-ROUTE).
;;; Emitting code for SOCKET-LINGER.
;;; Emitting code for (SETF SOCKET-LINGER).
;;; Calling the C compiler...
;;; Note: Invoking external command:
;;; gcc  -D_GNU_SOURCE -g -O2  -Dlinux -I"/home/erik/src/ecl/src/c"
"-I/home/erik/src/ecl/build/" -w -c
"/home/erik/src/ecl/build/ext/sockets.c" -o
"/home/erik/src/ecl/build/ext/sockets.o"
;;; OPTIMIZE levels: Safety=2, Space=3, Speed=1, Debug=0
;;; Finished compiling ext:sockets;sockets.lisp.
;;; Note: Scanning #P"build:ext;sockets.o.NEWEST"
;;; Note: Found tag: "_ecl3HaOXjm8_W4YsoGy"
;;; Note: Invoking external command:
;;; gcc  -D_GNU_SOURCE -g -O2  -Dlinux -I"/home/erik/src/ecl/src/c"
"-I/home/erik/src/ecl/build/" -w -c
"/home/erik/src/ecl/build/ECLINITGhYx30.c" -o
"/home/erik/src/ecl/build/ECLINITGhYx30.o"
;;; Note: Invoking external command:
;;; ar cr libsockets.a /home/erik/src/ecl/build/ECLINITGhYx30.o
/home/erik/src/ecl/build/ext/sockets.o
;;; Note: Invoking external command:
;;; ranlib libsockets.a
;;; Note: Invoking external command:
;;; gcc  -D_GNU_SOURCE -g -O2  -Dlinux -I"/home/erik/src/ecl/src/c"
"-I/home/erik/src/ecl/build/" -w -c
"/home/erik/src/ecl/build/ECLINITbAjLPc.c" -o
"/home/erik/src/ecl/build/ECLINITbAjLPc.o"
Error in format: No more arguments.
    ~* libecl.a -leclgmp -leclgc  -ldl  -lm
     ^
while processing indirect format string:
  ~A -o ~S -L~S ~{~S ~} ~@?
                          ^
Broken at TOP-LEVEL. File: #P"/home/erik/src/ecl/src/lsp/top.lsp"
(Form #26)No restarts available.
Top level.



Bye,


Erik.




More information about the ecl-devel mailing list