wenpei 寫:一開始是用 2.6.15-1-686-smp 裝上 vmware
核心用 linux-image 升級上 2.6.16-1-686-smp 後
vmware 說要 reconfig
vmware-config.pl 時
- 代碼: 選擇全部
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
我有安裝相對應版本號的 linux-header
但是打進去(/usr/src/linux-headers-2.6.16-1-686-smp/include)之後出現
- 代碼: 選擇全部
The kernel defined by this directory of header files does not have the same
address space size as your running kernel.
於是自己重新編譯 kernel
但是使用相對應的 kernel-header 還是出現這個錯誤訊息
請問是那個有注意到、該怎麼解決?
最近重裝debian,也碰到了這個問題
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
The path "/usr/src/linux/include" is not an existing directory.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /lib/modules/2.6.16-1-486/build/include
The kernel defined by this directory of header files does not have the same
address space size as your running kernel.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-headers-2.6.16-1-486/include
The kernel defined by this directory of header files does not have the same
address space size as your running kernel.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-headers-2.6.16-1/include
The path "/usr/src/linux-headers-2.6.16-1/include" is a kernel header file
directory, but it does not contain the file "linux/version.h" as expected. This
can happen if the kernel has never been built, or if you have invoked the "make
mrproper" command in your kernel directory. In any case, you may want to
rebuild your kernel.