GNU bug report logs - #18507
Incomplete type pollfd

Previous Next

Package: guile;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Fri, 19 Sep 2014 10:31:02 UTC

Severity: normal

Merged with 18508

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Andy Wingo <wingo <at> pobox.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#18508: closed (Incomplete type pollfd)
Date: Tue, 21 Jun 2016 16:09:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 21 Jun 2016 18:08:42 +0200
with message-id <87fus6wmlx.fsf <at> pobox.com>
and subject line Re: bug#18507: Incomplete type pollfd
has caused the debbugs.gnu.org bug report #18507,
regarding Incomplete type pollfd
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
18507: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18507
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andreas Enge <andreas <at> enge.fr>
To: bug-guile <at> gnu.org
Subject: Incomplete type pollfd
Date: Fri, 19 Sep 2014 12:16:15 +0200
[Message part 3 (text/plain, inline)]
Hello,

guile-2.0.11 fails to build on Redhat 6.5 with the following error message:

  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
libffi 3.0.5
libunistring 0.9.3
libgc 7.1
ltdl 2.2.6
gmp 4.3.1
pkg-config 0.23

I am attaching the config.log.

Andreas

[config.log.xz (application/octet-stream, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Andy Wingo <wingo <at> pobox.com>
To: Andreas Enge <andreas <at> enge.fr>
Cc: 18507-done <at> debbugs.gnu.org
Subject: Re: bug#18507: Incomplete type pollfd
Date: Tue, 21 Jun 2016 18:08:42 +0200
On Fri 19 Sep 2014 12:28, Andreas Enge <andreas <at> enge.fr> writes:

> On Fri, Sep 19, 2014 at 12:16:15PM +0200, Andreas Enge wrote:
>> gcc 4.4.7
>
> It seems to be a problem with the gcc version; with gcc-4.8.3, I get past
> this point. So maybe this bug report can be safely ignored.

I guess given the lack of followup that there is nothing to do here.  I
wish I understood the problem though!

Andy


This bug report was last modified 8 years and 342 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.