[Call for Testers] VirtualBox 4.3.0

Volodymyr Kostyrko c.kworr at gmail.com
Wed Oct 30 14:39:50 UTC 2013


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<ComObjPtr<HostNetworkInterface> >&)':
> /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 <stdlib.h>"?
>
> 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.


More information about the freebsd-emulation mailing list