common-lisp - 错误:未找到外部函数:X86-DARWIN64::|gethostname|
问题描述
将 usocket 快速加载到 Clozure Common Lisp 时出现以下错误
Clozure Common Lisp Version 1.12.1 (v1.12.1) DarwinX8664
For more information about CCL, please see http://ccl.clozure.com.
CCL is free software. It is distributed under the terms of the Apache Licence, Version 2.0.
? (ql:quickload 'usocket)
To load "usocket":
Load 1 ASDF system:
usocket
; Loading "usocket"
Read error between positions 66 and 163 in /Users/markklein/quicklisp/dists/quicklisp/software/usocket-0.8.3/backend/openmcl.lisp.
Error: Foreign function not found: X86-DARWIN64::|gethostname|
While executing: CCL::LOAD-EXTERNAL-FUNCTION, in process Listener(4).
Type cmd-. to abort, cmd-\ for a list of available restarts.
Type :? for other options.
我正在使用带有 Mac OS 10.14.1 的 Macbook Pro,我今天从 CCL 1.12-dev 升级到 CCL 1.12.1,所以也许这就是导致问题的原因。
关于如何解决这个问题的任何建议?
我尝试下载 clozure CL 的 Mac App Store 版本,但崩溃了:
Unhandled exception 10 at 0x7fff67416a1d, context->regs at #x7ffeefbfdc00
Exception occurred while executing foreign code
at objc_msgSend + 29
received signal 10; faulting address: 0x7fff00000018
? for help
[1283] Clozure CL kernel debugger:
解决这个问题也可能完成这项工作。
解决方案
推荐阅读
- one-to-one - Proving a function isn't 1 to 1
- r - 在 R 中抓取标签链接
- javascript - Javascript:如何在不创建循环依赖项的情况下重用创建子实例的方法
- php - 无法将数据从用户表单发送到 PHP 中的数据库
- javascript - 如何构建我的网站,以便在输入新 URL 时通过 AJAX 加载新内容?
- ruby-on-rails - Rails 5:如何将现有模型的 ID 类型更改为 UUID?
- php - 导出mysql中的自动递增列描述
- css - 与块引用中的文本相关的不透明度
- c# - 从 React 将 Json 发布到 C# WebApi
- javascript - 当父部分在滚动时可见时为 div 设置动画