Call for Testers: VirtualBox 4.1.0

Bernhard Froehlich decke at bluelife.at
Wed Aug 17 12:28:53 UTC 2011


On Wed, 17 Aug 2011 06:35:26 +0400, Andrey Fesenko wrote:
> not build after world update r224900
> # uname -a
> FreeBSD beastie.mydomain.local 9.0-BETA1 FreeBSD 9.0-BETA1 #0 r224900:
> Wed Aug 17 04:48:06 MSK 2011
> andrey at beastie.mydomain.local:/usr/obj/usr/src/sys/W_BOOK  amd64
> 
> end build log
> ...
> missing-include-dirs -fdiagnostics-show-option -c
> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.
> 1.0_OSE/out/freebsd.amd64/release/bin/src/vboxdrv/r0drv/freebsd/alloc-r0drv-freebsd.c
> ctfconvert -L VERSION alloc-r0drv-freebsd.o
> cc -O2 -pipe -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX
> -DRT_WITH_VBOX -w -DVBOX_WITH_HARDENING
>  -DVBOX_WITH_64_BITS_GUESTS -DRT_ARCH_AMD64 -fno-strict-aliasing
> -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I
> include -I. -Ir0drv -I. -I@ -I@/contrib/altq -finline-limit=8000
> --param inline-unit-growth=100 --param large
> -function-growth=1000 -fno-common  -fno-omit-frame-pointer  -mno-sse
> -mcmodel=kernel -mno-red-zone -mno-mmx -
> msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
> -fstack-protector -std=iso9899:1999 -fstack-prote
> ctor -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winl
> ine -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
> -Wmissing-include-dirs -fdiagnostics-show-opt
> ion -c
> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.0_OSE/out/freebsd.amd64/release/bin/src/v
> boxdrv/r0drv/freebsd/initterm-r0drv-freebsd.c
> ctfconvert -L VERSION initterm-r0drv-freebsd.o
> cc -O2 -pipe -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX
> -DRT_WITH_VBOX -w -DVBOX_WITH_HARDENING
>  -DVBOX_WITH_64_BITS_GUESTS -DRT_ARCH_AMD64 -fno-strict-aliasing
> -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I
> include -I. -Ir0drv -I. -I@ -I@/contrib/altq -finline-limit=8000
> --param inline-unit-growth=100 --param large
> -function-growth=1000 -fno-common  -fno-omit-frame-pointer  -mno-sse
> -mcmodel=kernel -mno-red-zone -mno-mmx -
> msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
> -fstack-protector -std=iso9899:1999 -fstack-prote
> ctor -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winl
> ine -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
> -Wmissing-include-dirs -fdiagnostics-show-opt
> ion -c
> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.0_OSE/out/freebsd.amd64/release/bin/src/v
> boxdrv/r0drv/freebsd/memobj-r0drv-freebsd.c
> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.0_OSE/out/freebsd.amd64/release/bin/src/vboxdrv/
> r0drv/freebsd/memobj-r0drv-freebsd.c: In function
> 'rtR0MemObjFreeBSDPhysPageInit':
> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.0_OSE/out/freebsd.amd64/release/bin/src/vboxdrv/
> r0drv/freebsd/memobj-r0drv-freebsd.c:398: error: 'PG_UNMANAGED'
> undeclared (first use in this function)
> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.0_OSE/out/freebsd.amd64/release/bin/src/vboxdrv/
> r0drv/freebsd/memobj-r0drv-freebsd.c:398: error: (Each undeclared
> identifier is reported only once
> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.0_OSE/out/freebsd.amd64/release/bin/src/vboxdrv/
> r0drv/freebsd/memobj-r0drv-freebsd.c:398: error: for each function it
> appears in.)
> *** Error code 1

You can either take the patch that was committed a few day ago to the
ports tree:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/virtualbox-ose-kmod/files/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd.c?rev=1.3

or for your convenience i've created a new cft with VirtualBox 4.1.2
that also includes this patch:

http://home.bluelife.at/ports/virtualbox-cft-20110817.tar.gz

-- 
Bernhard Fröhlich
http://www.bluelife.at/


More information about the freebsd-emulation mailing list