![](https://secure.gravatar.com/avatar/475d746a8cc0a2c1d6329a90e9ff0831.jpg?s=120&d=mm&r=g)
On Thu, 2008-09-25 at 09:07 -0700, elliott wrote:
Hi,
I posted about this on cffi-devel and was redirected here.
I'm running linux (kernel 2.6.26), glibc 2.8, sbcl 1.0.20.30, and iolib/cffi from their respective scm's. The asdf load-op fails when groveling the "grovel.c" file in net.sockets with the following error:
External process exited with code 1. Command was: "gcc" "-m32" "-fPIC" "-o" "/home/elliott/source/git/iolib/net.sockets/grovel" "/home/elliott/source/git/iolib/net.sockets/grovel.c" Output was: /home/elliott/source/git/iolib/net.sockets/grovel.c: In function 'main': /home/elliott/source/git/iolib/net.sockets/grovel.c:1705: error: invalid application of 'sizeof' to incomplete type 'struct ucred' /home/elliott/source/git/iolib/net.sockets/grovel.c:1711: error: dereferencing pointer to incomplete type
I've commented out the definition of ucred because it's not used at the moment. I plan to implement credential passing in the near future, though. It seems that glibc 2.8 will be adding tons of incompatibilities, so I'll need to test iolib with 2.8 too. -- Stelian Ionescu a.k.a. fe[nl]ix Quidquid latine dictum sit, altum videtur.