Messages in this thread Patch in this message | | | Date | Sun, 12 Sep 1999 22:30:04 +0200 (CEST) | From | NTFlander <> | Subject | Parallel IDE bugs |
| |
Hi at all,
[sorry I'm not a kernel hacker and this is my first posting on this mailing list.]
I have discovered a bug in file <KERNEL_DIR>/drivers/block/paride/paride.h
FrollinoResearch:/home/ntf/download/linux# make modules>/dev/null In file included from paride.c:37: paride.h:49: parse error before `wait_queue_head_t' paride.h:49: warning: no semicolon at end of struct or union paride.h:54: parse error before `}' paride.c: In function `pi_write_regr': paride.c:52: dereferencing pointer to incomplete type
[SNIP.....]
paride.c:392: dereferencing pointer to incomplete type make[3]: *** [paride.o] Error 1 make[2]: *** [_modinsubdir_paride] Error 2 make[1]: *** [_modsubdir_block] Error 2 make: *** [_mod_drivers] Error 2
Solution is add to file:
<KERNEL_DIR>/drivers/block/paride/paride.h or to file: <KERNEL_DIR>/drivers/block/paride/paride.c
the header <KERNEL_DIR>/include/linux/wait.h
That contain definition of structure `wait_queue_head_t'
I'm not sure that function, but i haven't see problems in compilation.
Thanks to <ganz@keycomm.it> that have found a right header file with the definition of the structure.
Ciao, Emanuele
-- Hi Echelon!, none of your business. ntf@ircnet/ircity -- ntf@DISLESSICI.ORG - DISLESSICI CREW - The punk is not sad -- www.antifork.org/ntf - ANTIFORK RESEARCH -
Key fingerprint = 5BE2 14E1 A532 680F 57AB E828 BBF6 92CB BC4C 81A9
--- paride.c.origin Sun Sep 12 22:26:48 1999 +++ paride.c Sun Sep 12 22:20:46 1999 @@ -25,6 +25,7 @@ #include <linux/ioport.h> #include <linux/string.h> #include <linux/spinlock.h> +#include <linux/wait.h> #ifdef CONFIG_PARPORT_MODULE | |