Greetings to all,together with my best wishes for a happy 2024.
I am trying to compile the rtl8812 module (5 ghz wifi) for my Puppy Linux phone running Raspup 8.2.1 with no success.
After downloading the latest? source code (https://github.com/aircrack-ng/rtl8812au),install headers,make the appropriate changes to "Makefile" for 32bit-ARM (well I suppose we are running a 32bit system in a 64 bit architecture), I got the following message just after trying to build the first object file:
"/bin/sh: scripts/basic/fixdep: cannot execute binary file: Exec format error
make[2]: *** [scripts/Makefile.build:266: /root/rtl8812au/core/rtw_cmd.o] Error 126"
Needless saying that I tried any tweak found in net concerning Makefile and config files.
The above holds true for source code from found elsewhere.
By the way the module was build successfully as an external module.
Code:
/lib/modules/5.4.42-v7/build/make modules_prepare
/root/rtl8812au/make
Unfortunately when loaded taints kernel.As doc.kernel.org states:
"modules_prepare" will not build Module.symvers even if CONFIG_MODVERSIONS is set; therefore, a full kernel build needs to be executed to make module versioning work."
Moreover the module compiles fine and works in an Intel 64 pc running latest Puppies and in Debian Rasbian Buster 10 kernel 5.4.51-v7+
Lastly I tried to recompile kernel with Woof-CE but was far beyond my capabilities.
Any advice welcomed
Thank you