한컴 리눅스 4에서 vmware 워크4 설치 할때 나는 에러 혹시 해결

eyeofme의 이미지

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 파일은 커널 헤더에 있는 것입니다.
한컴리눅스 rpm중에, kernel-header-버전명.rpm 를 설치하셔야 합니다.

----
아발발다빠따반반나다발딸발발다빠따따맣밤밤따받따발발다따밝다발발다빠따따밤반다빠따다맣밥발
발다따밥다발발다따박다발발다빠따따밞밭밭다따다맣아희

eyeofme의 이미지

kernel-버전명.rpm 은 있던데요. 이게
kernel-header-버전명.rpm 하고 다른 건가요?

아빠곰의 이미지

제가 잘못말씀드렸습니다. 한컴리눅스에는 kernel-header-버전명.rpm 이란게 없습니다. kernel-버전명.rpm 안에 kernel, module, header 이 모두 들어있습니다. 그러니까, 필요하신 header파일을 얻기 위해서는 kernel-버전명.rpm을 설치하시면 됩니다.

eyeofme 님께서 쓰신 내용으로 보아 kernel-smp-2.6.6버전.i686.rpm 이 설치된 것으로 보이며, kernel header들도 설치 되어있는것으로 보입니다.

확실히 하기 위해,

Quote:
find /lib/modules/2.6.6-8hlsmp/build/include/ -name mach_mpspec.h

라는 명령으로 mach_mpspec.h 파일이 있는지 확인해보실 수 있습니다.

위의 명령 결과가 아무것도 없다면, 커널을 새것으로 업데이트하시면 되고, 위의 명령으로 mach_mpspec.h 파일이 찾아지면 경로를 조금 손보고 다시 시도해볼 수 있을것 같습니다.

경로수정하는 방법은 관리자 권한으로

Quote:
mkdir -p /usr/src/linux
ln -sf /lib/modules/2.6.6-8hlsmp/build/include /usr/src/linux/include

하시면 됩니다. 이후 vmware-config 를 다시 실행해 보세요.

----
아발발다빠따반반나다발딸발발다빠따따맣밤밤따받따발발다따밝다발발다빠따따밤반다빠따다맣밥발
발다따밥다발발다따박다발발다빠따따밞밭밭다따다맣아희

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.