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#8383: 24.0.50; revno 103781 and net/if.h Date: Wed, 30 Mar 2011 23:53:18 +0200 Message-ID: <6498E786-ABA4-416C-8166-B85AB53A2FFF@Freenet.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1301522846 16796 80.91.229.12 (30 Mar 2011 22:07:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 Mar 2011 22:07:26 +0000 (UTC) To: 8383@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 31 00:07:22 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q53Xu-00023l-7o for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Mar 2011 00:07:22 +0200 Original-Received: from localhost ([127.0.0.1]:34963 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q53Xt-0005rv-Gi for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Mar 2011 18:07:21 -0400 Original-Received: from [140.186.70.92] (port=58212 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q53Xl-0005r4-UO for bug-gnu-emacs@gnu.org; Wed, 30 Mar 2011 18:07:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q53Xk-0006u6-T3 for bug-gnu-emacs@gnu.org; Wed, 30 Mar 2011 18:07:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q53Xk-0006ty-RJ for bug-gnu-emacs@gnu.org; Wed, 30 Mar 2011 18:07:12 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q53L0-0003LF-4n; Wed, 30 Mar 2011 17:54: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: Wed, 30 Mar 2011 21:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8383 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.130152201712812 (code B ref -1); Wed, 30 Mar 2011 21:54:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Mar 2011 21:53:37 +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 1Q53Ka-0003Kb-Gj for submit@debbugs.gnu.org; Wed, 30 Mar 2011 17:53:36 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q53KY-0003KQ-AV for submit@debbugs.gnu.org; Wed, 30 Mar 2011 17:53:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q53KS-0004AD-C5 for submit@debbugs.gnu.org; Wed, 30 Mar 2011 17:53:29 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:38327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q53KS-0004A9-9l for submit@debbugs.gnu.org; Wed, 30 Mar 2011 17:53:28 -0400 Original-Received: from [140.186.70.92] (port=46623 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q53KR-0006dn-9R for bug-gnu-emacs@gnu.org; Wed, 30 Mar 2011 17:53:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q53KP-00049h-Km for bug-gnu-emacs@gnu.org; Wed, 30 Mar 2011 17:53:27 -0400 Original-Received: from mout4.freenet.de ([195.4.92.94]:56383) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q53KP-000496-8t for bug-gnu-emacs@gnu.org; Wed, 30 Mar 2011 17:53:25 -0400 Original-Received: from [195.4.92.28] (helo=18.mx.freenet.de) by mout4.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.72 #3) id 1Q53KL-00006M-Dg for bug-gnu-emacs@gnu.org; Wed, 30 Mar 2011 23:53:21 +0200 Original-Received: from p5b23e34a.dip.t-dialin.net ([91.35.227.74]:55877 helo=[192.168.1.2]) by 18.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.72 #3) id 1Q53KK-0001Ra-WD for bug-gnu-emacs@gnu.org; Wed, 30 Mar 2011 23:53:21 +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, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 30 Mar 2011 17:54: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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:45509 Archived-At: Hello! The configure script early checks for net/if.h. Twelve days ago =20 (2011-03-18) it reported: checking for net/if.h... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for struct tm.tm_gmtoff... yes checking for struct ifreq.ifr_flags... yes checking for struct ifreq.ifr_hwaddr... no checking for struct ifreq.ifr_netmask... no checking for struct ifreq.ifr_broadaddr... yes checking for struct ifreq.ifr_addr... yes Now it reports: checking for net/if.h... no checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for struct tm.tm_gmtoff... yes checking for struct ifreq.ifr_flags... no checking for struct ifreq.ifr_hwaddr... no checking for struct ifreq.ifr_netmask... no checking for struct ifreq.ifr_broadaddr... no checking for struct ifreq.ifr_addr... no In the list of included C header files I can see a difference: past now . /usr/include/unistd.h . /usr/include/unistd.h .. /usr/include/sys/unistd.h .. /usr/include/sys/unistd.h .. /usr/include/sys/select.h .. /usr/include/sys/select.h ... /usr/include/sys/_structs.h ... /usr/include/sys/_structs.h ... /usr/include/sys/_select.h ... /usr/include/sys/_select.h . /usr/include/sys/socket.h .. /usr/include/machine/_param.h ... /usr/include/ppc/_param.h . /usr/include/net/if.h . /usr/include/net/if.h .. /usr/include/net/if_var.h .. /usr/include/net/if_var.h ... /usr/include/sys/time.h ... /usr/include/sys/time.h .... /usr/include/sys/_structs.h .... /usr/include/sys/_structs.h .... /usr/include/time.h .... /usr/include/time.h ..... /usr/include/_structs.h ..... /usr/include/_structs.h ...... /usr/include/sys/_structs.h ...... /usr/include/sys/_structs.h ... /usr/include/sys/queue.h ... /usr/include/sys/queue.h The difference may come from removing these blocks from configure: for ac_header in sys/socket.h do : ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" =20 "ac_cv_header_sys_socket_h" "$ac_includes_default" if test "x$ac_cv_header_sys_socket_h" =3D xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SYS_SOCKET_H 1 _ACEOF =09 fi =09 done for ac_header in net/if.h do : ac_fn_c_check_header_compile "$LINENO" "net/if.h" =20 "ac_cv_header_net_if_h" "$ac_includes_default #if HAVE_SYS_SOCKET_H #include #endif " if test "x$ac_cv_header_net_if_h" =3D xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_NET_IF_H 1 _ACEOF =09 fi =09 done The tests for ifreq.ifr_* show errors like these: In file included from conftest.c:87:0: /usr/include/net/if.h:259:19: error: field 'ifru_addr' has = incomplete =20 type /usr/include/net/if.h:260:19: error: field 'ifru_dstaddr' has =20= incomplete type /usr/include/net/if.h:261:19: error: field 'ifru_broadaddr' has =20= incomplete type /usr/include/net/if.h:298:18: error: field 'ifra_addr' has = incomplete =20 type /usr/include/net/if.h:299:18: error: field 'ifra_broadaddr' has =20= incomplete type /usr/include/net/if.h:300:18: error: field 'ifra_mask' has = incomplete =20 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 =20 type -- Greetings Pete Only useless documentation transcends the first two laws. =96 Arnold's Third Law of Documentation