Mint 19 / Common Lisp: ECL, SBCL, ABCL don't work (undefined function 'defun', 'defclass' etc.)

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
AlexDarkVoid

Mint 19 / Common Lisp: ECL, SBCL, ABCL don't work (undefined function 'defun', 'defclass' etc.)

Post by AlexDarkVoid »

Fresh-installed Mint 19 and tried three different implementations (ECL, SBCL, ABCL) with the following simple code:

Code: Select all

(defpackage pkg (:export cls fun))
(in-package pkg)
(defclass cls () (...))
(defun fun () ...)
All fail complaining about undefined functions 'defclass', 'defun' and variables 'cls' and 'fun'.
At first I thought that this might be caused by misbehavior of ASDF dealing with 'cl-ppcre'
(its maintainer refuses update the package and comply with new naming rules),
so I removed two lines originally present before the package definition:

Code: Select all

(require "asdf")
(asdf:load-system :cl-ppcre)
However, the problem remained.
Proceeded to remove 'cl-asdf' and all related packages, but the result didn't change.
Still can't figure out what those 3 implementations have in common
(especially ABCL, which is self-contained stand-alone JAR file) that causes this failure.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Software & Applications”