On Wednesday 29 April 2009, Olexiy Davydov wrote:
> Hi.
>
> I'm having problems building a kernel module for VBox 2.2.2 on Fedora
> Rawhide with official rpm for F11.
>
> I've installed gcc and kernel-devel (aka kernel sources). First, when
> trying to build a kernel module, it turned out that I don't have
> /usr/src/linux symlink to latest kernel, only /usr/src/kernels/
> OK, I've symlinked /usr/src/kernels/2.6.29.1-111.fc11.i586 to
> /usr/src/linux. My next attempt at vboxdrv setup led to following
> vbox-install.log:
>
> Makefile:143: Warning: using /usr/src/linux as the source directory of your
> Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run
> Make again.
> Makefile:151: *** Error: /usr/src/linux (version 2.6.29.1-111.fc11.i586)
> does not match the current kernel (version 2.6.29.1-111.fc11.i686.PAE).
> Stop.
>
> Any suggestions? Should I file a bug against VirtualBox or Fedora?

Please never create the /usr/src/linux symlink manually. You have
to install the correct kernel headers which match to your current
running kernel. In your case the package should be named

  kernel-PAE-devel-2.6.29.1-111.fc11

Kind regards,

Frank
-- 
Dr.-Ing. Frank Mehnert    Sun Microsystems    http://www.sun.com/

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to