Robin Humble wrote:
> I downloaded the xfs and xfs-core patches and applied them both to a
> straight linux-2.4.3.tar.bz - it all builds just fine except for the
> loop module:
Oppps my fault I probably forgot to add loop.c to patch gen script.
Try this is should fix the build. I'll redo the patch it the morning.
--- drivers/block/loop.c Sat Mar 31 01:19:30 2001
+++ /export/extra/lxfs-cvs/linux-2.4.3/linux/drivers/block/loop.c Tue
Mar 6 21:35:36 2001
@@ -473,7 +473,7 @@
goto err;
}
- generic_make_request(rw, bh,NULL,0,0,0);
+ generic_make_request(rw, bh);
return 0;
err:
>
>
> make[2]: Entering directory
> `/usr/src/linux-2.4.3-xfs-mar31/drivers/block'
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.3-xfs-mar31/include -Wall
> -Wstrict-prototypes -O2 -fno-strict-aliasing -fomit-frame-pointer -pipe
> -march=i686 -malign-functions=4 -DMODULE -DMODVERSIONS -include
> /usr/src/linux-2.4.3-xfs-mar31/include/linux/modversions.h
> -DEXPORT_SYMTAB -c loop.c
> loop.c: In function `loop_make_request':
> loop.c:476: too few arguments to function
> `generic_make_request_Ra58ea7b0'
> loop.c: In function `loop_init':
> loop.c:983: warning: passing arg 2 of `blk_queue_make_request_Rdfd55e90'
> from incompatible pointer type
> make[2]: *** [loop.o] Error 1
> make[2]: Leaving directory
> `/usr/src/linux-2.4.3-xfs-mar31/drivers/block'
> make[1]: *** [_modsubdir_block] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.3-xfs-mar31/drivers'
> make: *** [_mod_drivers] Error 2
> [root@prego linux-2.4.3-xfs-mar31]#
>
> Am I doing something wrong?
> stock 2.4.3 builds just fine except for a v4l buz module which I then
> de-selected.
>
> cheers,
> robin
--
Russell Cattelan
cattelan@xxxxxxxxxxx
|