Hi,

I am trying to build VirtualBox trunk under FreeBSD and getting following error:

/work/a/ports/emulators/virtualbox-ose-devel/work/VirtualBox-4.3.51.r50904/src/VBox/Devices/USB/freebsd/USBProxyDevice-freebsd.cpp:1009:
error: invalid conversion from 'int (*)(VUSBURB*)' to 'int
(*)(USBPROXYDEV*, VUSBURB*)'

Entire log available from
https://redports.org/~mtsatsenko/20140327120629-73922-191955/virtualbox-ose-devel-4.3.51.r50904.log

Any ideas? Need advice how to fix this.

BTW: USBProxyDevice-freebsd.cpp is already patched (there was stale
pProxyDev->Backend.pv usage). Patch ( MIT license) attached.

-- 
Mikhail
--- src/VBox/Devices/USB/freebsd/USBProxyDevice-freebsd.cpp.orig	2014-01-27 11:33:04.000000000 +0400
+++ src/VBox/Devices/USB/freebsd/USBProxyDevice-freebsd.cpp	2014-02-06 16:23:22.151709450 +0400
@@ -453,7 +453,6 @@
     pDevFBSD->hFile = NIL_RTFILE;
 
     RTMemFree(pDevFBSD);
-    pProxyDev->Backend.pv = NULL;
 
     LogFlow(("usbProxyFreeBSDClose: returns\n"));
 }
_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to