virtualbox cannot compile
Mario Lobo
mlobo at digiart.art.br
Mon Sep 14 17:35:17 UTC 2009
> On Mon, 14 Sep 2009 18:42:01 +0200
> Fredrik Lindberg <fli at shapeshifter.se> wrote:
>
> [big snip]
> Gary Jennejohn wrote:
>> > Definitely looks like there's a bug in the new networking stuff.
>>
>> It compiles fine for me on FreeBSD 7.2-amd64 using the latest version
>> in ports, builds both vboxnetflt.ko and vboxnetadp.ko. Have you
>> tried the one in ports (although I can't imagine why the svn-version
>> wouldn't work)? What version of FreeBSD are you using ?
>>
>
> 9-current amd64.
>
> I didn't try the port.
>
> Hmm. My sources are newer than the kernel I'm using. Don't know whether
> that is a factor or not.
>
> ---
That was definetly a factor for me. I had a backup I made of /usr/src just
before csuping a new source tree, which issued the same error you are
getting. As soon as I restored to the old /usr/src, Vbox compiled without
errors.
The error I kept getting was
machine/vm.h: No such file or directory
On my new /usr/src, /usr/src/sys/vm/vm.h has a
# include <machine/vm.h> directive
which the old source does not.
Mario Lobo
More information about the freebsd-emulation
mailing list