lkml.org 
[lkml]   [2004]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PROBLEM: 2.6.7 does not compile (jfs errors)
On Wed, 16 Jun 2004, Dave Kleikamp wrote:
> On Wed, 2004-06-16 at 08:39, Perlbroker wrote:
> > CC [M] fs/jfs/jfs_dtree.o
> > 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/linux-2.6.7'
>
> This was reported in another thread by Tomas Szepe. I don't know why
> this sometimes compiles cleanly, but this patch should fix it:

Because newer gcc allows declarations of variables between statements, while
older doesn't?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.054 / U:0.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site