mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Rich Chase <rac47.02@engalumni.colostate.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: missing elfconfig.h
Date: Sat, 9 Jun 2007 22:57:33 +0200	[thread overview]
Message-ID: <20070609205733.GB1641@uranus.ravnborg.org> (raw)
In-Reply-To: <200706091224.15162.rac47.02@engalumni.colostate.edu>

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

  reply	other threads:[~2007-06-09 20:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-08 13:08 Rich Chase
2007-06-08 20:19 ` Sam Ravnborg
2007-06-09  7:53   ` Jan Engelhardt
2007-06-09  7:57     ` Robert P. J. Day
2007-06-09  8:54       ` Sam Ravnborg
2007-06-09  7:59     ` Robert P. J. Day
2007-06-09  8:53     ` Sam Ravnborg
2007-06-09 16:38       ` Rich Chase
2007-06-09 16:24   ` Rich Chase
2007-06-09 20:57     ` Sam Ravnborg [this message]
2007-06-09 16:34 Rich Chase

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070609205733.GB1641@uranus.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rac47.02@engalumni.colostate.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®