VirtualBox

Ticket #7781 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

build fails with error: 'u32Clients' was not declared in this scope

Reported by: wonder Owned by:
Priority: major Component: installer
Version: VirtualBox 3.2.12 Keywords:
Cc: Guest type: other
Host type: Linux

Description

kBuild: Compiling VBoxC - /build/src/VirtualBox-3.2.12_OSE/src/VBox/Main/ConsoleImplTeleporter.cpp kBuild: Compiling VBoxC - /build/src/VirtualBox-3.2.12_OSE/src/VBox/Main/ConsoleVRDPServer.cpp /build/src/VirtualBox-3.2.12_OSE/src/VBox/Main/ConsoleImpl.cpp: In member function 'void Console::VRDPClientDisconnect(uint32_t, uint32_t)': /build/src/VirtualBox-3.2.12_OSE/src/VBox/Main/ConsoleImpl.cpp:1077:9: error: 'u32Clients' was not declared in this scope kBuild: Compiling VBoxC - /build/src/VirtualBox-3.2.12_OSE/src/VBox/Main/GuestImpl.cpp kmk[2]: * build/src/VirtualBox-3.2.12_OSE/out/linux.x86/release/obj/VBoxC/ConsoleImpl.o Error 1 The failing command: @g++ -c -O2 -g -pipe -pedantic -Wshadow -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -fdiagnostics-show-option -Wno-long-long -Wno-variadic-macros -Wno-long-long -Wno-non-virtual-dtor -Wshadow -fshort-wchar -fpermissive -fexceptions -frtti -march=i586 -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility-inlines-hidden -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -m32 -I/build/src/VirtualBox-3.2.12_OSE/src/VBox/Main/include -I/build/src/VirtualBox-3.2.12_OSE/out/linux.x86/release/obj/VBoxC -I/build/src/VirtualBox-3.2.12_OSE/out/linux.x86/release/obj/Main/ -I/build/src/VirtualBox-3.2.12_OSE/out/linux.x86/release/bin/sdk/bindings/xpcom/include -I/build/src/VirtualBox-3.2.12_OSE/out/linux.x86/release/bin/sdk/bindings/xpcom/include/xpcom -I/build/src/VirtualBox-3.2.12_OSE/out/linux.x86/release/bin/sdk/bindings/xpcom/include/string -I/build/src/VirtualBox-3.2.12_OSE/out/linux.x86/release/bin/sdk/bindings/xpcom/include/xpcom -I/build/src/VirtualBox-3.2.12_OSE/out/linux.x86/release/bin/sdk/bindings/xpcom/include/nsprpub -I/build/src/VirtualBox-3.2.12_OSE/out/linux.x86/release/bin/sdk/bindings/xpcom/include/ipcd -I/build/src/VirtualBox-3.2.12_OSE/include -I/build/src/VirtualBox-3.2.12_OSE/out/linux.x86/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/usr/share/virtualbox\" -DRTPATH_APP_PRIVATE_ARCH=\"/usr/lib/virtualbox\" -DRTPATH_SHARED_LIBS=\"/usr/lib/virtualbox\" -DRTPATH_APP_DOCS=\"" -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_X86 -DX86 -D_LARGEFILE64_SOURCE -DIN_RING3 -DUNICODE -DNDEBUG=1 -DVBOX_WITH_XPCOM -DVBOX_WITH_XPCOM_NAMESPACE_CLEANUP -DIN_RING3 -DVBOX_WITH_SYS_V_IPC_SESSION_WATCHER -DVBOX_WITH_RAW_MODE -DVBOX_WITH_NETFLT -DVBOX_WITH_CROGL -DVBOX_WITH_GUEST_PROPS -DVBOX_WITH_GUEST_CONTROL -DVBOX_WITH_HOSTNETIF_API -DVBOX_WITH_VDE -DVBOX_WITH_NEW_SYS_V_KEYGEN -DVBOX_COM_INPROC -DVBOX_WITH_VRDP_VIDEO_CHANNEL -DVBOX_WITH_HGCM -DVBOX_WITH_ALSA -DVBOX_WITH_PULSE -DVBOX_WITH_CROSSBOW -DVBOX_WITH_E1000 -DVBOX_WITH_VIRTIO -DVBOX_WITH_EFI -DVBOX_WITH_HPET -DVBOX_WITH_SMC -DVBOX_WITH_LPC -DVBOX_WITH_PDM_ASYNC_COMPLETION -DVBOX_WITH_VUSB -DVBOX_WITH_OLD_VBVA_LOCK -DVBOX_WITH_HGSMI -DVBOX_WITH_VIDEOHWACCEL -DVBOX_DYNAMIC_NET_ATTACH -DMMSEAMLESS -DVBOX_BUILD_TARGET=\"linux.x86\" -Wp,-MD,/build/src/VirtualBox-3.2.12_OSE/out/linux.x86/release/obj/VBoxC/ConsoleImpl.o.dep -Wp,-MT,/build/src/VirtualBox-3.2.12_OSE/out/linux.x86/release/obj/VBoxC/ConsoleImpl.o -Wp,-MP -o /build/src/VirtualBox-3.2.12_OSE/out/linux.x86/release/obj/VBoxC/ConsoleImpl.o /build/src/VirtualBox-3.2.12_OSE/src/VBox/Main/ConsoleImpl.cpp kmk[2]: * Waiting for unfinished jobs.... kmk[2]: Leaving directory `/build/src/VirtualBox-3.2.12_OSE' kmk[2]: Entering directory `/build/src/VirtualBox-3.2.12_OSE'

Attachments

configure.log Download (15.6 KB) - added by wonder 3 years ago.
configure log
fix_build.patch Download (589 bytes) - added by wonder 3 years ago.
patch that fixes this problem

Change History

Changed 3 years ago by wonder

configure log

comment:1 Changed 3 years ago by wonder

this is happening because u32Clients is defined only when is built with VBOX_WITH_VRDP

fix_build.patch fixes this problem

Changed 3 years ago by wonder

patch that fixes this problem

comment:2 Changed 3 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Please download again. The tarball was replaced shortly after the first upload.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use