Re: Where to put the source of kernel ??
On Fri, 2 Jan 2009, Sven Joachim wrote:
On 2009-01-02 16:46 +0100, Justin Piszcz wrote:
On Fri, 2 Jan 2009, Abdelkader Belahcene wrote:
I want to install gspcav1 (version 20071224) from http://
which is a source package for set of webcam drivers.
the built file, gspca_build, contains the folowing lines:
if [ ! -d $SRCDIR/include/linux ]; then
echo -e '\E[31;44m'
echo -e '\E[1m FATAL you need to install the Kernel Source for your
It seraches for the kernel source in /lib/modules......
I install the kernel source it is in /usr/src
so when I ran gspca_build, it didn't find my source!!!??
Is it an error on the file gspca_build ?
must I add something or config to my source ??
thanks for hel
Your kernel should be in /usr/src and link the source to linux.
ln -s /usr/src/linux-2.6.28 /usr/src/linux
This is nonsense, the kernel sources can be anywhere and this symlink is
not necessary. What is needed is a symlink in /lib/modules/`uname -r`:
# ln -sf /path/to/linux-x.y.z /lib/modules/`uname -r`/build
Of course the kernel sources must match the running kernel.
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact email@example.com
Most out-of-tree driver code however expects /usr/src/linux,
/usr/src/linux-2.4 to point to the kernel source.