X-Loop: help-debbugs@HIDDEN Subject: bug#26563: Build Configuration Error for poll.h Resent-From: bvraghav@HIDDEN (B.V. Raghav) Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Wed, 19 Apr 2017 14:47:01 +0000 Resent-Message-ID: <handler.26563.B.14926131738039 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 26563 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 26563 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guile@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.14926131738039 (code B ref -1); Wed, 19 Apr 2017 14:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Apr 2017 14:46:13 +0000 Received: from localhost ([127.0.0.1]:57024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1d0qs1-00025Z-Bw for submit <at> debbugs.gnu.org; Wed, 19 Apr 2017 10:46:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44619) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bvraghav@HIDDEN>) id 1d0qrz-00025L-4T for submit <at> debbugs.gnu.org; Wed, 19 Apr 2017 10:46:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <bvraghav@HIDDEN>) id 1d0qrs-0002ml-WA for submit <at> debbugs.gnu.org; Wed, 19 Apr 2017 10:46:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35201) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <bvraghav@HIDDEN>) id 1d0qrs-0002mh-T5 for submit <at> debbugs.gnu.org; Wed, 19 Apr 2017 10:46:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <bvraghav@HIDDEN>) id 1d0qrr-0007bp-DB for bug-guile@HIDDEN; Wed, 19 Apr 2017 10:46:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <bvraghav@HIDDEN>) id 1d0qrn-0002kw-G6 for bug-guile@HIDDEN; Wed, 19 Apr 2017 10:46:03 -0400 Received: from mail2.iitk.ac.in ([202.3.77.186]:60045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <bvraghav@HIDDEN>) id 1d0qrm-0002in-Pp for bug-guile@HIDDEN; Wed, 19 Apr 2017 10:45:59 -0400 Received: from smtp.cc.iitk.ac.in (smtp.cc.iitk.ac.in [172.31.1.22]) by mail2.iitk.ac.in (Postfix) with ESMTP id 2422F1000137 for <bug-guile@HIDDEN>; Wed, 19 Apr 2017 20:15:50 +0530 (IST) Received: from bvr.drishti.iitk.ac.in (unknown [172.28.46.219]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bvraghav) by smtp.cc.iitk.ac.in (Postfix) with ESMTPSA id 82EA942 for <bug-guile@HIDDEN>; Wed, 19 Apr 2017 20:15:50 +0530 (IST) From: bvraghav@HIDDEN (B.V. Raghav) Organization: Indian Institute of Technology, Kanpur Date: Wed, 19 Apr 2017 20:12:36 +0530 Message-ID: <87a87cv4pv.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) This is an excerpt from the build error for guile, at the step `make -j12' --- START ------------------ make all-am make[3]: Entering directory `/data/gpu/raghav/src/guile-2.0.14/libguile' CC libguile_2.0_la-alist.lo CC libguile_2.0_la-arbiters.lo CC libguile_2.0_la-array-handle.lo CC libguile_2.0_la-array-map.lo CC libguile_2.0_la-arrays.lo CC libguile_2.0_la-async.lo CC libguile_2.0_la-boolean.lo CC libguile_2.0_la-backtrace.lo CC libguile_2.0_la-bitvectors.lo CC libguile_2.0_la-bytevectors.lo CC libguile_2.0_la-chars.lo CC libguile_2.0_la-control.lo CC libguile_2.0_la-debug.lo CC libguile_2.0_la-deprecated.lo CC libguile_2.0_la-continuations.lo CC libguile_2.0_la-deprecation.lo CC libguile_2.0_la-dynwind.lo CC libguile_2.0_la-eq.lo CC libguile_2.0_la-eval.lo CC libguile_2.0_la-error.lo CC libguile_2.0_la-evalext.lo CC libguile_2.0_la-extensions.lo CC libguile_2.0_la-expand.lo CC libguile_2.0_la-feature.lo CC libguile_2.0_la-filesys.lo CC libguile_2.0_la-finalizers.lo CC libguile_2.0_la-fluids.lo CC libguile_2.0_la-foreign.lo CC libguile_2.0_la-fports.lo CC libguile_2.0_la-frames.lo CC libguile_2.0_la-gc-malloc.lo CC libguile_2.0_la-gc.lo CC libguile_2.0_la-gdbint.lo fports.c: In function 'fport_input_waiting': fports.c:626:10: error: variable 'pollfd' has initializer but incomplete type struct pollfd pollfd = { fdes, POLLIN, 0 }; ^ fports.c:626:10: warning: excess elements in struct initializer [enabled by default] fports.c:626:10: warning: (near initialization for 'pollfd') [enabled by default] fports.c:626:34: error: 'POLLIN' undeclared (first use in this function) struct pollfd pollfd = { fdes, POLLIN, 0 }; ^ fports.c:626:34: note: each undeclared identifier is reported only once for each function it appears in fports.c:626:10: warning: excess elements in struct initializer [enabled by default] struct pollfd pollfd = { fdes, POLLIN, 0 }; ^ fports.c:626:10: warning: (near initialization for 'pollfd') [enabled by default] fports.c:626:10: warning: excess elements in struct initializer [enabled by default] fports.c:626:10: warning: (near initialization for 'pollfd') [enabled by default] fports.c:626:17: error: storage size of 'pollfd' isn't known struct pollfd pollfd = { fdes, POLLIN, 0 }; ^ fports.c:628:3: warning: implicit declaration of function 'poll' [-Wimplicit-function-declaration] if (poll (&pollfd, 1, 0) < 0) ^ fports.c:626:17: warning: unused variable 'pollfd' [-Wunused-variable] struct pollfd pollfd = { fdes, POLLIN, 0 }; ^ CC libguile_2.0_la-gettext.lo fports.c:632:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[3]: *** [libguile_2.0_la-fports.lo] Error 1 --- END -------------------- Looking a little deep, I see that the required file "poll.h" seems to be defined in "lib/poll.h" But I also have a "poll.h" in the "/usr/include/poll.h" which redirects to "/usr/include/x86_64-linux-gnu/sys/poll.h" There is also "libguile/poll.h" which redirects to "libguile/__scm.h" And here is "__scm.h" there is no definition of "struct pollfd" There seems to be something wrong while configuring the package. I am using linux Ubuntu server. And the sysadmin route may take a little more than usual. So I prefer building and installing a local package. I am trying to compile with gcc-4.8. Configure command: ./configure --prefix=$HOME/.local --disable-static --disable-networking Does it ring a bell -- (B.V. Raghav)
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: bvraghav@HIDDEN (B.V. Raghav) Subject: bug#26563: Acknowledgement (Build Configuration Error for poll.h ) Message-ID: <handler.26563.B.14926131738039.ack <at> debbugs.gnu.org> References: <87a87cv4pv.fsf@HIDDEN> X-Gnu-PR-Message: ack 26563 X-Gnu-PR-Package: guile Reply-To: 26563 <at> debbugs.gnu.org Date: Wed, 19 Apr 2017 14:47:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guile@HIDDEN If you wish to submit further information on this problem, please send it to 26563 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 26563: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D26563 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.