>>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Downloading wget --passive-ftp -nd -t 3 -O '/home/buildroot/autobuild/instance-3/output-1/build/.rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz.Y4CsSf/output' 'https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz' --2022-12-08 06:37:57-- https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz Resolving github.com (github.com)... 140.82.114.4 Connecting to github.com (github.com)|140.82.114.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/abperiasamy/rtl8812AU_8821AU_linux/tar.gz/4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 [following] --2022-12-08 06:37:58-- https://codeload.github.com/abperiasamy/rtl8812AU_8821AU_linux/tar.gz/4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/buildroot/autobuild/instance-3/output-1/build/.rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz.Y4CsSf/output' 0K .......... .......... .......... .......... .......... 381K 50K .......... .......... .......... .......... .......... 762K 100K .......... .......... .......... .......... .......... 47.3M 150K .......... .......... .......... .......... .......... 52.7M 200K .......... .......... .......... .......... .......... 776K 250K .......... .......... .......... .......... .......... 49.4M 300K .......... .......... .......... .......... .......... 783K 350K .......... .......... .......... .......... .......... 131M 400K .......... .......... .......... .......... .......... 144M 450K .......... .......... .......... .......... .......... 156M 500K .......... .......... .......... .......... .......... 176M 550K .......... .......... .......... .......... .......... 166M 600K .......... .......... .......... .......... .......... 179M 650K .......... .......... .......... .......... .......... 781K 700K .......... .......... .......... .......... .......... 105M 750K .......... .......... .......... .......... .......... 90.2M 800K .......... .......... .......... .......... .......... 108M 850K .......... .......... .......... .......... .......... 93.2M 900K .......... .......... .......... .......... .......... 103M 950K .......... .......... .......... .......... .......... 789K 1000K .......... .......... .......... .......... .......... 111M 1050K .......... .......... .......... .......... .......... 110M 1100K .......... .......... .......... .......... .......... 110M 1150K .......... .......... .......... .......... .......... 74.9M 1200K .......... .......... .......... .......... .......... 50.0M 1250K .......... .......... .......... .......... .......... 49.5M 1300K .......... .......... .......... .......... .......... 57.1M 1350K .......... .......... .......... .......... .......... 59.6M 1400K .......... .......... .......... .......... .......... 141M 1450K .......... .......... .......... .......... .......... 839K 1500K .......... .......... .......... .......... .......... 165M 1550K .......... .......... .......... .......... .......... 106M 1600K .......... .......... .......... .......... .......... 74.1M 1650K .......... .......... .......... .......... .......... 81.7M 1700K .......... .......... .......... .......... .......... 70.2M 1750K .......... .......... .......... .......... .......... 77.9M 1800K .......... .......... .......... .......... .......... 79.3M 1850K .......... .......... .......... .......... .......... 80.5M 1900K .... 54.9M=0.5s 2022-12-08 06:37:58 (3.51 MB/s) - '/home/buildroot/autobuild/instance-3/output-1/build/.rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz.Y4CsSf/output' saved [1950269] rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz: OK (sha256: 9c8e127dcf2b4d87df546f7f51afdbca0a0561cdba9bcc2689722e1090c46204) >>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Extracting gzip -d -c /home/buildroot/autobuild/instance-3/dl/rtl8821au/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-3/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 >>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Building >>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Building kernel module(s) PATH="/home/buildroot/autobuild/instance-3/output-1/host/bin:/home/buildroot/autobuild/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/buildroot/autobuild/instance-3/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/autobuild/instance-3/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/instance-3/output-1/host/share/pkgconfig" BR_BINARIES_DIR=/home/buildroot/autobuild/instance-3/output-1/images KBUILD_BUILD_VERSION=1 KBUILD_BUILD_USER=buildroot KBUILD_BUILD_HOST=buildroot KBUILD_BUILD_TIMESTAMP="Sat Dec 3 15:55:45 UTC 2022" KCFLAGS=-Wno-attribute-alias /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-3/output-1/build/linux-5.17.15 HOSTCC="/usr/bin/gcc -O2 -I/home/buildroot/autobuild/instance-3/output-1/host/include -L/home/buildroot/autobuild/instance-3/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-3/output-1/host/lib" ARCH=sparc INSTALL_MOD_PATH=/home/buildroot/autobuild/instance-3/output-1/target CROSS_COMPILE="/home/buildroot/autobuild/instance-3/output-1/host/bin/sparc-linux-" WERROR=0 DEPMOD=/home/buildroot/autobuild/instance-3/output-1/host/sbin/depmod CONFIG_RTL8812AU_8821AU=m KVER=`MAKEFLAGS='--' /usr/bin/make -j4 HOSTCC="/usr/bin/gcc -O2 -I/home/buildroot/autobuild/instance-3/output-1/host/include -L/home/buildroot/autobuild/instance-3/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-3/output-1/host/lib" ARCH=sparc INSTALL_MOD_PATH=/home/buildroot/autobuild/instance-3/output-1/target CROSS_COMPILE="/home/buildroot/autobuild/instance-3/output-1/host/bin/sparc-linux-" WERROR=0 DEPMOD=/home/buildroot/autobuild/instance-3/output-1/host/sbin/depmod -C /home/buildroot/autobuild/instance-3/output-1/build/linux-5.17.15 --no-print-directory -s kernelrelease 2>/dev/null` USER_EXTRA_CFLAGS="-DCONFIG_BIG_ENDIAN -Wno-error" PWD=/home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/. M=/home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/. modules make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/linux-5.17.15' CC [M] /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.o CC [M] /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_security.o CC [M] /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_debug.o CC [M] /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_io.o In file included from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_debug.c:22: /home/buildroot/autobuild/instance-3/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/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /home/buildroot/autobuild/instance-3/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/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_debug.c:22: /home/buildroot/autobuild/instance-3/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/sparc/include/uapi/asm/byteorder.h:5, from ./arch/sparc/include/asm/bitops_32.h:14, from ./arch/sparc/include/asm/bitops.h:7, from ./include/linux/bitops.h:33, from ./include/linux/log2.h:12, from ./include/asm-generic/div64.h:55, from ./arch/sparc/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/sparc/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_debug.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/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /home/buildroot/autobuild/instance-3/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 /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_debug.c:22: /home/buildroot/autobuild/instance-3/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/sparc/include/uapi/asm/byteorder.h:5, from ./arch/sparc/include/asm/bitops_32.h:14, from ./arch/sparc/include/asm/bitops.h:7, from ./include/linux/bitops.h:33, from ./include/linux/log2.h:12, from ./include/asm-generic/div64.h:55, from ./arch/sparc/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/sparc/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/buildroot/autobuild/instance-3/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 ./include/linux/swab.h:5, from ./include/uapi/linux/byteorder/big_endian.h:14, from ./include/linux/byteorder/big_endian.h:5, from ./arch/sparc/include/uapi/asm/byteorder.h:5, from ./arch/sparc/include/asm/bitops_32.h:14, from ./arch/sparc/include/asm/bitops.h:7, from ./include/linux/bitops.h:33, from ./include/linux/log2.h:12, from ./include/asm-generic/div64.h:55, from ./arch/sparc/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/sparc/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_debug.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/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /home/buildroot/autobuild/instance-3/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/sparc/include/uapi/asm/byteorder.h:5, from ./arch/sparc/include/asm/bitops_32.h:14, from ./arch/sparc/include/asm/bitops.h:7, from ./include/linux/bitops.h:33, from ./include/linux/log2.h:12, from ./include/asm-generic/div64.h:55, from ./arch/sparc/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/sparc/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/buildroot/autobuild/instance-3/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/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_security.c:22: /home/buildroot/autobuild/instance-3/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/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_security.c:22: /home/buildroot/autobuild/instance-3/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/sparc/include/uapi/asm/byteorder.h:5, from ./arch/sparc/include/asm/bitops_32.h:14, from ./arch/sparc/include/asm/bitops.h:7, from ./include/linux/bitops.h:33, from ./include/linux/log2.h:12, from ./include/asm-generic/div64.h:55, from ./arch/sparc/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/sparc/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_security.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/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_security.c:22: /home/buildroot/autobuild/instance-3/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/sparc/include/uapi/asm/byteorder.h:5, from ./arch/sparc/include/asm/bitops_32.h:14, from ./arch/sparc/include/asm/bitops.h:7, from ./include/linux/bitops.h:33, from ./include/linux/log2.h:12, from ./include/asm-generic/div64.h:55, from ./arch/sparc/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/sparc/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_security.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/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_io.c:52: /home/buildroot/autobuild/instance-3/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/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_io.c:52: /home/buildroot/autobuild/instance-3/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/sparc/include/uapi/asm/byteorder.h:5, from ./arch/sparc/include/asm/bitops_32.h:14, from ./arch/sparc/include/asm/bitops.h:7, from ./include/linux/bitops.h:33, from ./include/linux/log2.h:12, from ./include/asm-generic/div64.h:55, from ./arch/sparc/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/sparc/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_io.c:52: ./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/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_io.c:52: /home/buildroot/autobuild/instance-3/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/sparc/include/uapi/asm/byteorder.h:5, from ./arch/sparc/include/asm/bitops_32.h:14, from ./arch/sparc/include/asm/bitops.h:7, from ./include/linux/bitops.h:33, from ./include/linux/log2.h:12, from ./include/asm-generic/div64.h:55, from ./arch/sparc/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/sparc/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_io.c:52: ./include/uapi/linux/swab.h:57:41: note: previous definition of '__fswab32' was here 57 | static inline __attribute_const__ __u32 __fswab32(__u32 val) | ^~~~~~~~~ scripts/Makefile.build:288: recipe for target '/home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_io.o' failed make[2]: *** [/home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_io.o] Error 1 make[2]: *** Waiting for unfinished jobs.... scripts/Makefile.build:288: recipe for target '/home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_security.o' failed make[2]: *** [/home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_security.o] Error 1 scripts/Makefile.build:288: recipe for target '/home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_debug.o' failed make[2]: *** [/home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_debug.o] Error 1 In file included from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c: In function 'rtw_cmd_thread': /home/buildroot/autobuild/instance-3/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/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:706:2: note: in expansion of macro 'thread_exit' 706 | thread_exit(); | ^~~~~~~~~~~ /home/buildroot/autobuild/instance-3/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 scripts/Makefile.build:288: recipe for target '/home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.o' failed make[2]: *** [/home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.o] Error 1 Makefile:1831: recipe for target '/home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/.' failed make[1]: *** [/home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/.] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/linux-5.17.15' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-3/buildroot'