2002-06-04 22:10:24

by system_lists

[permalink] [raw]
Subject: PROBLEMS to compile ataraid.c in kernel-2.5.20


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




2002-06-04 22:33:37

by Alan

[permalink] [raw]
Subject: Re: PROBLEMS to compile ataraid.c in kernel-2.5.20

On Tue, 2002-06-04 at 23:10, [email protected] wrote:
> 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.

Ataraid needs major work for 2.5 yet. Its built around a lot of 2.4
assumptions that the new I/O layer has rendered incorrect

2002-06-04 22:34:46

by system_lists

[permalink] [raw]
Subject: Re: PROBLEMS to compile ataraid.c in kernel-2.5.20

OK

thank u Alan.
Compiling 2.4.18 then.

At 00:39 05/06/2002 +0100, Alan Cox wrote:
>On Tue, 2002-06-04 at 23:10, [email protected] wrote:
> > 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.
>
>Ataraid needs major work for 2.5 yet. Its built around a lot of 2.4
>assumptions that the new I/O layer has rendered incorrect