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

next in thread | previous in thread | raw e-mail | index | archive | help
On 15.09.2010 18:50, Christian Laursen wrote:
> 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.
>
I substituted COMPAT_IA32 with COMPAT_FREEBSD32 and recompiled the kernel.
Unfortunately, this didn't help. The error persists.

Yuri.



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