VirtualBox

Ticket #12735 (closed defect: worksforme)

Opened 17 months ago

Last modified 15 months ago

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

Reported by: Fate Owned by:
Priority: major 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

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

Change History

Changed 17 months ago by Fate

Detect correct location of version.h with newer Linux kernels

Changed 17 months ago by Fate

Corrected version of patch

comment:1 Changed 17 months ago by frank

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 Changed 15 months ago by frank

  • Status changed from new to closed
  • Resolution set to worksforme

No response, closing.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use