Re: Re: fr1 with iSCSI on 2.6.11?
denis <[email protected]>
| Newsgroups | gmane.linux.enbd.general |
|---|---|
| Message-ID | <[email protected]> |
denis a écrit : > and now another problem while compiling enbd and 2.6.11.12 (using > 2.6.8.1 patch, i haven't tried to compile outside of the kernel) : > ... > CC [M] drivers/block/enbd/enbd_base.o > drivers/block/enbd/enbd_base.c:3471: conflicting types for > `wait_for_completion_timeout' > include/linux/ :33: previous declaration of `wait_for_completion_timeout' > drivers/block/enbd/enbd_base.c:4295: warning: `enbd_read_block_0' > defined but not used in enbd_base.c we have long and in completion.h unsigned long. I changed the type in enbd_base;c, but i'm not really sure. Now some problems in md : CC [M] drivers/md/raid1.o drivers/md/raid1.c: In function `sync_request': drivers/md/raid1.c:1500: warning: passing arg 1 of `md_sync_acct' from incompatible pointer type CC [M] drivers/md/bitmap.o drivers/md/bitmap.c: In function `bitmap_destr': drivers/md/bitmap.c:121: `MOD_DEC_USE_COUNT' undeclared (first use in this function) drivers/md/bitmap.c:121: (Each undeclared identifier is reported only once drivers/md/bitmap.c:121: for each function it appears in.) drivers/md/bitmap.c: In function `bitmap_init': drivers/md/bitmap.c:831: `MOD_INC_USE_COUNT' undeclared (first use in this function) This macro seems not to be defined before... well... It has been suppressed in this kernel version ! I just comment the lines, as i have not found the equivalent in modules.h.... now it compiles.