Ticket #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
Change History
Changed 9 years ago by Fate
-
attachment
VBox-uapi_version_h.diff
added
comment:1 Changed 9 years 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.
Detect correct location of version.h with newer Linux kernels