I just tried to compile 2.5.18-dj1 with gcc 3.1 and it failed with NTFS as
module:
gcc -D__KERNEL__ -I/usr/src/kernel/2.5.18-dj1/linux-2.5.18/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
-DMODULE -DMODVERSIONS -include
/usr/src/kernel/2.5.18-dj1/linux-2.5.18/include/linux/modversions.h
-DNTFS_VERSION=\"2.0.7\" -DDEBUG -DKBUILD_BASENAME=aops -c -o aops.o
aops.c
In file included from attrib.h:31,
from debug.h:31,
from ntfs.h:40,
from aops.c:30:
layout.h:299: unnamed fields of type other than struct or union are not
allowed
layout.h:1450: unnamed fields of type other than struct or union are not
allowed
layout.h:1466: unnamed fields of type other than struct or union are not
allowed
layout.h:1715: unnamed fields of type other than struct or union are not
allowed
layout.h:1892: unnamed fields of type other than struct or union are not
allowed
layout.h:2052: unnamed fields of type other than struct or union are not
allowed
layout.h:2064: unnamed fields of type other than struct or union are not
allowed
make[2]: *** [aops.o] Error 1
make[2]: Leaving directory
`/usr/src/kernel/2.5.18-dj1/linux-2.5.18/fs/ntfs'
make[1]: *** [_modsubdir_ntfs] Error 2
make[1]: Leaving directory `/usr/src/kernel/2.5.18-dj1/linux-2.5.18/fs'
make: *** [_mod_fs] Error 2
rest of the system is redhat 7.3 out of the box only gcc 3.1 was installed
from rawhide rpms
-- "Der Krieg ist ein Massaker von Leuten, die sich nicht kennen, zum Nutzen von Leuten, die sich kennen, aber nicht massakrieren" - Paul Valéry (1871-1945) mfg, Clemens Schwaighofer PIXELWINGS Medien GMBH Kandlgasse 15/5, A-1070 Wien T: [+43 1] 524 58 50 JETZT NEU! MIT FEWA GEWASCHEN --> http://www.pixelwings.com- 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/