VirtualBox

Opened 10 years ago

Closed 10 years ago

#12735 closed defect (worksforme)

Make guest additions find version.h on Linux >= 3.7 as well

Reported by: Fate Owned by:
Component: guest additions Version: VirtualBox 4.3.8
Keywords: guest additions uapi linux headers Cc:
Guest type: Linux Host type: all

Description

Compiling guest additions on Linux guests with newer kernel versions (>= 3.7 I think) fails due to the introduction of the uapi stuff (http://lwn.net/Articles/519762/):

# head -n1 /var/log/vboxadd-install.log: grep: /lib/modules/3.12.10-2-default/build/include/linux/version.h: No such file or directory

Attachments (2)

VBox-uapi_version_h.diff (685 bytes ) - added by Fate 10 years ago.
Detect correct location of version.h with newer Linux kernels
VBox-uapi_version_h.2.diff (969 bytes ) - added by Fate 10 years ago.
Corrected version of patch

Download all attachments as: .zip

Change History (4)

by Fate, 10 years ago

Attachment: VBox-uapi_version_h.diff added

Detect correct location of version.h with newer Linux kernels

by Fate, 10 years ago

Attachment: VBox-uapi_version_h.2.diff added

Corrected version of patch

comment:1 by Frank Mehnert, 10 years ago

The new location of version.h is indeed not properly detected but how does the compilation fail for your guest? The vboxadd-install.log contains the error message from grep that version.h could not be found but this test is only used to differ between Linux 2.4 and 2.6 while Linux 2.6 is default. So again, does the compilation really fail for your guest? If so, please attach the complete vboxadd-install.log file to this ticket.

comment:2 by Frank Mehnert, 10 years ago

Resolution: worksforme
Status: newclosed

No response, closing.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use