https://help.ubuntu.com/community/VMware/Player 의 지침에 따라 VMware를 설치하려고합니다.
다음을 포함하는 로그 파일을 살펴 보라는 오류가 발생합니다.
Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
Successfully extracted the vmmon source.
Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-GoVdrH/vmmon-only auto-build HEADER_DIR=/lib/modules/4.15.0-22-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
Failed to build vmmon. Failed to execute the build command.
무엇이 잘못되었는지 정확히 파악하기 vmware-modconfig --console --install-all
위해 명령 행에서 실행 한 결과 다음과 같은 오류가 나타났습니다.
./arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition
#define CR3_PCID_MASK 0xFFFull
^
/tmp/modconfig-3S1CBa/vmmon-only/linux/driver.c:256:12: error: ‘struct timer_list’ has no member named ‘data’
tscTimer.data = 0;
unsigned int lockedPages = global_page_state(NR_PAGETABLE) +
^~~~~~~~~~~~~~~~~
global_numa_state
/tmp/modconfig-3S1CBa/vmmon-only/linux/driver.c: In function ‘init_module’:
/tmp/modconfig-3S1CBa/vmmon-only/linux/driver.c:338:4: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration]
init_timer(&tscTimer);
^~~~~~~~~~
init_timers
/tmp/modconfig-3S1CBa/vmmon-only/linux/hostif.c: In function ‘HostIF_InitUptime’:
init_timers
/tmp/modconfig-3S1CBa/vmmon-only/linux/hostif.c:1754:31: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
uptimeState.timer.function = HostIFUptimeResyncMono;
LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/tmp/modconfig-3S1CBa/vmmon-only/linux/hostif.o' failed
make[2]: *** [/tmp/modconfig-3S1CBa/vmmon-only/linux/hostif.o] Error 1
Makefile:110: recipe for target 'vmmon.ko' failed
make: *** [vmmon.ko] Error 2
수정하거나 암시 적 함수 선언 및 호환되지 않는 포인터 유형을 오류로 간주하지 않는 방법은 무엇입니까?
아니면 18.04에 최신 VMware를 설치하는 더 쉬운 방법이 있습니까?
참고 : Ubuntu 16.04의 VMWare Workstation Pro 12와 다른 오류로 인해 vmmon을 컴파일 할 수 없습니다
당신은 여기
—
ptetteh227