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

Bug#309911: marked as done (linux-kernel-headers: missing BITS_PER_LONG makes it impossible to include things like linux/ext2_fs.h)



Your message dated Sat, 28 May 2005 01:37:20 +0900
with message-id <818y201v7j.wl@omega.webmasters.gr.jp>
and subject line Bug#309911: linux-kernel-headers: missing BITS_PER_LONG makes it impossible to include things like linux/ext2_fs.h
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; 20 May 2005 12:19:06 +0000
>From brl@mfs.mathematik.uni-freiburg.de Fri May 20 05:19:06 2005
Return-path: <brl@mfs.mathematik.uni-freiburg.de>
Received: from email.mathematik.uni-freiburg.de [132.230.30.5] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DZ6T3-0004o7-00; Fri, 20 May 2005 05:19:06 -0700
Received: from mfs.mathematik.uni-freiburg.de ([132.230.30.170])
	by email.mathematik.uni-freiburg.de with asmtp (Exim 3.35 #1 (Debian))
	id 1DZ6Sr-0004wW-00
	for <submit@bugs.debian.org>; Fri, 20 May 2005 14:18:53 +0200
Received: from brl by mfs.mathematik.uni-freiburg.de with local (Exim 4.50)
	id 1DZ6Sv-0002lZ-QO
	for submit@bugs.debian.org; Fri, 20 May 2005 14:18:57 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="ISO-8859-1"
From: "Bernhard R. Link" <brl@mfs.mathematik.uni-freiburg.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: linux-kernel-headers: missing BITS_PER_LONG makes it impossible to include
 things like linux/ext2_fs.h
X-Mailer: reportbug 3.8
Date: Fri, 20 May 2005 14:18:57 +0200
Message-Id: <[🔎] E1DZ6Sv-0002lZ-QO@mfs.mathematik.uni-freiburg.de>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(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_2005_01_02
X-Spam-Level: 

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

Script wurde gestartet: Fr 20 Mai 2005 13:28:29 CEST
brl@mfs:/tmp/rt$ cat test.c
#include <linux/ext2_fs.h>
brl@mfs:/tmp/rt$ gcc test.c
In file included from /usr/include/linux/cpumask.h:8,
                 from /usr/include/asm/smp.h:11,
                 from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/percpu_counter.h:9,
                 from /usr/include/linux/ext2_fs_sb.h:20,
                 from /usr/include/linux/ext2_fs.h:20,
                 from test.c:1:
/usr/include/linux/bitmap.h: In Funktion »bitmap_empty«:
/usr/include/linux/bitmap.h:15: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h:15: error: (Each undeclared identifier is reported only once
/usr/include/linux/bitmap.h:15: error: for each function it appears in.)
/usr/include/linux/bitmap.h: In Funktion »bitmap_full«:
/usr/include/linux/bitmap.h:29: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In Funktion »bitmap_equal«:
/usr/include/linux/bitmap.h:44: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In Funktion »bitmap_shift_right«:
/usr/include/linux/bitmap.h:85: error: `__shr_tmp' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In Funktion »bitmap_shift_left«:
/usr/include/linux/bitmap.h:98: error: `__shl_tmp' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In Funktion »bitmap_weight«:
/usr/include/linux/bitmap.h:144: error: `BITS_PER_LONG' undeclared (first use in this function)
In file included from /usr/include/asm/smp.h:11,
                 from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/percpu_counter.h:9,
                 from /usr/include/linux/ext2_fs_sb.h:20,
                 from /usr/include/linux/ext2_fs.h:20,
                 from test.c:1:
/usr/include/linux/cpumask.h: Auf höchster Ebene:
/usr/include/linux/cpumask.h:15: error: variable-size type declared outside of any function
In file included from /usr/include/asm/smp.h:11,
                 from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/percpu_counter.h:9,
                 from /usr/include/linux/ext2_fs_sb.h:20,
                 from /usr/include/linux/ext2_fs.h:20,
                 from test.c:1:
/usr/include/linux/cpumask.h: In Funktion »next_online_cpu«:
/usr/include/linux/cpumask.h:56: error: structure has no member named `val'
In file included from /usr/include/asm/smp.h:16,
                 from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/percpu_counter.h:9,
                 from /usr/include/linux/ext2_fs_sb.h:20,
                 from /usr/include/linux/ext2_fs.h:20,
                 from test.c:1:
/usr/include/asm/fixmap.h: Auf höchster Ebene:
/usr/include/asm/fixmap.h:72: error: `FIX_ACPI_PAGES' undeclared here (not in a function)
/usr/include/asm/fixmap.h:72: error: enumerator value for `FIX_ACPI_END' not integer constant
/usr/include/asm/fixmap.h:84: error: Fehler beim Parsen before "pgprot_t"
In Datei, eingefügt von /usr/include/asm/smp.h:18,
                    von /usr/include/linux/smp.h:17,
                    von /usr/include/linux/percpu_counter.h:9,
                    von /usr/include/linux/ext2_fs_sb.h:20,
                    von /usr/include/linux/ext2_fs.h:20,
                    von test.c:1:
/usr/include/asm/mpspec.h:6:25: mach_mpspec.h: Datei oder Verzeichnis nicht gefunden
In file included from /usr/include/asm/smp.h:18,
                 from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/percpu_counter.h:9,
                 from /usr/include/linux/ext2_fs_sb.h:20,
                 from /usr/include/linux/ext2_fs.h:20,
                 from test.c:1:
/usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:35: error: Fehler beim Parsen before "id"
/usr/include/asm/mpspec.h:36: error: Fehler beim Parsen before "address"
/usr/include/asm/mpspec.h:37: error: Fehler beim Parsen before "id"
/usr/include/asm/mpspec.h:38: error: Fehler beim Parsen before "bus_irq"
/usr/include/asm/mpspec.h:54: error: `MAX_APICS' undeclared here (not in a function)
/usr/include/asm/mpspec.h:54: error: variable-size type declared outside of any function
In file included from /usr/include/asm/smp.h:20,
                 from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/percpu_counter.h:9,
                 from /usr/include/linux/ext2_fs_sb.h:20,
                 from /usr/include/linux/ext2_fs.h:20,
                 from test.c:1:
/usr/include/asm/io_apic.h:26: error: Fehler beim Parsen before "u32"
/usr/include/asm/io_apic.h:28: error: Fehler beim Parsen before "u32"
/usr/include/asm/io_apic.h:34: error: Fehler beim Parsen before '}' token
/usr/include/asm/io_apic.h:37: error: Fehler beim Parsen before "u32"
/usr/include/asm/io_apic.h:39: error: Fehler beim Parsen before "u32"
/usr/include/asm/io_apic.h:45: error: Fehler beim Parsen before '}' token
/usr/include/asm/io_apic.h:48: error: Fehler beim Parsen before "u32"
/usr/include/asm/io_apic.h:50: error: Fehler beim Parsen before "u32"
/usr/include/asm/io_apic.h:54: error: Fehler beim Parsen before '}' token
/usr/include/asm/io_apic.h:57: error: Fehler beim Parsen before "u32"
/usr/include/asm/io_apic.h:59: error: Fehler beim Parsen before "u32"
/usr/include/asm/io_apic.h:62: error: Fehler beim Parsen before '}' token
/usr/include/asm/io_apic.h:120: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm/io_apic.h:120: error: conflicting types for `mp_irqs'
/usr/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In Datei, eingefügt von /usr/include/linux/smp.h:17,
                    von /usr/include/linux/percpu_counter.h:9,
                    von /usr/include/linux/ext2_fs_sb.h:20,
                    von /usr/include/linux/ext2_fs.h:20,
                    von test.c:1:
/usr/include/asm/smp.h:73:26: mach_apicdef.h: Datei oder Verzeichnis nicht gefunden
In file included from /usr/include/linux/percpu_counter.h:9,
                 from /usr/include/linux/ext2_fs_sb.h:20,
                 from /usr/include/linux/ext2_fs.h:20,
                 from test.c:1:
/usr/include/linux/smp.h:33: error: Fehler beim Parsen before '(' token
/usr/include/linux/smp.h: In Funktion »on_each_cpu«:
/usr/include/linux/smp.h:65: error: invalid type argument of `->'
/usr/include/linux/smp.h:68: error: invalid type argument of `->'
/usr/include/linux/smp.h:68: error: `TIF_NEED_RESCHED' undeclared (first use in this function)
In file included from /usr/include/linux/ext2_fs.h:20,
                 from test.c:1:
/usr/include/linux/ext2_fs_sb.h: Auf höchster Ebene:
/usr/include/linux/ext2_fs_sb.h:48: error: Fehler beim Parsen before "u32"
/usr/include/linux/ext2_fs_sb.h:50: error: Fehler beim Parsen before '*' token
/usr/include/linux/ext2_fs_sb.h:55: error: Fehler beim Parsen before '}' token
brl@mfs:/tmp/rt$ 
Script beendet: Fr 20 Mai 2005 13:28:40 CEST

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE (charmap=ISO-8859-1)

-- no debconf information

---------------------------------------
Received: (at 309911-done) by bugs.debian.org; 27 May 2005 16:37:21 +0000
>From gotom@debian.or.jp Fri May 27 09:37:21 2005
Return-path: <gotom@debian.or.jp>
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 1Dbhpp-00072v-00; Fri, 27 May 2005 09:37:21 -0700
Received: from omega.webmasters.gr.jp (localhost [127.0.0.1])
	by webmasters.gr.jp (Postfix) with ESMTP
	id 7911EDEB1E; Sat, 28 May 2005 01:37:20 +0900 (JST)
Date: Sat, 28 May 2005 01:37:20 +0900
Message-ID: <818y201v7j.wl@omega.webmasters.gr.jp>
From: GOTO Masanori <gotom@debian.or.jp>
To: Daniel Jacobowitz <drow@false.org>, 309911-done@bugs.debian.org
Cc: "Bernhard R. Link" <brl@mfs.mathematik.uni-freiburg.de>
Subject: Re: Bug#309911: linux-kernel-headers: missing BITS_PER_LONG makes it impossible to include things like linux/ext2_fs.h
In-Reply-To: <[🔎] 20050520132108.GA26483@nevyn.them.org>
References: <[🔎] E1DZ6Sv-0002lZ-QO@mfs.mathematik.uni-freiburg.de>
	<[🔎] 20050520132108.GA26483@nevyn.them.org>
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: 309911-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(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_2005_01_02
X-Spam-Level: 

At Fri, 20 May 2005 09:21:08 -0400,
Daniel Jacobowitz wrote:
> On Fri, May 20, 2005 at 02:18:57PM +0200, Bernhard R. Link wrote:
> > Package: linux-kernel-headers
> > Version: 2.5.999-test7-bk-17
> > Severity: normal
> > 
> > Script wurde gestartet: Fr 20 Mai 2005 13:28:29 CEST
> > brl@mfs:/tmp/rt$ cat test.c
> > #include <linux/ext2_fs.h>
> > brl@mfs:/tmp/rt$ gcc test.c
> > In file included from /usr/include/linux/cpumask.h:8,
> >                  from /usr/include/asm/smp.h:11,
> >                  from /usr/include/linux/smp.h:17,
> >                  from /usr/include/linux/percpu_counter.h:9,
> >                  from /usr/include/linux/ext2_fs_sb.h:20,
> >                  from /usr/include/linux/ext2_fs.h:20,
> >                  from test.c:1:
> 
> Don't do that then.
> 
> e2fsprogs supplies a version of this header which is suitable for
> userspace.  Use that instead.

Agreed.  I close this report.

Regards,
-- gotom



Reply to: