Kernel 의 소스 는 어디에 있나요?
VMware 를 설치하는데 kernel 소스의 위치를 입력하라는군요
/usr/include 로 햇더니 버젼이 다른 곳이라고 하고
디폴트 값으로 해도 안되고..
The header files in /usr/include are generally for C libraries, not for the
running kernel. If you do not have kernel header files in your /usr/src
directory, you probably do not have the kernel-source package installed. Are you
sure that /usr/include contains the header files associated with your running
kernel? [no] yes
The directory of kernel headers (version 2.6.0-test7) does not match your
running kernel (version 2.4.25-1-386). Even if the module were to compile
successfully, it would not load into the running kernel.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
어떻게 입력을 해야 정상적으로 작동을 할까요?
/usr/include/linux/로 하면 [code:1]Wh
/usr/include/linux/
로 하면
이렇게 에러가 납니다...
vmware설치 한번 어렵군요 ㅠ ㅠ
원래 있는 /usr/src/linux/include 는 안되는지요?
원래 있는 /usr/src/linux/include 는 안되는지요?
제가 설치시에는 그대로 했던 것 같은데..
혹 커널소스가 설치가 안되어 있는 것인지 확인해 보시기 바랍니다.
사용자가 바꾸어 나가자!!
= about me =
http://wiki.kldp.org/wiki.php/offree , DeVlog , google talk : offree at gmail.com
RTFM현재 실행중인 커널 버젼과 헤더 버젼을 일치시키세요.
RTFM
현재 실행중인 커널 버젼과 헤더 버젼을 일치시키세요.
apt-get remove --purge kernel-headers-2.6.0-test7
apt-get install kernel-headers-2.4.25-1
저도 일치는 시켜야 되는건가 햇는데...전에 설치할때는 이런 문제
저도 일치는 시켜야 되는건가 햇는데...
전에 설치할때는 이런 문제가 없어서, 혹 제가 잘못햇나 하고 올렷는데...
감사합니다.
이상하군요...패키지를 찾을수 없다는데...흠,,,apt-
이상하군요...
패키지를 찾을수 없다는데...흠,,,
apt-get remove --purge kernel-headers-2.6.0-test7
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package kernel-headers-2.6.0-test7
커널 헤더 수동설치하셨으면 수동삭제해주세요.
커널 헤더 수동설치하셨으면 수동삭제해주세요.
/usr/include 내에 있는 asm이나 linux를 /usr/src
/usr/include 내에 있는 asm이나 linux를 /usr/src/linux 내에 있는
(혹은 kernel source code가 설치되어져 있는 디렉토리)
asm 이나 linux를 가르키도록 symbolic link를 하던지 아니면
복사를 하시던지 하면 될 것같은데..
/usr/include 에도 asm이 있더군요.
/usr/include 에도 asm이 있더군요.
2.4 커널을 깔았습니다.버젼에 맞추어서내용물들을 확인하면
2.4 커널을 깔았습니다.
버젼에 맞추어서
내용물들을 확인하면 다있습니다.
그런데
The path "/usr/src/kernel-headers-2.4.25-1-386/include" is an existing
directory, but it does not contain at least one of these directories "linux",
"asm", "net" as expected.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
이런 메세지가 납니다.
linux, asm, net 다 있더군요
link형식으로 있는거 같은데요...
댓글 달기