>>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Downloading wget --passive-ftp -nd -t 3 -O '/home/buildroot/autobuild/instance-2/output-1/build/.rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz.iNN7zI/output' 'https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz' --2022-06-19 21:44:37-- https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz Resolving github.com (github.com)... 140.82.112.3 Connecting to github.com (github.com)|140.82.112.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/abperiasamy/rtl8812AU_8821AU_linux/tar.gz/4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 [following] --2022-06-19 21:44:37-- https://codeload.github.com/abperiasamy/rtl8812AU_8821AU_linux/tar.gz/4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/buildroot/autobuild/instance-2/output-1/build/.rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz.iNN7zI/output' 0K .......... .......... .......... .......... .......... 367K 50K .......... .......... .......... .......... .......... 733K 100K .......... .......... .......... .......... .......... 76.2M 150K .......... .......... .......... .......... .......... 75.5M 200K .......... .......... .......... .......... .......... 742K 250K .......... .......... .......... .......... .......... 71.3M 300K .......... .......... .......... .......... .......... 748K 350K .......... .......... .......... .......... .......... 135M 400K .......... .......... .......... .......... .......... 122M 450K .......... .......... .......... .......... .......... 145M 500K .......... .......... .......... .......... .......... 168M 550K .......... .......... .......... .......... .......... 155M 600K .......... .......... .......... .......... .......... 180M 650K .......... .......... .......... .......... .......... 754K 700K .......... .......... .......... .......... .......... 151M 750K .......... .......... .......... .......... .......... 137M 800K .......... .......... .......... .......... .......... 179M 850K .......... .......... .......... .......... .......... 186M 900K .......... .......... .......... .......... .......... 178M 950K .......... .......... .......... .......... .......... 750K 1000K .......... .......... .......... .......... .......... 117M 1050K .......... .......... .......... .......... .......... 175M 1100K .......... .......... .......... .......... .......... 172M 1150K .......... .......... .......... .......... .......... 149M 1200K .......... .......... .......... .......... .......... 181M 1250K .......... .......... .......... .......... .......... 176M 1300K .......... .......... .......... .......... .......... 186M 1350K .......... .......... .......... .......... .......... 164M 1400K .......... .......... .......... .......... .......... 178M 1450K .......... .......... .......... .......... .......... 179M 1500K .......... .......... .......... .......... .......... 184M 1550K .......... .......... .......... .......... .......... 150M 1600K .......... .......... .......... .......... .......... 181M 1650K .......... .......... .......... .......... .......... 178M 1700K .......... .......... .......... .......... .......... 142M 1750K .......... .......... .......... .......... .......... 178M 1800K .......... .......... .......... .......... .......... 124M 1850K .......... .......... .......... .......... .......... 79.8M 1900K .... 52.8M=0.5s 2022-06-19 21:44:38 (3.85 MB/s) - '/home/buildroot/autobuild/instance-2/output-1/build/.rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz.iNN7zI/output' saved [1950269] rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz: OK (sha256: 9c8e127dcf2b4d87df546f7f51afdbca0a0561cdba9bcc2689722e1090c46204) >>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Extracting gzip -d -c /home/buildroot/autobuild/instance-2/dl/rtl8821au/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-2/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-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/buildroot/autobuild/instance-2/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-2/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/instance-2/output-1/host/share/pkgconfig" BR_BINARIES_DIR=/home/buildroot/autobuild/instance-2/output-1/images KCFLAGS=-Wno-attribute-alias /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-2/output-1/build/linux-5.17.13 HOSTCC="/usr/bin/gcc -O2 -I/home/buildroot/autobuild/instance-2/output-1/host/include -L/home/buildroot/autobuild/instance-2/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-2/output-1/host/lib" ARCH=arm64 INSTALL_MOD_PATH=/home/buildroot/autobuild/instance-2/output-1/target CROSS_COMPILE="/home/buildroot/autobuild/instance-2/output-1/host/bin/aarch64_be-buildroot-linux-uclibc-" WERROR=0 DEPMOD=/home/buildroot/autobuild/instance-2/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-2/output-1/host/include -L/home/buildroot/autobuild/instance-2/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-2/output-1/host/lib" ARCH=arm64 INSTALL_MOD_PATH=/home/buildroot/autobuild/instance-2/output-1/target CROSS_COMPILE="/home/buildroot/autobuild/instance-2/output-1/host/bin/aarch64_be-buildroot-linux-uclibc-" WERROR=0 DEPMOD=/home/buildroot/autobuild/instance-2/output-1/host/sbin/depmod -C /home/buildroot/autobuild/instance-2/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/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/. M=/home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/. modules make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/linux-5.17.13' CC [M] /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.o CC [M] /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_security.o CC [M] /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_debug.o CC [M] /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_io.o In file included from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /home/buildroot/autobuild/instance-2/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-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /home/buildroot/autobuild/instance-2/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/arm64/include/uapi/asm/byteorder.h:21, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:28, from ./include/linux/bitops.h:33, from ./arch/arm64/include/asm/cache.h:60, from ./include/linux/cache.h:6, from ./include/linux/printk.h:9, from ./include/asm-generic/bug.h:22, from ./arch/arm64/include/asm/bug.h:26, from ./include/linux/bug.h:5, from ./include/linux/thread_info.h:13, from ./arch/arm64/include/asm/preempt.h:5, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/buildroot/autobuild/instance-2/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/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /home/buildroot/autobuild/instance-2/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/arm64/include/uapi/asm/byteorder.h:21, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:28, from ./include/linux/bitops.h:33, from ./arch/arm64/include/asm/cache.h:60, from ./include/linux/cache.h:6, from ./include/linux/printk.h:9, from ./include/asm-generic/bug.h:22, from ./arch/arm64/include/asm/bug.h:26, from ./include/linux/bug.h:5, from ./include/linux/thread_info.h:13, from ./arch/arm64/include/asm/preempt.h:5, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/buildroot/autobuild/instance-2/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-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_security.c:22: /home/buildroot/autobuild/instance-2/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-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_security.c:22: /home/buildroot/autobuild/instance-2/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/arm64/include/uapi/asm/byteorder.h:21, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:28, from ./include/linux/bitops.h:33, from ./arch/arm64/include/asm/cache.h:60, from ./include/linux/cache.h:6, from ./include/linux/printk.h:9, from ./include/asm-generic/bug.h:22, from ./arch/arm64/include/asm/bug.h:26, from ./include/linux/bug.h:5, from ./include/linux/thread_info.h:13, from ./arch/arm64/include/asm/preempt.h:5, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/buildroot/autobuild/instance-2/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-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_security.c:22: /home/buildroot/autobuild/instance-2/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/arm64/include/uapi/asm/byteorder.h:21, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:28, from ./include/linux/bitops.h:33, from ./arch/arm64/include/asm/cache.h:60, from ./include/linux/cache.h:6, from ./include/linux/printk.h:9, from ./include/asm-generic/bug.h:22, from ./arch/arm64/include/asm/bug.h:26, from ./include/linux/bug.h:5, from ./include/linux/thread_info.h:13, from ./arch/arm64/include/asm/preempt.h:5, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/buildroot/autobuild/instance-2/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-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_io.c:52: /home/buildroot/autobuild/instance-2/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-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_io.c:52: /home/buildroot/autobuild/instance-2/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/arm64/include/uapi/asm/byteorder.h:21, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:28, from ./include/linux/bitops.h:33, from ./arch/arm64/include/asm/cache.h:60, from ./include/linux/cache.h:6, from ./include/linux/printk.h:9, from ./include/asm-generic/bug.h:22, from ./arch/arm64/include/asm/bug.h:26, from ./include/linux/bug.h:5, from ./include/linux/thread_info.h:13, from ./arch/arm64/include/asm/preempt.h:5, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/buildroot/autobuild/instance-2/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-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_io.c:52: /home/buildroot/autobuild/instance-2/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/arm64/include/uapi/asm/byteorder.h:21, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:28, from ./include/linux/bitops.h:33, from ./arch/arm64/include/asm/cache.h:60, from ./include/linux/cache.h:6, from ./include/linux/printk.h:9, from ./include/asm-generic/bug.h:22, from ./arch/arm64/include/asm/bug.h:26, from ./include/linux/bug.h:5, from ./include/linux/thread_info.h:13, from ./arch/arm64/include/asm/preempt.h:5, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/buildroot/autobuild/instance-2/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) | ^~~~~~~~~ In file included from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_debug.c:22: /home/buildroot/autobuild/instance-2/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-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_debug.c:22: /home/buildroot/autobuild/instance-2/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/arm64/include/uapi/asm/byteorder.h:21, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:28, from ./include/linux/bitops.h:33, from ./arch/arm64/include/asm/cache.h:60, from ./include/linux/cache.h:6, from ./include/linux/printk.h:9, from ./include/asm-generic/bug.h:22, from ./arch/arm64/include/asm/bug.h:26, from ./include/linux/bug.h:5, from ./include/linux/thread_info.h:13, from ./arch/arm64/include/asm/preempt.h:5, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/buildroot/autobuild/instance-2/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-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_debug.c:22: /home/buildroot/autobuild/instance-2/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/arm64/include/uapi/asm/byteorder.h:21, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:28, from ./include/linux/bitops.h:33, from ./arch/arm64/include/asm/cache.h:60, from ./include/linux/cache.h:6, from ./include/linux/printk.h:9, from ./include/asm-generic/bug.h:22, from ./arch/arm64/include/asm/bug.h:26, from ./include/linux/bug.h:5, from ./include/linux/thread_info.h:13, from ./arch/arm64/include/asm/preempt.h:5, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/buildroot/autobuild/instance-2/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-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c: In function ‘rtw_cmd_thread’: /home/buildroot/autobuild/instance-2/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-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:706:2: note: in expansion of macro ‘thread_exit’ 706 | thread_exit(); | ^~~~~~~~~~~ scripts/Makefile.build:288: recipe for target '/home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_io.o' failed make[2]: *** [/home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_io.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /home/buildroot/autobuild/instance-2/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-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_security.o' failed make[2]: *** [/home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_security.o] Error 1 scripts/Makefile.build:288: recipe for target '/home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.o' failed make[2]: *** [/home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.o] Error 1 scripts/Makefile.build:288: recipe for target '/home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_debug.o' failed make[2]: *** [/home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_debug.o] Error 1 Makefile:1831: recipe for target '/home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/.' failed make[1]: *** [/home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/.] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/linux-5.17.13' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-2/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'