>>> on2-8170-modules 73b08061d30789178e692bc332b73d1d9922bf39 Downloading wget --passive-ftp -nd -t 3 -O '/home/buildroot/autobuild/instance-1/output-1/build/.on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39.tar.gz.s2mMHw/output' 'https://github.com/alexandrebelloni/on2-8170-modules/archive/73b08061d30789178e692bc332b73d1d9922bf39/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39.tar.gz' --2023-09-12 17:00:09-- https://github.com/alexandrebelloni/on2-8170-modules/archive/73b08061d30789178e692bc332b73d1d9922bf39/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39.tar.gz Resolving github.com (github.com)... 192.30.255.113 Connecting to github.com (github.com)|192.30.255.113|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/alexandrebelloni/on2-8170-modules/tar.gz/73b08061d30789178e692bc332b73d1d9922bf39 [following] --2023-09-12 17:00:09-- https://codeload.github.com/alexandrebelloni/on2-8170-modules/tar.gz/73b08061d30789178e692bc332b73d1d9922bf39 Resolving codeload.github.com (codeload.github.com)... 192.30.255.121 Connecting to codeload.github.com (codeload.github.com)|192.30.255.121|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/buildroot/autobuild/instance-1/output-1/build/.on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39.tar.gz.s2mMHw/output' 0K ....... 12.7M=0.001s 2023-09-12 17:00:09 (12.7 MB/s) - '/home/buildroot/autobuild/instance-1/output-1/build/.on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39.tar.gz.s2mMHw/output' saved [7573] on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39.tar.gz: OK (sha256: d04d3acb8755281f6721d2a2efe04014060f83f38972208f356a486d52ca8bfc) >>> on2-8170-modules 73b08061d30789178e692bc332b73d1d9922bf39 Extracting gzip -d -c /home/buildroot/autobuild/instance-1/dl/on2-8170-modules/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39 -xf - >>> on2-8170-modules 73b08061d30789178e692bc332b73d1d9922bf39 Patching >>> on2-8170-modules 73b08061d30789178e692bc332b73d1d9922bf39 Configuring >>> on2-8170-modules 73b08061d30789178e692bc332b73d1d9922bf39 Building >>> on2-8170-modules 73b08061d30789178e692bc332b73d1d9922bf39 Building kernel module(s) PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" PKG_CONFIG="/home/buildroot/autobuild/instance-1/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-1/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/instance-1/output-1/host/share/pkgconfig" BR_BINARIES_DIR=/home/buildroot/autobuild/instance-1/output-1/images KBUILD_BUILD_VERSION=1 KBUILD_BUILD_USER=buildroot KBUILD_BUILD_HOST=buildroot KBUILD_BUILD_TIMESTAMP="Sun Sep 3 07:33:33 UTC 2023" KCFLAGS=-Wno-attribute-alias /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-1/output-1/build/linux-6.4.14 HOSTCC="/usr/bin/gcc -O2 -isystem /home/buildroot/autobuild/instance-1/output-1/host/include -L/home/buildroot/autobuild/instance-1/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-1/output-1/host/lib" ARCH=arm INSTALL_MOD_PATH=/home/buildroot/autobuild/instance-1/output-1/target CROSS_COMPILE="/home/buildroot/autobuild/instance-1/output-1/host/bin/armeb-buildroot-linux-gnueabihf-" WERROR=0 REGENERATE_PARSERS=1 DEPMOD=/home/buildroot/autobuild/instance-1/output-1/host/sbin/depmod PWD=/home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/. M=/home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/. modules make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/linux-6.4.14' CC [M] /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.o CC [M] /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./memalloc.o /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./memalloc.c: In function 'memalloc_ioctl': /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./memalloc.c:207:68: error: macro "access_ok" passed 3 arguments, but takes just 2 207 | err = !access_ok(VERIFY_WRITE, (void *) arg, _IOC_SIZE(cmd)); | ^ In file included from ./arch/arm/include/asm/uaccess.h:234, from ./include/linux/uaccess.h:11, from ./include/linux/sched/task.h:11, from ./include/linux/sched/signal.h:9, from ./include/linux/rcuwait.h:6, from ./include/linux/percpu-rwsem.h:7, from ./include/linux/fs.h:33, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:995, from /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./memalloc.c:39: ./include/asm-generic/access_ok.h:45: note: macro "access_ok" defined here 45 | #define access_ok(addr, size) likely(__access_ok(addr, size)) | /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./memalloc.c:207:16: error: 'access_ok' undeclared (first use in this function) 207 | err = !access_ok(VERIFY_WRITE, (void *) arg, _IOC_SIZE(cmd)); | ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./memalloc.c:207:16: note: each undeclared identifier is reported only once for each function it appears in /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./memalloc.c:209:67: error: macro "access_ok" passed 3 arguments, but takes just 2 209 | err = !access_ok(VERIFY_READ, (void *) arg, _IOC_SIZE(cmd)); | ^ ./include/asm-generic/access_ok.h:45: note: macro "access_ok" defined here 45 | #define access_ok(addr, size) likely(__access_ok(addr, size)) | make[2]: *** [scripts/Makefile.build:252: /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./memalloc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:56: ./include/uapi/asm-generic/signal.h:8: warning: "_NSIG_BPW" redefined 8 | #define _NSIG_BPW __BITS_PER_LONG | In file included from ./include/uapi/linux/signal.h:5, from ./include/linux/signal_types.h:10, from ./include/linux/sched.h:30, from ./include/linux/sched/mm.h:7, from ./include/linux/xarray.h:19, from ./include/linux/radix-tree.h:21, from ./include/linux/idr.h:15, from ./include/linux/kernfs.h:12, from ./include/linux/sysfs.h:16, from ./include/linux/kobject.h:20, from ./include/linux/module.h:21, from /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:31: ./arch/arm/include/asm/signal.h:11: note: this is the location of the previous definition 11 | #define _NSIG_BPW 32 | ./include/uapi/asm-generic/signal.h:63:3: error: conflicting types for 'sigset_t'; have 'struct ' 63 | } sigset_t; | ^~~~~~~~ ./arch/arm/include/asm/signal.h:18:3: note: previous declaration of 'sigset_t' with type 'sigset_t' 18 | } sigset_t; | ^~~~~~~~ ./include/uapi/asm-generic/signal.h:85:16: error: redefinition of 'struct sigaltstack' 85 | typedef struct sigaltstack { | ^~~~~~~~~~~ In file included from ./arch/arm/include/asm/signal.h:5: ./arch/arm/include/uapi/asm/signal.h:93:16: note: originally defined here 93 | typedef struct sigaltstack { | ^~~~~~~~~~~ ./include/uapi/asm-generic/signal.h:89:3: error: conflicting types for 'stack_t'; have 'struct sigaltstack' 89 | } stack_t; | ^~~~~~~ ./arch/arm/include/uapi/asm/signal.h:97:3: note: previous declaration of 'stack_t' with type 'stack_t' {aka 'struct sigaltstack'} 97 | } stack_t; | ^~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:78:41: error: 'AT91SAM9G45_VDEC_BASE' undeclared here (not in a function) 78 | #define HXDEC_LOGIC_MODULE0_BASE AT91SAM9G45_VDEC_BASE | ^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:100:27: note: in expansion of macro 'HXDEC_LOGIC_MODULE0_BASE' 100 | unsigned long base_port = HXDEC_LOGIC_MODULE0_BASE; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:80:59: error: 'AT91SAM9G45_ID_VDEC' undeclared here (not in a function) 80 | #define VP_PB_INT_LT (NR_IRQS_LEGACY + AT91SAM9G45_ID_VDEC) | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:90:37: note: in expansion of macro 'VP_PB_INT_LT' 90 | #define DEC_IRQ VP_PB_INT_LT | ^~~~~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:101:11: note: in expansion of macro 'DEC_IRQ' 101 | int irq = DEC_IRQ; | ^~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c: In function 'hx170dec_ioctl': /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:177:68: error: macro "access_ok" passed 3 arguments, but takes just 2 177 | err = !access_ok(VERIFY_WRITE, (void *) arg, _IOC_SIZE(cmd)); | ^ In file included from ./arch/arm/include/asm/uaccess.h:234, from ./include/linux/uaccess.h:11, from ./include/linux/sched/task.h:11, from ./include/linux/sched/signal.h:9, from ./include/linux/rcuwait.h:6, from ./include/linux/percpu-rwsem.h:7, from ./include/linux/fs.h:33, from ./include/linux/huge_mm.h:8, from ./include/linux/mm.h:995, from /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:38: ./include/asm-generic/access_ok.h:45: note: macro "access_ok" defined here 45 | #define access_ok(addr, size) likely(__access_ok(addr, size)) | /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:177:16: error: 'access_ok' undeclared (first use in this function) 177 | err = !access_ok(VERIFY_WRITE, (void *) arg, _IOC_SIZE(cmd)); | ^~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:177:16: note: each undeclared identifier is reported only once for each function it appears in /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:179:67: error: macro "access_ok" passed 3 arguments, but takes just 2 179 | err = !access_ok(VERIFY_READ, (void *) arg, _IOC_SIZE(cmd)); | ^ ./include/asm-generic/access_ok.h:45: note: macro "access_ok" defined here 45 | #define access_ok(addr, size) likely(__access_ok(addr, size)) | /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c: In function 'hx170dec_init': /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:341:30: error: 'IRQF_DISABLED' undeclared (first use in this function); did you mean 'UMH_DISABLED'? 341 | IRQF_DISABLED | IRQF_SHARED | IRQF_TRIGGER_HIGH, | ^~~~~~~~~~~~~ | UMH_DISABLED /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c: In function 'ReserveIO': /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:456:25: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration] 456 | (volatile u8 *) ioremap_nocache(hx170dec_data.iobaseaddr, | ^~~~~~~~~~~~~~~ | ioremap_cache cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:252: /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.o] Error 1 make[1]: *** [Makefile:2032: /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/.] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/linux-6.4.14' make: *** [package/pkg-generic.mk:294: /home/buildroot/autobuild/instance-1/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-1/buildroot'