tomaspinho / rtl8821ce

Other
1.58k stars 412 forks source link

Installing Error on Archlinux with kernel 5.17.1 #268

Closed fansuregrin closed 2 years ago

fansuregrin commented 2 years ago

Dear author, I am using Archlinux, and when I re-install this driver I got a error. Can you help me to solve it because I don't understand it. Thank you very much! (My English is poor, pardon me!!!)

The error messages is bellow.

:: Running pre-transaction hooks...
(1/1) Remove upgraded DKMS modules
==> dkms remove --no-depmod rtl8821ce/1.0.5.r134.gdce62b9 -k 5.17.1-arch1-1
:: Processing package changes...
(1/1) reinstalling rtl8821ce-dkms-git                            [####################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules
==> dkms install --no-depmod rtl8821ce/1.0.5.r134.gdce62b9 -k 5.17.1-arch1-1
==> depmod 5.17.1-arch1-1
==> ERROR: Missing 5.12.14-arch1-1 kernel headers for module rtl8821ce/1.0.5.r134.gdce62b9.
hailingfang commented 2 years ago

I think you need install kernel src or kernel dev files by your system's package manager.

tomaspinho commented 2 years ago

What @benjaminfang said. Closing.