데비안 최신버전(8.6)에 엔비디아 그래픽 드라이버를 설치하려
ctrl alt f1눌러서 gdm stop하고 sh nvidia-~~.run을 했습니다
그래픽카드는 nvs140m입니다
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 340.98.
-> Performing CC sanity check with CC="/usr/bin/cc".
-> The CC version check failed:
The compiler used to compile the kernel (gcc 4.8) does not exactly match the current compiler (gcc 4.9). The Linux 2.6 kernel module loader rejects kernel modules built with a version of gcc that does not exactly match that of the compiler used to build the running kernel.
ERROR: Unable to find the kernel source tree for the currently running kernel. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/log에 있는 nvidia installer의 로그중 일부입니다
이게 영어는 분명 영언데 왜 외계어같은지;;
구글링후 cc="usr/bin/gcc-4.8"을 해준뒤에도 똑같습니다
왜 이러는걸까요?
초보라 힘드네요 흑흑..
µµ¿òÀÌ µÉ¶ó³ª ¸ð¸£°Ú³×¿ä.
sudo apt-get install linux-headers-???
¾Æ·¡ ¸µÅ© ÂüÁ¶
http://askubuntu.com/questions/75709/how-do-i-install-kernel-header-files