Hello,
Do you have any idea, why 2.5x kernels don't compile for me?
2.4x kernels work fine. I have no knowledge to find it out.
Thanks:
radafuk
----------------------------------
gcc -D__KERNEL__ -I/usr/src/linux-2.5.15/include -Wall -Wstrict-prototypes -Wno-ary=2 -march=i686 -malign-functions=4 -DKBUILD_BASENAME=ataraid -DEXPORT_SYMataraid.c: In function `ataraid_make_request':
ataraid.c:101: structure has no member named `b_rdev'
ataraid.c:99: warning: `minor' might be used uninitialized in this function
ataraid.c: In function `ataraid_split_request':
ataraid.c:178: structure has no member named `b_rsector'
ataraid.c:189: warning: passing arg 1 of `generic_make_request' makes pointer frataraid.c:189: too many arguments to function `generic_make_request'
ataraid.c:190: warning: passing arg 1 of `generic_make_request' makes pointer frataraid.c:190: too many arguments to function `generic_make_request'
ataraid.c: In function `ataraid_init':
ataraid.c:266: warning: passing arg 2 of `blk_queue_make_request' from incompatimake[3]: *** [ataraid.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.5.15/drivers/ide'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.5.15/drivers/ide'
make[1]: *** [_subdir_ide] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.15/drivers'
make: *** [_dir_drivers] Error 2
-----------------------------------