VirtualBox

Ticket #19862 (closed defect: fixed)

Opened 14 months ago

Last modified 14 months ago

build errors 6.1.14: VirtioCore.cpp needed by VirtioCore.o

Reported by: lip48 Owned by:
Component: other Version: VirtualBox 6.1.14
Keywords: OSE Cc:
Guest type: other Host type: Linux

Description

Build errors:

kmk: *** No rule to make target '/builddir/build/BUILD/VirtualBox-6.1.14/src/VBox/Devices/VirtIO/VirtioCore.cpp', needed by '/builddir/build/BUILD/VirtualBox-6.1.14/out/linux.amd64/release/obj/VBoxDD/VirtIO/VirtioCore.o'. Stop. kmk: *** Waiting for unfinished jobs....

Attachments

LocalConfig.kmk Download (20 bytes) - added by tvataire 14 months ago.

Change History

comment:1 Changed 14 months ago by fbatschu

  • Host type changed from other to Linux

from an email conversation on the alias:

https://www.virtualbox.org/pipermail/vbox-dev/2020-September/015543.html

svn export https://www.virtualbox.org/svn/vbox/trunk/src/VBox/Devices/VirtIO/VirtioCore.cpp
 src/VBox/Devices/VirtIO/.
svn export https://www.virtualbox.org/svn/vbox/trunk/src/VBox/Devices/VirtIO/VirtioCore.h
 src/VBox/Devices/VirtIO/.
 
but
 
The failing command:
@g++ -c -O2 -fno-pie -nostdinc -g -pipe  -pedantic -Wshadow -Wall
-Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs
-fdiagnostics-show-option -Wno-unused-parameter     -Wlogical-op
-Wno-variadic-macros -Wno-long-long -Wunused-variable
-Wunused-function -Wunused-label -Wunused-parameter
-Wno-overloaded-virtual -Wno-array-bounds -Wno-ignored-qualifiers
-Wno-variadic-macros -O2 -mtune=generic -fno-omit-frame-pointer
-fno-strict-aliasing -fno-exceptions -fno-stack-protector -fno-common
-fvisibility-inlines-hidden -fvisibility=hidden
-DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -fno-rtti
-fPIC -m64 -mno-red-zone -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
-fasynchronous-unwind-tables
-I/usr/tzinti/build/VirtualBox-6.1.14/src/VBox/Devices/build
-I/usr/tzinti/build/VirtualBox-6.1.14/include/VBox/Graphics
-I/usr/tzinti/build/VirtualBox-6.1.14/include/iprt/nocrt
-I/usr/tzinti/build/VirtualBox-6.1.14/out/linux.amd64/release/obj/VBoxDDR0/dtrace
-I/usr/tzinti/build/VirtualBox-6.1.14/include
-I/usr/tzinti/build/VirtualBox-6.1.14/out/linux.amd64/release -DVBOX
-DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DRT_OS_LINUX
-D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__
-DVBOX_WITH_DEBUGGER -DIN_RING0 -DIN_RING0_AGNOSTIC -DIPRT_NO_CRT
-DRT_WITH_NOCRT_ALIASES -DHC_ARCH_BITS=64 -DGC_ARCH_BITS=64
-DVBOX_WITH_DTRACE -DVBOX_WITH_DTRACE_R0 -DIN_RT_R0 -DVBOX_WITH_HGCM
-DVBOX_WITH_HGSMI -DVBOX_WITH_WDDM -DVBOX_WITH_VDMA
-DVBOXWDDM_WITH_VBVA -DVBOX_WITH_INTEL_HDA -DVBOX_WITH_AUDIO_ENUM
-DVBOX_WITH_AUDIO_CALLBACKS -DVBOX_WITH_INTEL_HDA
-DVBOX_WITH_AUDIO_HDA_ASYNC_IO -DVBOX_WITH_E1000 -DVBOX_WITH_VIRTIO
-DVBOX_WITH_NETSHAPER -DVBOX_WITH_VMSVGA -DVBOX_WITH_VMSVGA3D
-DVBOX_WITH_VUSB -DVBOX_WITH_USB -DVBOX_WITH_EFI -DVBOX_WITH_AHCI
-DIN_AHCI_R0 -DVBOX_WITH_BUSLOGIC -DVBOX_WITH_LSILOGIC
-DVBOX_WITH_VIRTIO_SCSI -DVBOX_WITH_HGSMI -DVBOX_WITH_VIDEOHWACCEL
-Wp,-MD,/usr/tzinti/build/VirtualBox-6.1.14/out/linux.amd64/release/obj/VBoxDDR0/VirtIO/VirtioCore.o.dep
-Wp,-MT,/usr/tzinti/build/VirtualBox-6.1.14/out/linux.amd64/release/obj/VBoxDDR0/VirtIO/VirtioCore.o
-Wp,-MP -o /usr/tzinti/build/VirtualBox-6.1.14/out/linux.amd64/release/obj/VBoxDDR0/VirtIO/VirtioCore.o
 /usr/tzinti/build/VirtualBox-6.1.14/src/VBox/Devices/VirtIO/VirtioCore.cpp
