首页 > 解决方案 > 错误:条件 Bad address (error #14) ,无法在 Clozure CL 上运行 Huntentoot

问题描述

我正在尝试在 IBM power6 上运行 hunchentoot,但该平台上只有 clozure cl 可用。我试过这个:

1.lisp

(hunchentoot:start (make-instance 'hunchentoot:easy-acceptor :port 80))
(hunchentoot:define-easy-handler (say-yo :uri "/yo") (name)
  (setf (hunchentoot:content-type*) "text/plain")
  (format nil "Hey~@[ ~A~]!" name))

然后我将它加载到 ccl 中:

(T482:lisp/ccl/201907271334) # ./ccl/ppccl64 -I 0.img -l 1.lisp
> Error: The condition Bad address (error #14) during socket creation operation in bind occurred with errno: 0.
> While executing: USOCKET::RAISE-ERROR-FROM-ID, in process listener(1).
> Type :GO to continue, :POP to abort, :R for a list of available restarts.
> If continued: Skip loading "1.lisp"
> Type :? for other options.
1 >

我不知道如何解决它。

标签: common-lisphunchentootclozure-clusocket

解决方案


推荐阅读