한컴 리눅스 4에서 vmware 워크4 설치 할때 나는 에러 혹시 해결
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.6-8hlsmp/build/include]
(제대로 c 헤더가 있는 곳을 잡더군요..)
Extracting the sources of the vmmon module.
Building the vmmon module.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make[1]: Entering directory `/tmp/vmware-config1/vmmon-only'
make[2]: Entering directory `/tmp/vmware-config1/vmmon-only/driver-2.6.6-8hlsmp'
make[2]: Leaving directory `/tmp/vmware-config1/vmmon-only/driver-2.6.6-8hlsmp'
make[2]: Entering directory `/tmp/vmware-config1/vmmon-only/driver-2.6.6-8hlsmp'
In file included from /lib/modules/2.6.6-8hlsmp/build/include/asm/processor.h:18,
from /lib/modules/2.6.6-8hlsmp/build/include/asm/thread_info.h:16,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/thread_info.h:21,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/spinlock.h:12,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/capability.h:45,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/sched.h:7,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.6-8hlsmp/build/include/asm/system.h: In function `__set_64bit_var':
/lib/modules/2.6.6-8hlsmp/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/lib/modules/2.6.6-8hlsmp/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from /lib/modules/2.6.6-8hlsmp/build/include/asm/smp.h:18,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/smp.h:17,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/sched.h:23,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:6:25: mach_mpspec.h: 그런 파일이나 디렉토리가 없음
In file included from /lib/modules/2.6.6-8hlsmp/build/include/asm/smp.h:18,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/smp.h:17,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/sched.h:23,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h: At top level:
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:43: error: `MAX_APICS' undeclared here (not in a function)
In file included from /lib/modules/2.6.6-8hlsmp/build/include/asm/smp.h:20,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/smp.h:17,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/sched.h:23,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.6-8hlsmp/build/include/asm/io_apic.h:160: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/lib/modules/2.6.6-8hlsmp/build/include/asm/io_apic.h:160: error: conflicting types for `mp_irqs'
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In file included from /lib/modules/2.6.6-8hlsmp/build/include/linux/smp.h:17,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/sched.h:23,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.6-8hlsmp/build/include/asm/smp.h:71:26: mach_apicdef.h: 그런 파일이나 디렉토리가 없음
In file included from /lib/modules/2.6.6-8hlsmp/build/include/linux/smp.h:17,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/sched.h:23,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.6-8hlsmp/build/include/asm/smp.h: In function `hard_smp_processor_id':
/lib/modules/2.6.6-8hlsmp/build/include/asm/smp.h:75: warning: implicit declaration of function `GET_APIC_ID'
../linux/driver.c:25:27: linux/wrapper.h: 그런 파일이나 디렉토리가 없음
../linux/driver.c: At top level:
../linux/driver.c:133: warning: initialization from incompatible pointer type
../linux/driver.c: In function `init_module':
../linux/driver.c:246: error: structure has no member named `prev'
../linux/driver.c:247: error: structure has no member named `next'
../linux/driver.c: In function `Panic':
../linux/driver.c:1304: warning: implicit declaration of function `_exit'
../include/vm_asm.h: In function `Div643264':
../include/vm_asm.h:1095: warning: use of memory input without lvalue in asm operand 4 is deprecated
make[2]: *** [driver.o] 오류 1
make[2]: Leaving directory `/tmp/vmware-config1/vmmon-only/driver-2.6.6-8hlsmp'
make[1]: *** [driver] 오류 2
make[1]: Leaving directory `/tmp/vmware-config1/vmmon-only'
make: *** [auto-build] 오류 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.6-8hlsmp/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make[1]: Entering directory `/tmp/vmware-config1/vmmon-only'
make[2]: Entering directory `/tmp/vmware-config1/vmmon-only/driver-2.6.6-8hlsmp'
make[2]: Leaving directory `/tmp/vmware-config1/vmmon-only/driver-2.6.6-8hlsmp'
make[2]: Entering directory `/tmp/vmware-config1/vmmon-only/driver-2.6.6-8hlsmp'
In file included from /lib/modules/2.6.6-8hlsmp/build/include/asm/processor.h:18,
from /lib/modules/2.6.6-8hlsmp/build/include/asm/thread_info.h:16,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/thread_info.h:21,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/spinlock.h:12,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/capability.h:45,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/sched.h:7,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.6-8hlsmp/build/include/asm/system.h: In function `__set_64bit_var':
/lib/modules/2.6.6-8hlsmp/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/lib/modules/2.6.6-8hlsmp/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from /lib/modules/2.6.6-8hlsmp/build/include/asm/smp.h:18,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/smp.h:17,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/sched.h:23,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:6:25: mach_mpspec.h: 그런 파일이나 디렉토리가 없음
In file included from /lib/modules/2.6.6-8hlsmp/build/include/asm/smp.h:18,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/smp.h:17,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/sched.h:23,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h: At top level:
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:43: error: `MAX_APICS' undeclared here (not in a function)
In file included from /lib/modules/2.6.6-8hlsmp/build/include/asm/smp.h:20,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/smp.h:17,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/sched.h:23,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.6-8hlsmp/build/include/asm/io_apic.h:160: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/lib/modules/2.6.6-8hlsmp/build/include/asm/io_apic.h:160: error: conflicting types for `mp_irqs'
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In file included from /lib/modules/2.6.6-8hlsmp/build/include/linux/smp.h:17,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/sched.h:23,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.6-8hlsmp/build/include/asm/smp.h:71:26: mach_apicdef.h: 그런 파일이나 디렉토리가 없음
In file included from /lib/modules/2.6.6-8hlsmp/build/include/linux/smp.h:17,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/sched.h:23,
from /lib/modules/2.6.6-8hlsmp/build/include/linux/module.h:10,
from ../linux/driver.c:16:
/lib/modules/2.6.6-8hlsmp/build/include/asm/smp.h: In function `hard_smp_processor_id':
/lib/modules/2.6.6-8hlsmp/build/include/asm/smp.h:75: warning: implicit declaration of function `GET_APIC_ID'
../linux/driver.c:25:27: linux/wrapper.h: 그런 파일이나 디렉토리가 없음
../linux/driver.c: At top level:
../linux/driver.c:133: warning: initialization from incompatible pointer type
../linux/driver.c: In function `init_module':
../linux/driver.c:246: error: structure has no member named `prev'
../linux/driver.c:247: error: structure has no member named `next'
../linux/driver.c: In function `Panic':
../linux/driver.c:1304: warning: implicit declaration of function `_exit'
../include/vm_asm.h: In function `Div643264':
../include/vm_asm.h:1095: warning: use of memory input without lvalue in asm operand 4 is deprecated
make[2]: *** [driver.o] 오류 1
make[2]: Leaving directory `/tmp/vmware-config1/vmmon-only/driver-2.6.6-8hlsmp'
make[1]: *** [driver] 오류 2
make[1]: Leaving directory `/tmp/vmware-config1/vmmon-only'
make: *** [auto-build] 오류 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
vmware 에서 에러 내는 부분이
/lib/modules/2.6.6-8hlsmp/build/include/asm/mpspec.h
을 읽고 mach_mpspec.h 없다고 에러내는 때부터
밑에 보면 좌~~악 에러가 나는데.. mpspec.h 를 어떻게 고쳐야
vmware 가 제대로 돌아 갈까요?
mach_mpspec.h 파일은 커널 헤더에 있는 것입니다.한컴리눅스
mach_mpspec.h 파일은 커널 헤더에 있는 것입니다.
한컴리눅스 rpm중에, kernel-header-버전명.rpm 를 설치하셔야 합니다.
----
아발발다빠따반반나다발딸발발다빠따따맣밤밤따받따발발다따밝다발발다빠따따밤반다빠따다맣밥발
발다따밥다발발다따박다발발다빠따따밞밭밭다따다맣아희
kernel-버전명.rpm 은 있던데요. 이게 kernel-heade
kernel-버전명.rpm 은 있던데요. 이게
kernel-header-버전명.rpm 하고 다른 건가요?
제가 잘못말씀드렸습니다. 한컴리눅스에는 kernel-header-버전명.
제가 잘못말씀드렸습니다. 한컴리눅스에는 kernel-header-버전명.rpm 이란게 없습니다. kernel-버전명.rpm 안에 kernel, module, header 이 모두 들어있습니다. 그러니까, 필요하신 header파일을 얻기 위해서는 kernel-버전명.rpm을 설치하시면 됩니다.
eyeofme 님께서 쓰신 내용으로 보아 kernel-smp-2.6.6버전.i686.rpm 이 설치된 것으로 보이며, kernel header들도 설치 되어있는것으로 보입니다.
확실히 하기 위해,
라는 명령으로 mach_mpspec.h 파일이 있는지 확인해보실 수 있습니다.
위의 명령 결과가 아무것도 없다면, 커널을 새것으로 업데이트하시면 되고, 위의 명령으로 mach_mpspec.h 파일이 찾아지면 경로를 조금 손보고 다시 시도해볼 수 있을것 같습니다.
경로수정하는 방법은 관리자 권한으로
하시면 됩니다. 이후 vmware-config 를 다시 실행해 보세요.
----
아발발다빠따반반나다발딸발발다빠따따맣밤밤따받따발발다따밝다발발다빠따따밤반다빠따다맣밥발
발다따밥다발발다따박다발발다빠따따밞밭밭다따다맣아희
댓글 달기