[usocket-devel] Compile failure on CLISP 2.46

Leslie P. Polzer sky at viridian-project.de
Sat Sep 27 22:30:53 UTC 2008


> When compiling usocket 0.3.7 on CLISP 2.46, I get this error:
>
>   ;;  Loading file /Users/xach/src/zs3-test/source/usocket-0.3.7/backend/clisp.fas ...
>   ** - Continuable Error
>   FFI::FIND-FOREIGN-FUNCTION: foreign function "gethostname" does not
>   exist
>
> Any ideas?

Does it work if you put this:

  (ffi:default-foreign-language :stdc)
  (ffi:default-foreign-library "libc.so.6") ;; or whatever your libc is

into your ~/.clisprc ?

  Leslie

-- 
LinkedIn Profile: http://www.linkedin.com/in/polzer
Xing Profile: https://www.xing.com/profile/LeslieP_Polzer
Blog: http://blog.viridian-project.de/




More information about the usocket-devel mailing list