bh_count undeclared

Christian Kujau
2008-05-25T15:35:14Z

Hi,

while trying to build the current e2fsprogs.pu git tree, I got:

# CFLAGS="-g" ./configure --prefix=/opt/e2fsprogs --enable-htree
# make
[....]
making all in e2fsck
make[2]: Entering directory `/data/Scratch/scm/e2fsprogs-git/e2fsck'
CC journal.c
journal.c: In function ‘getblk’:
journal.c:76: error: ‘bh_count’ undeclared (first use in this function)
journal.c:76: error: (Each undeclared identifier is reported only once
journal.c:76: error: for each function it appears in.)
make[2]: *** [journal.o] Error 1
make[2]: Leaving directory `/data/Scratch/scm/e2fsprogs-git/e2fsck'
make[1]: *** [all-progs-recursive] Error 1
make[1]: Leaving directory `/data/Scratch/scm/e2fsprogs-git'
make: *** [all] Error 2

When looking at journal.c I see 'bh_count' declared within an #ifdef, but
even when compiling with --enable-jfs-debug the error persists. Right now
I just removed the #ifdef so that the build succeeds.

But, what's the real issue here?

Thanks,
Christian.
--
BOFH excuse #331:

those damn raccoons!
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html