Ticket #18249 (closed defect: duplicate)
Installation of GuestAddition 6 on RHEL6 fails -> duplicate of #18238
Reported by: | toracat | 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
Change History
Changed 2 years ago by toracat
-
attachment
fix-vboxsf-build-error-for-rhel6.patch
added
comment:2 Changed 2 years ago by socratis
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:4 Changed 2 years ago by michael
- Status changed from new to closed
- Resolution set to duplicate
- Summary changed from Installation of GuestAddition 6 on RHEL6 fails to 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.
Note: See
TracTickets for help on using
tickets.
Patch to fix vboxsf build errors on RHEL6