[vbox-dev] Two build errors in today's svn OSE repository (r29884)

walt w41ter at gmail.com
Tue Jun 1 17:21:00 PDT 2010

On 06/01/2010 12:30 AM, Frank Mehnert wrote:
> Hi,
> On Monday 31 May 2010, walt wrote:
>> I get two different errors today, depending on the arch:
>> 1) x86 (gcc-4.3.4):
>> vbox/src/VBox/Additions/linux/sharedfolders/regops.c:524:
>> error: ‘simple_sync_file’ undeclared here (not in a function)
> Which Linux kernel version do you have installed?

Aha!  Good hint, thanks :)  Maybe this is the problem?:

commit 1b061d9247f71cd15edc4c4c4600191a903642c0
Author: Christoph Hellwig <hch@>
Date:   Wed May 26 17:53:41 2010 +0200

     rename the generic fsync implementations

     We don't name our generic fsync implementations very well currently.
     The no-op implementation for in-memory filesystems currently is called
     simple_sync_file which doesn't make too much sense to start with,
     the the generic one for simple filesystems is called simple_fsync
     which can lead to some confusion.

     This patch renames the generic file fsync method to generic_file_fsync
     to match the other generic_file_* routines it is supposed to be used
     with, and the no-op implementation to noop_fsync to make it obvious
     what to expect.  In addition add some documentation for both methods.

     Signed-off-by: Christoph Hellwig <hch@>
     Signed-off-by: Al Viro <viro@>

>> 2) amd_64 (gcc-4.4.3):
>> vbox/src/VBox/Devices/PC/vbox.dsl   998:        0xdfdfffff,    // Range
>> Length Error 4118 - Length is not equal to fixed Min/Max window
> Which distribution is that?

Gentoo.  Are there others?  ;)

> And which version of iasl are you using?

Bernhard's patch fixed the second problem, but here's the info:

ASL Optimizing Compiler version 20100428 [May  5 2010]
Supports ACPI Specification Revision 4.0a

"works for me":
ASL Optimizing Compiler version 20090123 [Apr 17 2010]
Supports ACPI Specification Revision 3.0a


More information about the vbox-dev mailing list