求助,内核头文件安装错误

网上买了个无线网卡给我台式机,为了装那个驱动我装了包:gccbc
之后遇到了这个错误:

[sudo] root 的密码:
Your kernel header files aren't properly installed.
Please consult your distro documentation or user support forums.
Once the header files are properly installed, please run "sudo ./install-driver.sh"

版本:

mercurows@localhost:~> hostnamectl
   Static hostname: n/a                               
Transient hostname: localhost
         Icon name: computer-desktop
           Chassis: desktop
        Machine ID: e360a1240d404b5b8bcc5a505af470f1
           Boot ID: bf2216e8fb964218bd5121b4cb14c1ac
  Operating System: openSUSE Leap 15.4                
       CPE OS Name: cpe:/o:opensuse:leap:15.4
            Kernel: Linux 5.14.21-150400.24.63-default
      Architecture: x86-64
   Hardware Vendor: System manufacturer
    Hardware Model: System Product Name

sudo zypper in kernel-devel

1赞

本主题在最后一个回复创建后60分钟后自动锁定。不再允许添加新回复。