Skip to contentSkip to conversation

2.5.7 compile error

DISCUSSION Mike Black 1 participant 1 message Mar 22, 2002

lore
Share & tools
lore

Mike Black

author
#0 lore raw

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
[email protected] 321-676-2923,x203
http://www.csihq.com Computer Science Innovations
http://www.csihq.com/~mike My home page FAX 321-676-2355