From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 15 14:50:05 2010 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 453BD106564A for ; Wed, 15 Sep 2010 14:50:05 +0000 (UTC) (envelope-from xi@borderworlds.dk) Received: from kazon.borderworlds.dk (kazon.borderworlds.dk [IPv6:2a01:4f8:101:4201::1:1]) by mx1.freebsd.org (Postfix) with ESMTP id D0CCA8FC13 for ; Wed, 15 Sep 2010 14:50:04 +0000 (UTC) Received: from borg.borderworlds.dk (localhost [127.0.0.1]) by kazon.borderworlds.dk (Postfix) with ESMTP id 768745C3B; Wed, 15 Sep 2010 16:50:03 +0200 (CEST) Message-ID: <4C90DD1B.8040808@borderworlds.dk> Date: Wed, 15 Sep 2010 16:50:03 +0200 From: Christian Laursen Organization: The Border Worlds User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100908 Thunderbird/3.1.3 MIME-Version: 1.0 To: Yuri X References: <4C90C710.8030008@gmail.com> In-Reply-To: <4C90C710.8030008@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: emulation@freebsd.org Subject: Re: virtualbox-ose build error (Syntax error) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2010 14:50:05 -0000 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