From: Nala Ginrut <nalaginrut@gmail.com>
To: guile-devel@gnu.org
Subject: guile compile error
Date: Thu, 1 Jul 2010 13:43:47 +0800 [thread overview]
Message-ID: <AANLkTikvbyFnQCtSxzI20TrE57jzkuvWsZXdo3LkrI0D@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2010-07-01 5:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-01 5:43 Nala Ginrut [this message]
2010-07-01 10:43 ` guile compile error Andy Wingo
2010-07-04 20:38 ` Neil Jerram
2010-07-05 1:53 ` Nala Ginrut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTikvbyFnQCtSxzI20TrE57jzkuvWsZXdo3LkrI0D@mail.gmail.com \
--to=nalaginrut@gmail.com \
--cc=guile-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).