rtl88x2bu
rtl88x2bu copied to clipboard
Does not compile on raspi B+ with Exec format error
Hi, I cannot compile on a raspberry Pi B+ with the following error message I suspect a wrong PLATFORM_ option but I cannot find a solution :
/bin/sh: 1: scripts/basic/fixdep: Exec format error
make[2]: *** [scripts/Makefile.build:266: /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_io.o] Error 2
My config is Linux ********* 5.4.83-v7 #1 SMP Sun Jan 24 23:03:23 CET 2021 armv7l GNU/Linux , I checked many CONFIG_PLATFORM_ARM_ without any success ; here is the compiler used :
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/8/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=arm-linux-gnueabihf- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --disable-werror --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 8.3.0 (Debian 8.3.0-6)
Can you try the latest branch (5.8.7.1_35809.20191129_COEX20191120-7777) and share the full output of attempting to compile if it fails? I have it working (with lots of warnings, but no errors) on a Pi1B and a P4 -- would be good to see if there's something unexpected w/ the B+.