2.3.46pre2 won't compile(same error in 2.3.45)

solar (ytl@iinchina.net)
Wed, 16 Feb 2000 09:13:27 +0800


gcc -D__KERNEL__ -I/usr/src/linux/include -D__SMP__ -Wall
-Wstrict-prototypes -o2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-DCPU=686 -march=i686 -DEXPORT_SYMTAB -c md.c
md.c: In function `md_setup':
md.c:3266: `FAULT_SHIFT' undeclared (first use in this function)
md.c:3266: (Each undeclared identifier is reported only once
md.c:3266: for each function it appears in.)
md.c: In function `md_setup_drive':
md.c:3346: warning: implicit declaration of function `do_md_setup'
md.c:3346: structure has no member named `str'
md.c:3346: structure has no member named `ints'
md.c:3347: parse error before `int'
md.c:3350: `minor' undeclared (first use in this function)
md.c:3354: `i' undeclared (first use in this function)
md.c:3354: `dev' undeclared (first use in this function)
md.c:3355: warning: implicit declaration of function `do_md_add'
md.c:3356: too many arguments to function `do_md_run'
md.c: At top level:
md.c:3344: warning: `md_setup_drive' defined but not used
make[3]: *** [md.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.3.46/drivers/block'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.3.46/drivers/block'
make[1]: *** [_subdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux-2.3.46/drivers'
make: *** [_dir_drivers] Error 2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/