virtualbox-ose build error (Syntax error)

Christian Laursen xi at borderworlds.dk
Wed Sep 15 14:50:05 UTC 2010


On 09/15/10 15:16, Yuri X wrote:
> Good daytime!
>
> When installing VirtualBox-3.2.8 from ports, I am running into the
> following error in the middle of build:
>
> ...
> kBuild: Installing tstShflSizes =>
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.8_OSE/out/freebsd.amd64/release/bin/testcase/tstShflSizes
>
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.8_OSE/out/freebsd.amd64/release/bin/tstVMStructRC:
> 1: Syntax error: "(" unexpected
> kBuild: Installing VBoxManage =>
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.8_OSE/out/freebsd.amd64/release/bin/VBoxManage
>
> kmk[2]: ***
> [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.8_OSE/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h]
> Error 2
> kmk[2]: *** Deleting file
> `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.8_OSE/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h'

You probably need to change COMPAT_IA32 to COMPAT_FREEBSD32 in your 
kernel configuration.

This error is not at all obvious and took me a while to figure out too, 
when I encountered it.

-- 
Christian Laursen


More information about the freebsd-emulation mailing list