Re: Kernel source

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

 



On samedi 7 juillet 2007, Tom Horsley wrote:
> > If that is not the case, then you will need full source so you look for
> > the src package.  Try the kernel-devel package first, it should meet
> > your requirements.
>
> I just built the uvcvideo driver with only kernel-devel installed,
> so that's probably all you need.

According to the messages received to my question, I did what you said.
I compiled the uvcvideo driver too, but the "make install" gave me a warning 
message. That's the first time I get such message when I install it. I do 
that each time a new code is available on the cvs, but I've never got such 
error.
This is what I got :
[fm@celtes43 uvc]$ make
Building USB Video Class driver...
make[1]: entrant dans le 
répertoire « /usr/src/kernels/2.6.21-1.3228.fc7-i686 »
  CC [M]  /home/fm/tmp/uvc/uvc_driver.o
  CC [M]  /home/fm/tmp/uvc/uvc_queue.o
  CC [M]  /home/fm/tmp/uvc/uvc_v4l2.o
  CC [M]  /home/fm/tmp/uvc/uvc_video.o
  CC [M]  /home/fm/tmp/uvc/uvc_ctrl.o
  LD [M]  /home/fm/tmp/uvc/uvcvideo.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/fm/tmp/uvc/uvcvideo.mod.o
  LD [M]  /home/fm/tmp/uvc/uvcvideo.ko
make[1]: quittant le répertoire « /usr/src/kernels/2.6.21-1.3228.fc7-i686 »
[fm@celtes43 uvc]$ su
Mot de passe :
[root@celtes43 uvc]# make install
Installing USB Video Class driver...
make[1]: entrant dans le 
répertoire « /usr/src/kernels/2.6.21-1.3228.fc7-i686 »
  INSTALL /home/fm/tmp/uvc/uvcvideo.ko
  DEPMOD  2.6.21-1.3228.fc7
make[1]: quittant le répertoire « /usr/src/kernels/2.6.21-1.3228.fc7-i686 »
depmod -ae
make: depmod : commande introuvable  <----------==== Here
make: *** [install] Erreur 127

> If you do need the full kernel source, the fedora 7 release notes
> have a section on kernel development that points to a web page
> with all the info required (I think the fedora 7 version even
> mentions all the dependencies they always seemed to forget
> about in previous release notes :-).

I guess I'm gonna do as usual, go and grab the latest kernel on kernel.org 
and compile it to match my needs.
I do not understand how Fedora has organized that. I thought I would have 
been able to download a source rpm file, and running rpm -ivh 
kernel-src.... would have installed everything under /usr/src
Francois

-- 


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

  Powered by Linux