Problem Installing RTL8821CE [Solved]

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

Post Reply
valdrio
Baby Hen
Posts: 9
Joined: Tue Sep 24, 2013 14:21

Problem Installing RTL8821CE [Solved]

Post by valdrio » Thu Jan 10, 2019 21:17

Hi, hope to be in the right section :)
I'm tryng to install the drivers for the wifi bluetooth combo RTL8821CE.
I enter the directory with the make file and then launch make, it stops with the following message:

Code: Select all

CC [M]  /home/valdrio/asus/rtl8821ce/os_dep/linux/os_intfs.o
/home/valdrio/asus/rtl8821ce/os_dep/linux/os_intfs.c:1325:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .ndo_select_queue = rtw_select_queue,
                      ^~~~~~~~~~~~~~~~
/home/valdrio/asus/rtl8821ce/os_dep/linux/os_intfs.c:1325:22: note: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’)
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:318: /home/valdrio/asus/rtl8821ce/os_dep/linux/os_intfs.o] Error 1
make[1]: *** [Makefile:1505: _module_/home/valdrio/asus/rtl8821ce] Error 2
make[1]: uscita dalla directory "/usr/src/linux-4.18.0-sabayon"
make: *** [Makefile:1902: modules] Error 2
Does someone have any idea on how to resolve?
Thanks in advance

User avatar
Alexander88207
Young Hen
Posts: 29
Joined: Tue Dec 11, 2018 19:10

Re: Problem Installing RTL8821CE

Post by Alexander88207 » Tue Jan 15, 2019 13:31

I think you do it like i would do it?

Code: Select all

sudo equo i sys-kernel/sabayon-sources:4.18 --ask
git clone https://github.com/tomaspinho/rtl8821ce.git
cd rtl8821ce
make
sudo make install

valdrio
Baby Hen
Posts: 9
Joined: Tue Sep 24, 2013 14:21

Re: Problem Installing RTL8821CE

Post by valdrio » Tue Jan 15, 2019 20:09

Yeah!!!
now it works, you trust me if i tell you that the only difference was that i downloaded it manually? Meaning with firefox and the extraxted the zip

Thank you very much

Edit: A last question if I update the kernel do i need to reinstall the drivers? thanks again

User avatar
Alexander88207
Young Hen
Posts: 29
Joined: Tue Dec 11, 2018 19:10

Re: Problem Installing RTL8821CE

Post by Alexander88207 » Tue Jan 15, 2019 22:37

nice to hear it works now & yes if you update the kernel you need to rebuild & install the driver :)

Post Reply