Your message dated Sun, 19 Sep 2004 08:06:03 +0900
with message-id <[EMAIL PROTECTED]>
and subject line Bug#271513: linux/if.h incomplete type
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 13 Sep 2004 14:17:57 +0000
>From [EMAIL PROTECTED] Mon Sep 13 07:17:57 2004
Return-path: <[EMAIL PROTECTED]>
Received: from john.hrz.tu-chemnitz.de [134.109.132.2] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1C6reW-0005PQ-00; Mon, 13 Sep 2004 07:17:56 -0700
Received: from hedwig.hrz.tu-chemnitz.de ([134.109.132.173] 
helo=mailbox.hrz.tu-chemnitz.de)
        by john.hrz.tu-chemnitz.de with esmtp (Exim 4.41)
        id 1C6reV-0002UU-Te
        for [EMAIL PROTECTED]; Mon, 13 Sep 2004 16:17:55 +0200
Received: from hermes.hrz.tu-chemnitz.de ([134.109.132.175] helo=localhost)
        by mailbox.hrz.tu-chemnitz.de with esmtp (Exim 4.30)
        id 1C6reV-0000RT-SD
        for [EMAIL PROTECTED]; Mon, 13 Sep 2004 16:17:55 +0200
Received: from 62.154.250.43 ([62.154.250.43]) 
        by mail.tu-chemnitz.de (IMP) with HTTP 
        for <[EMAIL PROTECTED]>; Mon, 13 Sep 2004 16:17:55 +0200
Message-ID: <[EMAIL PROTECTED]>
Date: Mon, 13 Sep 2004 16:17:55 +0200
From: Maik Hentsche <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: linux/if.h incomplete type
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.2.5
X-Originating-IP: 62.154.250.43
X-Scan-Signature: b98711477dbcb0e35ed98064edb35ed3
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


Package: linux-kernel-headers
Version: 2.5.999-test7-bk-17

I tried to compile the following program

------------------------

#include <linux/if.h>

int main()
{
  return(0);
}

--------------------------

This fails with the following errors:

--------------------------------------

In file included from iftest.c:1:
/usr/include/linux/if.h:136: error: field `ifru_addr' has incomplete type
/usr/include/linux/if.h:137: error: field `ifru_dstaddr' has incomplete type
/usr/include/linux/if.h:138: error: field `ifru_broadaddr' has incomplete type
/usr/include/linux/if.h:139: error: field `ifru_netmask' has incomplete type
/usr/include/linux/if.h:140: error: field `ifru_hwaddr' has incomplete type

---------------------------------------

I invoked the compiler with gcc iftest.c and expected it to report no errors,
but return quitely instead.

These are the version of packages, that might be connected to this problem.

linux-kernel-headers: 2.5.999-test7-bk-17
libc6 : 2.3.2.ds1-16
gcc -v : Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.4/specs
         Configured with: ../src/configure -v
         --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang
         --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
         --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
         --with-system-zlib --enable-nls --without-included-gettext
         --enable-__cxa_atexit --enable-clocale=gnu --enable-debug
         --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc
         i486-linux
         Thread model: posix
         gcc version 3.3.4 (Debian 1:3.3.4-9)
uname -a : Linux n30clfd1 2.4.19-k7 #1 Tue Nov 19 03:01:13 EST 2002 i686
           GNU/Linux


I found this file by searching in /usr/include for "struct ifreq", since the
very very scanty documentation in
/usr/src/linux/Documentation/networking/tuntap.txt mentions this struct in a
codeexample.

so long
Maik



---------------------------------------
Received: (at 271513-done) by bugs.debian.org; 18 Sep 2004 23:06:06 +0000
>From [EMAIL PROTECTED] Sat Sep 18 16:06:06 2004
Return-path: <[EMAIL PROTECTED]>
Received: from omega.webmasters.gr.jp (webmasters.gr.jp) [218.44.239.78] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1C8oHN-0008Cu-00; Sat, 18 Sep 2004 16:06:06 -0700
Received: from omega.webmasters.gr.jp (localhost [127.0.0.1])
        by webmasters.gr.jp (Postfix) with ESMTP
        id 44682DEB80; Sun, 19 Sep 2004 08:06:03 +0900 (JST)
Date: Sun, 19 Sep 2004 08:06:03 +0900
Message-ID: <[EMAIL PROTECTED]>
From: GOTO Masanori <[EMAIL PROTECTED]>
To: Maik Hentsche <[EMAIL PROTECTED]>
Cc: GOTO Masanori <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#271513: linux/if.h incomplete type
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya)
 FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2
 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Hi,

At Thu, 16 Sep 2004 08:40:48 +0200,
Maik Hentsche wrote:
> Zitat von GOTO Masanori <[EMAIL PROTECTED]>:
> > BTW, are you OK to close this bug, or not?
> 
> Well, the problem is solved, my program runs smoothly. Therefore, this bug can
> be closed. I'm not sure, do I have to close it or does the above mean, you ask
> for my permission to close it?

Yes, you can close the bug.  But I close it just now.

BTW, I plan to consider this kind of /usr/include/{net,scsi,...}
problem because those headers become depreciated.

Regards,
-- gotom


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to