Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2013 15:57:52 +0100
From:      =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= <decke@FreeBSD.org>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        "freebsd-emulation@freebsd.org" <emulation@freebsd.org>
Subject:   Re: [Call for Testers] VirtualBox 4.3.0
Message-ID:  <CAE-m3X1mUgsOOeP=P4KnR6_s0kjK=d%2B0p4L-j5BL9qhKa9LwAA@mail.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
On Thu, Oct 24, 2013 at 6:02 PM, Volodymyr Kostyrko <c.kworr@gmail.com> wro=
te:
> 20.10.2013 19:25, Bernhard Fr=F6hlich 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=3D libpulse.so:${PORTSDIR}/audio/pulseaudio
> PULSEAUDIO_CONFIGURE_ENABLE=3D  pulse
> .else
> CONFIGURE_ARGS+=3D--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-freebs=
d.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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-m3X1mUgsOOeP=P4KnR6_s0kjK=d%2B0p4L-j5BL9qhKa9LwAA>