cant build with 2.6.24 kernel source

Bug #174213 reported by Oliver Grawert
8
Affects Status Importance Assigned to Milestone
virtualbox-ose (Ubuntu)
Fix Released
Low
Daniel Hahler
Nominated for Hardy by Christian Schürer-Waldheim

Bug Description

the currently used sourecode can not build with a 2.6.24 kernel source, the following patch fixes the build error:

--- include/iprt/types.h 2007-10-15 16:54:47.000000000 +0200
+++ ../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

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

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.

Changed in virtualbox-ose-modules:
status: New → Confirmed
Revision history for this message
Daniel Hahler (blueyed) wrote :

Marking as fix released, now that virtualbox-ose 1.5.4 is in Hardy.

Changed in virtualbox-ose-modules:
assignee: nobody → blueyed
importance: Undecided → Low
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.