Date: Sat, 18 Jul 2009 22:55:24 +0100 From: Boris <borisbsd@googlemail.com> To: freebsd-emulation@freebsd.org Subject: Compilation failure on SVN version of vbox port Message-ID: <e261179f0907181455m26d637ebra7f9e3857a5c9871@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e261179f0907181455m26d637ebra7f9e3857a5c9871>