Re: webcam driver can not compile, please help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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




[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux