2.5.7 compile error

From: Mike Black (mblack@csihq.com)
Date: Fri Mar 22 2002 - 14:39:49 EST


With raid5 as a module:

gcc -D__KERNEL__ -I/usr/src/linux-2.5.7/include -Wall -Wstrict-prototypes -W
no-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasi
ng -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DKB
UILD_BASENAME=raid5 -c -o raid5.o raid5.c
In file included from raid5.c:23:
/usr/src/linux-2.5.7/include/linux/raid/raid5.h:218: parse error before
`md_wait_queue_head_t'
/usr/src/linux-2.5.7/include/linux/raid/raid5.h:218: warning: no semicolon
at end of struct or union
/usr/src/linux-2.5.7/include/linux/raid/raid5.h:222: parse error before
`device_lock'
/usr/src/linux-2.5.7/include/linux/raid/raid5.h:222: warning: type defaults
to `int' in declaration of `device_lock'
/usr/src/linux-2.5.7/include/linux/raid/raid5.h:222: warning: data
definition has no type or storage class
/usr/src/linux-2.5.7/include/linux/raid/raid5.h:226: parse error before `}'
raid5.c: In function `__release_stripe':
raid5.c:67: dereferencing pointer to incomplete type
raid5.c:71: dereferencing pointer to incomplete type
raid5.c:73: dereferencing pointer to incomplete type
raid5.c:74: dereferencing pointer to incomplete type

________________________________________
Michael D. Black Principal Engineer
mblack@csihq.com 321-676-2923,x203
http://www.csihq.com Computer Science Innovations
http://www.csihq.com/~mike My home page
FAX 321-676-2355

-
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/



This archive was generated by hypermail 2b29 : Sat Mar 23 2002 - 22:00:28 EST