From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#18508: Incomplete type pollfd Date: Mon, 22 Sep 2014 10:43:27 +0200 Message-ID: <878ulct58w.fsf@gnu.org> References: <20140919101615.GA25878@debian.surfnet.iacbox> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1411377077 32554 80.91.229.3 (22 Sep 2014 09:11:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Sep 2014 09:11:17 +0000 (UTC) Cc: 18508@debbugs.gnu.org To: Andreas Enge Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Sep 22 11:11:08 2014 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XVzeF-0003Y5-Ql for guile-bugs@m.gmane.org; Mon, 22 Sep 2014 11:11:07 +0200 Original-Received: from localhost ([::1]:43896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVzeF-0000Pp-AX for guile-bugs@m.gmane.org; Mon, 22 Sep 2014 05:11:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVze6-0000MW-PN for bug-guile@gnu.org; Mon, 22 Sep 2014 05:11:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVze0-00011U-Dp for bug-guile@gnu.org; Mon, 22 Sep 2014 05:10:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56425) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVze0-000100-At for bug-guile@gnu.org; Mon, 22 Sep 2014 05:10:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XVzE1-0004ob-J1 for bug-guile@gnu.org; Mon, 22 Sep 2014 04:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Mon, 22 Sep 2014 08:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18508 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 18508-submit@debbugs.gnu.org id=B18508.141137541118459 (code B ref 18508); Mon, 22 Sep 2014 08:44:01 +0000 Original-Received: (at 18508) by debbugs.gnu.org; 22 Sep 2014 08:43:31 +0000 Original-Received: from localhost ([127.0.0.1]:47964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVzDW-0004ne-UL for submit@debbugs.gnu.org; Mon, 22 Sep 2014 04:43:31 -0400 Original-Received: from hera.aquilenet.fr ([141.255.128.1]:55452) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVzDU-0004nV-7N for 18508@debbugs.gnu.org; Mon, 22 Sep 2014 04:43:28 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 8F10739D6; Mon, 22 Sep 2014 10:43:27 +0200 (CEST) Original-Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ayQOs5QxaQGl; Mon, 22 Sep 2014 10:43:27 +0200 (CEST) Original-Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 396A039CE; Mon, 22 Sep 2014 10:43:27 +0200 (CEST) In-Reply-To: <20140919101615.GA25878@debian.surfnet.iacbox> (Andreas Enge's message of "Fri, 19 Sep 2014 12:16:15 +0200") User-Agent: Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org 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:7565 Archived-At: Andreas Enge skribis: > guile-2.0.11 fails to build on Redhat 6.5 with the following error messag= e: > > CC libguile_2.0_la-fports.lo > fports.c: In function 'fport_input_waiting': > fports.c:612: error: variable 'pollfd' has initializer but incomplete type > fports.c:612: warning: excess elements in struct initializer > fports.c:612: warning: (near initialization for 'pollfd') > fports.c:612: error: 'POLLIN' undeclared (first use in this function) > fports.c:612: error: (Each undeclared identifier is reported only once > fports.c:612: error: for each function it appears in.) > fports.c:612: warning: excess elements in struct initializer > fports.c:612: warning: (near initialization for 'pollfd') > fports.c:612: warning: excess elements in struct initializer > fports.c:612: warning: (near initialization for 'pollfd') > fports.c:612: error: storage size of 'pollfd' isn't known > fports.c:614: warning: implicit declaration of function 'poll' > fports.c:612: warning: unused variable 'pollfd' > make[3]: *** [libguile_2.0_la-fports.lo] Error 1 > make[3]: Leaving directory `/home/enge/lib-intel/guile-2.0.11/libguile' > > Versions of software used: > gcc 4.4.7 What libc version is this? It would have been great, if this is still possible, to post lib/poll.h. Normally that file uses #include_next to get libc=E2=80=99s , but m= aybe that mechanism somehow fails with old GCC versions. Ludo=E2=80=99.