[Call for Testers] VirtualBox 4.3.0

Bernhard Fröhlich decke at FreeBSD.org
Mon Nov 11 14:57:54 UTC 2013


On Thu, Oct 24, 2013 at 6:02 PM, Volodymyr Kostyrko <c.kworr at gmail.com> wrote:
> 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>"?

Thanks a lot! Mikhail has already committed fixes for both problems in our
development repository on redports.

https://svn.redports.org/virtualbox

-- 
Bernhard Froehlich
http://www.bluelife.at/


More information about the freebsd-emulation mailing list