gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -c -o
video1394.o video1394.c
video1394.c: In function `do_iso_mmap':
video1394.c:868: warning: passing arg 1 of `remap_page_range' makes
pointer from integer without a cast
video1394.c:868: incompatible type for argument 4 of `remap_page_range'
video1394.c:868: too few arguments to function `remap_page_range'
make[2]: *** [video1394.o] Error 1
make[2]: Leaving directory `/usr/src/linux/drivers/ieee1394'
CONFIG_IEEE1394=m
CONFIG_IEEE1394_OHCI1394=m
CONFIG_IEEE1394_VIDEO1394=m
CONFIG_IEEE1394_SBP2=m
CONFIG_IEEE1394_DV1394=m
CONFIG_IEEE1394_RAWIO=m
CONFIG_IEEE1394_VERBOSEDEBUG=y
On 24 Jan 2002 20:21:42 -0800
Miles Lane <[email protected]> wrote:
>
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -c -o
> video1394.o video1394.c
> video1394.c: In function `do_iso_mmap':
> video1394.c:868: warning: passing arg 1 of `remap_page_range' makes
> pointer from integer without a cast
> video1394.c:868: incompatible type for argument 4 of `remap_page_range'
> video1394.c:868: too few arguments to function `remap_page_range'
> make[2]: *** [video1394.o] Error 1
> make[2]: Leaving directory `/usr/src/linux/drivers/ieee1394'
It is very hard to Linus to look and apply all patches, so pre5 has the
same errors that others pre. Please, apply this patch or get it from Dave
Jones tree. I hope it will help you.
Evgeniy Polyakov ( s0mbre ).
ieee1394_video1394.patch seems to work for me.
Thanks,
Miles