GNU bug report logs - #13903
Compile error

Previous Next

Package: guile;

Reported by: wang <wangwangwar <at> gmail.com>

Date: Fri, 8 Mar 2013 08:23:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13903 in the body.
You can then email your comments to 13903 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#13903; Package guile. (Fri, 08 Mar 2013 08:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to wang <wangwangwar <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Fri, 08 Mar 2013 08:23:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: wang <wangwangwar <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: Compile error
Date: Fri, 08 Mar 2013 16:14:16 +0800
When compile guile 2.0.7, I got such error:
make[3]: Entering directory `/home/wangwangwar/desktop/guile-2.0.7/libguile'
  CC       libguile_2.0_la-fports.lo

fports.c: In function 'fport_input_waiting':
fports.c:613:10: error: variable 'pollfd' has initializer but incomplete 
type
fports.c:613:10: warning: excess elements in struct initializer [enabled 
by default]
fports.c:613:10: warning: (near initialization for 'pollfd') [enabled by 
default]
fports.c:613:34: error: 'POLLIN' undeclared (first use in this function)
fports.c:613:34: note: each undeclared identifier is reported only once 
for each function it appears in
fports.c:613:10: warning: excess elements in struct initializer [enabled 
by default]
fports.c:613:10: warning: (near initialization for 'pollfd') [enabled by 
default]
fports.c:613:10: warning: excess elements in struct initializer [enabled 
by default]
fports.c:613:10: warning: (near initialization for 'pollfd') [enabled by 
default]
fports.c:613:17: error: storage size of 'pollfd' isn't known
fports.c:615:3: warning: implicit declaration of function 'poll' 
[-Wimplicit-function-declaration]
fports.c:613:17: warning: unused variable 'pollfd' [-Wunused-variable]
fports.c:654:1: warning: control reaches end of non-void function 
[-Wreturn-type]
make[3]: *** [libguile_2.0_la-fports.lo] Error 1

I search the web but can't get any helpful information.
My OS is 3.5.0-21-generic #32-Ubuntu.




Reply sent to Andy Wingo <wingo <at> pobox.com>:
You have taken responsibility. (Sat, 09 Mar 2013 10:58:01 GMT) Full text and rfc822 format available.

Notification sent to wang <wangwangwar <at> gmail.com>:
bug acknowledged by developer. (Sat, 09 Mar 2013 10:58:02 GMT) Full text and rfc822 format available.

Message #10 received at 13903-done <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: wang <wangwangwar <at> gmail.com>
Cc: 13903-done <at> debbugs.gnu.org
Subject: Re: bug#13903: Compile error
Date: Sat, 09 Mar 2013 11:57:05 +0100
Hi,

Thanks for the report.

On Fri 08 Mar 2013 09:14, wang <wangwangwar <at> gmail.com> writes:

> When compile guile 2.0.7, I got such error:
> make[3]: Entering directory `/home/wangwangwar/desktop/guile-2.0.7/libguile'
>   CC       libguile_2.0_la-fports.lo
>
> fports.c: In function 'fport_input_waiting':
> fports.c:613:10: error: variable 'pollfd' has initializer but incomplete
> type
> fports.c:613:10: warning: excess elements in struct initializer [enabled
> by default]

Ah, it seems that configure detected the presence of poll but not
poll.h.  I fixed the check.  Are you missing some development packages,
perchance?

Andy
-- 
http://wingolog.org/




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 06 Apr 2013 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 136 days ago.

Previous Next


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