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

Frank Mehnert frank.mehnert at oracle.com
Wed Jun 13 15:38:40 GMT 2012


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

Kind regards,

Frank
-- 
Dr.-Ing. Frank Mehnert
Senior Manager Software Development Desktop Virtualization, VirtualBox
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany

Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20120613/da781c70/attachment.sig>


More information about the vbox-dev mailing list