[Openmcl-devel] Error: Foreign function not found: X86-DARWIN64::|gethostname|

Mark Klein m_klein at mit.edu
Fri Jun 25 20:46:19 PDT 2021


I am trying to load the hunchentoot web server into CCL 1.12 running on a Mac Powerbook OS 11.4.

When, as part of that, I try to quickload usocket, I got an error which I narrowed down to this bit of code:

> Clozure Common Lisp Version 1.12 (v1.12) 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.
> ? (ccl::%stack-block ((resultbuf 256))
>     (when (zerop (#_gethostname resultbuf 256))
>       (ccl::%get-cstring resultbuf)))
> ; Warning: Interface file #P"/Applications/darwin-x86-headers64/cocoa/functions.cdb" does not exist, and the containing directory does not exist.
> ;          This may mean that that the "ccl:" logical-pathname host has not been properly initialized. 
> ; While executing: CCL::CDB-OPEN, in process Listener(6).
> ; Warning: Interface file #P"/Applications/darwin-x86-headers64/libc/functions.cdb" does not exist, and the containing directory does not exist.
> ;          This may mean that that the "ccl:" logical-pathname host has not been properly initialized. 
> ; While executing: CCL::CDB-OPEN, in process Listener(6).
> > Error: Foreign function not found: X86-DARWIN64::|gethostname|
> > While executing: CCL::LOAD-EXTERNAL-FUNCTION, in process Listener(6).
> > Type cmd-. to abort, cmd-\ for a list of available restarts.
> > Type :? for other options.
> 1 > 

Any ideas how I can fix this? How, for example, can I make sure that the  "ccl:" logical-pathname host has been properly initialized?

    Thanks!

	Mark Klein

----------------------
Mark Klein, PhD
Principal Research Scientist
Massachusetts Institute of Technology
http://cci.mit.edu/klein/






More information about the Openmcl-devel mailing list