--- Tuukka Toivonen <tuukkat@xxxxxxxxxx> wrote: >On Sun, 7 Sep 2003, eric lin wrote: > >>[root@localhost nw802-2.4-0.0.99]# make >>gcc -O3 -D__KERNEL__ -DMODULE -Wall -DMODVERSIONS -funroll-loops -frerun-cse-after-loop -funroll-all-loops -fomit-frame-pointer -nostdinc -I /usr/src/linux-2.4/include -I `dirname \`gcc -print-libgcc-file-name\``/include/ -include /usr/src/linux-2.4/include/linux/modversions.h -c -o usbvideo.o usbvideo.c >>usbvideo.c: In function `usbvideo_AllocateDevice': >>usbvideo.c:1083: warning: assignment from incompatible pointer type >>usbvideo.c: In function `usbvideo_v4l_mmap': >>usbvideo.c:1182: warning: passing arg 1 of `remap_page_range_Rc414bdc2' makes pointer from integer without a cast >>usbvideo.c:1182: incompatible type for argument 4 of `remap_page_range_Rc414bdc2' >>usbvideo.c:1182: too few arguments to function `remap_page_range_Rc414bdc2' > >Red Hat has patched their kernel to death, so it is incompatible with >original Linux kernels. You could download original kernel from >ftp.kernel.org (or mirrors), and install that, and compile the driver >against the good kernel. > >If you can code, you could try fixing the problem. qc-usb driver faced the >same problem, which I solved. You may download the code from >http://qce-ga.sourceforge.net ---------------- Dear Tuukka: Thanks your point out, I follow your link to download 2 files linux-2.4.20-videodevfix.patch qc-usb-0.5.1.tar.gz but I wonder whether I untar it or how to patch it, (1) my webcam is BTC not quick cam of logitech (2) my kernel source directory structure is cd /usr/src [root@localhost src]# ls debug linux-2.4 linux-2.4.20-20.9 redhat [root@localhost src]# cd linux-2.4 [root@localhost linux-2.4]# ls arch Documentation kernel README configs drivers lib REPORTING-BUGS COPYING fs MAINTAINERS Rules.make COPYING.modules include Makefile scripts CREDITS init mm tmp_include_depends crypto ipc net [root@localhost linux-2.4]# -------------------------------- I wonder where to modify or unpatch hope to see more detail and complete information to fix it highly appreciate your time and help, thanks in advance, sincerely eric _____________________________________________________________ Have you signed up for the World's Fastest Free Email ? http://www.Luxmail.com