[-ENOCOMPILE] ataraid as module in linux-2.5.7-pre2

Denis Vlasenko (vda@port.imtp.ilyichevsk.odessa.ua)
Mon, 18 Mar 2002 11:37:33 -0200


gcc -D__KERNEL__ -I/.share/usr/src/linux-2.5.7-pre2/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i386 -DMODULE -DMODVERSIONS -include
/.share/usr/src/linux-2.5.7-pre2/include/linux/modversions.h
-DKBUILD_BASENAME=ataraid -DEXPORT_SYMTAB -c ataraid.c

ataraid.c: In function `ataraid_make_request':
ataraid.c:105: structure has no member named `b_rdev'
ataraid.c:103: warning: `minor' might be used uninitialized in this function
ataraid.c: In function `ataraid_split_request':
ataraid.c:182: structure has no member named `b_rsector'
ataraid.c:193: warning: passing arg 1 of `generic_make_request_Rsmp_dd2e0d32'
makes pointer from integer without a cast
ataraid.c:193: too many arguments to function
`generic_make_request_Rsmp_dd2e0d32'
ataraid.c:194: warning: passing arg 1 of `generic_make_request_Rsmp_dd2e0d32'
makes pointer from integer without a cast
ataraid.c:194: too many arguments to function
`generic_make_request_Rsmp_dd2e0d32'
ataraid.c: In function `ataraid_init':
ataraid.c:249: `hardsect_size' undeclared (first use in this function)
ataraid.c:249: (Each undeclared identifier is reported only once
ataraid.c:249: for each function it appears in.)
ataraid.c:280: warning: passing arg 2 of
`blk_queue_make_request_Rsmp_e6d39e8a' from incompatible pointer
typeataraid.c: In function `ataraid_exit':
ataraid.c:289: `hardsect_size' undeclared (first use in this function)
make[2]: *** [ataraid.o] Error 1
make[2]: Leaving directory `/.share/usr/src/linux-2.5.7-pre2/drivers/ide'
make[1]: *** [_modsubdir_ide] Error 2
make[1]: Leaving directory `/.share/usr/src/linux-2.5.7-pre2/drivers'
make: *** [_mod_drivers] Error 2
-
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/