PROBLEMS to compile ataraid.c in kernel-2.5.20

system_lists@nullzone.org
Wed, 05 Jun 2002 00:10:40 +0200


i got this error messages trying to get mi ataraid hardware on.

can any help me please? i have the system stoped waiting for this.

Seeya

gcc -D__KERNEL__ -I/usr/src/linux-2.5.20-ct2/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -DKBUILD_BASENAME=ataraid -DEXPORT_SYMTAB -c -o ataraid.o
ataraid.c
ataraid.c: In function `ataraid_make_request':
ataraid.c:101: dereferencing pointer to incomplete type
ataraid.c:99: warning: `minor' might be used uninitialized in this function
ataraid.c: In function `ataraid_get_bhead':
ataraid.c:119: sizeof applied to an incomplete type
ataraid.c: In function `ataraid_end_request':
ataraid.c:143: dereferencing pointer to incomplete type
ataraid.c:149: dereferencing pointer to incomplete type
ataraid.c: In function `ataraid_split_request':
ataraid.c:172: dereferencing pointer to incomplete type
ataraid.c:172: dereferencing pointer to incomplete type
ataraid.c:172: dereferencing pointer to incomplete type
ataraid.c:173: dereferencing pointer to incomplete type
ataraid.c:173: dereferencing pointer to incomplete type
ataraid.c:173: dereferencing pointer to incomplete type
ataraid.c:175: dereferencing pointer to incomplete type
ataraid.c:176: dereferencing pointer to incomplete type
ataraid.c:178: dereferencing pointer to incomplete type
ataraid.c:178: dereferencing pointer to incomplete type
ataraid.c:179: dereferencing pointer to incomplete type
ataraid.c:180: dereferencing pointer to incomplete type
ataraid.c:183: dereferencing pointer to incomplete type
ataraid.c:184: dereferencing pointer to incomplete type
ataraid.c:187: dereferencing pointer to incomplete type
ataraid.c:187: dereferencing pointer to incomplete type
ataraid.c:189: warning: passing arg 1 of `generic_make_request' makes
pointer from integer without a cast
ataraid.c:189: too many arguments to function `generic_make_request'
ataraid.c:190: warning: passing arg 1 of `generic_make_request' makes
pointer from integer without a cast
ataraid.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
incompatible pointer type
make[2]: *** [ataraid.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.5.20-ct2/drivers/ide'
make[1]: *** [_subdir_ide] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.20-ct2/drivers'
make: *** [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/