错误:找不到外部函数: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:

解决此问题也可能会起作用。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)