Special Question about compiling
Posted: 31. Jan 2018, 11:31
Hello,
Please excuse my maybe bad English, I've tried my best.
It's about the DevIoApic.cpp since Version 5.1.x
In it, there are 2 Hardware Implementations, ICH9 and 82093AA,
so in Line 48
If I wish to build with the other Version and change the Entry to
gcc throws me this Errormessage
Is it possible to fix this, or is it generally impossible to build it that way ?
My knowledge about C++ is less than rudimentary, so that is why I'm asking here.
The whole thing happens on an Linux Mint 18.2 with Kernel 4.8.0,
have tried it with gcc 4.8 and 5.4
Thx, and best regards
Please excuse my maybe bad English, I've tried my best.
It's about the DevIoApic.cpp since Version 5.1.x
In it, there are 2 Hardware Implementations, ICH9 and 82093AA,
so in Line 48
Code: Select all
#define IOAPIC_HARDWARE_VERSION IOAPIC_HARDWARE_VERSION_ICH9
Code: Select all
#define IOAPIC_HARDWARE_VERSION IOAPIC_HARDWARE_VERSION_82093AA
Code: Select all
/home/usb/Downloads/VirtualBox-5.1.24/src/VBox/Devices/PC/DevIoApic.cpp: In Funktion »int ioapicDbgReg_GetArb(void*, PCDBGFREGDESC, PDBGFREGVAL)«:
/home/usb/Downloads/VirtualBox-5.1.24/src/VBox/Devices/PC/DevIoApic.cpp:899:75: error: too many arguments to function »uint32_t ioapicGetArb()«
pValue->u32 = ioapicGetArb(PDMINS_2_DATA((PPDMDEVINS)pvUser, PCIOAPIC));
^
/home/usb/Downloads/VirtualBox-5.1.24/src/VBox/Devices/PC/DevIoApic.cpp:293:22: note: declared here
DECLINLINE(uint32_t) ioapicGetArb(void)
^
kmk: *** [/home/usb/Downloads/VirtualBox-5.1.24/out/linux.amd64/release/obj/VBoxDD/PC/DevIoApic.o] Error 1
My knowledge about C++ is less than rudimentary, so that is why I'm asking here.
The whole thing happens on an Linux Mint 18.2 with Kernel 4.8.0,
have tried it with gcc 4.8 and 5.4
Thx, and best regards