#18249 closed defect (duplicate)
Installation of GuestAddition 6 on RHEL6 fails -> duplicate of #18238
Reported by: | Akemi Yagi | Owned by: | |
---|---|---|---|
Component: | guest additions | Version: | VirtualBox 6.0.0 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | all |
Description
Building the vboxsf kernel module fails on RHEL6 guest.
/vboxsf/vfsmod.c: In function ‘sf_show_options’: /vboxsf/vfsmod.c:509: error: dereferencing pointer to incomplete type /vboxsf/vfsmod.c:515: error: implicit declaration of function ‘seq_printf’ /vboxsf/vfsmod.c:518: error: implicit declaration of function ‘seq_puts’ /vboxsf/vfsmod.c:519: error: implicit declaration of function ‘seq_escape’
This is due to missing header files:
<linux/mount.h> <linux/seq_file.h>
It was reported in the following forum post:
https://forums.virtualbox.org/viewtopic.php?f=3&t=90978
The attached patch fixes the errors.
Attachments (1)
Change History (6)
by , 6 years ago
Attachment: | fix-vboxsf-build-error-for-rhel6.patch added |
---|
comment:2 by , 6 years ago
I thought I had seen that "seq_file.h
" before, when I first looked at your ticket, I just couldn't remember where! ;)
Good eye!
comment:3 by , 6 years ago
comment:4 by , 6 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Summary: | Installation of GuestAddition 6 on RHEL6 fails → Installation of GuestAddition 6 on RHEL6 fails -> duplicate of #18238 |
Marking this ticket as a duplicate. Please try the current test builds<1> and update #18238 if appropriate.
comment:5 by , 6 years ago
I confirm the fix. With VBoxGuestAdditions_6.0.1-128006, vboxsf builds fine on RHEL-6.
Patch to fix vboxsf build errors on RHEL6