From owner-freebsd-emulation@FreeBSD.ORG Wed Oct 30 14:39:50 2013 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 81805F7C; Wed, 30 Oct 2013 14:39:50 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-la0-x22d.google.com (mail-la0-x22d.google.com [IPv6:2a00:1450:4010:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D353626BF; Wed, 30 Oct 2013 14:39:49 +0000 (UTC) Received: by mail-la0-f45.google.com with SMTP id hp15so1174210lab.32 for ; Wed, 30 Oct 2013 07:39:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=5E61tKu/GzY2k5nrc58boQ+Rmv0MRJttJeKd3llOZp8=; b=XcN0cmZSJNsNnT+q+PbADl2cso7jA+qOTT4UNbDKtUZLA3ShX62333oY9ANcCgK9Wu RBcsIAzsPxFdcwYzhFU/pL+tX9ZsirA21xU8CamX0oVf68zdSSHxFS62I/KRr3Hexr4N jBsZpfH+4Cx9G1+7kqhTy0euVU9vkpERFEzWTG8HiqJY7pl8zqAuNb/7G/4fGWAqctbj lq4MQRfbeIAax3KpyyStxRz7aQzbQQe3w+hGV1owzyfgo7CcgVdaCnUL4XYouvldzJ1H It3lhCSAOscnb0SfbrHGk7GrprTUm9P5KaNFaOkVZeDoXC2TmYDqbq+9qgNWUEVE72DS ao8A== X-Received: by 10.152.88.74 with SMTP id be10mr3560218lab.4.1383143987896; Wed, 30 Oct 2013 07:39:47 -0700 (PDT) Received: from [192.168.1.129] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPSA id os9sm20225606lbb.17.2013.10.30.07.39.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 30 Oct 2013 07:39:47 -0700 (PDT) Message-ID: <52711A32.1090507@gmail.com> Date: Wed, 30 Oct 2013 16:39:46 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: =?UTF-8?B?QmVybmhhcmQgRnLDtmhsaWNo?= , "freebsd-emulation@freebsd.org" Subject: Re: [Call for Testers] VirtualBox 4.3.0 References: <526944B2.4040308@gmail.com> In-Reply-To: <526944B2.4040308@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 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, 30 Oct 2013 14:39:50 -0000 20.10.2013 19:25, Bernhard Fröhlich wrote: >> Hi virtualbox users! >> >> This is again a call for testers to get some feedback before we commit >> VirtualBox 4.3 to the portstree. As usual the stable 4.2.18 port will >> still >> be available as emulators/virtualbox-ose-legacy. > > I optionized pulse (e.g ripped relevant part from old version): > > .if ${PORT_OPTIONS:MPULSEAUDIO} > PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio > PULSEAUDIO_CONFIGURE_ENABLE= pulse > .else > CONFIGURE_ARGS+=--disable-pulse > .endif > > Compilation seems to go on until: > > kBuild: Compiling VBoxSVC - > /tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp > > /tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp: > In function 'int getDefaultIfaceIndex(short unsigned int*, int)': > /tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:94:39: > error: 'malloc' was not declared in this scope > /tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:98:18: > error: 'free' was not declared in this scope > /tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:133:30: > error: 'free' was not declared in this scope > /tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:139:14: > error: 'free' was not declared in this scope > /tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp: > In function 'int NetIfList(std::list >&)': > /tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:205:39: > error: 'malloc' was not declared in this scope > /tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:209:18: > error: 'free' was not declared in this scope > /tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:217:18: > error: 'free' was not declared in this scope > /tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:291:16: > warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] > /tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:303:14: > error: 'free' was not declared in this scope > /tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp: > In function 'int NetIfGetConfigByName(PNETIFINFO)': > /tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:328:39: > error: 'malloc' was not declared in this scope > /tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:332:18: > error: 'free' was not declared in this scope > /tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:340:18: > error: 'free' was not declared in this scope > /tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:404:14: > error: 'free' was not declared in this scope > kmk: *** > [/tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/out/freebsd.amd64/release/obj/VBoxSVC/src-server/freebsd/NetIf-freebsd.o] > Error 1 > > Missing "#include "? > > Installed fine here, Snow Leo and WinXP seems working... Yet WinXP is > giving BSOD, maybe some HW changes... Tested this 10-STABLE and it works for me like a charm. The only change is that I'm building virtualbox-ose with USE_GCC=yes (picking lang/gcc from the ports). On 9-STABLE this also requires overloading libstdc++.so.6 with gcc46/libstdc++.so.6 in /etc/libmap.conf. -- Sphinx of black quartz, judge my vow.