From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Bill Schottstaedt" Newsgroups: gmane.lisp.guile.devel Subject: Re: Guile 1.7.91 has been released. Date: Mon, 13 Feb 2006 04:49:25 -0800 Message-ID: <20060213124618.M39651@ccrma.Stanford.EDU> References: <87y80gyxrq.fsf@zagadka.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: sea.gmane.org 1139840795 30848 80.91.229.2 (13 Feb 2006 14:26:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Feb 2006 14:26:35 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Feb 13 15:26:34 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F8eem-0000Ih-N5 for guile-devel@m.gmane.org; Mon, 13 Feb 2006 15:26:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F8edE-0006ud-QY for guile-devel@m.gmane.org; Mon, 13 Feb 2006 09:24:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F8d9S-0004rx-0f for guile-devel@gnu.org; Mon, 13 Feb 2006 07:49:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F8d91-0004FA-HF for guile-devel@gnu.org; Mon, 13 Feb 2006 07:49:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F8d90-0004Dz-Mt for guile-devel@gnu.org; Mon, 13 Feb 2006 07:49:30 -0500 Original-Received: from [171.67.16.125] (helo=smtp2.Stanford.EDU) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F8dDS-0001Om-2c for guile-devel@gnu.org; Mon, 13 Feb 2006 07:54:06 -0500 Original-Received: from cm-mail.stanford.edu (cm-mail.Stanford.EDU [171.64.197.135]) by smtp2.Stanford.EDU (8.12.11/8.12.11) with ESMTP id k1DCnQ3T019963; Mon, 13 Feb 2006 04:49:27 -0800 Original-Received: from ccrma.stanford.edu (ccrma.stanford.edu [171.64.197.141]) by cm-mail.stanford.edu (8.11.6/8.11.6) with ESMTP id k1DCnQG11494; Mon, 13 Feb 2006 04:49:26 -0800 Original-Received: from ccrma.Stanford.EDU (localhost.localdomain [127.0.0.1]) by ccrma.stanford.edu (8.12.8/8.12.5) with ESMTP id k1DCnPre014080; Mon, 13 Feb 2006 04:49:25 -0800 Original-To: Marius Vollmer , guile-devel@gnu.org In-Reply-To: <87y80gyxrq.fsf@zagadka.de> X-Mailer: Open WebMail 2.41 20040926 X-OriginatingIP: 24.23.251.119 (bil) 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:5687 Archived-At: In solaris 10, I think the readdir_r usage is incorrect. gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -g -O2 -Wall -Wmissing-prototypes -MT filesys.lo -MD - MP -MF .deps/filesy s.Tpo -c filesys.c -fPIC -DPIC -o .libs/filesys.o filesys.c: In function `scm_readdir': filesys.c:860: error: `NAME_MAX' undeclared (first use in this function) filesys.c:860: error: (Each undeclared identifier is reported only once filesys.c:860: error: for each function it appears in.) filesys.c:863: error: too many arguments to function `readdir_r' readdir_r is now: struct dirent *readdir_r(DIR *dirp, struct dirent *entry); I changed filesys.c line 860 (or thereabouts) from: union { struct dirent ent; char pad1 [sizeof(struct dirent) + NAME_MAX]; char pad2 [offsetof (struct dirent, d_name) + NAME_MAX + 1]; } u; SCM_SYSCALL (readdir_r ((DIR *) SCM_CELL_WORD_1 (port), &u.ent, &rdent)); to: struct dirent ent; SCM_SYSCALL (readdir_r ((DIR *) SCM_CELL_WORD_1 (port), &ent)); and the rest went smoothly, although I had to remove -Werror from libguile/Makefile because: In file included from eval.c:5969: eval.c: In function `deval': eval.c:3248: warning: implicit declaration of function `alloca' make[2]: *** [libguile_la-eval.lo] Error 1 make[2]: Leaving directory `/home/bil/test/guile-1.7.91/libguile' make[1]: *** [all-recursive] Error 1 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel