Recently on FreeBSD 10-CURRENT the flag D_PSEUDO was removed and so building the kernel module failed since then like this:

out/freebsd.amd64/release/bin/src/vboxdrv/freebsd/SUPDrv-freebsd.c:104: error:
'D_PSEUDO' undeclared here (not in a function)

Gladly Ed Schouten who did the change in the FreeBSD kernel also spend some time and had a look at the virtualbox character device implementation. He wrote a patch to not only fix the compile issue but also cleanup the code a bit.

The thread about the issue and testing of the patch is:
http://lists.freebsd.org/pipermail/freebsd-ports/2011-October/071095.html

The Author of the patch is Ed Schouten <[email protected]>.

The License of the patch is MIT as he writes at the end of the thread above.

As usual the patch has been successfully tested but by a limited number of people.

--
Bernhard Fröhlich
http://www.bluelife.at/

Attachment: patch-cdev-fixes
Description: Binary data

_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to