From: Brian M. <cha...@ac...> - 2003-08-08 13:17:19
|
You have the wrong dlcompat library installed and linked to. Unfortunately this is not an issue that we can really work around, as there are two different versions of dlcompat. One of these prepends an underscore on foreign symbols automatically, and the other does not. SBCL depends on the latter behavior. I'm currently working on replacing dlcompat with a small shim that replicates enough dl* functionality for SBCL and will allow us to get past this confusion. In the meantime I would suggest you reinstall dlcompat, passing it the --enable-fink option in ./configure. Hope that helps, Brian Mastenbrook cha...@ac... http://acm.roosevelt.edu/~chandler/ On Fri, 8 Aug 2003, Raffael Cavallaro wrote: > > On Friday, August 8, 2003, at 04:16 AM, Christophe Rhodes wrote: > > I'm shooting in the dark here, but what happens if you do > > cc -c test.c > > cc -bundle -o test.so test.o > > This works fine, so far as it goes... > > > and then, from the lisp prompt, > > (load-1-foreign "/path/to/test.so") > > * (load-1-foreign "/Users/raffaelc/Developer/test/test.so") > > ;; also no error with load-1-foreign > > ;; unfortunately, attempting to load the .fasl file results in an > ;; unknown foreign symbol error: > > * (load "/Users/raffaelc/Developer/test/test.fasl") > > debugger invoked on condition of type SIMPLE-ERROR: > unknown foreign symbol: "_c_function" > > Raf > > > Raffael Cavallaro, Ph.D. > raf...@ma... > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > |