[vbox-dev] Machines crash with last svn version if NAT is enabled

walt w41ter at gmail.com
Mon Feb 16 20:45:22 GMT 2009


Frank Mehnert wrote:
> IIRC this is already fixed, please check the current SVN.

Yes, it works okay on one linux machine, but vbox won't compile
on the other one.  I'm hitting the conflict mentioned in the
comment in VBoxGlobal.cpp:78

#if defined (Q_WS_X11)
#undef BOOL /* typedef CARD8 BOOL in Xmd.h conflicts with
              * #define BOOL PRBool */
#include <X11/X.h>
#include <X11/Xmd.h>
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#define BOOL PRBool
#endif

I suppose Q_WS_X11 must be undefined for some reason on that
machine, but I can't find where it should be defined. Do you
know?

Thanks!





More information about the vbox-dev mailing list