From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: anirkko@insel.ch Newsgroups: gmane.lisp.guile.bugs Subject: guile-1.8.1 build fails at libguile/posix.c on Solaris2.6 Date: Thu, 10 May 2007 17:04:28 +0200 (MET DST) Message-ID: <200705101504.RAA25869@neuro.insel.ch> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1178901564 18109 80.91.229.12 (11 May 2007 16:39:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 May 2007 16:39:24 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri May 11 18:39:23 2007 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HmY9H-0005Xm-9G for guile-bugs@m.gmane.org; Fri, 11 May 2007 18:39:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HmYGi-0003li-1t for guile-bugs@m.gmane.org; Fri, 11 May 2007 12:47:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HmAI0-00010c-RL for bug-guile@gnu.org; Thu, 10 May 2007 11:10:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HmAI0-00010F-2V for bug-guile@gnu.org; Thu, 10 May 2007 11:10:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HmAHz-00010A-TA for bug-guile@gnu.org; Thu, 10 May 2007 11:10:43 -0400 Original-Received: from inetgw.insel.ch ([161.62.252.11] helo=iux25.insel.ch) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HmAAf-0005hz-FQ for bug-guile@gnu.org; Thu, 10 May 2007 11:03:09 -0400 Original-Received: from iux25.insel.ch (localhost [127.0.0.1]) by localhost.insel.ch (Postfix) with ESMTP id BAAABA81E for ; Thu, 10 May 2007 17:03:08 +0200 (MEST) Original-Received: from neuro.insel.ch (neuro.insel.ch [161.62.168.22]) by iux25.insel.ch (Postfix) with ESMTP id A59EAA7A2 for ; Thu, 10 May 2007 17:03:08 +0200 (MEST) Original-Received: (from arto@localhost) by neuro.insel.ch (8.8.8+Sun/8.8.8) id RAA25869 for bug-guile@gnu.org; Thu, 10 May 2007 17:04:28 +0200 (MET DST) X-Sun-Charset: US-ASCII X-detected-kernel: Solaris 9 X-Mailman-Approved-At: Fri, 11 May 2007 12:46:51 -0400 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:3512 Archived-At: Hi The guile-1.8.1 build also fails at libguile/stime.c on Solaris2.6 (see output below; configured with --without-threads which was necessary because the default --with-threads also didn't work, see previous reports). Reason: variable len is not declared, because the declaration is in a "#ifdef __MINGW32__" and the condition that determines whether the variable is used or not is a "#ifdef HAVE_UNSETENV" / "#else" Thus, if both Macros are undefined, the error results. Workaround: replace the #else with #endif #ifdef __MINGW32__ Then it builds, but maybe it should be checked if it does what it should...? Arto output of 'gmake': --------------------------------------------------------------- ... gcc -DHAVE_CONFIG_H -I. -I/_mnt/hd32/package/build/guile-1.8.1/libguile -I.. -I.. -I/_mnt/hd32/package/build/guile-1.8.1 -O2 -funswitch-loops -fgcse-after-reload -mcpu=supersparc -mno-app-regs -Wall -Wmissing-prototypes -Werror -MT posix.lo -MD -MP -MF .deps/posix.Tpo -c /_mnt/hd32/package/build/guile-1.8.1/libguile/posix.c -o posix.o /_mnt/hd32/package/build/guile-1.8.1/libguile/posix.c: In function 'scm_putenv': /_mnt/hd32/package/build/guile-1.8.1/libguile/posix.c:1332: error: 'len' undeclared (first use in this function) /_mnt/hd32/package/build/guile-1.8.1/libguile/posix.c:1332: error: (Each undeclared identifier is reported only once /_mnt/hd32/package/build/guile-1.8.1/libguile/posix.c:1332: error: for each function it appears in.) gmake[3]: *** [posix.lo] Error 1 gmake[3]: Leaving directory ... ... _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile