virtualbox cannot compile
Fredrik Lindberg
fli at shapeshifter.se
Tue Sep 15 19:28:20 UTC 2009
Gary Jennejohn wrote:
> On Mon, 14 Sep 2009 19:01:36 +0200
> Gary Jennejohn <gary.jennejohn at freenet.de> wrote:
>
>> Hmm. My sources are newer than the kernel I'm using. Don't know whether
>> that is a factor or not.
>>
>
> Well, I did a "make buildkernel" before trying to build the port.
>
> It still fails because it can't find machine/_align.h.
>
> The symbolic link "machine" only exists under /usr/obj/sys/amd64 (my
> KERNCONF is amd64).
>
> The only way I can get the port to build is by creating
> work/virtualbox-3.0.51r22902/include/machine -> /sys/amd64/include
> by hand.
>
> There definitely seems to be a bug somewhere here. Building the port
> worked in older versions before the new networking stuff was added.
>
Does your installed world (particularly your installed header files)
match your current sources? If they don't I suggest you do a
{build,install}world and see if that solves it.
As a data point, I successfully compiled the vbox modules on an i386
9-current (from today) machine using the virtualbox version in ports.
Fredrik
More information about the freebsd-emulation
mailing list