Code: Select all
cd rtl8821ce
make clean
make
sudo make install
Code: Select all
cd rtl8821ce
make clean
make
sudo make install
Code: Select all
:~$ sudo apt install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
git-man liberror-perl
Suggested packages:
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
gitweb git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
git git-man liberror-perl
0 upgraded, 3 newly installed, 0 to remove and 24 not upgraded.
Need to get 4 731 kB of archives.
After this operation, 33.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.1 [803 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.1 [3 905 kB]
Fetched 4 731 kB in 6s (775 kB/s)
Selecting previously unselected package liberror-perl.
(Reading database ... 272254 files and directories currently installed.)
Preparing to unpack .../liberror-perl_0.17025-1_all.deb ...
Unpacking liberror-perl (0.17025-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.17.1-1ubuntu0.1_all.deb ...
Unpacking git-man (1:2.17.1-1ubuntu0.1) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.17.1-1ubuntu0.1_amd64.deb ...
Unpacking git (1:2.17.1-1ubuntu0.1) ...
Setting up git-man (1:2.17.1-1ubuntu0.1) ...
Setting up liberror-perl (0.17025-1) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up git (1:2.17.1-1ubuntu0.1) ...
jorge@JKHale:~$ git clone https://github.com/RangeeGmbH/rtl8821ce.git
Cloning into 'rtl8821ce'...
remote: Counting objects: 635, done.
remote: Total 635 (delta 0), reused 0 (delta 0), pack-reused 635
Receiving objects: 100% (635/635), 3.32 MiB | 1.12 MiB/s, done.
Resolving deltas: 100% (227/227), done.
jorge@JKHale:~$ cd rtl8821ce
jorge@JKHale:~/rtl8821ce$ make clean
#make -C /lib/modules/4.15.0-23-generic/build M=/home/jorge/rtl8821ce clean
cd hal ; rm -fr */*/*/*.mod.c */*/*/*.mod */*/*/*.o */*/*/.*.cmd */*/*/*.ko
cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
jorge@JKHale:~/rtl8821ce$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-23-generic/build M=/home/jorge/rtl8821ce modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-23-generic'
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
CC [M] /home/jorge/rtl8821ce/core/rtw_cmd.o
CC [M] /home/jorge/rtl8821ce/core/rtw_security.o
CC [M] /home/jorge/rtl8821ce/core/rtw_debug.o
CC [M] /home/jorge/rtl8821ce/core/rtw_io.o
CC [M] /home/jorge/rtl8821ce/core/rtw_ioctl_query.o
CC [M] /home/jorge/rtl8821ce/core/rtw_ioctl_set.o
CC [M] /home/jorge/rtl8821ce/core/rtw_ieee80211.o
CC [M] /home/jorge/rtl8821ce/core/rtw_mlme.o
CC [M] /home/jorge/rtl8821ce/core/rtw_mlme_ext.o
CC [M] /home/jorge/rtl8821ce/core/rtw_mi.o
CC [M] /home/jorge/rtl8821ce/core/rtw_wlan_util.o
CC [M] /home/jorge/rtl8821ce/core/rtw_vht.o
CC [M] /home/jorge/rtl8821ce/core/rtw_pwrctrl.o
CC [M] /home/jorge/rtl8821ce/core/rtw_rf.o
CC [M] /home/jorge/rtl8821ce/core/rtw_recv.o
CC [M] /home/jorge/rtl8821ce/core/rtw_sta_mgt.o
CC [M] /home/jorge/rtl8821ce/core/rtw_ap.o
CC [M] /home/jorge/rtl8821ce/core/rtw_xmit.o
CC [M] /home/jorge/rtl8821ce/core/rtw_p2p.o
CC [M] /home/jorge/rtl8821ce/core/rtw_tdls.o
CC [M] /home/jorge/rtl8821ce/core/rtw_br_ext.o
CC [M] /home/jorge/rtl8821ce/core/rtw_iol.o
CC [M] /home/jorge/rtl8821ce/core/rtw_sreset.o
CC [M] /home/jorge/rtl8821ce/core/rtw_btcoex_wifionly.o
CC [M] /home/jorge/rtl8821ce/core/rtw_btcoex.o
CC [M] /home/jorge/rtl8821ce/core/rtw_beamforming.o
CC [M] /home/jorge/rtl8821ce/core/rtw_odm.o
CC [M] /home/jorge/rtl8821ce/core/efuse/rtw_efuse.o
CC [M] /home/jorge/rtl8821ce/os_dep/osdep_service.o
CC [M] /home/jorge/rtl8821ce/os_dep/linux/os_intfs.o
CC [M] /home/jorge/rtl8821ce/os_dep/linux/pci_intf.o
CC [M] /home/jorge/rtl8821ce/os_dep/linux/pci_ops_linux.o
CC [M] /home/jorge/rtl8821ce/os_dep/linux/ioctl_linux.o
CC [M] /home/jorge/rtl8821ce/os_dep/linux/xmit_linux.o
CC [M] /home/jorge/rtl8821ce/os_dep/linux/mlme_linux.o
CC [M] /home/jorge/rtl8821ce/os_dep/linux/recv_linux.o
CC [M] /home/jorge/rtl8821ce/os_dep/linux/ioctl_cfg80211.o
CC [M] /home/jorge/rtl8821ce/os_dep/linux/rtw_cfgvendor.o
CC [M] /home/jorge/rtl8821ce/os_dep/linux/wifi_regd.o
CC [M] /home/jorge/rtl8821ce/os_dep/linux/rtw_android.o
CC [M] /home/jorge/rtl8821ce/os_dep/linux/rtw_proc.o
CC [M] /home/jorge/rtl8821ce/os_dep/linux/ioctl_mp.o
CC [M] /home/jorge/rtl8821ce/hal/hal_intf.o
CC [M] /home/jorge/rtl8821ce/hal/hal_com.o
CC [M] /home/jorge/rtl8821ce/hal/hal_com_phycfg.o
CC [M] /home/jorge/rtl8821ce/hal/hal_phy.o
CC [M] /home/jorge/rtl8821ce/hal/hal_dm.o
CC [M] /home/jorge/rtl8821ce/hal/hal_btcoex_wifionly.o
CC [M] /home/jorge/rtl8821ce/hal/hal_btcoex.o
CC [M] /home/jorge/rtl8821ce/hal/hal_mp.o
CC [M] /home/jorge/rtl8821ce/hal/hal_mcc.o
CC [M] /home/jorge/rtl8821ce/hal/hal_hci/hal_pci.o
CC [M] /home/jorge/rtl8821ce/hal/led/hal_pci_led.o
CC [M] /home/jorge/rtl8821ce/hal/hal_halmac.o
CC [M] /home/jorge/rtl8821ce/hal/rtl8821c/rtl8821c_halinit.o
CC [M] /home/jorge/rtl8821ce/hal/rtl8821c/rtl8821c_mac.o
CC [M] /home/jorge/rtl8821ce/hal/rtl8821c/rtl8821c_cmd.o
CC [M] /home/jorge/rtl8821ce/hal/rtl8821c/rtl8821c_phy.o
CC [M] /home/jorge/rtl8821ce/hal/rtl8821c/rtl8821c_dm.o
CC [M] /home/jorge/rtl8821ce/hal/rtl8821c/rtl8821c_ops.o
CC [M] /home/jorge/rtl8821ce/hal/rtl8821c/hal8821c_fw.o
CC [M] /home/jorge/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halinit.o
CC [M] /home/jorge/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halmac.o
CC [M] /home/jorge/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_io.o
CC [M] /home/jorge/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_xmit.o
CC [M] /home/jorge/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_recv.o
CC [M] /home/jorge/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_led.o
CC [M] /home/jorge/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_ops.o
CC [M] /home/jorge/rtl8821ce/hal/efuse/rtl8821c/HalEfuseMask8821C_PCIE.o
CC [M] /home/jorge/rtl8821ce/hal/halmac/halmac_api.o
CC [M] /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_api_88xx.o
CC [M] /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_func_88xx.o
CC [M] /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_api_88xx_usb.o
CC [M] /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_api_88xx_sdio.o
CC [M] /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_api_88xx_pcie.o
CC [M] /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_8821c_pwr_seq.o
CC [M] /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_api_8821c.o
CC [M] /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_func_8821c.o
CC [M] /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_api_8821c_usb.o
CC [M] /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_api_8821c_sdio.o
CC [M] /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_api_8821c_pcie.o
CC [M] /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_8821c_phy.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_debug.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_antdiv.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_antdect.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_interface.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_hwconfig.o
/home/jorge/rtl8821ce/hal/phydm/phydm_hwconfig.c: In function ‘odm_rx_phy_status_jaguar_series_parsing’:
/home/jorge/rtl8821ce/hal/phydm/phydm_hwconfig.c:1310:45: warning: ‘EVM’ may be used uninitialized in this function [-Wmaybe-uninitialized]
p_phy_info->rx_mimo_signal_quality[i] = EVM;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/halphyrf_ce.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_dig.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_pathdiv.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_rainfo.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_dynamicbbpowersaving.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_powertracking_ce.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_dynamictxpower.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_adaptivity.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_cfotracking.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_noisemonitor.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_acs.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_beamforming.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_dfs.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/txbf/halcomtxbf.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/txbf/haltxbfinterface.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/txbf/phydm_hal_txbf_api.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_adc_sampling.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_kfree.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_ccx.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/phydm_psd.o
CC [M] /home/jorge/rtl8821ce/hal/btc/halbtc8723bwifionly.o
CC [M] /home/jorge/rtl8821ce/hal/btc/halbtc8822bwifionly.o
CC [M] /home/jorge/rtl8821ce/hal/btc/halbtc8821cwifionly.o
CC [M] /home/jorge/rtl8821ce/hal/btc/halbtc8192e1ant.o
CC [M] /home/jorge/rtl8821ce/hal/btc/halbtc8192e2ant.o
CC [M] /home/jorge/rtl8821ce/hal/btc/halbtc8723b1ant.o
CC [M] /home/jorge/rtl8821ce/hal/btc/halbtc8723b2ant.o
CC [M] /home/jorge/rtl8821ce/hal/btc/halbtc8812a1ant.o
CC [M] /home/jorge/rtl8821ce/hal/btc/halbtc8812a2ant.o
CC [M] /home/jorge/rtl8821ce/hal/btc/halbtc8821a1ant.o
CC [M] /home/jorge/rtl8821ce/hal/btc/halbtc8821a2ant.o
CC [M] /home/jorge/rtl8821ce/hal/btc/halbtc8703b1ant.o
CC [M] /home/jorge/rtl8821ce/hal/btc/halbtc8723d1ant.o
CC [M] /home/jorge/rtl8821ce/hal/btc/halbtc8723d2ant.o
CC [M] /home/jorge/rtl8821ce/hal/btc/halbtc8822b1ant.o
CC [M] /home/jorge/rtl8821ce/hal/btc/halbtc8822b2ant.o
CC [M] /home/jorge/rtl8821ce/hal/btc/halbtc8821c1ant.o
/home/jorge/rtl8821ce/hal/btc/halbtc8821c1ant.c: In function ‘halbtc8821c1ant_set_ext_ant_switch’:
/home/jorge/rtl8821ce/hal/btc/halbtc8821c1ant.c:2333:30: warning: ‘~’ on a boolean expression [-Wbool-operation]
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
/home/jorge/rtl8821ce/hal/btc/halbtc8821c1ant.c:2333:30: note: did you mean to use logical not?
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
!
/home/jorge/rtl8821ce/hal/btc/halbtc8821c1ant.c:2337:30: warning: ‘~’ on a boolean expression [-Wbool-operation]
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
/home/jorge/rtl8821ce/hal/btc/halbtc8821c1ant.c:2337:30: note: did you mean to use logical not?
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
!
/home/jorge/rtl8821ce/hal/btc/halbtc8821c1ant.c:2348:31: warning: ‘~’ on a boolean expression [-Wbool-operation]
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
/home/jorge/rtl8821ce/hal/btc/halbtc8821c1ant.c:2348:31: note: did you mean to use logical not?
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
!
CC [M] /home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.o
/home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.c: In function ‘halbtc8821c2ant_monitor_wifi_ctr’:
/home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.c:454:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if ((coex_dm->bt_status ==
^~
/home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.c:461:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (cck_cnt > 250) {
^~
/home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.c: In function ‘halbtc8821c2ant_set_ext_ant_switch’:
/home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.c:2064:30: warning: ‘~’ on a boolean expression [-Wbool-operation]
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
/home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.c:2064:30: note: did you mean to use logical not?
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
!
/home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.c:2068:30: warning: ‘~’ on a boolean expression [-Wbool-operation]
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
/home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.c:2068:30: note: did you mean to use logical not?
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
!
/home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.c:2079:31: warning: ‘~’ on a boolean expression [-Wbool-operation]
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
/home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.c:2079:31: note: did you mean to use logical not?
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
!
CC [M] /home/jorge/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_bb.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_mac.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_rf.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/rtl8821c/phydm_hal_api8821c.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/rtl8821c/phydm_regconfig8821c.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/rtl8821c/halphyrf_8821c.o
CC [M] /home/jorge/rtl8821ce/hal/phydm/rtl8821c/phydm_iqk_8821c.o
CC [M] /home/jorge/rtl8821ce/platform/platform_ops.o
CC [M] /home/jorge/rtl8821ce/core/rtw_mp.o
LD [M] /home/jorge/rtl8821ce/8821ce.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/jorge/rtl8821ce/8821ce.mod.o
LD [M] /home/jorge/rtl8821ce/8821ce.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-23-generic'
jorge@JKHale:~/rtl8821ce$ sudo make install
install -p -m 644 8821ce.ko /lib/modules/4.15.0-23-generic/kernel/drivers/net/wireless/
/sbin/depmod -a 4.15.0-23-generic
Hi Jeremy. The current state of the equipment is: I performed the Nth installation and since then I have only ran usual updates, including kernel updates, have installed driver for rtl8812au through synaptic package manager, and also installed software that I need for work (mostly text editors, and math software). Aside from wifi still missing, everything else seems to work fine (audio, video, microphone, all three kernels, etc). I will appreciate your input.
Code: Select all
~/Media/8812au$ make
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
----- extra_cflags=-DCONFIG_IOCTL_CFG80211=1 -DRTW_USE_CFG80211_STA_EVENT=1 -O1 -Wno-unused-variable -Wno-unused-value -Wno-unused-label -Wno-unused-parameter -Wno-unused-function -Wno-unused -I/include -I/platform -DCONFIG_RTL8812A -DCONFIG_MP_INCLUDED -DCONFIG_POWER_SAVING -DCONFIG_TRAFFIC_PROTECT -DCONFIG_LOAD_PHY_PARA_FROM_FILE -DREALTEK_CONFIG_PATH="" -DCONFIG_RTW_ADAPTIVITY_EN=0 -DCONFIG_RTW_ADAPTIVITY_MODE=0 -DCONFIG_BR_EXT '-DCONFIG_BR_EXT_BRNAME=br0' -DCONFIG_LITTLE_ENDIAN
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-24-generic/build M=/home/jorge/Media/8812au modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-24-generic'
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
CC [M] /home/jorge/Media/8812au/core/rtw_cmd.o
In file included from /home/jorge/Media/8812au/include/osdep_service.h:41:0,
from /home/jorge/Media/8812au/include/drv_types.h:32,
from /home/jorge/Media/8812au/core/rtw_cmd.c:22:
/home/jorge/Media/8812au/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/jorge/Media/8812au/include/osdep_service_linux.h:265:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
ptimer->data = (unsigned long)cntx;
^~
/home/jorge/Media/8812au/include/osdep_service_linux.h:266:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
init_timer(ptimer);
^~~~~~~~~~
_init_timer
In file included from /home/jorge/Media/8812au/include/drv_types.h:32:0,
from /home/jorge/Media/8812au/core/rtw_cmd.c:22:
/home/jorge/Media/8812au/include/osdep_service.h: In function ‘thread_enter’:
/home/jorge/Media/8812au/include/osdep_service.h:343:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);
^~~~~~~~~~~~
do_signal
/home/jorge/Media/8812au/include/osdep_service.h: In function ‘flush_signals_thread’:
/home/jorge/Media/8812au/include/osdep_service.h:353:6: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
if (signal_pending (current))
^~~~~~~~~~~~~~
timer_pending
/home/jorge/Media/8812au/include/osdep_service.h:355:3: error: implicit declaration of function ‘flush_signals’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
flush_signals(current);
^~~~~~~~~~~~~
do_signal
In file included from /home/jorge/Media/8812au/include/drv_types.h:95:0,
from /home/jorge/Media/8812au/core/rtw_cmd.c:22:
/home/jorge/Media/8812au/include/hal_com.h: At top level:
/home/jorge/Media/8812au/include/hal_com.h:412:13: error: ‘file_path’ redeclared as different kind of symbol
extern char file_path[PATH_LENGTH_MAX];
^~~~~~~~~
In file included from ./include/linux/compat.h:18:0,
from ./include/linux/ethtool.h:17,
from ./include/linux/netdevice.h:41,
from /home/jorge/Media/8812au/include/osdep_service_linux.h:35,
from /home/jorge/Media/8812au/include/osdep_service.h:41,
from /home/jorge/Media/8812au/include/drv_types.h:32,
from /home/jorge/Media/8812au/core/rtw_cmd.c:22:
./include/linux/fs.h:2867:14: note: previous declaration of ‘file_path’ was here
extern char *file_path(struct file *, char *, int);
^~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/jorge/Media/8812au/core/rtw_cmd.o' failed
make[2]: *** [/home/jorge/Media/8812au/core/rtw_cmd.o] Error 1
Makefile:1552: recipe for target '_module_/home/jorge/Media/8812au' failed
make[1]: *** [_module_/home/jorge/Media/8812au] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-24-generic'
Makefile:1635: recipe for target 'modules' failed
make: *** [modules] Error 2
Code: Select all
a@330:~$ inxi -Fxz
System: Host: 330 Kernel: 4.15.0-33-generic x86_64 bits: 64 gcc: 7.3.0
Desktop: MATE 1.20.1 (Gtk 3.22.30-1ubuntu1)
Distro: Linux Mint 19 Tara
Machine: Device: laptop System: LENOVO product: 81D6 v: Lenovo ideapad 330-15AST serial: N/A
Mobo: LENOVO model: LNVNB161216 v: SDK0J40700WIN serial: N/A
UEFI: LENOVO v: 8UCN06WW date: 04/10/2018
Battery BAT0: charge: 32.0 Wh 99.9% condition: 32.0/30.6 Wh (105%)
model: CPT-COS L16C2PB2 status: Full
CPU: Dual core AMD A9-9425 RADEON R5 5 COMPUTE CORES 2C+3G (-MCP-)
arch: Excavator rev.0 cache: 2048 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 12399
clock speeds: max: 3100 MHz 1: 1473 MHz 2: 1542 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] Device 98e4 bus-ID: 00:01.0
Display Server: x11 (X.Org 1.19.6 )
drivers: fbdev,ati (unloaded: modesetting,vesa,radeon)
Resolution: 1366x768@76.00hz
OpenGL: renderer: llvmpipe (LLVM 6.0, 128 bits)
version: 3.3 Mesa 18.0.5 Direct Render: Yes
Audio: Card-1 Advanced Micro Devices [AMD] Device 157a
driver: snd_hda_intel bus-ID: 00:09.2
Card-2 Advanced Micro Devices [AMD/ATI] Device 15b3
driver: snd_hda_intel bus-ID: 00:01.1
Sound: Advanced Linux Sound Architecture v: k4.15.0-33-generic
Network: Card-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
port: 2000 bus-ID: 01:00.0
IF: N/A state: N/A mac: N/A
Card-2: Realtek RTL8101/2/6E PCIE Fast/Gigabit Ethernet controller
driver: r8169 v: 2.3LK-NAPI port: 1000 bus-ID: 02:00.0
IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 1000.2GB (1.4% used)
ID-1: /dev/sda model: ST1000LM035 size: 1000.2GB
Partition: ID-1: / size: 433G used: 14G (4%) fs: ext4 dev: /dev/sda6
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: No active sensors found. Have you configured your sensors yet? mobo: N/A
Info: Processes: 156 Uptime: 5 min Memory: 1181.7/7425.2MB
Init: systemd runlevel: 5 Gcc sys: 7.3.0
Client: Shell (bash 4.4.191) inxi: 2.3.56 [/c]
[c]a@330:~$ rfkill list all
0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
1: ideapad_bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no[/c]
[c]a@330:~$ iwconfig
lo no wireless extensions.
enp2s0 no wireless extensions.
Code: Select all
a@330:~$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1576
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 1577
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 98e4 (rev da)
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15b3
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157b
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157b
00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1578
00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157d
00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Device 157a
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 20)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 4b)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 49)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 4b)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b5
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 07)