guile-devel
[Top][All Lists]
Advanced

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

guile compile error


From: Nala Ginrut
Subject: guile compile error
Date: Thu, 1 Jul 2010 13:43:47 +0800

hi, I updated the newest guile-src from git://git.sv.gnu.org/guile, but while I compile it  , it showed error msg below:
===============================
In file included from ../libguile/_scm.h:78,
                 from alist.c:25:
../libguile/numbers.h:394:2: error: #error sizeof(char) is not 1.
../libguile/numbers.h:415:2: error: #error sizeof(short) is not 1, 2, or 4.
../libguile/numbers.h:432:2: error: #error sizeof(int) is not 4 or 8.
../libguile/numbers.h:448:2: error: #error sizeof(long) is not 4 or 8.
../libguile/numbers.h:464:2: error: #error sizeof(scm_t_intmax) is not 4 or 8.
../libguile/numbers.h:492:2: error: #error sizeof(size_t) is not 4 or 8.
make[2]: *** [alist.x] Error 1
make[2]: Leaving directory `/home/nalaginrut/project/guile/libguile'
make[1]: *** [all-recursive] Error 1
===============================

What's wrong with it? BTW, I try to find the definition of SCM_SIZE_XXX , but there is no any definition about that.
And I think the configure must do this kind of check, so I checked "config.h" and find similar definition:
#define SIZEOF_UNSIGNED_CHAR 1
#define SIZEOF_UNSIGNED_INT 4
#define SIZEOF_UNSIGNED_LONG 4
......
Is there any typo? Or I should change my compiler version? I've tried gcc4.1~4.4, but no effect.



reply via email to

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