Thanks :slight_smile:
I did it and got this:
* HEAD is now at c1345bb Change driver version to 10.3.8.0-20181210.
* Packing checkout...
* touch /home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1/.prepared_314dd04b50191fd5f8751a71db1dc615_18f1e190c5d53547fed41a3eaa76e9e9_check
* . /home/gabriel/openwrt/include/shell.sh; xzcat /home/gabriel/openwrt/dl/mwlwifi-2018-12-10-c1345bb1.tar.xz | tar -C /home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1/.. -xf -
* [ ! -d ./src/ ] || cp -fpR ./src/. /home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1
* touch /home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1/.prepared_314dd04b50191fd5f8751a71db1dc615_18f1e190c5d53547fed41a3eaa76e9e9
* rm -f /home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1/.configured_*
* rm -f /home/gabriel/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/stamp/.mwlwifi_installed
* (cd /home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1/./; if [ -x ./configure ]; then find /home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1/ -name config.guess | xargs -r chmod u+w; find /home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1/ -name config.guess | xargs -r -n1 cp --remove-destination /home/gabriel/openwrt/scripts/config.guess; find /home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1/ -name config.sub | xargs -r chmod u+w; find /home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1/ -name config.sub | xargs -r -n1 cp --remove-destination /home/gabriel/openwrt/scripts/config.sub; AR="arm-openwrt-linux-muslgnueabi-gcc-ar" AS="arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -ffile-prefix-map=/home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1=mwlwifi-2018-12-10-c1345bb1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD=arm-openwrt-linux-muslgnueabi-ld NM="arm-openwrt-linux-muslgnueabi-gcc-nm" CC="arm-openwrt-linux-muslgnueabi-gcc" GCC="arm-openwrt-linux-muslgnueabi-gcc" CXX="arm-openwrt-linux-muslgnueabi-g++" RANLIB="arm-openwrt-linux-muslgnueabi-gcc-ranlib" STRIP=arm-openwrt-linux-muslgnueabi-strip OBJCOPY=arm-openwrt-linux-muslgnueabi-objcopy OBJDUMP=arm-openwrt-linux-muslgnueabi-objdump SIZE=arm-openwrt-linux-muslgnueabi-size CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -ffile-prefix-map=/home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1=mwlwifi-2018-12-10-c1345bb1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -ffile-prefix-map=/home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1=mwlwifi-2018-12-10-c1345bb1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " CPPFLAGS="-I/home/gabriel/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-8.4.0_musl_eabi/usr/include -I/home/gabriel/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-8.4.0_musl_eabi/include/fortify -I/home/gabriel/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-8.4.0_musl_eabi/include " LDFLAGS="-L/home/gabriel/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-8.4.0_musl_eabi/usr/lib -L/home/gabriel/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-8.4.0_musl_eabi/lib -znow -zrelro " ./configure --target=arm-openwrt-linux --host=arm-openwrt-linux --build=i686-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls ; fi; )
* touch /home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1/.configured_68b329da9893e34099c7d8ad5cb9c940
* rm -f /home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1/.built
* touch /home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1/.built_check
* make -C "/home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/linux-5.4.154" KCFLAGS="-ffile-prefix-map=/home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi=target-arm_cortex-a9+vfpv3-d16_musl_eabi" HOSTCFLAGS="-O2 -I/home/gabriel/openwrt/staging_dir/host/include -I/home/gabriel/openwrt/staging_dir/hostpkg/include -I/home/gabriel/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="arm-openwrt-linux-muslgnueabi-" ARCH="arm" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="builder" KBUILD_BUILD_HOST="buildhost" KBUILD_BUILD_TIMESTAMP="Sun Oct 24 09:01:35 2021" KBUILD_BUILD_VERSION="0" HOST_LOADLIBES="-L/home/gabriel/openwrt/staging_dir/host/lib" KBUILD_HOSTLDLIBS="-L/home/gabriel/openwrt/staging_dir/host/lib" CONFIG_SHELL="bash" V='' cmd_syscalls= KBUILD_EXTRA_SYMBOLS="/home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/symvers/mwlwifi.symvers /home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/symvers/mac80211.symvers" KERNELRELEASE=5.4.154 M="/home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1" NOSTDINC_FLAGS="-I/home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1 -I/home/gabriel/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/usr/include/mac80211-backport/uapi -I/home/gabriel/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/usr/include/mac80211-backport -I/home/gabriel/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/usr/include/mac80211/uapi -I/home/gabriel/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/usr/include/mac80211 -include backport/backport.h" modules
* make[3]: Entering directory '/home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/linux-5.4.154'
* CC [M] /home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1/core.o
* /home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1/core.c: In function 'mwl_wl_init':
* /home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1/core.c:906:2: error: implicit declaration of function 'setup_timer'; did you mean 'sk_stop_timer'? [-Werror=implicit-function-declaration]
* setup_timer(&priv->period_timer, timer_routine, (unsigned long)hw);
* ^~~~~~~~~~~
* sk_stop_timer
* cc1: some warnings being treated as errors
* scripts/Makefile.build:262: recipe for target '/home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1/core.o' failed
* make[4]: *** [/home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1/core.o] Error 1
* Makefile:1734: recipe for target '/home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1' failed
* make[3]: *** [/home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1] Error 2
* make[3]: Leaving directory '/home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/linux-5.4.154'
* Makefile:97: recipe for target '/home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1/.built' failed
* make[2]: *** [/home/gabriel/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/mwlwifi-2018-12-10-c1345bb1/.built] Error 2
* make[2]: Leaving directory '/home/gabriel/openwrt/package/kernel/mwlwifi'
* time: package/kernel/mwlwifi/compile#3.11#0.48#4.81
* ERROR: package/kernel/mwlwifi failed to build.
* package/Makefile:112: recipe for target 'package/kernel/mwlwifi/compile' failed
* make[1]: *** [package/kernel/mwlwifi/compile] Error 1
* make[1]: Leaving directory '/home/gabriel/openwrt'
* /home/gabriel/openwrt/include/toplevel.mk:228: recipe for target 'package/kernel/mwlwifi/compile' failed
* make: *** [package/kernel/mwlwifi/compile] Error 2
For now I have only managed to compile with these on Makefile I found on www:
PKG_SOURCE_URL:=https://github.com/kaloz/mwlwifi
PKG_SOURCE_PROTO:=git
PKG_SOURCE_DATE:=2020-02-06
PKG_SOURCE_VERSION:=a2fd00bb74c35820dfe233d762690c0433a87ef5
PKG_MIRROR_HASH:=0eda0e774a87e58e611d6436350e1cf2be3de50fddde334909a07a15b0c9862b
PKG_SOURCE_URL:=https://github.com/kaloz/mwlwifi
PKG_SOURCE_PROTO:=git
PKG_SOURCE_DATE:=2020-04-16
PKG_SOURCE_VERSION:=111118dc2ea3b592a5f7dff18c82d57a651970e7
PKG_MIRROR_HASH:=dea6eeb2200ebe52a8f5db5a188b85fb6e57b68fec5f6d3437375e63bf77741b
![Captura|690x130](upload://ciOMMSKDE8vMl6HyhuQH3uvDmFs.jpeg)
Iยดll try to find where is the problem.
Thanks :+1: