[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#215343: marked as done (libc6-dev: linux/usb.h does not compile)



Your message dated Sun, 12 Oct 2003 11:03:28 -0400
with message-id <20031012150328.GA18488@nevyn.them.org>
and subject line Bug#215343: libc6-dev: linux/usb.h does not compile
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; 12 Oct 2003 10:01:34 +0000
>From bonnaud@jophur.dyndns.org Sun Oct 12 05:01:33 2003
Return-path: <bonnaud@jophur.dyndns.org>
Received: from agrenoble-203-1-16-199.w81-53.abo.wanadoo.fr (jophur) [81.53.31.199] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1A8d2a-0006Qp-00; Sun, 12 Oct 2003 05:01:33 -0500
Received: from bonnaud by jophur with local (Exim 4.24)
	id 1A8d2Z-0003GO-Is; Sun, 12 Oct 2003 12:01:31 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Laurent.Bonnaud@inpg.fr
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6-dev: linux/usb.h does not compile
X-Mailer: reportbug 2.34
Date: Sun, 12 Oct 2003 12:01:31 +0200
Message-Id: <[🔎] E1A8d2Z-0003GO-Is@jophur>
Sender: <bonnaud@jophur.dyndns.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0
	tests=HAS_PACKAGE
	version=2.53-bugs.debian.org_2003_10_09
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_10_09 (1.174.2.15-2003-03-30-exp)

Package: libc6-dev
Version: 2.3.2.ds1-3
Severity: normal
Tags: experimental


Hi,

here is the problem:

$ cat essai.c
#include <linux/usb.h>

$ gcc -c essai.c
In file included from /usr/include/linux/usb.h:4,
                 from essai.c:1:
/usr/include/linux/mod_devicetable.h:18: error: syntax error before "__u32"
/usr/include/linux/mod_devicetable.h:20: error: syntax error before "class"
/usr/include/linux/mod_devicetable.h:21: error: syntax error before "driver_data"
/usr/include/linux/mod_devicetable.h:31: error: syntax error before "__u32"
/usr/include/linux/mod_devicetable.h:33: error: syntax error before "model_id"
/usr/include/linux/mod_devicetable.h:34: error: syntax error before "specifier_id"
/usr/include/linux/mod_devicetable.h:35: error: syntax error before "version"
/usr/include/linux/mod_devicetable.h:36: error: syntax error before "driver_data"
/usr/include/linux/mod_devicetable.h:99: error: syntax error before "__u16"
/usr/include/linux/mod_devicetable.h:103: error: syntax error before "idProduct"
/usr/include/linux/mod_devicetable.h:104: error: syntax error before "bcdDevice_lo"
/usr/include/linux/mod_devicetable.h:105: error: syntax error before "bcdDevice_hi"
/usr/include/linux/mod_devicetable.h:108: error: syntax error before "bDeviceClass"
/usr/include/linux/mod_devicetable.h:109: error: syntax error before "bDeviceSubClass"
/usr/include/linux/mod_devicetable.h:110: error: syntax error before "bDeviceProtocol"
/usr/include/linux/mod_devicetable.h:113: error: syntax error before "bInterfaceClass"
/usr/include/linux/mod_devicetable.h:114: error: syntax error before "bInterfaceSubClass"
/usr/include/linux/mod_devicetable.h:115: error: syntax error before "bInterfaceProtocol"
/usr/include/linux/mod_devicetable.h:118: error: syntax error before "driver_info"
/usr/include/linux/mod_devicetable.h:135: error: syntax error before "__u16"
/usr/include/linux/mod_devicetable.h:138: error: syntax error before "dev_type"
/usr/include/linux/mod_devicetable.h:139: error: syntax error before "cu_model"
/usr/include/linux/mod_devicetable.h:140: error: syntax error before "dev_model"
/usr/include/linux/mod_devicetable.h:142: error: syntax error before "driver_info"


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux jophur 2.4.22-1-686 #6 Sat Oct 4 14:09:08 EST 2003 i686
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro

Versions of packages libc6-dev depends on:
ii  libc6                        2.3.2.ds1-3 GNU C Library: Shared libraries an

-- no debconf information


---------------------------------------
Received: (at 215343-done) by bugs.debian.org; 12 Oct 2003 15:03:30 +0000
>From drow@crack.them.org Sun Oct 12 10:03:29 2003
Return-path: <drow@crack.them.org>
Received: from nevyn.them.org [66.93.172.17] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1A8hkn-0007kU-00; Sun, 12 Oct 2003 10:03:29 -0500
Received: from drow by nevyn.them.org with local (Exim 4.24 #1 (Debian))
	id 1A8hkm-0004ow-Uy; Sun, 12 Oct 2003 11:03:28 -0400
Date: Sun, 12 Oct 2003 11:03:28 -0400
From: Daniel Jacobowitz <dan@debian.org>
To: Laurent.Bonnaud@inpg.fr, 215343-done@bugs.debian.org
Subject: Re: Bug#215343: libc6-dev: linux/usb.h does not compile
Message-ID: <20031012150328.GA18488@nevyn.them.org>
References: <[🔎] E1A8d2Z-0003GO-Is@jophur>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] E1A8d2Z-0003GO-Is@jophur>
User-Agent: Mutt/1.5.1i
Delivered-To: 215343-done@bugs.debian.org
X-Spam-Status: No, hits=-2.5 required=4.0
	tests=EMAIL_ATTRIBUTION
	version=2.53-bugs.debian.org_2003_10_09
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_10_09 (1.174.2.15-2003-03-30-exp)

On Sun, Oct 12, 2003 at 12:01:31PM +0200, Laurent.Bonnaud@inpg.fr wrote:
> Package: libc6-dev
> Version: 2.3.2.ds1-3
> Severity: normal
> Tags: experimental
> 
> 
> Hi,
> 
> here is the problem:
> 
> $ cat essai.c
> #include <linux/usb.h>
> 
> $ gcc -c essai.c
> In file included from /usr/include/linux/usb.h:4,
>                  from essai.c:1:
> /usr/include/linux/mod_devicetable.h:18: error: syntax error before "__u32"

This is not a bug.  Do not use kernel headers from user-space.  If you
need some piece of data from the header, for now you have to copy it
from the header in question.

This isn't new - you've never been supposed to include these headers
directly.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: