Re: missing elfconfig.h

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

 



On Sat, Jun 09, 2007 at 12:24:14PM -0400, Rich Chase wrote:
> Sam,
> Thanks for the feedback. I need more ideas. See 
> responses to your ideas below.
> 
> 
> Yes, I was attempting to compile gspcav1, a webcam 
> driver. It can be found at:
>   http://mxhaard.free.fr/download.html

>From the Makefile:

KERNEL_VERSION = `uname -r`
KERNELDIR := /lib/modules/$(KERNEL_VERSION)/build
PWD  := $(shell pwd)
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


So you need to check:
1) That your running kernel is indeed installed as /lib/modules/`uname -r`
2) That /lib/modules/`uname -r`/build are a proper symlink to
your kernel source including the build files.

Try to do: ls /lib/modules/`uname -r`/build/scripts

If this is OK then add V=1 to make invocation liek this:
        $(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) CC=$(CC) V=1 modules

and send the full output.

	Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux