質問

私はこのecl-。lisp:

(asdf:oos 'asdf:compile-op :stumpwm)

(defun system-objects (system)
  (loop for component in (asdf:module-components (asdf:find-system system))
    for pathname = (asdf:component-pathname component)
    for directory = (pathname-directory pathname)
    for name = (pathname-name pathname)
    when (equal "lisp" (pathname-type pathname))
    collect (make-pathname :directory directory :type "o" :name name)))

(c:build-program "stumpwm" :lisp-files
  (concatenate 'list
    (system-objects :cl-ppcre)
    (system-objects :clx)
    (mapcar (lambda (component)
              (concatenate 'string component ".o"))
      stumpwm-system::*components*))
  :epilogue-code '(unwind-protect (stumpwm:stumpwm) (ext:quit)))

(stumpwm-system::*components* 私は、 stumpwm.asd, を生成するために使用される航空自衛隊コンポーネントのファイルの 適切な順序付けられたリストのファイルである。)

では、単純に失敗した:

... same messages you get when (system-objects ...) are
... excluded from the c:build-program [it compiles in
... this case, but of course CL-PPCRE and CLX are unavailable.]
An error occurred during initialization:
Cannot find out entry point for binary file.

私は、私の解決のエラーを導入した 前の試み.だプログラムECLる 付属の依存関係のため、してくださいしかったです。私の見方 まpunt負荷の依存関係が stumpwm 始まりもの 無負荷マ ~/.eclrc るかといえば空自発表について これら).この すべ が可能です。

役に立ちましたか?

解決

あん. こちらはその答え:

  1. 削除 ecl-make.lisp ,に戻すに変更 stumpwm.asd

  2. ecl -eval '(asdf:make-build :stumpwm :type :program)'

それだけです。[空自ん見る asdf:build-op しています。]

編集:ももニーズのプロローグ. ecl-事例 情報が表示されますoff asdf:make-build

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top