VMware vmmon&vmnet 17.5.1およびLinuxカーネル6.8.0はコンパイルできません。

VMware vmmon&vmnet 17.5.1およびLinuxカーネル6.8.0はコンパイルできません。

カーネル6.8.0にアップグレードした後、VMwareのvmmonとvmnetをコンパイルできず、次のエラーが発生します。

   ...
   ...
/tmp/vmware-host-modules-w17.5.1/vmmon-only/common/task.c:548:1: warning: no previous prototype for ‘TaskGetFlatWriteableDataSegment’ [-Wmissing-prototypes]
  548 | TaskGetFlatWriteableDataSegment(void)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/vmware-host-modules-w17.5.1/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section
  CC [M]  /tmp/vmware-host-modules-w17.5.1/vmmon-only/common/vmx86.o
In file included from /tmp/vmware-host-modules-w17.5.1/vmmon-only/common/vmx86.c:52:
./arch/x86/include/asm/timex.h: In function ‘random_get_entropy’:
./arch/x86/include/asm/timex.h:12:24: error: implicit declaration of function ‘random_get_entropy_fallback’; did you mean ‘random_get_entropy’? [-Werror=implicit-function-declaration]
   12 |                 return random_get_entropy_fallback();
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                        random_get_entropy
   ...
   ...

ベストアンサー1

ムクベチェックコミュニティフォーラムに公開されているVMware 17.5.1の共通パッチもコンパイルに失敗します。彼のウェブサイトからカーネル – 6.8 リリース – 最新の NVIDIA とパッチが適用された VMware 用、というタイトルのリンクがあります。モジュール: -Wmissing-prototypes を使用したビルドの修正コンパイルエラーなどを修正するパッチVMware 17.5.1。

緑色[ <> Code ]のボタンをクリックしてzipファイルをダウンロードし、ローカルディスクの場所に解凍します/tmp/

# unzip vmware-host-modules-workstation-17.5.1.zip
# cd vmware-host-modules-workstation-17.5.1/
# make
# make install
# /etc/init.d/vmware restart
Stopping VMware services:
   VMware Authentication Daemon                                        done
   Virtual machine monitor                                             done
Starting VMware services:
   Virtual machine monitor                                             done
   Virtual machine communication interface                             done
   VM communication interface socket family                            done
   Virtual ethernet                                                    done
   VMware Authentication Daemon                                        done
   Shared Memory Available                                             done

VMwareを起動します。

# vmware

おすすめ記事