- 
                Notifications
    
You must be signed in to change notification settings  - Fork 110
 
Open
Description
Good afternoon! Am on Ubuntu 18.04 and trying to install this driver but getting a build error. I downloaded the zip from https://github.com/FreedomBen/rtl8188ce-linux-driver/tree/ubuntu-18.04 and ran the install.sh script.
Below is my terminal output from when it tried to compile:
[*] Now let's compile the driver from source and copy the files to the right directories
if [ -e verify_branch.sh ] ; \
then \
    ./verify_branch.sh ; \
fi;
Verifying a sane branch for your kernel version...
Yes
make -C /lib/modules/5.3.0-42-generic/build M=/home/shawn/Downloads/rtl8188ce-linux-driver-ubuntu-18.04 modules
make[1]: Entering directory '/usr/src/linux-headers-5.3.0-42-generic'
  CC [M]  /home/shawn/Downloads/rtl8188ce-linux-driver-ubuntu-18.04/base.o
In file included from ./arch/x86/include/asm/current.h:5:0,
                 from ./include/linux/sched.h:12,
                 from /home/shawn/Downloads/rtl8188ce-linux-driver-ubuntu-18.04/wifi.h:38,
                 from /home/shawn/Downloads/rtl8188ce-linux-driver-ubuntu-18.04/base.c:33:
/home/shawn/Downloads/rtl8188ce-linux-driver-ubuntu-18.04/base.c: In function ‘rtl_make_smps_action’:
./include/linux/compiler.h:78:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
 # define unlikely(x) __builtin_expect(!!(x), 0)
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/bug.h:127:2: note: in expansion of macro ‘unlikely’
  unlikely(__ret_warn_on);     \
  ^~~~~~~~
/home/shawn/Downloads/rtl8188ce-linux-driver-ubuntu-18.04/base.c:2234:3: note: in expansion of macro ‘WARN_ON’
   WARN_ON( 1 );
   ^~~~~~~
/home/shawn/Downloads/rtl8188ce-linux-driver-ubuntu-18.04/base.c:2238:2: note: here
  case IEEE80211_SMPS_OFF:/* 1 */ /*MIMO_PS_NOLIMIT*/
  ^~~~
  CC [M]  /home/shawn/Downloads/rtl8188ce-linux-driver-ubuntu-18.04/usb.o
  CC [M]  /home/shawn/Downloads/rtl8188ce-linux-driver-ubuntu-18.04/rc.o
/home/shawn/Downloads/rtl8188ce-linux-driver-ubuntu-18.04/rc.c: In function ‘rtl_get_rate’:
/home/shawn/Downloads/rtl8188ce-linux-driver-ubuntu-18.04/rc.c:168:7: error: implicit declaration of function ‘rate_control_send_low’; did you mean ‘rate_control_set_rates’? [-Werror=implicit-function-declaration]
  if ( rate_control_send_low( sta, priv_sta, txrc ) )
       ^~~~~~~~~~~~~~~~~~~~~
       rate_control_set_rates
cc1: some warnings being treated as errors
scripts/Makefile.build:288: recipe for target '/home/shawn/Downloads/rtl8188ce-linux-driver-ubuntu-18.04/rc.o' failed
make[2]: *** [/home/shawn/Downloads/rtl8188ce-linux-driver-ubuntu-18.04/rc.o] Error 1
Makefile:1655: recipe for target '_module_/home/shawn/Downloads/rtl8188ce-linux-driver-ubuntu-18.04' failed
make[1]: *** [_module_/home/shawn/Downloads/rtl8188ce-linux-driver-ubuntu-18.04] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.3.0-42-generic'
Makefile:28: recipe for target 'all' failed
make: *** [all] Error 2
[*] The build has failed! Please make sure you have all dependencies installed and you are building on the correct branch (kernel version, not linux distro version, is most important for the branch)
shawn@endeavor:~/Downloads/rtl8188ce-linux-driver-ubuntu-18.04$STPKITT
Metadata
Metadata
Assignees
Labels
No labels