Re: Webcam choice

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

 



On Wednesday 08 November 2006 15:59, Paul Howarth wrote:
> Anne Wilson wrote:
> > On Wednesday 08 November 2006 13:07, Paul Howarth wrote:
> >> Anne Wilson wrote:
> >>
> >> This problem has come up in relation to a bunch of out-of-tree kernel
> >> drivers since FC6 was released. The linux/config.h header file no longer
> >> exists and is not needed. You should be able to just delete the source
> >> line in the driver that references it (gspca_core.c line 36 I think).
> >
> > OK - removed it, and make continued, apparently succeeding.  However,
> > attempting install gives me
> >
> > install -c -m 0644 gspca.ko /lib/modules/`uname
> > -r`/kernel/drivers/usb/media/ install: target
> > `/lib/modules/2.6.18-1.2798.fc6/kernel/drivers/usb/media/' is not a
> > directory: No such file or directory
> >
> > Do I simply create this directory?
>
> You could do, or you could install it into
> /lib/modules/2.6.18-1.2798.fc6/extra/ or maybe
> /lib/modules/2.6.18-1.2798.fc6/kernel/drivers/media/video/usbvideo/
>
I'm out of my depth, here, Paul.  Part of the makefile reads

MODULE_INSTALLDIR = /lib/modules/$(KERNEL_VERSION)/kernel/drivers/usb/media/
MODULE_INSTALLDIR2 
= /lib/modules/$(KERNEL_VERSION)/kernel/drivers/media/video/

default:
	$(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) CC=$(CC) modules

install:
	mkdir -p $(MODULE_INSTALLDIR)
	rm -f $(MODULE_INSTALLDIR)spca5xx.ko
	rm -f $(MODULE_INSTALLDIR2)gspca.ko
	install -c -m 0644 gspca.ko $(MODULE_INSTALLDIR)
	/sbin/depmod -ae

Should I edit the MODULE_INSTALLDIR	to match the MODULE_INSTALLDIR2?  I would 
have thought that they wouldn't have defined two separate ones if they could 
both go in the same one.

Sorry to sound naive - I am ;-)

Anne

Attachment: pgpOUF671xVAh.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux