gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Package issue with compiled file in GCL (GNU Common Lisp) 2.


From: Dan Corkill
Subject: [Gcl-devel] Package issue with compiled file in GCL (GNU Common Lisp) 2.7.0 ANSI (latest CVS sources)
Date: Mon, 13 Feb 2006 19:56:41 -0500
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)

A compiled *.o file of the following simple test file will not load into a freshly started GCL (Error in EVAL [or a callee]: The package named MY-PKG, does not exist):

;;; --------------------------

(eval-when (:compile-toplevel :load-toplevel :execute)
  (unless (find-package :my-pkg)
    (defpackage :my-pkg
      (:use :common-lisp))))

(in-package :my-pkg)

(defun foo () nil)

;;; --------------------------

The third form in the file is required to trigger the premature package lookup error. Again, apologies if this is a well-known GCL issue...

-- Dan


-- Dan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]