[Ecls-list] monolithic vs sb-bsd-sockets

Mike Ivanov me at mikeivanov.com
Wed Oct 30 05:41:44 UTC 2013


Hi,

$ /opt/ecl/bin/ecl --version
ECL 13.5.1

$ cat build.lisp
(require 'asdf)
(print (asdf:make-build :hello :type :fasl))
(print (asdf:make-build :hello
                        :type :program
                        :monolithic t
                        :epilogue-code '(ext:quit 0)
                        :move-here "./hello"))


$ cat hello.asd
(in-package :cl-user)

(defpackage :hello.asd
  (:use :cl :asdf))

(in-package :hello.asd)

(asdf:defsystem #:hello
  :serial t
  :depends-on (:drakma :prebuilt-asdf)
  :components ((:file "hello")))


$ cat hello.lisp
(in-package :cl-user)

(defpackage :hello
  (:use :cl :drakma))

(in-package :hello)

(defun main ()
  (print (http-request "http://example.com"
                       :method :get))))


$ /opt/ecl/bin/ecl -load ./build.lisp
[a whole bunch of messages]


$ ./hello
Condition of type: SIMPLE-ERROR
Package ((SB-BSD-SOCKETS . #<SB-BSD-SOCKETS package>)) referenced in compiled file
  NIL
but has not been created
Available restarts:

1. (IGNORE) Ignore the error, and try the operation again

Top level in: #<process TOP-LEVEL>.


QUESTION: why?

Thank you,
-Mike






More information about the ecl-devel mailing list