mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Martin J. Bligh" <mbligh@aracnet.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: [Bug 357] New: ext3 compile failure if #define EXT3FS_DEBUG
Date: Fri, 14 Feb 2003 11:53:33 -0800	[thread overview]
Message-ID: <73740000.1045252413@[10.10.2.4]> (raw)

http://bugme.osdl.org/show_bug.cgi?id=357

           Summary: ext3 compile failure if #define EXT3FS_DEBUG
    Kernel Version: 2.5.60-bk4
            Status: NEW
          Severity: low
             Owner: akpm@digeo.com
         Submitter: bwindle-kbt@fint.org


Distribution: Debian Testing
Hardware Environment: x86
Software Environment: 

Linux razor 2.5.60bk4 #5 Fri Feb 14 11:17:29 EST 2003 i686 Pentium II
(Klamath)  GenuineIntel GNU/Linux

Gnu C                  2.95.4
Gnu make               3.79.1
util-linux             2.11n
mount                  2.11n
e2fsprogs              1.30-WIP
reiserfsprogs          3.6.3
Linux C Library        2.2.5
Dynamic linker (ldd)   2.2.5
Procps                 100.
Net-tools              1.60
Console-tools          0.2.3
Sh-utils               4.5.2


CONFIG_EXT3_FS=y
# CONFIG_EXT3_FS_XATTR is not set
CONFIG_JBD=y
CONFIG_JBD_DEBUG=y
CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_STACKOVERFLOW=y
CONFIG_DEBUG_SLAB=y
CONFIG_DEBUG_IOVIRT=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_DEBUG_SPINLOCK=y
CONFIG_KALLSYMS=y
CONFIG_DEBUG_SPINLOCK_SLEEP=y
CONFIG_FRAME_POINTER=y


Problem Description:
If you change include/linux/ext3_fs.h to #define EXT3FS_DEBUG, then 
fs/ext3/balloc.c fails to compile. It compiles if EXT3FS_DEBUG is #undef.

  gcc -Wp,-MD,fs/ext3/.balloc.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-
prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -
mpreferred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default -
nostdinc -iwithprefix include    -DKBUILD_BASENAME=balloc -
DKBUILD_MODNAME=ext3 -c -o fs/ext3/balloc.o fs/ext3/balloc.c
fs/ext3/balloc.c: In function `ext3_new_block':
fs/ext3/balloc.c:506: `i' undeclared (first use in this function)
fs/ext3/balloc.c:506: (Each undeclared identifier is reported only once
fs/ext3/balloc.c:506: for each function it appears in.)
fs/ext3/balloc.c: In function `ext3_count_free_blocks':
fs/ext3/balloc.c:662: warning: long unsigned int format, unsigned int arg
(arg  2)
make[2]: *** [fs/ext3/balloc.o] Error 1
make[1]: *** [fs/ext3] Error 2
make: *** [fs] Error 2


Steps to reproduce:

change include/linux/ext3_fs.h:33 from #undef EXT3FS_DEBUG to #define 
EXT3FS_DEBUG, then recompile.



                 reply	other threads:[~2003-02-14 19:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='73740000.1045252413@[10.10.2.4]' \
    --to=mbligh@aracnet.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®