VirtualBox

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#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)

fix-vboxsf-build-error-for-rhel6.patch (992 bytes ) - added by Akemi Yagi 6 years ago.
Patch to fix vboxsf build errors on RHEL6

Download all attachments as: .zip

Change History (6)

by Akemi Yagi, 6 years ago

Patch to fix vboxsf build errors on RHEL6

comment:1 by Akemi Yagi, 6 years ago

This issue was reported in bug #18238 as well.

comment:2 by Socratis, 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 Socratis, 6 years ago

Either #18249 is a duplicate of #18238, or #18238 is a duplicate of #18249.

"This bugtracker isn't big for both of them!" :)

comment:4 by Michael Thayer, 6 years ago

Resolution: duplicate
Status: newclosed
Summary: Installation of GuestAddition 6 on RHEL6 failsInstallation 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.

  1. wiki:Testbuilds

comment:5 by Akemi Yagi, 6 years ago

I confirm the fix. With VBoxGuestAdditions_6.0.1-128006, vboxsf builds fine on RHEL-6.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette