>>> on2-8170-modules 73b08061d30789178e692bc332b73d1d9922bf39 Downloading wget --passive-ftp -nd -t 3 -O '/home/buildroot/autobuild/instance-3/output-1/build/.on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39.tar.gz.sycPDn/output' 'https://github.com/alexandrebelloni/on2-8170-modules/archive/73b08061d30789178e692bc332b73d1d9922bf39/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39.tar.gz' --2022-07-05 11:38:22-- https://github.com/alexandrebelloni/on2-8170-modules/archive/73b08061d30789178e692bc332b73d1d9922bf39/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39.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/alexandrebelloni/on2-8170-modules/tar.gz/73b08061d30789178e692bc332b73d1d9922bf39 [following] --2022-07-05 11:38:23-- https://codeload.github.com/alexandrebelloni/on2-8170-modules/tar.gz/73b08061d30789178e692bc332b73d1d9922bf39 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 Connecting to codeload.github.com (codeload.github.com)|140.82.112.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/.on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39.tar.gz.sycPDn/output' 0K ....... 33.1M=0s 2022-07-05 11:38:23 (33.1 MB/s) - '/home/buildroot/autobuild/instance-3/output-1/build/.on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39.tar.gz.sycPDn/output' saved [7573] on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39.tar.gz: OK (sha256: d04d3acb8755281f6721d2a2efe04014060f83f38972208f356a486d52ca8bfc) >>> on2-8170-modules 73b08061d30789178e692bc332b73d1d9922bf39 Extracting gzip -d -c /home/buildroot/autobuild/instance-3/dl/on2-8170-modules/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-3/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-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 KCFLAGS=-Wno-attribute-alias /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-3/output-1/build/linux-5.17.13 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=arm INSTALL_MOD_PATH=/home/buildroot/autobuild/instance-3/output-1/target CROSS_COMPILE="/home/buildroot/autobuild/instance-3/output-1/host/bin/armeb-buildroot-linux-uclibcgnueabi-" WERROR=0 DEPMOD=/home/buildroot/autobuild/instance-3/output-1/host/sbin/depmod PWD=/home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/. M=/home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/. modules make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/linux-5.17.13' CC [M] /home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.o CC [M] /home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./memalloc.o /home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./memalloc.c: In function ‘memalloc_ioctl’: /home/buildroot/autobuild/instance-3/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 ./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:697, from /home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./memalloc.c:39: ./arch/arm/include/asm/uaccess.h:252: note: macro "access_ok" defined here 252 | #define access_ok(addr, size) (__range_ok(addr, size) == 0) | /home/buildroot/autobuild/instance-3/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-3/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-3/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)); | ^ In file included 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:697, from /home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./memalloc.c:39: ./arch/arm/include/asm/uaccess.h:252: note: macro "access_ok" defined here 252 | #define access_ok(addr, size) (__range_ok(addr, size) == 0) | scripts/Makefile.build:288: recipe for target '/home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./memalloc.o' failed make[2]: *** [/home/buildroot/autobuild/instance-3/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-3/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:29, from ./include/linux/mm.h:32, from /home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:38: ./arch/arm/include/asm/signal.h:11: note: this is the location of the previous definition 11 | #define _NSIG_BPW 32 | In file included from /home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:56: ./include/uapi/asm-generic/signal.h:63:3: error: conflicting types for ‘sigset_t’ 63 | } sigset_t; | ^~~~~~~~ In file included from ./include/uapi/linux/signal.h:5, from ./include/linux/signal_types.h:10, from ./include/linux/sched.h:29, from ./include/linux/mm.h:32, from /home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:38: ./arch/arm/include/asm/signal.h:18:3: note: previous declaration of ‘sigset_t’ was here 18 | } sigset_t; | ^~~~~~~~ In file included from /home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:56: ./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, from ./include/uapi/linux/signal.h:5, from ./include/linux/signal_types.h:10, from ./include/linux/sched.h:29, from ./include/linux/mm.h:32, from /home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:38: ./arch/arm/include/uapi/asm/signal.h:93:16: note: originally defined here 93 | typedef struct sigaltstack { | ^~~~~~~~~~~ In file included from /home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:56: ./include/uapi/asm-generic/signal.h:89:3: error: conflicting types for ‘stack_t’ 89 | } stack_t; | ^~~~~~~ In file included from ./arch/arm/include/asm/signal.h:5, from ./include/uapi/linux/signal.h:5, from ./include/linux/signal_types.h:10, from ./include/linux/sched.h:29, from ./include/linux/mm.h:32, from /home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:38: ./arch/arm/include/uapi/asm/signal.h:97:3: note: previous declaration of ‘stack_t’ was here 97 | } stack_t; | ^~~~~~~ /home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:78:34: error: ‘AT91SAM9G45_VDEC_BASE’ undeclared here (not in a function) 78 | #define HXDEC_LOGIC_MODULE0_BASE AT91SAM9G45_VDEC_BASE | ^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-3/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-3/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-3/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-3/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-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c: In function ‘hx170dec_ioctl’: /home/buildroot/autobuild/instance-3/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 ./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:697, from /home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:38: ./arch/arm/include/asm/uaccess.h:252: note: macro "access_ok" defined here 252 | #define access_ok(addr, size) (__range_ok(addr, size) == 0) | /home/buildroot/autobuild/instance-3/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-3/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-3/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)); | ^ In file included 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:697, from /home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c:38: ./arch/arm/include/asm/uaccess.h:252: note: macro "access_ok" defined here 252 | #define access_ok(addr, size) (__range_ok(addr, size) == 0) | /home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c: In function ‘hx170dec_init’: /home/buildroot/autobuild/instance-3/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-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.c: In function ‘ReserveIO’: /home/buildroot/autobuild/instance-3/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 scripts/Makefile.build:288: recipe for target '/home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.o' failed make[2]: *** [/home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/./hx170dec.o] Error 1 Makefile:1831: recipe for target '/home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/.' failed make[1]: *** [/home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/.] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/linux-5.17.13' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-3/output-1/build/on2-8170-modules-73b08061d30789178e692bc332b73d1d9922bf39/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-3/buildroot'