LEAP 15 - unable to build

using Realtek RTL8811AU USB wireless controller
using the driver software from Realtek
when I try to install using the shell script, it breaks, when looking for a directory, as seen below

make[1]: *** /lib/modules/4.12.14-lp150.12.16-default/build: No such file or directory. Stop.
make: *** [Makefile:1551: modules] Error 2

what am I missing?

Thanks, David L.

Which Driver will you build? Link?

Post

lsusb

make[1]: *** /lib/modules/4.12.14-lp150.12.16-default/build: No such file or directory. Stop.

You are missing the kernel-devel and kernel-default-devel matching to your running kernel…

As root:

zypper in -f kernel-syms

And reboot

I have followed instructions, and re-ran the install, there are several errors in the driver code, as follows

/home/david/Downloads/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/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/david/Downloads/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/include/osdep_service.h: In function ‘flush_signals_thread’:
/home/david/Downloads/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/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/david/Downloads/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/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/david/Downloads/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/include/drv_types.h:95:0,
                 from /home/david/Downloads/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/core/rtw_cmd.c:22:
/home/david/Downloads/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/include/hal_com.h: At top level:
/home/david/Downloads/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/include/hal_com.h:412:13: error: ‘file_path’ redeclared as different kind of symbol
 extern char file_path[PATH_LENGTH_MAX];

is there an existing driver for RTL8811AU that I could use instead? or do I have to patch the exiting code?

Thanks, David L.

is there an existing driver for RTL8811AU that I could use instead?

Yes, in my Leap 15.0 Update Repo.
As root:

zypper ar -f https://download.opensuse.org/repositories/home:/Sauerland/openSUSE_Leap_15.0_Update/ Sauerland-Update
zypper in rtl8812AU_8821AU-kmp-default

reboot

Thanks a lot, worked, I do appreciate your help

David L.

Hi,

Is there a binary release for OpenSuse 15.3?

What do you mean?