Opened 6 years ago
Closed 4 years ago
#17981 closed defect (fixed)
VB Guest Additions Kernel 4.18 Error Building the Module
Reported by: | hmoller | Owned by: | |
---|---|---|---|
Component: | guest additions | Version: | VirtualBox 5.2.18 |
Keywords: | Kernel 4.18 | Cc: | |
Guest type: | Linux | Host type: | Windows |
Description
I upgraded to Kernel 4.18 but VirtualBoxGuestAditions failed to build. First I got the error: Makefile:965: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel" (*.log.2)
Then I installed libelf-dev nad th build still doesn't work. (*log.1)
Attachments (2)
Change History (11)
by , 6 years ago
Attachment: | vboxadd-setup.log.1 added |
---|
comment:1 by , 6 years ago
Have you tried the most recent Guest Additions test build<1>? I am uploading a new one now, so you might want to wait for an hour or so.
comment:2 by , 6 years ago
I tried but VBoxLinuxAdditions.run is note executable in the iso and since the filename is read only don't let me do $chmod +x VBoxLinuxAdditions.run
comment:3 by , 6 years ago
with 5.2.97 worked ok, thanks for all. 5.2.19 has the executable problem.
comment:4 by , 6 years ago
Just wanted to add that I ran into the same errors building the shared folder module as in the attached vboxadd-setup.log.1 after updating my Fedora 27 guest from Linux 4.17.17 to Linux 4.18.7 and re-installing Guest Additions from the most recent VirtualBox release 5.2.18.
Using the test build of GuestAdditions (5.2.97) as suggested above resolved the issue.
comment:5 by , 6 years ago
5.2.97 is the test build for the development (i.e. unstable) branch. The test build for 5.2.19 (stable branch) should solve the problem too, unless I have messed something up. I will take a look at the executable problem reported by hmoller. As a workaround, execute "sudo sh VBoxLinuxAdditions.run" instead of "sudo VBoxLinuxAdditions.run" (adapt as needed).
comment:6 by , 6 years ago
sh VBoxLinuxAdditions.run is not solving the problem for me on debian sid
comment:7 by , 6 years ago
@MiloMak
Please read the thread from the beginning, but more carefully this time. 5.2.18 has the problem, 5.2.19 (the test build) has the problem, you should try 5.2.97, *not* 5.2.18...
comment:8 by , 6 years ago
I just checked and the current 5.2 Additions test build ISO contains:
-r-xr-xr-x 1 michael michael 7321037 Sep 26 16:30 VBoxLinuxAdditions.run
Is this different for other people?
error after installing libelf-dev