--- Kjell Claesson <kjell.claesson@xxxxxxxxx> wrote: > Hi Eric. > > Now it seem better, as it finds the include. > > The problem is that RH kernels is a type of Allan > Cox > kernel. So the way to get it to work, do like this. > > in /usr/src/linux-2.4/drivers/usb you find the > usbvideo.c > and usbvideo.h > > copy the usbvideo.c and usbvideo.h from this > directory > to the driver lib. Dear Kjell: Do you mean to /usr/src/linux-2.4/drivers/ or /usr/src/linux-2.4/drivers/video/ (I tried both, not work, same error) ? or any other directory? > > Now try to compile. > > The usbvideo that come with the driver may be > incompatible > with your kernel. It is a common problem with RH. I ever using Kodak's digital camera DX3500 with usb port cable, it work in rh8 and rh9's default. So would I modify somewhere in the source code(2.4.20-20.9) or upgrade(in its ftp.redhat.com) to newer kernel(2.4.21) or switch to other distribution? What OS you use to wirte the nw802? looking to hear from you again sincere Eric ---------------------------------------------------- > > Best regards > Kjell Claesson > > > > mån 2003-09-08 klockan 09.27 skrev eric: > > [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' > > > > make: *** [usbvideo.o] Error 1 _____________________________________________________________ Have you signed up for the World's Fastest Free Email ? http://www.Luxmail.com