* bug#13903: Compile error
@ 2013-03-08 8:14 wang
2013-03-09 10:57 ` Andy Wingo
0 siblings, 1 reply; 2+ messages in thread
From: wang @ 2013-03-08 8:14 UTC (permalink / raw)
To: 13903
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#13903: Compile error
2013-03-08 8:14 bug#13903: Compile error wang
@ 2013-03-09 10:57 ` Andy Wingo
0 siblings, 0 replies; 2+ messages in thread
From: Andy Wingo @ 2013-03-09 10:57 UTC (permalink / raw)
To: wang; +Cc: 13903-done
Hi,
Thanks for the report.
On Fri 08 Mar 2013 09:14, wang <wangwangwar@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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-09 10:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-08 8:14 bug#13903: Compile error wang
2013-03-09 10:57 ` Andy Wingo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).