Date: Wed, 30 Oct 2013 16:39:46 +0200 From: Volodymyr Kostyrko <c.kworr@gmail.com> To: =?UTF-8?B?QmVybmhhcmQgRnLDtmhsaWNo?= <decke@FreeBSD.org>, "freebsd-emulation@freebsd.org" <emulation@freebsd.org> Subject: Re: [Call for Testers] VirtualBox 4.3.0 Message-ID: <52711A32.1090507@gmail.com> In-Reply-To: <526944B2.4040308@gmail.com> References: <CAE-m3X1dzz4iS8EYJibyts1NVtZd1q2RRyQMwkzYHyjdZhV9sw@mail.gmail.com> <526944B2.4040308@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52711A32.1090507>