18:44:25 ccl-logbot [~ccl-logbo@setf.clozure.com] has joined #sbcl 18:44:25 18:44:25 -!- names: ccl-logbot stassats zilitor oleo yacks drmeister christoph_debian jsnell echo-are` jaimef_ teggi ubii angavrilov Bike heddwch danlentz milosn scymtym psilord kludge` Posterdati daimrod InvalidCo fe[nl]ix Blkt Munksgaard minion antoszka xymox @Krystof ivan`` fikusz reb joshe pkhuong asedeno brucem gko |3b| foom zmyrgel bege redline6561 Subfusc specbot nicdev hzp pegu Tribal ams luis- pchrist flip511 18:46:47 -!- teggi [~teggi@123.21.195.60] has quit [Quit: Leaving...] 18:49:48 -!- oleo [~oleo@xdsl-78-35-166-207.netcologne.de] has quit [Quit: Leaving] 19:12:15 cneira [~cneira@pc-33-7-104-200.cm.vtr.net] has joined #sbcl 19:14:37 oleo [~oleo@xdsl-78-35-166-207.netcologne.de] has joined #sbcl 19:16:59 Vivitron [~Vivitron@ip68-106-18-79.ph.ph.cox.net] has joined #sbcl 19:33:04 -!- Vivitron [~Vivitron@ip68-106-18-79.ph.ph.cox.net] has quit [Ping timeout: 240 seconds] 19:35:40 I'm trying to use cffi but I always get the same result undefined-alien-function-error 19:52:55 have you actually loaded the shared library you're trying to call? 20:06:59 how do I check that it really loaded, using slime and evaluate 20:12:19 I don't see any error doing 20:12:20 (define-foreign-library libsound_detect 20:12:20 (:unix (:or "libsys.so" "libsys.so" )) 20:12:20 (t (:default "libsys "))) 20:14:03 -!- angavrilov [~angavrilo@217.71.227.190] has quit [Remote host closed the connection] 20:28:33 how can I check that the shared lib is really being loaded, because it never finds the function that I try to call 20:31:54 cneira: cffi:load-foreign-library 20:43:49 -!- cneira [~cneira@pc-33-7-104-200.cm.vtr.net] has quit [Ping timeout: 272 seconds] 21:45:50 -!- Bike [~Glossina@67-5-255-140.ptld.qwest.net] has quit [Ping timeout: 264 seconds] 21:47:08 Bike [~Glossina@174-25-38-88.ptld.qwest.net] has joined #sbcl 21:47:11 -!- drmeister [~drmeister@pool-71-175-2-214.phlapa.fios.verizon.net] has quit [Remote host closed the connection] 22:34:54 cneira [~cneira@pc-33-7-104-200.cm.vtr.net] has joined #sbcl 22:36:06 # 22:37:08 that means this shared library is loaded? but when I try lo call a function on this shared lib I get the undefined alien error 22:41:34 this is what I have 22:41:55 (load-foreign-library "./libsys.so") 22:41:55 (defcfun function1 :pointer) 22:41:56 (function1) 22:56:16 fe[nl]ix this is all the code I have and still get the undefined function error 23:05:41 -!- zilitor [~nick@cpe-70-112-15-188.austin.res.rr.com] has quit [Ping timeout: 272 seconds] 23:35:53 drmeister [~drmeister@pool-71-175-2-214.phlapa.fios.verizon.net] has joined #sbcl 23:40:47 -!- drmeister [~drmeister@pool-71-175-2-214.phlapa.fios.verizon.net] has quit [Ping timeout: 272 seconds]