>>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Extracting mkdir -p /home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host mkdir -p /home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/target gzip -d -c /home/autobuild/autobuild/instance-4/dl/rtl8821au/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 -xf - >>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Patching Applying 0001-Fix-implicit-fallthrough-comments-for-kernel-5.3.patch using patch: patching file core/rtw_mlme_ext.c Applying 0002-Fix-kernel-5.3-driver-crashes-from-aircrack-ng-rtl88.patch using patch: patching file os_dep/linux/rtw_cfgvendor.c Applying 0003-Fix-using-sprintf-for-extending-string-which-causes-.patch using patch: patching file core/rtw_mp.c patching file os_dep/linux/ioctl_linux.c Applying 0004-rename-sha256_state-to-rtl_sha256_state-to-avoid-nam.patch using patch: patching file core/rtw_security.c patching file include/rtw_security.h Applying 0005-disable-rtw_mgmt_frame_register-on-kernel-5.8.0.patch using patch: patching file os_dep/linux/ioctl_cfg80211.c Applying 0006-rtw_proc-convert-file_operations-to-proc_ops-for-5.6.patch using patch: patching file os_dep/linux/rtw_proc.c >>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Configuring mkdir -p /home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host rsync -a --link-dest=/home/autobuild/autobuild/instance-4/output-1/per-package/host-ccache/host/ /home/autobuild/autobuild/instance-4/output-1/per-package/host-ccache/host/ /home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host rsync -a --link-dest=/home/autobuild/autobuild/instance-4/output-1/per-package/host-skeleton/host/ /home/autobuild/autobuild/instance-4/output-1/per-package/host-skeleton/host/ /home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host rsync -a --link-dest=/home/autobuild/autobuild/instance-4/output-1/per-package/linux/host/ /home/autobuild/autobuild/instance-4/output-1/per-package/linux/host/ /home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host rsync -a --link-dest=/home/autobuild/autobuild/instance-4/output-1/per-package/skeleton/host/ /home/autobuild/autobuild/instance-4/output-1/per-package/skeleton/host/ /home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host rsync -a --link-dest=/home/autobuild/autobuild/instance-4/output-1/per-package/toolchain/host/ /home/autobuild/autobuild/instance-4/output-1/per-package/toolchain/host/ /home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host mkdir -p /home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/target rsync -a --link-dest=/home/autobuild/autobuild/instance-4/output-1/per-package/host-ccache/target/ /home/autobuild/autobuild/instance-4/output-1/per-package/host-ccache/target/ /home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/target rsync -a --link-dest=/home/autobuild/autobuild/instance-4/output-1/per-package/host-skeleton/target/ /home/autobuild/autobuild/instance-4/output-1/per-package/host-skeleton/target/ /home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/target rsync -a --link-dest=/home/autobuild/autobuild/instance-4/output-1/per-package/linux/target/ /home/autobuild/autobuild/instance-4/output-1/per-package/linux/target/ /home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/target rsync -a --link-dest=/home/autobuild/autobuild/instance-4/output-1/per-package/skeleton/target/ /home/autobuild/autobuild/instance-4/output-1/per-package/skeleton/target/ /home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/target rsync -a --link-dest=/home/autobuild/autobuild/instance-4/output-1/per-package/toolchain/target/ /home/autobuild/autobuild/instance-4/output-1/per-package/toolchain/target/ /home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/target >>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Building >>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Building kernel module(s) PATH="/home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host/bin:/home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" PKG_CONFIG="/home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host/lib/pkgconfig:/home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host/share/pkgconfig" BR_BINARIES_DIR=/home/autobuild/autobuild/instance-4/output-1/images KCFLAGS=-Wno-attribute-alias /usr/bin/make -j1 -C /home/autobuild/autobuild/instance-4/output-1/build/linux-5.17.13 HOSTCC="/home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host/bin/ccache /usr/bin/gcc -O2 -I/home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host/include -L/home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host/lib" ARCH=openrisc INSTALL_MOD_PATH=/home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/target CROSS_COMPILE="/home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host/bin/or1k-buildroot-linux-uclibc-" WERROR=0 DEPMOD=/home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host/sbin/depmod CONFIG_RTL8812AU_8821AU=m KVER=`MAKEFLAGS='' /usr/bin/make -j1 HOSTCC="/home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host/bin/ccache /usr/bin/gcc -O2 -I/home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host/include -L/home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host/lib" ARCH=openrisc INSTALL_MOD_PATH=/home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/target CROSS_COMPILE="/home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host/bin/or1k-buildroot-linux-uclibc-" WERROR=0 DEPMOD=/home/autobuild/autobuild/instance-4/output-1/per-package/rtl8821au/host/sbin/depmod -C /home/autobuild/autobuild/instance-4/output-1/build/linux-5.17.13 --no-print-directory -s kernelrelease 2>/dev/null` USER_EXTRA_CFLAGS="-DCONFIG_BIG_ENDIAN -Wno-error" PWD=/home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/. M=/home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/. modules make[1]: Entering directory '/home/autobuild/autobuild/instance-4/output-1/build/linux-5.17.13' CC [M] /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.o In file included from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:25:2: error: #error "Shall be CONFIG_LITTLE_ENDIAN or CONFIG_BIG_ENDIAN, but not both!\n" 25 | #error "Shall be CONFIG_LITTLE_ENDIAN or CONFIG_BIG_ENDIAN, but not both!\n" | ^~~~~ In file included from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/swab.h:115:29: error: conflicting types for ‘__fswab16’ 115 | __inline static const __u16 __fswab16(__u16 x) | ^~~~~~~~~ In file included from ./include/linux/swab.h:5, from ./include/uapi/linux/byteorder/big_endian.h:14, from ./include/linux/byteorder/big_endian.h:5, from ./arch/openrisc/include/uapi/asm/byteorder.h:1, from ./include/asm-generic/bitops/le.h:6, from ./arch/openrisc/include/asm/bitops.h:45, from ./include/linux/bitops.h:33, from ./include/linux/log2.h:12, from ./include/asm-generic/div64.h:55, from ./arch/openrisc/include/generated/asm/div64.h:1, from ./include/linux/math.h:5, from ./include/linux/math64.h:6, from ./include/linux/time64.h:5, from ./include/linux/restart_block.h:10, from ./include/linux/thread_info.h:14, from ./include/asm-generic/preempt.h:5, from ./arch/openrisc/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: ./include/uapi/linux/swab.h:48:41: note: previous definition of ‘__fswab16’ was here 48 | static inline __attribute_const__ __u16 __fswab16(__u16 val) | ^~~~~~~~~ In file included from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/swab.h:123:29: error: conflicting types for ‘__fswab32’ 123 | __inline static const __u32 __fswab32(__u32 x) | ^~~~~~~~~ In file included from ./include/linux/swab.h:5, from ./include/uapi/linux/byteorder/big_endian.h:14, from ./include/linux/byteorder/big_endian.h:5, from ./arch/openrisc/include/uapi/asm/byteorder.h:1, from ./include/asm-generic/bitops/le.h:6, from ./arch/openrisc/include/asm/bitops.h:45, from ./include/linux/bitops.h:33, from ./include/linux/log2.h:12, from ./include/asm-generic/div64.h:55, from ./arch/openrisc/include/generated/asm/div64.h:1, from ./include/linux/math.h:5, from ./include/linux/math64.h:6, from ./include/linux/time64.h:5, from ./include/linux/restart_block.h:10, from ./include/linux/thread_info.h:14, from ./include/asm-generic/preempt.h:5, from ./arch/openrisc/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: ./include/uapi/linux/swab.h:57:41: note: previous definition of ‘__fswab32’ was here 57 | static inline __attribute_const__ __u32 __fswab32(__u32 val) | ^~~~~~~~~ In file included from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c: In function ‘rtw_cmd_thread’: /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:166:23: error: implicit declaration of function ‘complete_and_exit’ [-Werror=implicit-function-declaration] 166 | #define thread_exit() complete_and_exit(NULL, 0) | ^~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:706:2: note: in expansion of macro ‘thread_exit’ 706 | thread_exit(); | ^~~~~~~~~~~ /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:708:1: error: control reaches end of non-void function [-Werror=return-type] 708 | } | ^ cc1: all warnings being treated as errors make[2]: *** [scripts/Makefile.build:288: /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.o] Error 1 make[1]: *** [Makefile:1831: /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/.] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-4/output-1/build/linux-5.17.13' make: *** [package/pkg-generic.mk:294: /home/autobuild/autobuild/instance-4/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-4/buildroot'