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

* Re: guile compile error
  2010-07-01  5:43 guile compile error Nala Ginrut
@ 2010-07-01 10:43 ` Andy Wingo
  2010-07-04 20:38 ` Neil Jerram
  1 sibling, 0 replies; 4+ messages in thread
From: Andy Wingo @ 2010-07-01 10:43 UTC (permalink / raw)
  To: Nala Ginrut; +Cc: guile-devel

On Thu 01 Jul 2010 06:43, Nala Ginrut <nalaginrut@gmail.com> writes:

> hi, I updated the newest guile-src from git://git.sv.gnu.org/guile,
> but while I compile it  , it showed error msg below:

Can you remove your checkout, and try again? Please note down the
commands you tried, and their output, so that we can help. Something
sounds very wrong in your setup.

Andy
-- 
http://wingolog.org/



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

* Re: guile compile error
  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
  1 sibling, 1 reply; 4+ messages in thread
From: Neil Jerram @ 2010-07-04 20:38 UTC (permalink / raw)
  To: Nala Ginrut; +Cc: guile-devel

Nala Ginrut <nalaginrut@gmail.com> writes:

> 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
> ===============================

I believe that's what happens when libltdl-dev isn't installed (or your
distribution's equivalent).  Please try installing that, and see if it
helps.

      Neil



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

* Re: guile compile error
  2010-07-04 20:38 ` Neil Jerram
@ 2010-07-05  1:53   ` Nala Ginrut
  0 siblings, 0 replies; 4+ messages in thread
From: Nala Ginrut @ 2010-07-05  1:53 UTC (permalink / raw)
  To: Neil Jerram; +Cc: guile-devel

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

2010/7/5 Neil Jerram <neil@ossau.uklinux.net>


> I believe that's what happens when libltdl-dev isn't installed (or your
> distribution's equivalent).  Please try installing that, and see if it
> helps.
>
>      Neil
>

Thank you very much!
But I did install libltdl-dev. And I can compile guile-src now after
re-clone src.
Anyway, I think that's all my problem, but thanks everyone who gave me a
hand.

[-- Attachment #2: Type: text/html, Size: 778 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).