cant build with 2.6.24 kernel source
Bug #174213 reported by
Oliver Grawert
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virtualbox-ose (Ubuntu) |
Fix Released
|
Low
|
Daniel Hahler | ||
Bug Description
the currently used sourecode can not build with a 2.6.24 kernel source, the following patch fixes the build error:
--- include/
+++ ../types.h 2007-12-05 20:46:37.000000000 +0100
@@ -69,8 +69,11 @@
# define bool linux_bool
# define true linux_true
# define false linux_false
+# define uintptr_t linux_uintptr_t
+# include <linux/autoconf.h>
# include <linux/types.h>
# include <linux/stddef.h>
+# undef uintptr_t
# undef false
# undef true
# undef bool
To post a comment you must log in.
I can confirm that the above mentioned patch fixes the compile-errors for kernels of the 2.6.24 series.
I suggest to update the source of virtualbox to the latest version - 1.5.4, which was released on December, 29th 2007. This new release is ready for kernel 2.6.24 and can be compiled without any problems.