kBuild: Compiling VBoxDDR0 -
/usr/tzinti/build/VirtualBox-6.1.14/src/VBox/Devices/VirtIO/VirtioCore.cpp
In file included from
/usr/tzinti/build/VirtualBox-6.1.14/src/VBox/Devices/VirtIO/VirtioCore.cpp:38:
/usr/tzinti/build/VirtualBox-6.1.14/src/VBox/Devices/VirtIO/VirtioCore.h:321:113:
error: macro "DECLCALLBACKMEMBER" passed 3 arguments, but takes just 2
     DECLCALLBACKMEMBER(void, pfnStatusChanged,(PVIRTIOCORE pVirtio,
PVIRTIOCORECC pVirtioCC, uint32_t fDriverOk));
 
                                          ^
/usr/tzinti/build/VirtualBox-6.1.14/src/VBox/Devices/VirtIO/VirtioCore.h:332:112:
error: macro "DECLCALLBACKMEMBER" passed 3 arguments, but takes just 2
     DECLCALLBACKMEMBER(int, pfnDevCapRead,(PPDMDEVINS pDevIns,
uint32_t offCap, void *pvBuf, uint32_t cbToRead));
 
                                         ^
/usr/tzinti/build/VirtualBox-6.1.14/src/VBox/Devices/VirtIO/VirtioCore.h:343:118:
error: macro "DECLCALLBACKMEMBER" passed 3 arguments, but takes just 2
     DECLCALLBACKMEMBER(int, pfnDevCapWrite,(PPDMDEVINS pDevIns,
uint32_t offCap, const void *pvBuf, uint32_t cbWrite));
 
                                               ^
/usr/tzinti/build/VirtualBox-6.1.14/src/VBox/Devices/VirtIO/VirtioCore.h:354:108:
error: macro "DECLCALLBACKMEMBER" passed 3 arguments, but takes just 2
     DECLCALLBACKMEMBER(void, pfnVirtqNotified,(PPDMDEVINS pDevIns,
PVIRTIOCORE pVirtio, uint16_t uVirtqNbr));
 
                                     ^
/usr/tzinti/build/VirtualBox-6.1.14/src/VBox/Devices/VirtIO/VirtioCore.h:384:108:
error: macro "DECLCALLBACKMEMBER" passed 3 arguments, but takes just 2
DECLCALLBACKMEMBER(void, pfnVirtqNotified,(PPDMDEVINS pDevIns,
PVIRTIOCORE pVirtio, uint16_t uVirtqNbr));
 
                                     ^
/usr/tzinti/build/VirtualBox-6.1.14/src/VBox/Devices/VirtIO/VirtioCore.h:321:5:
error: ‘DECLCALLBACKMEMBER’ does not name a type
     DECLCALLBACKMEMBER(void, pfnStatusChanged,(PVIRTIOCORE pVirtio,
PVIRTIOCORECC pVirtioCC, uint32_t fDriverOk));
     ^~~~~~~~~~~~~~~~~~
/usr/tzinti/build/VirtualBox-6.1.14/src/VBox/Devices/VirtIO/VirtioCore.h:332:5:
error: ‘DECLCALLBACKMEMBER’ does not name a type
     DECLCALLBACKMEMBER(int, pfnDevCapRead,(PPDMDEVINS pDevIns,
uint32_t offCap, void *pvBuf, uint32_t cbToRead));
     ^~~~~~~~~~~~~~~~~~
