00:01:37 rme_ [~rme@50.43.149.226] has joined #ccl 00:03:33 -!- rme [~rme@50.43.156.243] has quit [Ping timeout: 276 seconds] 00:05:49 -!- rme_ [~rme@50.43.149.226] has quit [Ping timeout: 246 seconds] 00:40:58 ddp [~ddp@71.92.93.45] has joined #ccl 01:26:18 -!- ddp [~ddp@71.92.93.45] has quit [Quit: ddp] 01:29:01 rme_ [~rme@50.43.137.93] has joined #ccl 01:39:50 -!- rme_ [rme@EF59A996.47C9A248.699BA7A6.IP] has quit [Ping timeout] 01:41:01 -!- rme_ [~rme@50.43.137.93] has quit [Ping timeout: 246 seconds] 03:14:24 -!- ^ivan`` is now known as ivan`` 03:19:12 -!- sellout42 [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has quit [Quit: Leaving.] 03:21:11 rme [~rme@50.43.169.96] has joined #ccl 03:25:06 sellout42 [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has joined #ccl 03:47:28 bfulgham_ [~brent@cpe-76-173-170-144.socal.res.rr.com] has joined #ccl 03:48:32 -!- bfulgham_ [~brent@cpe-76-173-170-144.socal.res.rr.com] has quit [Client Quit] 04:23:31 -!- rme [~rme@50.43.169.96] has quit [Quit: rme] 04:54:17 -!- Vivitron [~Vivitron@pool-98-110-213-33.bstnma.fios.verizon.net] has quit [Quit: trivial-irc-0.0.3] 07:12:38 Vivitron [~Vivitron@pool-98-110-213-33.bstnma.fios.verizon.net] has joined #ccl 08:14:57 H4ns [hans@netzhansa.com] has joined #ccl 08:58:19 DataLinkD2 [~DataLinkD@101.161.249.159] has joined #ccl 09:00:07 -!- DataLinkDroid [~DataLinkD@101.168.63.187] has quit [Ping timeout: 260 seconds] 09:31:34 -!- pirateking-_- [~piratekin@c-67-169-182-169.hsd1.ca.comcast.net] has quit [Quit: pirateking-_-] 09:34:11 -!- DataLinkD2 [~DataLinkD@101.161.249.159] has quit [Ping timeout: 260 seconds] 09:35:36 a ccl ffi question: in order to make a c structure available to rlet, i need to run ffigen on the header files i'm interested in, right? 09:38:40 H4ns: use cffi. 09:38:55 and swig -cffi. 09:39:02 pjb: did you understand my question? 09:39:20 or else, read the ccl manual. 09:40:29 pjb: i did, and i'm looking for clarification. 09:45:28 Yes, ffigen is the equivalent of swig. 09:46:20 pjb: but you don't have actual experience using it, or do you? 09:46:37 No, so far I only used cffi and swig. 09:51:23 You could also use ccl::def-foreign-type if you know the structure. 09:51:51 pjb: i would like to a person with actual experience with the ccl ffi 09:51:58 talk to a person 09:52:29 but thank you very much for trying. 09:53:21 It's the night in the USA now. Everybody's sleeping. 09:53:49 Why do you want to use ccl specific ffi? cffi works well. 09:57:42 i like ccl and would like to learn how to use its ffi. i maybe want to write something mac specific in the future. 09:58:18 Yes, but mac specific doesn't mean ccl specific: sbcl, ecl, clisp, etc all run on MacOSX. 09:58:21 maybe you want to go to #lisp and discuss non-ccl specific things there. thank you. 09:59:15 And even, when you say mac specific, it's 95% OpenStep, which can run on linux and MS-Windows with gnustep and cocotron. 09:59:39 are you done? 10:00:12 I could add more about the personal pain I suffer from implementation specific code, such as the ccl objective-c bridge. 10:00:45 But I'm going to bed, so done for now. 10:03:41 -!- ipmonger [~ipmonger@c-68-81-244-69.hsd1.pa.comcast.net] has quit [Quit: ipmonger] 10:34:20 -!- Vivitron [~Vivitron@pool-98-110-213-33.bstnma.fios.verizon.net] has quit [Read error: Connection reset by peer] 10:59:59 Vivitron [~Vivitron@pool-98-110-213-33.bstnma.fios.verizon.net] has joined #ccl 11:08:32 milanj [~milanj_@79-101-197-111.dynamic.isp.telekom.rs] has joined #ccl 11:29:27 so, compiling ffigen fails for me on the raspberry pi because seemingly the build directories are created with the wrong name ("build" instead of "build-PLATFORM"). I'm trying with some symlinks here and there, but maybe someone can help me out with a tar file instead? 11:56:09 Staremastershy [~Staremast@p4ff3c01c.dip0.t-ipconnect.de] has joined #ccl 12:11:06 ipmonger [~ipmonger@c-76-26-112-202.hsd1.pa.comcast.net] has joined #ccl 12:12:26 Hi, I'm having a really strange problem with CCL. This program http://pastebin.com/H5RiRz3U is running fine with SBCL, but with CCL it just reports an error which I don't understand. This is the result of trying to hunt down the bug: http://pastebin.com/VEg4befe but the error makes absolutely no sense to me. 12:15:31 rme [~rme@50.43.169.96] has joined #ccl 12:16:22 -!- milanj [~milanj_@79-101-197-111.dynamic.isp.telekom.rs] has quit [Ping timeout: 252 seconds] 12:26:04 milanj [~milanj_@178-223-156-24.dynamic.isp.telekom.rs] has joined #ccl 12:28:24 is the error that you get from compiling the defun the same as the one you get from the repl? 12:31:14 yes, it is 12:36:28 H4ns: If you have only a small number of C structures, it's probably easier to define them ccl:def-foreign-type rather than trying to fiddle with ffigen. 12:37:38 e.g., (def-foreign-type :foo (:struct (:x :unsigned-int) (:y :double-float))) 12:37:38 rme: i would like to have all of the linux header files available, if at all possible 12:41:48 H4ns: Try grabbing the ffigen from http://svn.clozure.com/publicsvn/ffigen4/branches/ffigen-linuxarm/ 12:42:00 rme: ah, cool. thanks! 12:45:44 Staremastershy: i can't load lispbuild-sdl for some reason, so i can't help. 12:51:39 H4ns: strange, but thanks for trying 12:54:52 Staremastershy: does a backtrace show anything? (type ":b" at the break loop prompt) I also tried to quickload lispbuilder-sdl on OS X, but got an error message about being unable to load a foreign library named "cocoahelper". 12:55:02 same here 12:58:01 i could load the file on linux. it errors out because SDL needs to be initialized, though. how's that done? 13:04:13 rme: here is the backtrace: http://pastebin.com/hQEwHLH5 13:04:44 H4ns: sdl:with-init should do the initialization, how is that error? 13:05:31 Error: ERROR: The SDL library must be initialized prior to use. 13:06:22 Bacause of the backtrace: I renamed the funtion to opengl-example in the meantime, don't get confused by that. 13:08:59 it would be easier if you posted the code, the error and the backtrace all together 13:12:16 -!- ipmonger [~ipmonger@c-76-26-112-202.hsd1.pa.comcast.net] has quit [Ping timeout: 246 seconds] 13:14:22 H4ns: here you go: http://pastebin.com/6qhXSdYJ 13:14:27 -!- rme [rme@36F65F51.CB9B39BA.699BA7A6.IP] has quit [Ping timeout] 13:15:00 ipmonger [~ipmonger@c-76-26-112-202.hsd1.pa.comcast.net] has joined #ccl 13:15:19 Staremastershy: defparameter is used on the top level, not within a function 13:15:25 -!- rme [~rme@50.43.169.96] has quit [Ping timeout: 246 seconds] 13:15:33 Staremastershy: try moving it outside of the function definition 13:15:38 yes, I'll fix that 13:24:01 rme [~rme@50.43.182.87] has joined #ccl 13:24:53 -!- Vivitron [~Vivitron@pool-98-110-213-33.bstnma.fios.verizon.net] has quit [Ping timeout: 246 seconds] 13:49:49 harshrc [~harshrc@moat3.centtech.com] has joined #ccl 14:05:56 df_ [~df@aldur.bowerham.net] has joined #ccl 14:07:38 hi, I've upgraded my arm netbook to ubuntu precise, and I'm having trouble building ccl on it 14:08:03 I think the issue may be to do with ccl in svn being built for armel whereas this system now uses armhf 14:09:50 df_: edit ccl/lisp-kernel/linuxarm/float_abi.mk. 14:10:56 See also http://clozure.com/pipermail/openmcl-devel/2012-July/013677.html 14:13:04 I don't seem to have that file, do I need a more bleeding edge version? (have 1.8 checked out) 14:16:30 It's probably best for ARM users to run the trunk right now. 14:17:28 ok, I'll give it a try 14:32:13 bzzbzz [~franco@modemcable216.122-57-74.mc.videotron.ca] has joined #ccl 14:39:54 yakov [~yakov@spb.nexenta.com] has joined #ccl 14:40:03 gary's instructions worked for me in the morning. i rebuilt the lisp kernel, then all quicklisp loads went through just great 14:50:54 building trunk with FLOAT_ABI = hard worked great, thanks 14:51:40 incidentally, not sure if it's relevant or important, but I had to ln -s /lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3 to get the original binary to run at all 15:00:17 -!- yakov [~yakov@spb.nexenta.com] has quit [Quit: Leaving] 15:14:56 I substituted #'gl:vertex with #'%gl:vertex-3f and now it works, but I still don't understand why the other version isn't working with CCL :( 15:16:13 pirateking-_- [~piratekin@c-67-169-182-169.hsd1.ca.comcast.net] has joined #ccl 15:33:53 yakov [~yakov@spb.nexenta.com] has joined #ccl 15:44:31 df_: don't do things like that. 12.04 is designed to support both ABIs concurrently. Undo the "ln" and install ... some package whose name contains "multilib". 15:45:21 ah, thought there might be something like that 15:45:31 I've undone it anyway now, the new binary I've built doesn't need it 15:54:19 though I can't find the package in question - gcc-multilib looked possibly relevant but didn't help 16:00:27 -!- rme [rme@CEF71837.8245D83B.699BA7A6.IP] has quit [Ping timeout] 16:02:18 -!- rme [~rme@50.43.182.87] has quit [Ping timeout: 276 seconds] 16:05:49 Have I found a bug? http://pastebin.com/u9AMcn5H 16:09:21 pnpuff [~pnpuff@gateway/tor-sasl/pnpuff] has joined #ccl 16:32:33 Looks like a bug to me. 16:33:29 Ok, then I'm reporting that 16:35:41 Not sure how to rate this bug, I'm pretty new with lisp, but that looks like a major bug to me, or even more... 16:36:57 I think that the code in question has been there for 20+ years and this is the first time that I know of that it's been reported. 16:46:51 Well... then it's finally time to fix that bug after 20 years ;) 16:51:41 dented42 [~dented42@155-99-173-249.uconnect.utah.edu] has joined #ccl 16:57:51 Yep. Someone might do the same thing sometime in the next 20 years. 17:02:53 Actually, that example works on ARM and on 32-bit X86; it looks like an x8664 runtime bug, which means that it's no more than 6-7 years old ... 17:06:56 nice, should I add this to the bug report or will you do that? http://trac.clozure.com/ccl/ticket/1013 17:11:53 However, just added it to the bug report. 17:34:36 Wow, has this just been fixed? That was fast! ;) You rock! 17:47:39 -!- dented42 [~dented42@155-99-173-249.uconnect.utah.edu] has quit [Quit: Computer has gone to sleep.] 18:09:47 dented42 [~dented42@155.99.173.249] has joined #ccl 18:14:54 rme [~rme@50.43.161.98] has joined #ccl 18:21:45 -!- Staremastershy [~Staremast@p4ff3c01c.dip0.t-ipconnect.de] has quit [Ping timeout: 246 seconds] 18:21:56 Staremastershy [~Staremast@p4FF3C096.dip0.t-ipconnect.de] has joined #ccl 18:31:45 -!- yakov [~yakov@spb.nexenta.com] has quit [Ping timeout: 244 seconds] 18:35:40 -!- Staremastershy [~Staremast@p4FF3C096.dip0.t-ipconnect.de] has quit [Ping timeout: 246 seconds] 18:36:40 Staremastershy [~Staremast@p4FF3C096.dip0.t-ipconnect.de] has joined #ccl 18:57:34 -!- dented42 [~dented42@155.99.173.249] has quit [Quit: Computer has gone to sleep.] 19:16:37 -!- sellout42 [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has quit [Ping timeout: 246 seconds] 19:18:50 sellout42 [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has joined #ccl 19:27:49 -!- sellout42 [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has quit [Ping timeout: 246 seconds] 19:30:02 sellout42 [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has joined #ccl 19:39:55 -!- pnpuff [~pnpuff@gateway/tor-sasl/pnpuff] has quit [Quit: pnpuff] 19:55:39 -!- ipmonger [~ipmonger@c-76-26-112-202.hsd1.pa.comcast.net] has quit [Ping timeout: 276 seconds] 20:11:10 -!- Staremastershy [~Staremast@p4FF3C096.dip0.t-ipconnect.de] has quit [Quit: hush now quiet now!] 20:40:54 -!- milanj [~milanj_@178-223-156-24.dynamic.isp.telekom.rs] has quit [Quit: Leaving] 21:36:06 -!- rme [rme@6D31FCC9.2729170C.699BA7A6.IP] has quit [Quit: rme] 21:36:06 -!- rme [~rme@50.43.161.98] has quit [Quit: rme] 21:52:21 rme [~rme@50.43.161.98] has joined #ccl 23:16:58 Vivitron [~Vivitron@pool-98-110-213-33.bstnma.fios.verizon.net] has joined #ccl 23:53:06 -!- rme [rme@6D31FCC9.2729170C.699BA7A6.IP] has quit [Quit: rme] 23:53:06 -!- rme [~rme@50.43.161.98] has quit [Quit: rme]