Asus USB-N13 C1 driver fails to install.

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
road_freak
Level 1
Level 1
Posts: 18
Joined: Wed Apr 14, 2021 1:07 pm

Asus USB-N13 C1 driver fails to install.

Post by road_freak »

I'm using Linux Mint kernel 5.4.0-72-generic and trying to install drivers from the official ASUS website. The installation fails with the following error (occurring twice):
error: incompatible type for argument 1 of ‘set_fs’
Here is the entire terminal. Have a great day. :D

Code: Select all

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.4.0-72-generic/build M=/home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01  modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-72-generic'
  CC [M]  /home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/osdep_service.o
/home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/osdep_service.c: In function ‘isFileReadable’:
/home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/osdep_service.c:2224:10: error: implicit declaration of function ‘get_ds’; did you mean ‘get_da’? [-Werror=implicit-function-declaration]
 2224 |   set_fs(get_ds());
      |          ^~~~~~
      |          get_da
/home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/osdep_service.c:2224:10: error: incompatible type for argument 1 of ‘set_fs’
 2224 |   set_fs(get_ds());
      |          ^~~~~~~~
      |          |
      |          int
In file included from ./include/linux/uaccess.h:11,
                 from ./include/linux/sched/task.h:11,
                 from ./include/linux/sched/signal.h:9,
                 from /home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/include/osdep_service.h:50,
                 from /home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/include/drv_types.h:27,
                 from /home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/osdep_service.c:19:
./arch/x86/include/asm/uaccess.h:29:40: note: expected ‘mm_segment_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
   29 | static inline void set_fs(mm_segment_t fs)
      |                           ~~~~~~~~~~~~~^~
/home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/osdep_service.c: In function ‘retriveFromFile’:
/home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/osdep_service.c:2262:11: error: incompatible type for argument 1 of ‘set_fs’
 2262 |    set_fs(get_ds());
      |           ^~~~~~~~
      |           |
      |           int
In file included from ./include/linux/uaccess.h:11,
                 from ./include/linux/sched/task.h:11,
                 from ./include/linux/sched/signal.h:9,
                 from /home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/include/osdep_service.h:50,
                 from /home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/include/drv_types.h:27,
                 from /home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/osdep_service.c:19:
./arch/x86/include/asm/uaccess.h:29:40: note: expected ‘mm_segment_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
   29 | static inline void set_fs(mm_segment_t fs)
      |                           ~~~~~~~~~~~~~^~
/home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/osdep_service.c: In function ‘storeToFile’:
/home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/osdep_service.c:2297:11: error: incompatible type for argument 1 of ‘set_fs’
 2297 |    set_fs(get_ds());
      |           ^~~~~~~~
      |           |
      |           int
In file included from ./include/linux/uaccess.h:11,
                 from ./include/linux/sched/task.h:11,
                 from ./include/linux/sched/signal.h:9,
                 from /home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/include/osdep_service.h:50,
                 from /home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/include/drv_types.h:27,
                 from /home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/osdep_service.c:19:
./arch/x86/include/asm/uaccess.h:29:40: note: expected ‘mm_segment_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
   29 | static inline void set_fs(mm_segment_t fs)
      |                           ~~~~~~~~~~~~~^~
/home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/osdep_service.c: At top level:
/home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/osdep_service.c:3189:1: fatal error: opening dependency file /home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/.osdep_service.o.d: Permission denied
 3189 | }
      | ^
cc1: some warnings being treated as errors
compilation terminated.
make[2]: *** [scripts/Makefile.build:271: /home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/osdep_service.o] Error 1
make[1]: *** [Makefile:1754: /home/road_freak/Desktop/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-72-generic'
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Hardware Support”