/usr/tzinti/build/VirtualBox-6.1.14/src/VBox/Devices/VirtIO/VirtioCore.h:343:5:
error: ‘DECLCALLBACKMEMBER’ does not name a type
     DECLCALLBACKMEMBER(int, pfnDevCapWrite,(PPDMDEVINS pDevIns,
uint32_t offCap, const void *pvBuf, uint32_t cbWrite));
     ^~~~~~~~~~~~~~~~~~
/usr/tzinti/build/VirtualBox-6.1.14/src/VBox/Devices/VirtIO/VirtioCore.h:354:5:
error: ‘DECLCALLBACKMEMBER’ does not name a type
     DECLCALLBACKMEMBER(void, pfnVirtqNotified,(PPDMDEVINS pDevIns,
PVIRTIOCORE pVirtio, uint16_t uVirtqNbr));
     ^~~~~~~~~~~~~~~~~~
/usr/tzinti/build/VirtualBox-6.1.14/src/VBox/Devices/VirtIO/VirtioCore.h:384:5:
error: ‘DECLCALLBACKMEMBER’ does not name a type
     DECLCALLBACKMEMBER(void, pfnVirtqNotified,(PPDMDEVINS pDevIns,
PVIRTIOCORE pVirtio, uint16_t uVirtqNbr));
     ^~~~~~~~~~~~~~~~~~
/usr/tzinti/build/VirtualBox-6.1.14/src/VBox/Devices/VirtIO/VirtioCore.cpp:103:5:
error: ‘RT_FLEXIBLE_ARRAY_EXTENSION’ does not name a type; did you
mean ‘RT_FLEXIBLE_ARRAY_IN_UNION’?
     RT_FLEXIBLE_ARRAY_EXTENSION
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
     RT_FLEXIBLE_ARRAY_IN_UNION
/usr/tzinti/build/VirtualBox-6.1.14/src/VBox/Devices/VirtIO/VirtioCore.cpp:118:5:
error: ‘RT_FLEXIBLE_ARRAY_EXTENSION’ does not name a type; did you
mean ‘RT_FLEXIBLE_ARRAY_IN_UNION’?
     RT_FLEXIBLE_ARRAY_EXTENSION
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
     RT_FLEXIBLE_ARRAY_IN_UNION
/usr/tzinti/build/VirtualBox-6.1.14/src/VBox/Devices/VirtIO/VirtioCore.cpp:
In function ‘void virtioCoreVirtqNotified(PPDMDEVINS, PVIRTIOCORE,
uint16_t, uint16_t)’:
/usr/tzinti/build/VirtualBox-6.1.14/src/VBox/Devices/VirtIO/VirtioCore.cpp:994:16:
error: ‘struct VIRTIOCORER0’ has no member named ‘pfnVirtqNotified’
     pVirtioCC->pfnVirtqNotified(pDevIns, pVirtio, uVirtq);
                ^~~~~~~~~~~~~~~~
kmk: *** [/usr/tzinti/build/VirtualBox-6.1.14/kBuild/footer-pass2-compiling-targets.kmk:277:
/usr/tzinti/build/VirtualBox-6.1.14/out/linux.amd64/release/obj/VBoxDDR0/VirtIO/VirtioCore.o]
Error 1
...

uname -a Linux huitzilopochtli 5.7.0-3+reiser4.0.2-amd64 #1 SMP Debian 5.7.19-1+reiser4.0.2 (2020-09-03) x86_64 GNU/Linux

comment:2 Changed 14 months ago by fbatschu

  • Keywords OSE added

comment:3 in reply to: ↑ description Changed 14 months ago by exher

Just want to subscribe to this ticket and see no other way 'cept leaving this meaningless comment.

Changed 14 months ago by tvataire

comment:4 Changed 14 months ago by tvataire

A workaround is to build without VirtIO support. Add the attached file LocalConfig.kmk at the root of your build directory.

comment:6 Changed 14 months ago by arudnev

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use