common-lisp - 错误:条件 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 >
我不知道如何解决它。
解决方案
推荐阅读
- java - 实践中的 Java 并发“清单 12.5。BoundedBuffer 的生产者-消费者测试程序。”,每个线程的校验和?
- r - R - 对于位置数据帧,从另一个位置数据帧中找到最近的成员
- python - 如何避免 SyntaxError:行继续字符后出现意外字符
- database - 数据库中的特征和术语?
- python - 从 TD 中提取 Class 值 -
- libgdx - 我在 LIBGDX 中找不到 SDK
- node.js - 如何使用 express-graphql 发送成功响应消息?
- javascript - 在Vue中启用下拉选择按钮?
- c# - 将 Bitmap 更改为 BitmapImage 时 WPF 应用程序停止
- powershell - PowerShell Get-Counter cmdlet 返回内部错误