CentOS 7.3 & VMware Tools でファイル共有機能の不具合

投稿者: | 2016年12月19日

VMwareのホスト・ゲスト間ファイル共有機能は便利な機能であるわけだが、 CentOS 7.3 と VMware Tools 10.0.x の組合わせではコンパイルエラーが生じてToolsのインストールが失敗し、ファイル共有が使えない。

具体的にはこんなエラー。

/tmp/modconfig-CXZXGV/vmhgfs-only/page.c:1649:23: エラー: 関数 ‘wait_on_bit’ への引数が多すぎます
                       TASK_UNINTERRUPTIBLE);
                       ^
In file included from include/linux/mmzone.h:9:0,
                 from include/linux/gfp.h:5,
                 from include/linux/mm.h:9,
                 from include/linux/pagemap.h:7,
                 from /tmp/modconfig-CXZXGV/vmhgfs-only/page.c:28:
include/linux/wait.h:1044:1: 備考: ここで宣言されています
 wait_on_bit(void *word, int bit, unsigned mode)
 ^
make[2]: *** [/tmp/modconfig-CXZXGV/vmhgfs-only/page.o] エラー 1

現時点で最新の VMware Tools 10.1.0 build-4449150 を手動ダウンロードして導入し解決。

元情報
VMware Tools 10.1.0 build-4449150

ダウンロードした VMware-Tools-10.1.0-core-4449150.tar.gz に収録されている linux.iso をゲストOSでマウントし、あとはいつもの手動インストールを行う。

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です