Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 2009 21:28:10 +0200
From:      Fredrik Lindberg <fli@shapeshifter.se>
To:        gary.jennejohn@freenet.de
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: virtualbox cannot compile
Message-ID:  <4AAFEACA.20109@shapeshifter.se>
In-Reply-To: <20090915150740.71c10b45@ernst.jennejohn.org>
References:  <20090914094805.47a01eab@Picasso.Zahemszky.HU>	<20090914132602.79faca57@ernst.jennejohn.org>	<20090914142916.31e69226@Picasso.Zahemszky.HU>	<20090914153800.38fb8e7a@ernst.jennejohn.org>	<4AAE7259.80200@shapeshifter.se>	<20090914190136.773147aa@ernst.jennejohn.org> <20090915150740.71c10b45@ernst.jennejohn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Gary Jennejohn wrote:
> On Mon, 14 Sep 2009 19:01:36 +0200
> Gary Jennejohn <gary.jennejohn@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AAFEACA.20109>