> 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 ?
If this doesn't help, try adding
#+unix (:library "libc.so.6") ;; or darwin if you need it
in backend/clisp.lisp, right below:
(FFI:DEF-CALL-OUT get-host-name-internal
(:name "gethostname")
(:arguments (name (FFI:C-PTR (FFI:C-ARRAY-MAX ffi:character 256))
:OUT :ALLOCA)
(len ffi:int))
#+win32 (:library "WS2_32")
--
LinkedIn Profile: http://www.linkedin.com/in/polzer
Xing Profile: https://www.xing.com/profile/LeslieP_Polzer
Blog: http://blog.viridian-project.de/
_______________________________________________
usocket-devel mailing list
[email protected]
http://common-lisp.net/cgi-bin/mailman/listinfo/usocket-devel