Issues with "make install" when trying to build a driver for rtl8821ce

Issues related to hardware problems
Post Reply
AkashiyaWolf
Posts: 2
Joined: 2020/01/21 02:57:22

Issues with "make install" when trying to build a driver for rtl8821ce

Post by AkashiyaWolf » 2020/01/21 03:02:37

I bought an IdeaPad S145 to use as a linux laptop. I'm running CentOS kernel ver. 4.14. The wifi in it is rtl8821ce. It does NOT have an ethernet port.
I found https://github.com/lwfinger/rtlwifi_new and followed the instructions at the bottom for rtl8821ce


On Raspbian I did the following
git clone http://github.com/lwfinger/rtlwifi_new.git -b rtw88

I made a folder "rtlwifi_new" in the /root directory on my laptop, copied the files over, then did:
cd rtlwifi_new
make
sudo make install

Output from "make install" command
make -C /lib/modules/4.18.0-147.el8.x86_64/build M=/root/rtlwifi_new modules
make:[1]: Entering directory '/usr/src/kernels/4.18.0-147.el8.x86_64'
Building modules, stage 2.
MODPOST 2 modules
make[1]: Leaving directory '/usr/src/kernels/4.18.0-147.el8.x86_64'
cp: cannot stat 'firmware/*.bin' : Not a directory

ls /usr/src/kernels/4.18.0-147.el8.x86_64/firmware
Makefile

I'm new to all this and don't know what to do.
Do I need to make a new firmware directory? If so, where do I put it?

Thank you!

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Issues with "make install" when trying to build a driver for rtl8821ce

Post by TrevorH » 2020/01/21 15:05:58

Not really going to help solve your problem but, NEVER build as root.

As for the "firmware" build error, you'll need to ask the people who supplied the source you are trying to build.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

AkashiyaWolf
Posts: 2
Joined: 2020/01/21 02:57:22

Re: Issues with "make install" when trying to build a driver for rtl8821ce

Post by AkashiyaWolf » 2020/01/28 03:23:16

I had a feeling that would be the answer, thank you. I have an issue posted on the creator's github.

Why not build as root?

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Issues with "make install" when trying to build a driver for rtl8821ce

Post by toracat » 2020/01/28 07:48:24

AkashiyaWolf wrote:
2020/01/28 03:23:16
Why not build as root?
Please see http://www.owlriver.com/tips/non-root/ .
CentOS Forum FAQ

Post Reply