[Linux-disciples] Kernel errors

Stephen R Laniel steve at laniels.org
Tue Jun 22 12:34:57 EDT 2004


It's frustrating: sometimes compiling the kernel will go a
long way, and then fail cryptically. E.g.,

/*
fs/jfs/jfs_dtree.c: In function `add_index':
fs/jfs/jfs_dtree.c:388: parse error before `struct'
fs/jfs/jfs_dtree.c:389: `temp_table' undeclared (first use in this function)
fs/jfs/jfs_dtree.c:389: (Each undeclared identifier is reported only once
fs/jfs/jfs_dtree.c:389: for each function it appears in.)
make[3]: *** [fs/jfs/jfs_dtree.o] Error 1
make[2]: *** [fs/jfs] Error 2
make[1]: *** [fs] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.6.7/linux-2.6.7'
make: *** [stamp-build] Error 2
*/

a) I'm not clear why this happened. I copied over the config
file from my properly working 2.6.6-2 kernel, then ran
make-kpkg clean and make-kpkg kernel_image. Any idea what
this could be about?
 
b) In general, what does one do for these sorts of errors?
Grep through the code, or is there a higher-level approach?

-- 
``If all the Irish bar owners around the world decided to go
  to Cork on the same day, it would tip Europe into the sea,
  and dangle Moscow in the clouds.''
 -Ben Hammersley, http://shorl.com/fokidifageve



More information about the Linux-disciples mailing list