[vbox-dev] compiling error from SrvPciRawR0.cpp

Huihong Luo huisinro at yahoo.com
Mon Aug 29 21:39:45 GMT 2011


it's to do with pci passthru config, which is not available on OSE. 
 
I added 
#define IN_PCIRAW_R0
to that file SrvPciRawR0.cpp, then can build

--- On Mon, 8/29/11, Huihong Luo <huisinro at yahoo.com> wrote:


From: Huihong Luo <huisinro at yahoo.com>
Subject: [vbox-dev] compiling error from SrvPciRawR0.cpp
To: vbox-dev at virtualbox.org
Date: Monday, August 29, 2011, 12:49 PM







today tried to compile the latest svn code
 
C:\virtualbox-dev\vbox\src\VBox\Devices\Bus\SrvPciRawR0.cpp(143) : error C2491: 'PciRawR0Init' : definition of dllimport
 function not allowed
C:\virtualbox-dev\vbox\src\VBox\Devices\Bus\SrvPciRawR0.cpp(158) : error C2491: 'PciRawR0Term' : definition of dllimport
 function not allowed
C:\virtualbox-dev\vbox\src\VBox\Devices\Bus\SrvPciRawR0.cpp(169) : error C2491: 'PciRawR0InitVM' : definition of dllimpo
rt function not allowed
C:\virtualbox-dev\vbox\src\VBox\Devices\Bus\SrvPciRawR0.cpp(194) : error C2491: 'PciRawR0TermVM' : definition of dllimpo
rt function not allowed
C:\virtualbox-dev\vbox\src\VBox\Devices\Bus\SrvPciRawR0.cpp(920) : error C2491: 'PciRawR0ProcessReq' : definition of dll
import function not allowed
 
-----Inline Attachment Follows-----


_______________________________________________
vbox-dev mailing list
vbox-dev at virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20110829/f8b260f7/attachment.html>


More information about the vbox-dev mailing list