virtualbox-ose build error (Syntax error)

Yuri X yks.uno at gmail.com
Wed Sep 15 15:31:15 UTC 2010


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.


More information about the freebsd-emulation mailing list