Re: Failed to run hello-world.lisp

Espen S Johnsen <[email protected]> 23 Feb 2007 14:00:41 +0100
Newsgroups gmane.lisp.clg.devel
Message-ID <[email protected]>
Max Vasin <[email protected]> writes:

> I've just tried it. The error still appears. I'm using SBCL 1.0 running
> on PowerPC processor. SBCL/ppc as of version 1.0 has alien callback
> support, but *FEATURES* doesn't contain :alien-callback, while function
> sb-alien::defile-alien-callback is present. I'll also try to upgrade to 
> 1.0.2
> when it will be in Debian (although it seems to have bugfixes related to FFI
> only in Windows port).

I have been looking more thoroughly at the stack trace now, and I think
the problem is related to incorrect type sizes and alignment. More
precisely, the size of the type TYPE-NUMBER and the alignment of the
value field in GValue structures. I've checked in some code that should
fix this, but there could also be other problems.

BTW, is your CPU 32 or 64 bit?

-- 
Espen

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV