Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 2010 16:50:03 +0200
From:      Christian Laursen <xi@borderworlds.dk>
To:        Yuri X <yks.uno@gmail.com>
Cc:        emulation@freebsd.org
Subject:   Re: virtualbox-ose build error (Syntax error)
Message-ID:  <4C90DD1B.8040808@borderworlds.dk>
In-Reply-To: <4C90C710.8030008@gmail.com>
References:  <4C90C710.8030008@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C90DD1B.8040808>