unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* guile compile error
@ 2010-07-01  5:43 Nala Ginrut
  2010-07-01 10:43 ` Andy Wingo
  2010-07-04 20:38 ` Neil Jerram
  0 siblings, 2 replies; 4+ messages in thread
From: Nala Ginrut @ 2010-07-01  5:43 UTC (permalink / raw)
  To: guile-devel

[-- Attachment #1: Type: text/plain, Size: 1257 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 1424 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-07-05  1:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-01  5:43 guile compile error Nala Ginrut
2010-07-01 10:43 ` Andy Wingo
2010-07-04 20:38 ` Neil Jerram
2010-07-05  1:53   ` Nala Ginrut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).