Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2014 19:02:43 +0400
From:      Mikhail Tsatsenko <m.tsatsenko@gmail.com>
To:        Teddy FU <teddy9527@gmail.com>
Cc:        "freebsd-ports@freebsd.org" <ports@freebsd.org>
Subject:   Re: make build error: virtualbox-ose-4.3.10
Message-ID:  <CAGK=9AGJRMawwvyi42Fy1GVcf94W%2Bb-Q6aPp05MFqZJcS-R_rA@mail.gmail.com>
In-Reply-To: <000001cf523d$d38f72b0$7aae5810$@com>
References:  <000001cf523d$d38f72b0$7aae5810$@com>

next in thread | previous in thread | raw e-mail | index | archive | help
2014-04-07 12:45 GMT+04:00 Teddy FU <teddy9527@gmail.com>:
> uname -a
> FreeBSD wangq.texacker.org 9.2-STABLE FreeBSD 9.2-STABLE #0 r264030: Thu Apr
> 3 01:56:48 CST 2014     root@wangq.texacker.org:/usr/obj/usr/src/sys/GENERIC
> i386
>
> cd /usr/ports/emulators/virtualbox-ose/ ; make build
Hi,
which options are you using for virtualbox-ose port?
> ...
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/VBox/Devices/
> Graphics/DevVGA_VDMA.cpp:1764: error: 'vboxVDMACrCmdProcess' was not
> declared in this scope
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/VBox/Devices/
> Graphics/DevVGA_VDMA.cpp:1769: error: 'vboxVDMACrHostCtlProcess' was not
> declared in this scope
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/VBox/Devices/
> Graphics/DevVGA_VDMA.cpp:1773: error: 'vboxVDMACrGuestCtlProcess' was not
> declared in this scope
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/VBox/Devices/
> Graphics/DevVGA_VDMA.cpp: In function 'void
> vdmaVBVACtlSubmitSyncCompletion(VBVAEXHOSTCONTEXT*, VBVAEXHOSTCTL*, int,
> void*)':
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/VBox/Devices/
> Graphics/DevVGA_VDMA.cpp:2248: error: 'VDMA_VBVA_CTL_CYNC_COMPLETION' was
> not declared in this scope
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/VBox/Devices/
> Graphics/DevVGA_VDMA.cpp:2248: error: 'pData' was not declared in this scope
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/VBox/Devices/
> Graphics/DevVGA_VDMA.cpp:2248: error: expected primary-expression before ')'
> token
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/VBox/Devices/
> Graphics/DevVGA_VDMA.cpp:2248: error: expected `;' before 'pvContext'
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/VBox/Devices/
> Graphics/DevVGA_VDMA.cpp: In function 'int
> vdmaVBVACtlSubmitSync(VBOXVDMAHOST*, VBVAEXHOSTCTL*, VBVAEXHOSTCTL_SOURCE)':
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/VBox/Devices/
> Graphics/DevVGA_VDMA.cpp:2257: error: 'VDMA_VBVA_CTL_CYNC_COMPLETION' was
> not declared in this scope
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/VBox/Devices/
> Graphics/DevVGA_VDMA.cpp:2257: error: expected `;' before 'Data'
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/VBox/Devices/
> Graphics/DevVGA_VDMA.cpp:2258: error: 'Data' was not declared in this scope
> kmk: ***
> [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/out/freebsd.x86/
> release/obj/VBoxDD/Graphics/DevVGA_VDMA.o] Error 1
>
> The failing command:
>
> @c++ -c -O2 -g -pipe -pedantic -Wshadow -Wshadow -Wall -Wextra
> -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs
> -fdiagnostics-show-option  -Wno-long-long -Wno-long-long
> -Wno-variadic-macros -march=i586 -O2 -mtune=generic -fno-omit-frame-pointer
> -fno-strict-aliasing -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN
> -DRT_USE_VISIBILITY_DEFAULT -fvisibility-inlines-hidden -m32
> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/VBox/Device
> s/build
> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/VBox/Device
> s/Network/slirp -I/usr/include -I/usr/X11R6/include -I/usr/local/include
> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/out/freebsd.x86
> /release/obj/VBoxDD/dtrace
> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/include
> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/out/freebsd.x86
> /release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_DEBUGGER
> -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_X86 -D__X86__ -DVBOX_WITH_HARDENING
> -DRTPATH_APP_PRIVATE=\"/usr/local/share/virtualbox-ose\"
> -DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\"
> -DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\"
> -DRTPATH_APP_DOCS=\"/usr/local/share/doc/virtualbox-ose\" -DIN_RING3
> -DHC_ARCH_BITS=32 -DGC_ARCH_BITS=64 -DVBOX_ACPI -DVBOX_HGCM_HOST_CODE
> -DVBOX_WITH_HGCM -DVBOX_WITH_DMI_CHASSIS -DVBOX_WITH_DMI_OEMSTRINGS
> -DVBOX_WITH_SMC_NEW -DVBOXWDDM_WITH_VBVA -DVBOX_WITH_VIDEOHWACCEL
> -DVBOX_WITH_HGSMI -DVBOX_WITH_WDDM -DVBOX_WITH_VMSVGA -DVBOX_WITH_VDMA
> -DVBOX_WITH_PXE_ROM -DVBOX_WITH_USB -DVBOX_WITH_VUSB -DVBOX_WITH_INIP
> -DVBOX_WITH_E1000 -DVBOX_WITH_VIRTIO -DVBOX_WITH_UDPTUNNEL -DVBOX_WITH_VDE
> -DVBOX_WITH_NETSHAPER -DVBOX_WITH_AHCI -DIN_AHCI_R3 -DVBOX_WITH_BUSLOGIC
> -DVBOX_WITH_LSILOGIC -DVBOX_WITH_PDM_ASYNC_COMPLETION -DVBOX_WITH_SCSI
> -DVBOX_WITH_EFI -DVBOX_WITH_MSI_DEVICES -DVBOX_WITH_NETFLT
> -DVUSB_HAVE_USBPROXY_DEVICE
> -Wp,-MD,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/out/freeb
> sd.x86/release/obj/VBoxDD/Graphics/DevVGA_VDMA.o.dep
> -Wp,-MT,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/out/freeb
> sd.x86/release/obj/VBoxDD/Graphics/DevVGA_VDMA.o -Wp,-MP -o
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/out/freebsd.x86/r
> elease/obj/VBoxDD/Graphics/DevVGA_VDMA.o
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/VBox/Devices/
> Graphics/DevVGA_VDMA.cpp
>
> Btw.,
> https://groups.google.com/forum/#!msg/mailing.freebsd.emulator/YbtmccinYW0/P
> 2EMSwEB_jEJ may be helpful.
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"



-- 
Mikhail



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGK=9AGJRMawwvyi42Fy1GVcf94W%2Bb-Q6aPp05MFqZJcS-R_rA>