From owner-freebsd-emulation@FreeBSD.ORG Sat Jul 18 22:16:42 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51CCE106564A for ; Sat, 18 Jul 2009 22:16:42 +0000 (UTC) (envelope-from borisbsd@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 788D48FC20 for ; Sat, 18 Jul 2009 22:16:41 +0000 (UTC) (envelope-from borisbsd@googlemail.com) Received: by ey-out-2122.google.com with SMTP id 9so315058eyd.7 for ; Sat, 18 Jul 2009 15:16:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=7hH1eX84UY9bEeNNn/50DtIUfCeJ/IXlpyUX0iIFCVU=; b=GbvD4VNowN1gCUtMxMbIcmaL3Jek/RC6PMITLCpXZv4VEhY/lwElOaBLligjyVa77o Ahm6rrHojaFmE96S3uZWMayvBMSBrgBvdCp0T2L0W07RKlpJ9Idj21GjuREV2AcXjRzX KiHJ9XrIE9DH9s4kaaXLYBwP4aQTaYwzJAB2s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=J/05Lma3OdKmKSyYU00WOZLuO5sIWiXHDT0gAS97IUdMI+xUi9Jy3GSucYzLyKhrM0 IkJeFmZS5gsGxU/E1VS+tc8mfRtcnZSkdvGQr+kMqXXAxNqmgbNT5pl40A6zZBSjZ0h1 wOVZ57u55iPfGDZo3mS5UixLZUknK5elddDlc= MIME-Version: 1.0 Received: by 10.216.48.209 with SMTP id v59mr725990web.78.1247954125099; Sat, 18 Jul 2009 14:55:25 -0700 (PDT) Date: Sat, 18 Jul 2009 22:55:24 +0100 Message-ID: From: Boris To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Compilation failure on SVN version of vbox port X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jul 2009 22:16:42 -0000 Hi all, I have tried the last version of vbox port : virtualbox-3.0.51r21573 unfortunately I got compilation error: I am running 8-BETA2 amd64 : FreeBSD houdini 8.0-BETA2 FreeBSD 8.0-BETA2 #7: Sat Jul 18 22:42:20 BST 2009 root@houdini:/usr/obj/usr/src/sys/CUSTGEN amd64 kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/alloc-r0drv.cpp kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/initterm-r0drv.cpp kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/generic/semspinmutex-r0drv-generic.c /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/generic/semspinmutex-r0drv-generic.c: In function 'RTSemSpinMutexTryRequest': /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/generic/semspinmutex-r0drv-generic.c:268: warning: nested extern declaration of 'RTASSERTVAR' /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/generic/semspinmutex-r0drv-generic.c: In function 'RTSemSpinMutexRequest': /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/generic/semspinmutex-r0drv-generic.c:315: warning: nested extern declaration of 'RTASSERTVAR' /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/generic/semspinmutex-r0drv-generic.c:335: warning: nested extern declaration of 'RTASSERTVAR' /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/generic/semspinmutex-r0drv-generic.c: In function 'RTSemSpinMutexRelease': /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/generic/semspinmutex-r0drv-generic.c:396: warning: nested extern declaration of 'RTASSERTVAR' kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/VBox/log-vbox.cpp kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/VBox/strformat-vbox.cpp kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/common/err/RTErrConvertFromErrno.cpp kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/common/err/RTErrConvertToErrno.cpp kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/common/misc/thread.cpp kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/common/string/memchr.asm kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/common/string/memmove.asm kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/common/string/strpbrk.cpp kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/common/string/memcmp.asm kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/common/string/strchr.asm kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/generic/RTAssertShouldPanic-generic.cpp kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/generic/RTLogWriteDebugger-generic.cpp kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/generic/RTLogWriteStdOut-stub-generic.cpp kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/generic/RTTimerCreate-generic.cpp kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/generic/mppresent-generic.cpp kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.cpp kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/generic/mpnotification-r0drv-generic.cpp kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/alloc-r0drv-freebsd.c kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/assert-r0drv-freebsd.c kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/initterm-r0drv-freebsd.c kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c kBuild: Compiling RuntimeR0Drv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c: In function 'RTR0MemUserCopyFrom': /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c:43: error: expected ')' before 'user_addr_t' /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c:43: warning: type defaults to 'int' in declaration of 'type name' /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c:43: warning: passing argument 1 of 'copyin' makes pointer from integer without a cast /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c: In function 'RTR0MemUserCopyTo': /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c:52: warning: passing argument 2 of 'copyout' makes pointer from integer without a cast /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c: In function 'RTR0MemKernelIsValidAddr': /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c:67: error: 'R3Ptr' undeclared (first use in this function) /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c:67: error: (Each undeclared identifier is reported only once /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c:67: error: for each function it appears in.) kmk[2]: *** [/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/out/freebsd.amd64/release/obj/RuntimeR0Drv/r0drv/freebsd/memuserkernel-r0drv-freebsd.o] Error 1 The failing command: @gcc -c -O2 -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -Wpointer-arith -Winline -Wno-pointer-sign -Wstrict-prototypes -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O2 -fformat-extensions -ffreestanding -fno-strict-aliasing -fno-common -finline-limit=8000 -fno-stack-protector -O2 -mtune=generic -fno-omit-frame-pointer -nostdinc -std=c99 -m64 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -Wundef -I/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/out/freebsd.amd64/release/obj/RuntimeR0Drv -I/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime -I/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/include -I/sys -I/sys/contrib/altq -I/sys/../include -I/usr/include -I/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/include -I/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/out/freebsd.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/usr/local/lib/virtualbox\" -DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\" -DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\" -DRTPATH_APP_DOCS=\"/usr/local/share/doc/virtualbox\" -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64 -D__AMD64__ -D_KERNEL -DKLD_MODULE -DIN_RING0 -DIN_RT_R0 -DIN_RT_R0 -DRT_WITH_VBOX -DRT_WITHOUT_NOCRT_WRAPPERS -DRT_NO_EXPORT_SYMBOL -Wp,-MD,/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/out/freebsd.amd64/release/obj/RuntimeR0Drv/r0drv/freebsd/memuserkernel-r0drv-freebsd.o.dep -Wp,-MT,/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/out/freebsd.amd64/release/obj/RuntimeR0Drv/r0drv/freebsd/memuserkernel-r0drv-freebsd.o -Wp,-MP -o /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/out/freebsd.amd64/release/obj/RuntimeR0Drv/r0drv/freebsd/memuserkernel-r0drv-freebsd.o /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c kmk[2]: *** Waiting for unfinished jobs.... kmk[2]: Leaving directory `/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573' kmk[2]: Entering directory `/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573' kmk[2]: *** Exiting with status 2 kmk[1]: *** [pass_libraries_this] Error 2 kmk[1]: Leaving directory `/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573' kmk: *** [pass_libraries_order] Error 2 *** Error code 2 Any idea what the problem could be? The reason for trying this version out is to verify if I can use VT-x without experiencing crash when starting VM. (Running vbox 2.2 without VT-x enabled on VM worked). Thanks, Boris