Hello,
I just built VirtualBox from trunk and had to apply the following
patch to get it running on my Fedora Rawhide (F11), GCC 4.4, 64bit
system. In addition, the kernel module refused to build until I added
#include <iprt/mem.h>
to out/linux.amd64/release/bin/src/vboxnetadp/linux/VBoxNetAdp-linux.c
hope this helps.
yours,
Bobby
Index: recompiler_new/exec.c
===================================================================
--- recompiler_new/exec.c (revision 19018)
+++ recompiler_new/exec.c (working copy)
@@ -2844,7 +2844,7 @@
int dirty_flags;
#if defined(VBOX)
ram_addr = addr;
-#elif
+#else
ram_addr = addr - (unsigned long)phys_ram_base;
#endif
#ifdef VBOX
Index: VBox/Main/linux/HostHardwareLinux.cpp
===================================================================
--- VBox/Main/linux/HostHardwareLinux.cpp (revision 19018)
+++ VBox/Main/linux/HostHardwareLinux.cpp (working copy)
@@ -53,6 +53,7 @@
# endif
# include <errno.h>
#endif /* RT_OS_LINUX */
+#include <cstdio>
#include <string>
#include <vector>
_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev