[vbox-dev] VBox kernel module does not build on kernel 3.5-rc1

Sérgio Basto sergio at serjux.com
Wed Jun 13 17:21:12 GMT 2012


On Qua, 2012-06-13 at 17:38 +0200, Frank Mehnert wrote: 
> On Wednesday 13 June 2012 17:06:13 Sérgio Basto wrote:
> > On Ter, 2012-06-12 at 15:55 +0200, Frank Mehnert wrote:
> > > On Wednesday 06 June 2012 07:13:40 Sérgio Basto wrote:
> > > > Klaus , your message should go to List isn't it ? not only for me
> > > > 
> > > > On 05.06.2012 18:17, Sérgio Basto wrote:
> > > > > Hi,
> > > > > 
> > > > > On Seg, 2012-06-04 at 18:13 -0500, Larry Finger wrote:
> > > > >> There is a patch available from
> > > > >> http://mlau.at/files/vbox-4116-35rc0.patch. Manuel Lauss wrote it.
> > > > >> With it, the kernel module builds, but I have not yet tested the
> > > > >> resulting module.
> > > > > 
> > > > > Let me know what is include in main stream of VirtualBox, I will need
> > > > > it, for sure, to compile in Fedora rawhide .
> > > > 
> > > > It'll take a bit longer to figure out if this is 100% correct, and also
> > > > working in older Linux versions... we're on it.
> > > > 
> > > > Thanks to everyone helping with this (including Al Viro, who tried to
> > > > make the necessary changes to VirtualBox, and already saw that it might
> > > > be a bit more complicated).
> > > 
> > > Thanks Sérgio. Please have a look at
> > > 
> > >   https://www.virtualbox.org/changeset/41660/vbox
> > > 
> > > This change should make it possible to compile the VirtualBox kernel
> > > modules against Linux 3.5.
> > 
> > Hi,
> > After apply changeset 41660
> > I got a new implicit-function-declaration:
> >   CC
> > [M] 
> > /builddir/build/BUILD/VirtualBox-kmod-4.1.16/_kmod_build_3.5.0-0.rc2.git0.
> > 3.fc18.x86_64/vboxsf/lnkops.o
> > /builddir/build/BUILD/VirtualBox-kmod-4.1.16/_kmod_build_3.5.0-0.rc2.git0.
> > 3.fc18.x86_64/vboxsf/vfsmod.c: In function 'sf_evict_inode':
> > /builddir/build/BUILD/VirtualBox-kmod-4.1.16/_kmod_build_3.5.0-0.rc2.git0.
> > 3.fc18.x86_64/vboxsf/vfsmod.c:376:5: error: implicit declaration of
> > function 'end_writeback' [-Werror=implicit-function-declaration] cc1: some
> > warnings being treated as errors
> 
> The fix I mentioned was only for the host side. The fix for the guest side
> can be found in 
> 
> https://www.virtualbox.org/changeset/41577/vbox
> 

On rpmfusion, we also build kmods for guest systems .
so we need the 2 patches , and worked. 

Thanks, 
-- 
Sérgio M. B.





More information about the vbox-dev mailing list