[cpia] "usb.h" is missing ? was: usage under the 2.3.51 kernel"

Johannes Erdfelt jerdfelt@sventech.com
Tue, 14 Mar 2000 13:20:29 -0500


I think it was moved to /usr/src/linux/include/linux/usb.h

You'll have to modify the path in cpia_usb.c

JE

On Tue, Mar 14, 2000, vincent <vincent@linuxbe.org> wrote:
> apparently, the file "usb.h" is missing ?
> why ?
> 
> another file can replace this ?
> 
> 
> [root@jukebox module]# make dep
> rm -f .depend
> make .depend
> make[1]: Entering directory `/tmp/cpia-0.7.4/module'
> echo '# Program dependencies' >.depend
> gcc -M -D_CPIA_DEBUG_ -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer  -pipe -fno-strength-reduce -m486 -malign-loops=2
> -malign-jumps=2 -malign-functions=2 -DCPU=686 -fomit-frame-pointer
> -fno-strength-reduce -I. -I/usr/src/linux/include -D__KERNEL__ -DMODULE
> -DCONFIG_VIDEO_CPIA_MODULE -DCONFIG_VIDEO_CPIA_PP_MODULE
> -DCONFIG_VIDEO_CPIA_PP_DMA  *.c >>.depend
> cpia_usb.c:34: /usr/src/linux/drivers/usb/usb.h: No such file or
> directory
> make[1]: *** [.depend] Error 1
> make[1]: Leaving directory `/tmp/cpia-0.7.4/module'
> make: *** [dep] Error 2
> 
> 
> ]# ls  /usr/src/linux/drivers/usb/usb*h
> /usr/src/linux/drivers/usb/usb-ohci.h
> /usr/src/linux/drivers/usb/usb-storage-debug.h
> /usr/src/linux/drivers/usb/usb-storage.h
> /usr/src/linux/drivers/usb/usb-uhci-debug.h
> /usr/src/linux/drivers/usb/usb-uhci.h
> /usr/src/linux/drivers/usb/usbdevice_fs.h
> 
> 
> Bastian wrote:
> > 
> > At 22:19 13.3.2000 +0100, vincent wrote:
> > 
> > >I try to use the CPIA driver and I ve got the following error:
> > >
> > >[root@jukebox module]# /sbin/insmod cpia.o
> > >cpia.o: unresolved symbol video_register_device
> > >cpia.o: unresolved symbol video_unregister_device
> > >
> > >I give you my "dmesg" on attach
> > >
> > >also I don't know how the /dev/video is created
> > >/dev/video: No such device
> > >
> > >in the doc
> > >it s talk about "video 4 linux"
> > >but I don't see that in the kernel config ..
> > 
> > have a look in Character Devices -> Video For Linux ->
> > 
> > >Hope somene can help me ..
> > >
> > 
> > Bastian
> > 
> > _______________________________________________
> > cpia mailing list  -  cpia@risc.uni-linz.ac.at
> > http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia
> 
> _______________________________________________
> cpia mailing list  -  cpia@risc.uni-linz.ac.at
> http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia
>