VirtualBox-kmod fails to build on -CURRENT

Bernhard Froehlich decke at FreeBSD.org
Mon Oct 31 10:19:34 UTC 2011


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/


More information about the freebsd-ports mailing list