From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs,gmane.lisp.guile.devel Subject: Re: Guile with win32 cross compiling Date: Fri, 20 May 2011 12:32:29 +0200 Message-ID: References: <20110326220651.GA8300@flap> <20110401185020.GC13643@flap> <20110423161003.GB20479@flap> <20110516230101.GB3311@flap> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1305888246 22984 80.91.229.12 (20 May 2011 10:44:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 May 2011 10:44:06 +0000 (UTC) Cc: bug-guile@gnu.org, guile-devel@gnu.org, Mike Gran To: Volker Grabsch Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri May 20 12:44:02 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QNNBa-0006Za-54 for guile-bugs@m.gmane.org; Fri, 20 May 2011 12:44:02 +0200 Original-Received: from localhost ([::1]:52489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNNBZ-0002lI-IN for guile-bugs@m.gmane.org; Fri, 20 May 2011 06:44:01 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNNBW-0002l2-U3 for bug-guile@gnu.org; Fri, 20 May 2011 06:43:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QNNBV-000339-Pf for bug-guile@gnu.org; Fri, 20 May 2011 06:43:58 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:46237 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNNBV-000335-JN; Fri, 20 May 2011 06:43:57 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id DD6CB472C; Fri, 20 May 2011 06:46:03 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=a5+wqT8ro3lSCFlY7Hx4/6QPWpw=; b=w4o0gp gopJKmQmGC+DGsosPh/muFPQ7GeXZsSCRN6zToyY1GAWFIH4Nsj+hBpljG7/5Qi9 C3RdBG79JOuZjfOgdOu6ichucsQhBiS+q0lX3qDE/mGLua7VxF39IOezlAOa1Y33 Ma9GWvazyVmzAlAbwyiYgyi8dJbG3e/y4/7dI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=sVC4yvEX9pLKAfO7y77FHj8s8MuRoPEp v6A97MKnjaSy96hiBRCOEFzXes/DLhg1I1NSKCEOQcuBCnKFO6SLynzX5kysCZme xRAQoXpfdJu9guzdVxuVTeko0fQWiYrHu9fbbjPrnI3JBnQLLpasQVRTxz4V6qot YQ/zo+xNDSk= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 9E9F0472B; Fri, 20 May 2011 06:46:00 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 5743F472A; Fri, 20 May 2011 06:45:56 -0400 (EDT) In-Reply-To: <20110516230101.GB3311@flap> (Volker Grabsch's message of "Tue, 17 May 2011 01:01:01 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 59F630E2-82CE-11E0-91A0-BBB7F5B2FB1A-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5582 gmane.lisp.guile.devel:12509 Archived-At: Hi Volker, Thanks for the report. On Tue 17 May 2011 01:01, Volker Grabsch writes: > "fix-include-error-in-gen-scmconfig.patch" > The patch re-introduces a change which I already proposed > in my last patch: You can't use $(AM_CPPFLAGS) for the native > build, because it adds "-I../lib" which means that > is taken from the local GNU-lib installation. The problem is > that the GNU-lib in "lib/" has been configured for MinGW, not > for the native system. So it performs some fixes which don't > work on non-MinGW systems, leading to strange, unhelpful error > messages. It took me quite some time to figure this out, mostly > because I thought that this should have already been fixed. Hmmmm! Yes, sorry for overlooking this part of your patch. After thinking for a while about it I agree with you. I modified your patch to add a comment. > "remove-mingw-ifsock.patch" > This patch fixes an issue that also appears on native MinGW > build, because _S_IFSOCK simply isn't defined there. Note that > this issue was already reported, but hasn't been fixed up to > now, at least not in the stable-2.0 branch: > http://lists.gnu.org/archive/html/guile-devel/2011-01/msg00183.html I'll look at this when I'm back on the internet. > CC net_db.lo > net_db.c:460:1: error: 'AI_ALL' undeclared here (not in a function) > net_db.c:460:1: error: expression in static assertion is not an integer > net_db.c:482:33: warning: 'struct addrinfo' declared inside parameter list [enabled by default] If your target does not have e.g. struct addrinfo, because it does not have IPv6, then you need to configure with ac_cv_type_struct_addrinfo=no. Check your config.log. Or should this be working somehow? There are other ac_cv_* for getaddrinfo and other routines. Happy hacking, Andy -- http://wingolog.org/