微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

错误:找不到外部函数:X86-DARWIN64::|gethostname|

如何解决错误:找不到外部函数: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 举报,一经查实,本站将立刻删除。