Kali 2.0에 AMD Catalyst를 설치하려고 합니다. 몇 가지 조사를 해본 결과 가장 도움이 됐다고 생각한 것은이것포럼에서 여기에 게시되었습니다. Kali 2.0 32비트를 사용하고 있음에도 불구하고 다음 단계를 수행했습니다. 그러나 설치 명령을 실행할 때
sh ati-installer.sh 15.20 --install
설치 시 오류가 발생합니다. 이것은 fglrx-install.log입니다.
Supported adapter detected.
Detected a previous installation, /usr/share/ati/amd-uninstall.sh
Dryrun uninstall succeeded continuing with installation.
Check if system has the tools required for installation.
fglrx installation requires that the system have kernel headers. /lib/modules/4.6.0-kali1-686-pae/build/include/linux/version.h cannot be found on this system.
One or more tools required for installation cannot be found on the system. Install the required tools before installing the fglrx driver.
Optionally, run the installer with --force option to install without the tools.
Forcing install will disable AMD hardware acceleration and may make your system unstable. Not recommended.
lib/modules/4.6.0-kali1-686-pae/build/include/linux/version.h
이 경로는 내 시스템에 존재하지 않습니다. 나는 이것이 다음 경로를 의미한다고 믿습니다: /lib/modules/4.8.0-kali2-686-pae/build/include/linux/version.h
.
현재 버전을 가져오도록 해당 경로를 어떻게 변경합니까?
편집하다:경로를 생성하고 그 안에 version.h 파일을 추가했습니다. 이건 새로운 거야fglrx-install.log
Supported adapter detected.
Detected a previous installation, /usr/share/ati/amd-uninstall.sh
Dryrun uninstall succeeded continuing with installation.
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.
Forcing uninstall of AMD Catalyst(TM) Proprietary Driver.
No integrity verification is done.
restore of system environment completed
Errors during DKMS module removal
Uninstall fglrx driver complete.
For detailed log of uninstall, please see /etc/ati/fglrx-uninstall.log
System must be rebooted to avoid system instability and potential data loss.
/usr/share/ati/amd-uninstall.sh completed with 0
Creating symlink /var/lib/dkms/fglrx/15.20.1046/source ->
/usr/src/fglrx-15.20.1046
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
cd /var/lib/dkms/fglrx/15.20.1046/build; sh make.sh --nohints --uname_r=4.6.0-kali1-686-pae --norootcheck...(bad exit status: 1)
[Error] Kernel Module : Failed to build fglrx-15.20.1046 with DKMS
[Error] Kernel Module : Removing fglrx-15.20.1046 from DKMS
------------------------------
Deleting module version: 15.20.1046
completely from the DKMS tree.
------------------------------
Done.
[Reboot] Kernel Module : update-initramfs
답변1
fglrx installation requires that the system have kernel headers.
먼저 다음을 수행하여 Kali를 업그레이드하십시오.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
이제 시스템을 다시 시작하고 실행하십시오.
sudo apt-get install linux-headers-$(uname -r)
지금 설치해 보세요. 행운을 빌어요.