From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.devel Subject: guile compile error Date: Thu, 1 Jul 2010 13:43:47 +0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001636b14763450afa048a4cf4fc X-Trace: dough.gmane.org 1277963046 6428 80.91.229.12 (1 Jul 2010 05:44:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Jul 2010 05:44:06 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Jul 01 07:44:03 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OUCZ9-0004i0-2X for guile-devel@m.gmane.org; Thu, 01 Jul 2010 07:44:03 +0200 Original-Received: from localhost ([127.0.0.1]:52007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUCZ8-0000tv-KI for guile-devel@m.gmane.org; Thu, 01 Jul 2010 01:44:02 -0400 Original-Received: from [140.186.70.92] (port=56103 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUCYw-0000qz-HM for guile-devel@gnu.org; Thu, 01 Jul 2010 01:43:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OUCYv-0002V6-5D for guile-devel@gnu.org; Thu, 01 Jul 2010 01:43:50 -0400 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:58269) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUCYv-0002Uz-0w for guile-devel@gnu.org; Thu, 01 Jul 2010 01:43:49 -0400 Original-Received: by vws1 with SMTP id 1so2165146vws.0 for ; Wed, 30 Jun 2010 22:43:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=JfDw+jNQs0VlVUOzkbhj4i9PjBEkyDNcZeAMeCU8KJc=; b=umJT3FFYRMXCAQukuuR6o7qtS0CgjqIJeR3id7qIC7YPF5OKV1tbk9DKnttQloesR9 gwMzip4FBVNNdi9I7PEx8fMU9smsErPiU1Kd/H8twAPkjqDjDqpgTIIUZOLCMTqxDCSO vTsiPWQxKuTKgsKDXFwCKPJcHcvwaoVrAjYiM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=h3mOHAw4xox4l4FYWnpE8/xTygkG8M1eE2jsmvJernYAHbmHftp8Za2Q4qRWOkit8I xG0hGzs450+bt40LM/XyG1DpSL1KXghwYivIup40zx6x4HtUy0fluzq1mV7OfybLYIGU 13Ipg9W0Qxp5jhSo3f2RTCMdO3/jkhdELt1t4= Original-Received: by 10.220.121.140 with SMTP id h12mr5370627vcr.170.1277963027155; Wed, 30 Jun 2010 22:43:47 -0700 (PDT) Original-Received: by 10.220.168.204 with HTTP; Wed, 30 Jun 2010 22:43:47 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10592 Archived-At: --001636b14763450afa048a4cf4fc Content-Type: text/plain; charset=UTF-8 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. --001636b14763450afa048a4cf4fc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable hi, I updated the newest guile-src from git://git.sv.gnu.org/guile, but while I compile it=C2=A0 , it show= ed error msg below:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
In file included from ../libg= uile/_scm.h:78,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 from alist.c:25:
../libguile/numbers.h:394:2: erro= r: #error sizeof(char) is not 1.
../libguile/numbers.h:415:2: error: #er= ror 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/nalagin= rut/project/guile/libguile'
make[1]: *** [all-recursive] Error 1
= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D

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 "co= nfig.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.


--001636b14763450afa048a4cf4fc--