초보질문) 데비안 엔비디아 그래픽 드라이버 설치중..

   조회 9858   추천 0    

 

데비안 최신버전(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"을 해준뒤에도 똑같습니다


왜 이러는걸까요?

초보라 힘드네요 흑흑..

Think!
짧은글 일수록 신중하게.
하셀호프 2016-10
https://wiki.debian.org/NvidiaGraphicsDrivers
도움이 될라나 모르겠네요.
엠브리오 2016-10
디바이스 드라이버를 컴파일해서 설치하려면 커널 헤더파일이 추가적으로 필요합니다.
sudo apt-get install linux-headers-???

아래 링크 참조
http://askubuntu.com/questions/75709/how-do-i-install-kernel-header-files
     
이건희 2016-10
해결했습니다. 감사합니다~~


QnA
제목Page 5033/5718
2015-12   1738159   백메가
2014-05   5206155   정은준1
2003-12   9844   심규상
2021-05   9844   늘파란
2003-11   9844   문추기
2003-11   9845   김형숙
2003-06   9846   배성호
2009-12   9846   푸릉이
2003-07   9846   이학현
2003-09   9847   김인
2011-12   9848   경박한시민
2013-10   9849   박민혁A
2010-10   9849   나너우리
2011-12   9849   차평석
2010-02   9849   Lute
2016-04   9850   낮귀신
2015-04   9850   Win31
2003-09   9850   김진우
2003-07   9850   이상룡
2015-12   9850   대한민국
2015-10   9850   나파이강승훈
2003-04   9850   송상병