On Friday 28 October 2005 15.43, Jeff Couture wrote:
> Usully,
>
> /lib/modules/<kernel version}/build/ is a link to the kernel build
> sources in /usr/src/linux or /usr/src/linux-<kernel version>
>
> make a link : ln -s /usr/src/linux /lib/modules/<kernel version>/build
>
> when building a kernel the build/ directory should be there.
Thanks for your help.
Than, I got this message:
:~$ su
Password:
freeroute:/home/freeroute# ln
-s /usr/src/kernel-source-2.6.8 /lib/modules/2.6.8-2-686/build
freeroute:/home/freeroute# cd /tmp
freeroute:/tmp# cd pwc-10.0.9-rc1/
freeroute:/tmp/pwc-10.0.9-rc1# make
make -C /lib/modules/2.6.8-2-686/build SUBDIRS=/tmp/pwc-10.0.9-rc1 modules
make[1]: Entering directory `/usr/src/kernel-source-2.6.8'
CC [M] /tmp/pwc-10.0.9-rc1/pwc-if.o
CC [M] /tmp/pwc-10.0.9-rc1/pwc-misc.o
CC [M] /tmp/pwc-10.0.9-rc1/pwc-ctrl.o
CC [M] /tmp/pwc-10.0.9-rc1/pwc-v4l.o
CC [M] /tmp/pwc-10.0.9-rc1/pwc-uncompress.o
CC [M] /tmp/pwc-10.0.9-rc1/pwc-dec1.o
CC [M] /tmp/pwc-10.0.9-rc1/pwc-dec23.o
CC [M] /tmp/pwc-10.0.9-rc1/pwc-kiara.o
CC [M] /tmp/pwc-10.0.9-rc1/pwc-timon.o
LD [M] /tmp/pwc-10.0.9-rc1/pwc.o
Building modules, stage 2.
MODPOST
Warning: could not find versions for .tmp_versions/pwc.mod
CC /tmp/pwc-10.0.9-rc1/pwc.mod.o
LD [M] /tmp/pwc-10.0.9-rc1/pwc.ko
make[1]: Leaving directory `/usr/src/kernel-source-2.6.8'
freeroute:/tmp/pwc-10.0.9-rc1# make install
make -C /lib/modules/2.6.8-2-686/build SUBDIRS=/tmp/pwc-10.0.9-rc1 modules
make[1]: Entering directory `/usr/src/kernel-source-2.6.8'
Building modules, stage 2.
MODPOST
Warning: could not find versions for .tmp_versions/pwc.mod
make[1]: Leaving directory `/usr/src/kernel-source-2.6.8'
install -d /lib/modules/2.6.8-2-686/kernel/drivers/usb/media
install -m 644 -c pwc.ko /lib/modules/2.6.8-2-686/kernel/drivers/usb/media
/sbin/depmod -a
freeroute:/tmp/pwc-10.0.9-rc1#
Everything is ok now?
Steve
_______________________________________________
pwc mailing list
http://lists.saillard.org/mailman/listinfo/pwc
|