chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] error with srfi-19: /usr/lib/chicken/6/locale-posix.


From: Peter Bex
Subject: Re: [Chicken-users] error with srfi-19: /usr/lib/chicken/6/locale-posix.so: undefined symbol: C_fixnum_modulo
Date: Thu, 13 Dec 2012 20:20:33 +0100
User-agent: Mutt/1.4.2.3i

On Thu, Dec 13, 2012 at 08:10:19PM +0100, Felix wrote:
> From: Hugo Arregui <address@hidden>
> > [...]
> > csi: symbol lookup error: /usr/lib/chicken/6/locale-posix.so:
> > undefined symbol: C_fixnum_modulo
> > 
> > I tried reinstalling srfi-19 with chicken-install, but I get the same 
> > result.
> > 
> > Maybe I'm missing some upgrade procedure?
> 
> This is weird. Do you have old chicken libraries lying around somewhere?

The numbers egg also uses this in one of its rewrite rules, so the
problem could also be there.  However, this macro is supposed to be
present in chicken.h.

Perhaps you have new libraries but some older chicken.h is in the C
compiler's include path, preventing it from seeing C_fixnum_modulo
as a macro, therefore assuming it must be a C function?

If so, I'd expect to see C compiler warnings about assumptions of
the function's signature due to the missing prototype.  Did you get
those while installing numbers or srfi-19?

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth



reply via email to

[Prev in Thread] Current Thread [Next in Thread]