[Solved] guest additions can't find version.h for debian 9 (stretch)

Discussions about using Linux guests in VirtualBox.
Post Reply
carolus
Posts: 12
Joined: 23. Feb 2013, 22:03
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: debian

[Solved] guest additions can't find version.h for debian 9 (stretch)

Post by carolus »

Guest additions in VirtualBox 5.1.8r111374 can't find file "version.h" for debian 9 (stretch).

"grep: /lib/modules/4.9.0-4-686/build/include/linux/version.h: No such file or directory"
Last edited by socratis on 24. Oct 2017, 18:58, edited 1 time in total.
Reason: Marked as [Solved].
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: guest additions can't find version.h for debian 9 (stretch)

Post by socratis »

carolus wrote:VirtualBox 5.1.8r111374
That's a way too old build. Try the latest 5.2.0 or 5.1.30.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: guest additions can't find version.h for debian 9 (stretch)

Post by Perryg »

IIRC you also would find it missing if the headers were not installed or if the kernel was an rc.
carolus
Posts: 12
Joined: 23. Feb 2013, 22:03
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: debian

Re: guest additions can't find version.h for debian 9 (stretch)

Post by carolus »

Updating VirtualBox to 5.2.0 solved the problem. Thanks.
Post Reply