VirtualBox

6 年 前 建立

6 年 前 結束

6 年 前 更新

#18249 closed defect (duplicate)

Installation of GuestAddition 6 on RHEL6 fails -> duplicate of #18238

回報者: Akemi Yagi 負責人:
元件: guest additions 版本: VirtualBox 6.0.0
關鍵字: 副本:
Guest type: Linux Host type: all

描述

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.

附加檔案 (1)

fix-vboxsf-build-error-for-rhel6.patch (992 位元組 ) - 6 年 前, 由 Akemi Yagi 新增
Patch to fix vboxsf build errors on RHEL6

下載所有附檔: .zip

更動歷史 (6)

6 年 前Akemi Yagi 編輯

Patch to fix vboxsf build errors on RHEL6

comment:1 6 年 前Akemi Yagi 編輯

This issue was reported in bug #18238 as well.

comment:2 6 年 前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:3 6 年 前Socratis 編輯

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 6 年 前Michael Thayer 編輯

摘要: Installation of GuestAddition 6 on RHEL6 failsInstallation of GuestAddition 6 on RHEL6 fails -> duplicate of #18238
狀態: newclosed
處理結果: duplicate

Marking this ticket as a duplicate. Please try the current test builds<1> and update #18238 if appropriate.

  1. wiki:Testbuilds

comment:5 6 年 前Akemi Yagi 編輯

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

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

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