VirtualBox

Opened 14 years ago

Closed 14 years ago

#7511 closed defect (fixed)

Compiling with Guest Properties disabled fails (fix attached)

Reported by: Twisted Lincoln, Inc. Owned by:
Component: other Version: VirtualBox 3.2.8
Keywords: Cc:
Guest type: other Host type: Linux

Description

When compiling VirtualBox-OSE 3.2.8 without Guest Properties enabled (by setting the VBOX_WITH_GUEST_PROPS configure flag), compilation ends with an error.

This appears to be due to the fact a section of code used by the Guest Properties functionality is not properly segregated to be run only if compiled with the feature active.

The solution is to place #ifdef VBOX_WITH_GUEST_PROPS and #endif statements surrounding the offending code.

The location in question is src/VBox/Main/MachineImpl.cpp -- placing the above statements at lines 11143 and 11163 respectively solves the issue, and VirtualBox-OSE compiles as expected, with the Guest Properties approrpiately disabled.

I have attached a copy of the MachineImpl.cpp file with the modifications in place.

Attachments (1)

MachineImpl.cpp (367.0 KB ) - added by Twisted Lincoln, Inc. 14 years ago.
Fixed MachineImpl.cpp

Download all attachments as: .zip

Change History (2)

by Twisted Lincoln, Inc., 14 years ago

Attachment: MachineImpl.cpp added

Fixed MachineImpl.cpp

comment:1 by Frank Mehnert, 14 years ago

Resolution: fixed
Status: newclosed

Thanks for the report, this will be fixed in the next maintenance release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use