Linux 2.4.20-pre3
gcc -D__KERNEL__ -I/home/skidley/kernel/linux-2.4.20-pre3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=check -DEXPORT_SYMTAB -c check.ccheck.c: In function `devfs_register_disc':
check.c:328: structure has no member named number' check.c:329: structure has no member named number'check.c: In function `devfs_register_partitions':
check.c:361: structure has no member named `number'
make[3]: *** [check.o] Error 1
make[3]: Leaving directory `/home/skidley/kernel/linux-2.4.20-pre3/fs/partitions' make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/skidley/kernel/linux-2.4.20-pre3/fs/partitions' make[1]: *** [_subdir_partitions] Error 2
make[1]: Leaving directory `/home/skidley/kernel/linux-2.4.20-pre3/fs'
make: *** [_dir_fs] Error 2
Signature · 4 lines
"I mean they are gonna kill ya so like if ya give em a quick, short, sharp, shock they won't do it again. Dig it! I mean he got off lightly cuz I would have given him a thrashing. I only hit him once. It was only a difference of opinion but really... I mean good manners don't cost nothin do they. Eh?"
Quoted 6 lines · Skidley
check.c: In function `devfs_register_disc':
check.c:328: structure has no member namednumber' check.c:329: structure has no member namednumber'check.c: In function `devfs_register_partitions':
check.c:361: structure has no member named `number' make[3]: *** [check.o] Error 1
Quoted 8 lines
make[3]: Leaving directory `/home/skidley/kernel/linux-2.4.20-pre3/fs/partitions' make[2]: *** [
first_rule] Error 2
make[2]: Leaving directory `/home/skidley/kernel/linux-2.4.20-pre3/fs/partitions' make[1]: *** [_subdir_partitions] Error 2
make[1]: Leaving directory `/home/skidley/kernel/linux-2.4.20-pre3/fs'
make: *** [_dir_fs] Error 2
Yeah, I forgot to apply the fix to this one, sorry.
Here it is:
Subject: [PATCH] fix current BK tree compilation with devfs enabled
Not that I care for devfs, but there was at least one report on lkml.
I tried to also put the devfs_handle_t under CONFIG_DEVFS_FS, but the devfs wrappers require it. And yes, I'm seriously pissed that devfs puts wordsize objects everywhere even if not enabled.
include/linux/genhd.h +3 -1
@@ -62,7 +62,9 @@ struct hd_struct {unsigned long start_sect;unsigned long nr_sects;devfs_handle_t de;/* primary (master) devfs entry */ - +#ifdef CONFIG_DEVFS_FS +int number; +#endif /* CONFIG_DEVFS_FS */ #ifdef CONFIG_BLK_STATS /* Performance stats: */ unsigned int ios_in_flight;
about the patch of devfs, why don't add directly this patch in the new 2.4.20-pre3 ?
Quoted 52 lines · Marcelo Tosatti
Quoted 6 lines · Skidley
check.c: In function `devfs_register_disc':
check.c:328: structure has no member namednumber' check.c:329: structure has no member namednumber'check.c: In function `devfs_register_partitions':
check.c:361: structure has no member named `number' make[3]: *** [check.o] Error 1Quoted 8 lines
make[3]: Leaving directory `/home/skidley/kernel/linux-2.4.20-pre3/fs/partitions' make[2]: *** [
first_rule] Error 2
make[2]: Leaving directory `/home/skidley/kernel/linux-2.4.20-pre3/fs/partitions' make[1]: *** [_subdir_partitions] Error 2
make[1]: Leaving directory `/home/skidley/kernel/linux-2.4.20-pre3/fs'
make: *** [_dir_fs] Error 2Yeah, I forgot to apply the fix to this one, sorry.
Here it is:
Subject: [PATCH] fix current BK tree compilation with devfs enabled
Not that I care for devfs, but there was at least one report on lkml.
I tried to also put the
devfs_handle_tunderCONFIG_DEVFS_FS, but the devfs wrappers require it. And yes, I'm seriously pissed that devfs puts wordsize objects everywhere even if not enabled.include/linux/genhd.h +3
-2@@ -62,7 +62,9 @@ struct hd_struct {unsigned long start_sect;unsigned long nr_sects;devfs_handle_t de;/* primary (master) devfs entry */ - +#ifdef CONFIG_DEVFS_FS +int number; +#endif /* CONFIG_DEVFS_FS */ #ifdef CONFIG_BLK_STATS /* Performance stats: */ unsigned int ios_in_flight; -To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Signature · 2 lines
Stephane Wirtel <[email protected]> Web : www.linux-mons.be "Linux Is Not UniX !!!"