[SOLVED]How to build a Mageia 5 driver for Realtek rtl8192eu

I have a USB WIFI adapter using a rtl8192eu chip (according to info found on https://sites.google.com/site/easylinux ... /reserve-7)
I found code to build a driver on the same page dating mostly from 2014, and I have another (apparently similar) version on a CD given with the adapter, dating 2013 and apparently a beta.
But neither works correctly when I try building my driver.
In viewtopic.php?f=8&t=676 jkerr82508 suggests to install the package kernel-desktop586-devel-latest, which did help another user. Since I am on a x86_64 architecture, I installed rather the package kernel-desktop-devel-latest .
This improved the driver building considerably (for both sources of driver code), but not enough.
Then I also modified the Makefile as suggested by MauRice in viewtopic.php?f=25&t=9071#p55089, for GCC version 4.9.2 of Mageia 5. I added the line
EXTRA_CFLAGS += -Wno-date-time
This does improve things a bit more. But the building still fails, and I am lost.
I also tried the package dkms-rtl8192eu-4.3.1.1-11320.20140505.noarch.rpm pointed to by MauRice in viewtopic.php?f=25&t=9071#p55089 but without success.
Can someone provide help, some additional magic to work the spell through. Preferably with details on how to do it.
I know there is a package with that driver available for Cauldron, but would that run or help for Mageia 5?
Thanks
I found code to build a driver on the same page dating mostly from 2014, and I have another (apparently similar) version on a CD given with the adapter, dating 2013 and apparently a beta.
But neither works correctly when I try building my driver.
In viewtopic.php?f=8&t=676 jkerr82508 suggests to install the package kernel-desktop586-devel-latest, which did help another user. Since I am on a x86_64 architecture, I installed rather the package kernel-desktop-devel-latest .
This improved the driver building considerably (for both sources of driver code), but not enough.
Then I also modified the Makefile as suggested by MauRice in viewtopic.php?f=25&t=9071#p55089, for GCC version 4.9.2 of Mageia 5. I added the line
EXTRA_CFLAGS += -Wno-date-time
This does improve things a bit more. But the building still fails, and I am lost.
I also tried the package dkms-rtl8192eu-4.3.1.1-11320.20140505.noarch.rpm pointed to by MauRice in viewtopic.php?f=25&t=9071#p55089 but without success.
Can someone provide help, some additional magic to work the spell through. Preferably with details on how to do it.
I know there is a package with that driver available for Cauldron, but would that run or help for Mageia 5?
Thanks