VirtualBox

Opened 4 years ago

Closed 4 years ago

#20092 closed defect (duplicate)

vboxsf (Guest Additions 6.1.16) fails to compile on CentOS 8 Stream (kernel 4.18.0-257)

Reported by: shumkar Owned by:
Component: shared folders Version: VirtualBox 6.1.16
Keywords: Cc:
Guest type: Linux Host type: Linux

Description

Hi.

This issue is similar to https://www.virtualbox.org/ticket/19112.

vboxsf.ko can not be compiled due to error "MS_REMOUNT undeclared".

I fixed it by removing the lines

https://github.com/mdaniel/virtualbox-org-svn-vbox-trunk/blob/88de9c9135ffa2ff100ce64931417aa8144afa76/src/VBox/Additions/linux/sharedfolders/vfsmod.c#L48

and

https://github.com/mdaniel/virtualbox-org-svn-vbox-trunk/blob/88de9c9135ffa2ff100ce64931417aa8144afa76/src/VBox/Additions/linux/sharedfolders/vfsmod.c#L50-L52

in /opt/VBoxGuestAdditions-6.1.16/src/vboxsf/vfsmod.c

and then running 'make' and 'make install' (in src folder).

Screenshot with the error will be attached.

Attachments (1)

CentOS_VB_800x600.jpg (176.9 KB ) - added by shumkar 4 years ago.
Screenshot with the error

Download all attachments as: .zip

Change History (4)

by shumkar, 4 years ago

Attachment: CentOS_VB_800x600.jpg added

Screenshot with the error

comment:1 by shumkar, 4 years ago

A correction:

and then running 'make' and 'make install' (in src folder).

and then running 'make' and 'make install' (in src/vboxguest-6.1.16 folder).

comment:2 by shumkar, 4 years ago

I have just seen the ticket https://www.virtualbox.org/ticket/20091.

Evidently, this ticket is a duplicate.

Version 0, edited 4 years ago by shumkar (next)

comment:3 by paulson, 4 years ago

Resolution: duplicate
Status: newclosed

Closing this as a duplicate of #20091, see there for the fix resolution details.

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