From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.bugs Subject: bug#8561: 24.0.50; Test programme to check net/if.h is faulty Date: Tue, 26 Apr 2011 23:15:27 +0200 Message-ID: <8D7620FE-910C-43EF-8DD0-ADDAFE1C8E35@Freenet.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1303853862 3700 80.91.229.12 (26 Apr 2011 21:37:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Apr 2011 21:37:42 +0000 (UTC) To: 8561@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 26 23:37:38 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QEpwv-0004kA-Rf for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Apr 2011 23:37:37 +0200 Original-Received: from localhost ([::1]:56179 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEpwv-00044k-ER for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Apr 2011 17:37:37 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEpwt-00044f-Bw for bug-gnu-emacs@gnu.org; Tue, 26 Apr 2011 17:37:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QEpwq-00070T-Vf for bug-gnu-emacs@gnu.org; Tue, 26 Apr 2011 17:37:35 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEpwq-00070H-Sw for bug-gnu-emacs@gnu.org; Tue, 26 Apr 2011 17:37:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QEpc2-0001uS-5j; Tue, 26 Apr 2011 17:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Peter Dyballa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Apr 2011 21:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8561 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13038525457314 (code B ref -1); Tue, 26 Apr 2011 21:16:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Apr 2011 21:15:45 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QEpbk-0001tv-ET for submit@debbugs.gnu.org; Tue, 26 Apr 2011 17:15:44 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QEpbh-0001te-PK for submit@debbugs.gnu.org; Tue, 26 Apr 2011 17:15:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QEpbb-0003be-Ed for submit@debbugs.gnu.org; Tue, 26 Apr 2011 17:15:36 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:34845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEpbb-0003ba-D5 for submit@debbugs.gnu.org; Tue, 26 Apr 2011 17:15:35 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEpba-0006xu-9P for bug-gnu-emacs@gnu.org; Tue, 26 Apr 2011 17:15:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QEpbZ-0003b5-EH for bug-gnu-emacs@gnu.org; Tue, 26 Apr 2011 17:15:34 -0400 Original-Received: from mout4.freenet.de ([195.4.92.94]:40396) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEpbZ-0003aO-9D for bug-gnu-emacs@gnu.org; Tue, 26 Apr 2011 17:15:33 -0400 Original-Received: from [195.4.92.25] (helo=15.mx.freenet.de) by mout4.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.72 #5) id 1QEpbW-0001He-8p for bug-gnu-emacs@gnu.org; Tue, 26 Apr 2011 23:15:30 +0200 Original-Received: from p5b23c267.dip.t-dialin.net ([91.35.194.103]:57867 helo=[192.168.1.2]) by 15.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.72 #3) id 1QEpbV-0005lv-3B for bug-gnu-emacs@gnu.org; Tue, 26 Apr 2011 23:15:30 +0200 X-Mailer: Apple Mail (2.936) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 26 Apr 2011 17:16:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:46022 Archived-At: Hello! Now at revno: 104020 I see that this test programme is faulty. It has #if HAVE_SYS_SOCKET_H #include #endif but HAVE_SYS_SOCKET_H is neither defined in the test programme nor on the command line of gcc's invocation. So sys/socket.h is not included, sockaddr and sockaddr_storage are not declared and gcc complains: In file included from conftest.c:87:0: /usr/include/net/if.h:259:19: error: field 'ifru_addr' has incomplete type /usr/include/net/if.h:260:19: error: field 'ifru_dstaddr' has incomplete type /usr/include/net/if.h:261:19: error: field 'ifru_broadaddr' has incomplete type /usr/include/net/if.h:298:18: error: field 'ifra_addr' has incomplete type /usr/include/net/if.h:299:18: error: field 'ifra_broadaddr' has incomplete type /usr/include/net/if.h:300:18: error: field 'ifra_mask' has incomplete type /usr/include/net/if.h:374:26: error: field 'addr' has incomplete type /usr/include/net/if.h:375:26: error: field 'dstaddr' has incomplete type This is related to bug#8383. -- Greetings Pete <] o __o |__ o HPV, the real ___o /I -\<, |o \ -\),-% high speed! ___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________