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

Bug#235547: marked as done (linux-kernel-headers: including linux/ext2_fs.h gives syntax errors)



Your message dated Tue, 02 Mar 2004 15:25:13 +0900
with message-id <81llmj22ba.wl@omega.webmasters.gr.jp>
and subject line Bug#235547: linux-kernel-headers: including linux/ext2_fs.h gives syntax errors
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; 1 Mar 2004 01:22:46 +0000
>From bernd-schubert@web.de Sun Feb 29 17:22:46 2004
Return-path: <bernd-schubert@web.de>
Received: from master.debian.org [146.82.138.7] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Axc8s-0003Ke-00; Sun, 29 Feb 2004 17:22:46 -0800
Received: from p508c03c9.dip0.t-ipconnect.de ([192.168.1.1]) [80.140.3.201] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Axc8r-0004JW-00; Sun, 29 Feb 2004 19:22:46 -0600
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Bernd Schubert <bernd-schubert@web.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: linux-kernel-headers: including linux/ext2_fs.h gives syntax errors
X-Mailer: reportbug 2.48
Date: Mon, 01 Mar 2004 02:22:44 +0100
X-Debbugs-Cc: bernd-schubert@web.de
Message-Id: <E1Axc8r-0004JW-00@master.debian.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_27 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=HAS_PACKAGE,OUR_MTA_MSGID,
	X_DEBBUGS_CC autolearn=no version=2.60-bugs.debian.org_2004_02_27
X-Spam-Level: 

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

Hello,

including linux/ext2_fs.h in source code file will result in error
messages:

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:2:
/usr/include/linux/bitmap.h: In function `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

.... [the rest is cut off]

The libc headers from Mariusz Mazur at
http://ep09.pld-linux.org/~mmazur/linux-libc-headers/
work fine.


Here's some example code:

#include <unistd.h>
#include <linux/ext2_fs.h>

int main (void)
{ return 0;}


The linux/ext2_fs.h header is needed for example for building unfs3
(unfs3.sf.net) with inode generation number support. 

Thanks, 
Bernd


-- System Information:
Debian Release: testing
  APT prefers unstable
  APT policy: (800, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.3
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (ignored: LC_ALL set to C)

-- no debconf information


---------------------------------------
Received: (at 235547-done) by bugs.debian.org; 2 Mar 2004 06:25:14 +0000
>From gotom@debian.or.jp Mon Mar 01 22:25:14 2004
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 1Ay3L8-0005N7-00; Mon, 01 Mar 2004 22:25:14 -0800
Received: from omega.webmasters.gr.jp (localhost [127.0.0.1])
	by webmasters.gr.jp (Postfix) with ESMTP
	id 47C01DEDF7; Tue,  2 Mar 2004 15:25:13 +0900 (JST)
Date: Tue, 02 Mar 2004 15:25:13 +0900
Message-ID: <81llmj22ba.wl@omega.webmasters.gr.jp>
From: GOTO Masanori <gotom@debian.or.jp>
To: Bernd Schubert <bernd-schubert@web.de>,
	235547-done@bugs.debian.org
Cc: Daniel Jacobowitz <dan@debian.org>
Subject: Re: Bug#235547: linux-kernel-headers: including linux/ext2_fs.h gives syntax errors
In-Reply-To: <[🔎] 200403011255.41321.bernd-schubert@web.de>
References: <E1Axc8r-0004JW-00@master.debian.org>
	<20040301031402.GA28804@nevyn.them.org>
	<[🔎] 200403011255.41321.bernd-schubert@web.de>
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: 235547-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_01 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=no 
	version=2.60-bugs.debian.org_2004_03_01
X-Spam-Level: 

At Mon, 1 Mar 2004 12:55:41 +0100,
Bernd Schubert wrote:
> On Monday 01 March 2004 04:14, you wrote:
> > On Mon, Mar 01, 2004 at 02:22:44AM +0100, Bernd Schubert wrote:
> > > The linux/ext2_fs.h header is needed for example for building unfs3
> > > (unfs3.sf.net) with inode generation number support.
> >
> > Don't do that.
> >
> > The exact header you need is in <ext2fs/ext2_fs.h>, from e2fslibs-dev.
> 
> Ah, thanks a lot, I really didn't know that

So I close this bug.

Regards,
-- gotom



Reply to: