Your message dated Sun, 14 Dec 2003 14:02:30 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#221543: fixed in linux-kernel-headers 2.5.999-test7-bk-10
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; 18 Nov 2003 23:45:27 +0000
>From [EMAIL PROTECTED] Tue Nov 18 17:45:17 2003
Return-path: <[EMAIL PROTECTED]>
Received: from mta5-svc.business.ntl.com [62.253.164.45] 
        by master.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1AMFX3-0003Z7-00; Tue, 18 Nov 2003 17:45:17 -0600
Received: from enbeo ([81.103.219.63]) by mta5-svc.business.ntl.com
          (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP
          id <[EMAIL PROTECTED]>;
          Tue, 18 Nov 2003 23:45:15 +0000
Received: from enbeo by enbeo with local (Exim 3.35 #1 (Debian))
        id 1AMESh-00017W-00; Tue, 18 Nov 2003 22:36:43 +0000
From: Bart Oldeman <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: linux-kernel-headers: #include <sys/pci.h> fails to compile
X-Mailer: reportbug 1.50
Date: Tue, 18 Nov 2003 22:36:42 +0000
Reply-To: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
Sender: Bart Oldeman <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-8.9 required=4.0
        tests=BAYES_20,HAS_PACKAGE,PATCH_UNIFIED_DIFF
        autolearn=ham version=2.53-bugs.debian.org_2003_11_15
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_11_15 
(1.174.2.15-2003-03-30-exp)

Package: linux-kernel-headers
Version: 2.5.999-test7-bk-9
Severity: important
Tags: patch

$ cat pci.c
#include <sys/pci.h>

$ gcc -c pci.c
In file included from /usr/include/linux/pci.h:20,
                 from /usr/include/sys/pci.h:23,
                 from pci.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_i
d"
/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 "bDeviceCla
ss"
/usr/include/linux/mod_devicetable.h:109: error: syntax error before "bDeviceSub
Class"
/usr/include/linux/mod_devicetable.h:110: error: syntax error before "bDevicePro
tocol"
/usr/include/linux/mod_devicetable.h:113: error: syntax error before "bInterface
Class"
/usr/include/linux/mod_devicetable.h:114: error: syntax error before "bInterface
SubClass"
/usr/include/linux/mod_devicetable.h:115: error: syntax error before "bInterface
Protocol"
/usr/include/linux/mod_devicetable.h:118: error: syntax error before "driver_inf
o"
/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_inf
o"

obviously mod_devicetable.h doesn't know __u32 and so on.

here's a workaround, maybe a cleaner fix is possible: polluting the
namespace with kernel_ulong_t doesn't look right.

perhaps much more needs to be #ifdef __KERNEL__

--- /usr/include/linux/mod_devicetable.h~       2003-10-15 16:15:01.000000000 +0100
+++ /usr/include/linux/mod_devicetable.h        2003-11-18 22:34:59.000000000 +0000
@@ -7,10 +7,8 @@
 #ifndef LINUX_MOD_DEVICETABLE_H
 #define LINUX_MOD_DEVICETABLE_H
 
-#ifdef __KERNEL__
 #include <linux/types.h>
 typedef unsigned long kernel_ulong_t;
-#endif
 
 #define PCI_ANY_ID (~0)
 


-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux enbeo 2.6.0-test9 #2 Sun Nov 16 00:13:17 GMT 2003 i586
Locale: LANG=C, LC_CTYPE=en_GB


---------------------------------------
Received: (at 221543-close) by bugs.debian.org; 14 Dec 2003 20:01:06 +0000
>From [EMAIL PROTECTED] Sun Dec 14 14:01:06 2003
Return-path: <[EMAIL PROTECTED]>
Received: from auric.debian.org [206.246.226.45] 
        by master.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1AVbYX-0000HR-00; Sun, 14 Dec 2003 13:05:29 -0600
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
        id 1AVbVe-0003QE-00; Sun, 14 Dec 2003 14:02:30 -0500
From: Daniel Jacobowitz <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.43 $
Subject: Bug#221543: fixed in linux-kernel-headers 2.5.999-test7-bk-10
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 14 Dec 2003 14:02:30 -0500
Delivered-To: [EMAIL PROTECTED]

Source: linux-kernel-headers
Source-Version: 2.5.999-test7-bk-10

We believe that the bug you reported is fixed in the latest version of
linux-kernel-headers, which is due to be installed in the Debian FTP archive:

linux-kernel-headers_2.5.999-test7-bk-10.diff.gz
  to pool/main/l/linux-kernel-headers/linux-kernel-headers_2.5.999-test7-bk-10.diff.gz
linux-kernel-headers_2.5.999-test7-bk-10.dsc
  to pool/main/l/linux-kernel-headers/linux-kernel-headers_2.5.999-test7-bk-10.dsc
linux-kernel-headers_2.5.999-test7-bk-10_i386.deb
  to pool/main/l/linux-kernel-headers/linux-kernel-headers_2.5.999-test7-bk-10_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Jacobowitz <[EMAIL PROTECTED]> (supplier of updated linux-kernel-headers 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 13 Dec 2003 16:13:20 -0500
Source: linux-kernel-headers
Binary: linux-kernel-headers
Architecture: source i386
Version: 2.5.999-test7-bk-10
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers <[EMAIL PROTECTED]>
Changed-By: Daniel Jacobowitz <[EMAIL PROTECTED]>
Description: 
 linux-kernel-headers - Linux Kernel Headers for development
Closes: 203303 215337 215937 216921 218438 219664 219940 220138 220232 220331 220953 
220991 221438 221543
Changes: 
 linux-kernel-headers (2.5.999-test7-bk-10) unstable; urgency=low
 .
   * Daniel Jacobowitz <[EMAIL PROTECTED]>
 .
     - Add a testsuite.
 .
     - Resolve a conflict between <linux/compiler.h> and <sys/cdefs.h>
       (Closes: #215337, #219664).
       - debian/patches/no-linux-compiler-h.patch
     - Let <linux/netlink.h> compile by moving some of <linux/uio.h> into
       __KERNEL__ (Closes: #215937).
       - debian/patches/linux-netlink-compilation.patch
     - Fix a -W (-Wextra) warning with the ioctl type checking macros
       (Closes: #219940, #220953).
       - debian/patches/ioctl-signedness.patch
     - Quiet #warning from <linux/list.h> for now.
       - debian/patches/linux-list-quiet-warning.patch
     - Fix conflict between <linux/time.h> and <time.h>, and other C++
       namespace cleanliness problems
       (Closes: #218438, #220232, #216921, #221438).
       - debian/patches/linux-types-and-time.patch
       - debian/patches/linux-types-ustat.h removed.
     - Also export __kernel_dev_t for util-linux/cryptoloop (Closes: 220991).
       - debian/patches/linux-types-and-time.patch
     - Remove some useless __const__ markers from byteorder headers.
       - debian/patches/byteorder-const.patch
     - Add __extension__ to several ({ }) constructs to allow them with -ansi
       (Closes: #203303).
       - debian/patches/byteorder.patch
     - Disable the contents of <asm-ia64/pal.h> in userspace (Closes: #220138).
       - debian/patches/ia64-pal.patch
     - Don't include unneeded mod_devicetable.h from linux/pci.h (Closes: #221543).
       - debian/patches/linux-pci.patch
     - Don't include buffer_head.h from linux/msdos_fs.h (Closes: #220331).
       - debian/patches/msdos-fs.patch
     - Suppress pedantic long long warnings for <linux/types.h>.
       - debian/patches/linux-types-long-long.patch
 .
   * Jeff Bailey <[EMAIL PROTECTED]>
 .
    - debian/control: Bump standards version to 3.6.1.
      No changes required.
Files: 
 bc66113e31ae75aee3781ac6d647a1d2 858 devel standard 
linux-kernel-headers_2.5.999-test7-bk-10.dsc
 ec12b4d434e942e7b99e94a9423ff482 52489 devel standard 
linux-kernel-headers_2.5.999-test7-bk-10.diff.gz
 a31486ee73e3c528c066abb1ba351fbb 1375424 devel standard 
linux-kernel-headers_2.5.999-test7-bk-10_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/3LDAbgOPXuCjg3cRAiCmAJ4iPq2MylFNzkoqT5OQA6+k22GJ+wCffxmk
jjI+8OpG2MSCcf1FT9ecfOs=
=CUdw
-----END PGP SIGNATURE-----


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

Reply via email to