Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Oct 2011 11:04:26 +0100
From:      Bernhard Froehlich <decke@FreeBSD.org>
To:        Marco Steinbach <coco@executive-computing.de>
Cc:        Vladimir Kushnir <vkushnir@bigmir.net>, ed@FreeBSD.org, freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: VirtualBox-kmod fails to build on -CURRENT
Message-ID:  <01c0ad0f006967454da602c2812981ce@bluelife.at>
In-Reply-To: <4EAE690D.1070609@executive-computing.de>
References:  <alpine.BSF.2.00.1110261224240.14451@kushnir1.kiev.ua> <4EAE690D.1070609@executive-computing.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 31.10.2011 10:23, Marco Steinbach wrote:
> Vladimir Kushnir wrote on 26.10.2011 11:32:
>> Hi
>> Well, the problem is:
>> I'm trying to build VirtualBox{*} on amd64 10.0-CURRENT. The very 
>> first port, virtualbox-ose-kmod fails with
>> 
>> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.0.12_OSE/out/freebsd.
>> amd64/release/bin/src/vboxdrv/freebsd/SUPDrv-freebsd.c:104: error: 
>> 'D_PSEUDO' undeclared here (not in a function)
>> And indeed, threre's no D_PSEUDO flags in /usr/src
>> Any help?
>> Thanks in advance,
>> Vladimir
>
> See http://svnweb.freebsd.org/base?view=revision&revision=226500
>
> I presume emulators/virtualbox-ose-kmod needs to take this one into 
> account.
>
> I've submitted a PR.

My first guess is that it could be enough to remove the flag but I 
don't know if we need to replace some code with make_dev_p(). So i've 
CC'd ed@ and hope that he can shed some light on that.

https://www.virtualbox.org/browser/trunk/src/VBox/HostDrivers/Support/freebsd/SUPDrv-freebsd.c#L104

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



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