VirtualBox

Ticket #17770 (new defect)

Opened 10 months ago

Last modified 10 months ago

VBox 5.2.12 doesn't compile: AmlCodeSsdtStandard not declared in this scope => fixed in SVN

Reported by: berolinux Owned by:
Component: other Version: VirtualBox 5.2.12
Keywords: Cc:
Guest type: all Host type: Linux

Description (last modified by janitor) (diff)

Building VBox 5.2.12 on OpenMandriva Lx 4 fails with:

/home/bero/abf/virtualbox/BUILD/VirtualBox-5.2.12/src/VBox/Devices/PC/ACPI/VBoxAcpi.cpp:428:30: error: ‘AmlCodeSsdtStandard’ was not declared in this scope
             pabAmlCode     = AmlCodeSsdtStandard;
                              ^~~~~~~~~~~~~~~~~~~
kmk: *** [/home/bero/abf/virtualbox/BUILD/VirtualBox-5.2.12/out/linux.amd64/release/obj/VBoxDD/PC/ACPI/VBoxAcpi.o] Error 1

Looks like FreeBSD is also affected by this:  https://www.mail-archive.com/freebsd-emulation@freebsd.org/msg08354.html

Attachments

iasl.patch Download (2.5 KB) - added by aeichner 10 months ago.
Experimental patch to fix compilation with newer versions of IASL

Change History

comment:1 Changed 10 months ago by janitor

  • Description modified (diff)

Changed 10 months ago by aeichner

Experimental patch to fix compilation with newer versions of IASL

comment:2 Changed 10 months ago by aeichner

Can you please try the attachd patch against the VBox source tree? Looks like newer versions of IASL don't replace a dash with an underscore in filenames anymore breaking the generated C header.

comment:3 Changed 10 months ago by aeichner

  • Summary changed from VBox 5.2.12 doesn't compile: AmlCodeSsdtStandard not declared in this scope to VBox 5.2.12 doesn't compile: AmlCodeSsdtStandard not declared in this scope => fixed in SVN

The patch is not quite complete, a complete fix was committed to the svn and backported to 5.2 and 5.1. They will be available with the next maintenance release.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use