>>> spidev_test 5.8 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/buildroot/autobuild/instance-0/output-1/build/.spidev_test.c?id=v5.8.YauLH1/output' 'http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/tools/spi/spidev_test.c?id=v5.8' URL transformed to HTTPS due to an HSTS policy --2022-03-29 08:18:24-- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/tools/spi/spidev_test.c?id=v5.8 Resolving git.kernel.org (git.kernel.org)... 139.178.84.217, 2604:1380:4641:c500::1 Connecting to git.kernel.org (git.kernel.org)|139.178.84.217|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/tools/spi/spidev_test.c?id=v5.8 [following] --2022-03-29 08:18:24-- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/tools/spi/spidev_test.c?id=v5.8 Reusing existing connection to git.kernel.org:443. HTTP request sent, awaiting response... 200 OK Length: 10529 (10K) [text/plain] Saving to: '/home/buildroot/autobuild/instance-0/output-1/build/.spidev_test.c?id=v5.8.YauLH1/output' 0K .......... 100% 76.8M=0s 2022-03-29 08:18:24 (76.8 MB/s) - '/home/buildroot/autobuild/instance-0/output-1/build/.spidev_test.c?id=v5.8.YauLH1/output' saved [10529/10529] spidev_test.c?id=v5.8: OK (sha256: 87329094ea3010eae9e65ad7ea2d2309e044845942414aa0ca8f1a7095b80178) >>> spidev_test 5.8 Extracting cp /home/buildroot/autobuild/instance-0/dl/spidev_test/spidev_test.c?id=v5.8 /home/buildroot/autobuild/instance-0/output-1/build/spidev_test-5.8/spidev_test.c >>> spidev_test 5.8 Patching /bin/sed -i -e 's~^#include ~#include \n#include ~' /home/buildroot/autobuild/instance-0/output-1/build/spidev_test-5.8/spidev_test.c >>> spidev_test 5.8 Configuring >>> spidev_test 5.8 Building PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -o /home/buildroot/autobuild/instance-0/output-1/build/spidev_test-5.8/spidev_test /home/buildroot/autobuild/instance-0/output-1/build/spidev_test-5.8/spidev_test.c /home/buildroot/autobuild/instance-0/output-1/build/spidev_test-5.8/spidev_test.c: In function 'transfer': /home/buildroot/autobuild/instance-0/output-1/build/spidev_test-5.8/spidev_test.c:132:20: error: 'SPI_TX_OCTAL' undeclared (first use in this function); did you mean 'SPI_TX_DUAL'? 132 | if (mode & SPI_TX_OCTAL) | ^~~~~~~~~~~~ | SPI_TX_DUAL /home/buildroot/autobuild/instance-0/output-1/build/spidev_test-5.8/spidev_test.c:132:20: note: each undeclared identifier is reported only once for each function it appears in /home/buildroot/autobuild/instance-0/output-1/build/spidev_test-5.8/spidev_test.c:138:20: error: 'SPI_RX_OCTAL' undeclared (first use in this function); did you mean 'SPI_RX_DUAL'? 138 | if (mode & SPI_RX_OCTAL) | ^~~~~~~~~~~~ | SPI_RX_DUAL /home/buildroot/autobuild/instance-0/output-1/build/spidev_test-5.8/spidev_test.c: In function 'parse_opts': /home/buildroot/autobuild/instance-0/output-1/build/spidev_test-5.8/spidev_test.c:291:33: error: 'SPI_TX_OCTAL' undeclared (first use in this function); did you mean 'SPI_TX_DUAL'? 291 | mode |= SPI_TX_OCTAL; | ^~~~~~~~~~~~ | SPI_TX_DUAL /home/buildroot/autobuild/instance-0/output-1/build/spidev_test-5.8/spidev_test.c:309:33: error: 'SPI_RX_OCTAL' undeclared (first use in this function); did you mean 'SPI_RX_DUAL'? 309 | mode |= SPI_RX_OCTAL; | ^~~~~~~~~~~~ | SPI_RX_DUAL package/pkg-generic.mk:289: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/spidev_test-5.8/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-0/output-1/build/spidev_test-5.8/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'