>>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Downloading wget --passive-ftp -nd -t 3 -O '/home/thomas/autobuild/instance-3/output-1/build/.rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz.7Nrzcd/output' 'https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz' --2022-08-22 10:15:42-- https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz Resolving github.com (github.com)... 140.82.121.3 Connecting to github.com (github.com)|140.82.121.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/abperiasamy/rtl8812AU_8821AU_linux/tar.gz/4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 [following] --2022-08-22 10:15:42-- https://codeload.github.com/abperiasamy/rtl8812AU_8821AU_linux/tar.gz/4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Resolving codeload.github.com (codeload.github.com)... 140.82.121.9 Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/thomas/autobuild/instance-3/output-1/build/.rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz.7Nrzcd/output' 0K .......... .......... .......... .......... .......... 3.32M 50K .......... .......... .......... .......... .......... 12.0M 100K .......... .......... .......... .......... .......... 5.43M 150K .......... .......... .......... .......... .......... 4.66M 200K .......... .......... .......... .......... .......... 5.35M 250K .......... .......... .......... .......... .......... 4.92M 300K .......... .......... .......... .......... .......... 95.3M 350K .......... .......... .......... .......... .......... 6.00M 400K .......... .......... .......... .......... .......... 2.69M 450K .......... .......... .......... .......... .......... 68.0M 500K .......... .......... .......... .......... .......... 5.02M 550K .......... .......... .......... .......... .......... 4.80M 600K .......... .......... .......... .......... .......... 5.28M 650K .......... .......... .......... .......... .......... 4.78M 700K .......... .......... .......... .......... .......... 5.55M 750K .......... .......... .......... .......... .......... 14.0M 800K .......... .......... .......... .......... .......... 2.92M 850K .......... .......... .......... .......... .......... 2.43M 900K .......... .......... .......... .......... .......... 2.17M 950K .......... .......... .......... .......... .......... 62.4M 1000K .......... .......... .......... .......... .......... 2.21M 1050K .......... .......... .......... .......... .......... 3.48M 1100K .......... .......... .......... .......... .......... 4.09M 1150K .......... .......... .......... .......... .......... 7.28M 1200K .......... .......... .......... .......... .......... 5.39M 1250K .......... .......... .......... .......... .......... 6.04M 1300K .......... .......... .......... .......... .......... 25.5M 1350K .......... .......... .......... .......... .......... 6.16M 1400K .......... .......... .......... .......... .......... 7.59M 1450K .......... .......... .......... .......... .......... 6.69M 1500K .......... .......... .......... .......... .......... 6.72M 1550K .......... .......... .......... .......... .......... 5.47M 1600K .......... .......... .......... .......... .......... 4.99M 1650K .......... .......... .......... .......... .......... 4.42M 1700K .......... .......... .......... .......... .......... 5.01M 1750K .......... .......... .......... .......... .......... 70.3M 1800K .......... .......... .......... .......... .......... 5.06M 1850K .......... .......... .......... .......... .......... 9.20M 1900K .... 2.72M=0.4s 2022-08-22 10:15:43 (5.22 MB/s) - '/home/thomas/autobuild/instance-3/output-1/build/.rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz.7Nrzcd/output' saved [1950269] rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz: OK (sha256: 9c8e127dcf2b4d87df546f7f51afdbca0a0561cdba9bcc2689722e1090c46204) >>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Extracting gzip -d -c /home/thomas/autobuild/instance-3/dl/rtl8821au/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz | tar --strip-components=1 -C /home/thomas/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/thomas/autobuild/instance-3/output-1/host/bin:/home/thomas/autobuild/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PKG_CONFIG="/home/thomas/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/thomas/autobuild/instance-3/output-1/host/lib/pkgconfig:/home/thomas/autobuild/instance-3/output-1/host/share/pkgconfig" BR_BINARIES_DIR=/home/thomas/autobuild/instance-3/output-1/images KCFLAGS=-Wno-attribute-alias /usr/bin/make -j4 -C /home/thomas/autobuild/instance-3/output-1/build/linux-5.17.15 HOSTCC="/usr/bin/gcc -O2 -I/home/thomas/autobuild/instance-3/output-1/host/include -L/home/thomas/autobuild/instance-3/output-1/host/lib -Wl,-rpath,/home/thomas/autobuild/instance-3/output-1/host/lib" ARCH=mips INSTALL_MOD_PATH=/home/thomas/autobuild/instance-3/output-1/target CROSS_COMPILE="/home/thomas/autobuild/instance-3/output-1/host/bin/mips-linux-" WERROR=0 DEPMOD=/home/thomas/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/thomas/autobuild/instance-3/output-1/host/include -L/home/thomas/autobuild/instance-3/output-1/host/lib -Wl,-rpath,/home/thomas/autobuild/instance-3/output-1/host/lib" ARCH=mips INSTALL_MOD_PATH=/home/thomas/autobuild/instance-3/output-1/target CROSS_COMPILE="/home/thomas/autobuild/instance-3/output-1/host/bin/mips-linux-" WERROR=0 DEPMOD=/home/thomas/autobuild/instance-3/output-1/host/sbin/depmod -C /home/thomas/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/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/. M=/home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/. modules make[1]: Entering directory '/home/thomas/autobuild/instance-3/output-1/build/linux-5.17.15' CC [M] /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.o CC [M] /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_security.o CC [M] /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_debug.o CC [M] /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_io.o In file included from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /home/thomas/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/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/swab.h:115:29: error: conflicting types for ‘__fswab16’; have ‘const __u16(__u16)’ {aka ‘const short unsigned int(short unsigned int)’} 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/mips/include/uapi/asm/byteorder.h:13, from ./include/asm-generic/qrwlock_types.h:6, from ./arch/mips/include/asm/spinlock_types.h:6, from ./include/linux/spinlock_types_raw.h:7, from ./include/linux/ratelimit_types.h:7, from ./include/linux/printk.h:10, from ./include/asm-generic/bug.h:22, from ./arch/mips/include/asm/bug.h:42, from ./include/linux/bug.h:5, from ./include/linux/thread_info.h:13, from ./include/asm-generic/preempt.h:5, from ./arch/mips/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/thomas/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’ with type ‘__u16(__u16)’ {aka ‘short unsigned int(short unsigned int)’} 48 | static inline __attribute_const__ __u16 __fswab16(__u16 val) | ^~~~~~~~~ In file included from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/swab.h:123:29: error: conflicting types for ‘__fswab32’; have ‘const __u32(__u32)’ {aka ‘const unsigned int(unsigned int)’} 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/mips/include/uapi/asm/byteorder.h:13, from ./include/asm-generic/qrwlock_types.h:6, from ./arch/mips/include/asm/spinlock_types.h:6, from ./include/linux/spinlock_types_raw.h:7, from ./include/linux/ratelimit_types.h:7, from ./include/linux/printk.h:10, from ./include/asm-generic/bug.h:22, from ./arch/mips/include/asm/bug.h:42, from ./include/linux/bug.h:5, from ./include/linux/thread_info.h:13, from ./include/asm-generic/preempt.h:5, from ./arch/mips/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/thomas/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’ with type ‘__u32(__u32)’ {aka ‘unsigned int(unsigned int)’} 57 | static inline __attribute_const__ __u32 __fswab32(__u32 val) | ^~~~~~~~~ In file included from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_security.c:22: /home/thomas/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/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_security.c:22: /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/swab.h:115:29: error: conflicting types for ‘__fswab16’; have ‘const __u16(__u16)’ {aka ‘const short unsigned int(short unsigned int)’} 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/mips/include/uapi/asm/byteorder.h:13, from ./include/asm-generic/qrwlock_types.h:6, from ./arch/mips/include/asm/spinlock_types.h:6, from ./include/linux/spinlock_types_raw.h:7, from ./include/linux/ratelimit_types.h:7, from ./include/linux/printk.h:10, from ./include/asm-generic/bug.h:22, from ./arch/mips/include/asm/bug.h:42, from ./include/linux/bug.h:5, from ./include/linux/thread_info.h:13, from ./include/asm-generic/preempt.h:5, from ./arch/mips/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/thomas/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’ with type ‘__u16(__u16)’ {aka ‘short unsigned int(short unsigned int)’} 48 | static inline __attribute_const__ __u16 __fswab16(__u16 val) | ^~~~~~~~~ In file included from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_security.c:22: /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/swab.h:123:29: error: conflicting types for ‘__fswab32’; have ‘const __u32(__u32)’ {aka ‘const unsigned int(unsigned int)’} 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/mips/include/uapi/asm/byteorder.h:13, from ./include/asm-generic/qrwlock_types.h:6, from ./arch/mips/include/asm/spinlock_types.h:6, from ./include/linux/spinlock_types_raw.h:7, from ./include/linux/ratelimit_types.h:7, from ./include/linux/printk.h:10, from ./include/asm-generic/bug.h:22, from ./arch/mips/include/asm/bug.h:42, from ./include/linux/bug.h:5, from ./include/linux/thread_info.h:13, from ./include/asm-generic/preempt.h:5, from ./arch/mips/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/thomas/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’ with type ‘__u32(__u32)’ {aka ‘unsigned int(unsigned int)’} 57 | static inline __attribute_const__ __u32 __fswab32(__u32 val) | ^~~~~~~~~ In file included from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_io.c:52: /home/thomas/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/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_io.c:52: /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/swab.h:115:29: error: conflicting types for ‘__fswab16’; have ‘const __u16(__u16)’ {aka ‘const short unsigned int(short unsigned int)’} 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/mips/include/uapi/asm/byteorder.h:13, from ./include/asm-generic/qrwlock_types.h:6, from ./arch/mips/include/asm/spinlock_types.h:6, from ./include/linux/spinlock_types_raw.h:7, from ./include/linux/ratelimit_types.h:7, from ./include/linux/printk.h:10, from ./include/asm-generic/bug.h:22, from ./arch/mips/include/asm/bug.h:42, from ./include/linux/bug.h:5, from ./include/linux/thread_info.h:13, from ./include/asm-generic/preempt.h:5, from ./arch/mips/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/thomas/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’ with type ‘__u16(__u16)’ {aka ‘short unsigned int(short unsigned int)’} 48 | static inline __attribute_const__ __u16 __fswab16(__u16 val) | ^~~~~~~~~ In file included from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_io.c:52: /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/swab.h:123:29: error: conflicting types for ‘__fswab32’; have ‘const __u32(__u32)’ {aka ‘const unsigned int(unsigned int)’} 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/mips/include/uapi/asm/byteorder.h:13, from ./include/asm-generic/qrwlock_types.h:6, from ./arch/mips/include/asm/spinlock_types.h:6, from ./include/linux/spinlock_types_raw.h:7, from ./include/linux/ratelimit_types.h:7, from ./include/linux/printk.h:10, from ./include/asm-generic/bug.h:22, from ./arch/mips/include/asm/bug.h:42, from ./include/linux/bug.h:5, from ./include/linux/thread_info.h:13, from ./include/asm-generic/preempt.h:5, from ./arch/mips/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/thomas/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’ with type ‘__u32(__u32)’ {aka ‘unsigned int(unsigned int)’} 57 | static inline __attribute_const__ __u32 __fswab32(__u32 val) | ^~~~~~~~~ In file included from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_debug.c:22: /home/thomas/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/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_debug.c:22: /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/swab.h:115:29: error: conflicting types for ‘__fswab16’; have ‘const __u16(__u16)’ {aka ‘const short unsigned int(short unsigned int)’} 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/mips/include/uapi/asm/byteorder.h:13, from ./include/asm-generic/qrwlock_types.h:6, from ./arch/mips/include/asm/spinlock_types.h:6, from ./include/linux/spinlock_types_raw.h:7, from ./include/linux/ratelimit_types.h:7, from ./include/linux/printk.h:10, from ./include/asm-generic/bug.h:22, from ./arch/mips/include/asm/bug.h:42, from ./include/linux/bug.h:5, from ./include/linux/thread_info.h:13, from ./include/asm-generic/preempt.h:5, from ./arch/mips/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/thomas/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’ with type ‘__u16(__u16)’ {aka ‘short unsigned int(short unsigned int)’} 48 | static inline __attribute_const__ __u16 __fswab16(__u16 val) | ^~~~~~~~~ In file included from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_debug.c:22: /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/swab.h:123:29: error: conflicting types for ‘__fswab32’; have ‘const __u32(__u32)’ {aka ‘const unsigned int(unsigned int)’} 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/mips/include/uapi/asm/byteorder.h:13, from ./include/asm-generic/qrwlock_types.h:6, from ./arch/mips/include/asm/spinlock_types.h:6, from ./include/linux/spinlock_types_raw.h:7, from ./include/linux/ratelimit_types.h:7, from ./include/linux/printk.h:10, from ./include/asm-generic/bug.h:22, from ./arch/mips/include/asm/bug.h:42, from ./include/linux/bug.h:5, from ./include/linux/thread_info.h:13, from ./include/asm-generic/preempt.h:5, from ./arch/mips/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/thomas/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’ with type ‘__u32(__u32)’ {aka ‘unsigned int(unsigned int)’} 57 | static inline __attribute_const__ __u32 __fswab32(__u32 val) | ^~~~~~~~~ In file included from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c: In function ‘rtw_cmd_thread’: /home/thomas/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/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:706:9: note: in expansion of macro ‘thread_exit’ 706 | thread_exit(); | ^~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:288: /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_security.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [scripts/Makefile.build:288: /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_io.o] Error 1 /home/thomas/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 make[2]: *** [scripts/Makefile.build:288: /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.o] Error 1 make[2]: *** [scripts/Makefile.build:288: /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_debug.o] Error 1 make[1]: *** [Makefile:1831: /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/.] Error 2 make[1]: Leaving directory '/home/thomas/autobuild/instance-3/output-1/build/linux-5.17.15' make: *** [package/pkg-generic.mk:294: /home/thomas/autobuild/instance-3/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/.stamp_built] Error 2 make: Leaving directory '/home/thomas/autobuild/instance-3/buildroot'