lkml.org 
[lkml]   [2002]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subject[2.5.21] compile error
Hi all,
I've just tried to compile the 2.5.21,
but I got these errors:

make[2]: Entering directory `/usr/src/linux-2.5.21/drivers/ide'
gcc -Wp,-MD,.ataraid.o.d -D__KERNEL__ -I/usr/src/linux-2.5.21/include -Wall -W
strict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -
fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix
include -DMODULE -include /usr/src/linux-2.5.21/include/linux/modversions.h -
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_R1616d035':
ataraid.c:119: sizeof applied to an incomplete type
ataraid.c: In function `ataraid_end_request_R6a133f58':
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_R3b6085bd' makes
pointer from integer without a cast
ataraid.c:189: too many arguments to function `generic_make_request_R3b6085bd'
ataraid.c:190: warning: passing arg 1 of `generic_make_request_R3b6085bd' makes
pointer from integer without a cast
ataraid.c:190: too many arguments to function `generic_make_request_R3b6085bd'
ataraid.c: In function `ataraid_init':
ataraid.c:266: warning: passing arg 2 of `blk_queue_make_request_R49fe4a71' from
incompatible pointer type
make[2]: *** [ataraid.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.5.21/drivers/ide'
make[1]: *** [_subdir_ide] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.21/drivers'
make: *** [drivers] Error 2

gcc version 2.96 20000731 (Mandrake Linux 8.1 2.96-0.62mdk))

Let me know if you need further information and, please cc' me because I'm not a subscriber of the list.

Many thanks,

-- PC
--
Get your free email from www.linuxmail.org


Powered by Outblaze
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.041 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site