>>> brcm-patchram-plus 95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042 Extracting gzip -d -c /home/buildroot/autobuild/instance-2/dl/brcm-patchram-plus/brcm-patchram-plus-95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042.tar.gz | /home/buildroot/autobuild/instance-2/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/autobuild/instance-2/output-1/build/brcm-patchram-plus-95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042 -xf - >>> brcm-patchram-plus 95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042 Patching >>> brcm-patchram-plus 95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/autobuild/instance-2/output-1/build/brcm-patchram-plus-95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042 -name $file); do cp support/gnuconfig/$file $i; done; done >>> brcm-patchram-plus 95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042 Configuring >>> brcm-patchram-plus 95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042 Autoreconfiguring libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure.ac:4: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:4: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9810: AM_CONFIG_HEADER is expanded from... configure.ac:4: the top level configure.ac:7: warning: The macro 'AC_GNU_SOURCE' is obsolete. configure.ac:7: You should run autoupdate. ./lib/autoconf/specific.m4:489: AC_GNU_SOURCE is expanded from... configure.ac:7: the top level configure.ac:8: warning: The macro 'AC_ISC_POSIX' is obsolete. configure.ac:8: You should run autoupdate. ./lib/autoconf/specific.m4:732: AC_ISC_POSIX is expanded from... configure.ac:8: the top level configure.ac:10: warning: The macro 'AC_STDC_HEADERS' is obsolete. configure.ac:10: You should run autoupdate. ./lib/autoconf/oldnames.m4:75: AC_STDC_HEADERS is expanded from... configure.ac:10: the top level configure.ac:10: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:10: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... ./lib/autoconf/oldnames.m4:75: AC_STDC_HEADERS is expanded from... configure.ac:10: the top level configure.ac:11: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:11: You should run autoupdate. aclocal.m4:121: AC_PROG_LIBTOOL is expanded from... configure.ac:11: the top level configure.ac:12: warning: The macro 'AC_LIBTOOL_DLOPEN' is obsolete. configure.ac:12: You should run autoupdate. aclocal.m4:8480: AC_LIBTOOL_DLOPEN is expanded from... configure.ac:12: the top level configure.ac:12: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you configure.ac:12: put the 'dlopen' option into LT_INIT's first parameter. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:8480: AC_LIBTOOL_DLOPEN is expanded from... configure.ac:12: the top level configure.ac:7: installing './compile' configure.ac:11: installing './config.guess' configure.ac:11: installing './config.sub' configure.ac:3: installing './install-sh' configure.ac:3: installing './missing' src/Makefile.am: installing './depcomp' >>> brcm-patchram-plus 95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042 Patching libtool patching file /home/buildroot/autobuild/instance-2/output-1/build/brcm-patchram-plus-95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042/ltmain.sh Hunk #1 succeeded at 2694 (offset 7 lines). Hunk #2 succeeded at 4284 (offset 7 lines). Hunk #3 succeeded at 6579 (offset 25 lines). Hunk #4 succeeded at 6589 (offset 25 lines). Hunk #5 succeeded at 6882 (offset 25 lines). Hunk #6 succeeded at 7174 (offset 25 lines). Hunk #7 succeeded at 8140 (offset 28 lines). Hunk #8 succeeded at 10769 (offset 59 lines). (cd /home/buildroot/autobuild/instance-2/output-1/build/brcm-patchram-plus-95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042/ && rm -rf config.cache && GIT_DIR=. 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" AR="/home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc-ar" AS="/home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-as" LD="/home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-ld" NM="/home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc-nm" CC="/home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc" GCC="/home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc" CPP="/home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-cpp" CXX="/home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-g++" FC="/home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gfortran" F77="/home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gfortran" RANLIB="/home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc-ranlib" READELF="/home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-readelf" STRIP="/bin/true" OBJCOPY="/home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/autobuild/instance-2/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-2/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-2/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-2/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-2/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 " LDFLAGS="" FCFLAGS=" -Og -g0" FFLAGS=" -Og -g0" PKG_CONFIG="/home/buildroot/autobuild/instance-2/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-2/output-1/host/mips64el-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CONFIG_SITE=/dev/null ./configure --target=mips64el-buildroot-linux-uclibc --host=mips64el-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --enable-shared ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mips64el-buildroot-linux-uclibc-strip... /bin/true checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports the include directive... yes (GNU style) checking for mips64el-buildroot-linux-uclibc-gcc... /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc accepts -g... yes checking for /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc option to enable C11 features... none needed checking whether /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc understands -c and -o together... yes checking dependency style of /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for library containing strerror... none required checking for mips64el-buildroot-linux-uclibc-gcc... (cached) /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc checking whether the compiler supports GNU C... (cached) yes checking whether /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc accepts -g... (cached) yes checking for /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc option to enable C11 features... (cached) none needed checking whether /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc understands -c and -o together... (cached) yes checking dependency style of /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc... (cached) none checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking build system type... x86_64-pc-linux-gnu checking host system type... mips64el-buildroot-linux-uclibc checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc... /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-ld checking if the linker (/home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc-nm checking the name lister (/home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to mips64el-buildroot-linux-uclibc format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-ld option to reload object files... -r checking for mips64el-buildroot-linux-uclibc-objdump... /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-objdump checking how to recognize dependent libraries... pass_all checking for mips64el-buildroot-linux-uclibc-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for mips64el-buildroot-linux-uclibc-ar... /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc-ar checking for archiver @FILE support... @ checking for mips64el-buildroot-linux-uclibc-strip... (cached) /bin/true checking for mips64el-buildroot-linux-uclibc-ranlib... /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc-ranlib checking command to parse /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc-nm output from /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mips64el-buildroot-linux-uclibc-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC checking if /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc static flag -static works... yes checking if /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc supports -c -o file.o... yes checking if /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc supports -c -o file.o... (cached) yes checking whether the /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc linker (/home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-ld -m elf32ltsmipn32) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls >>> brcm-patchram-plus 95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042 Building GIT_DIR=. 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" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-2/output-1/build/brcm-patchram-plus-95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042/ make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/brcm-patchram-plus-95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042' /usr/bin/make all-recursive make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/brcm-patchram-plus-95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042' Making all in src make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/brcm-patchram-plus-95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042/src' /home/buildroot/autobuild/instance-2/output-1/host/bin/mips64el-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -c -o main.o main.c main.c: In function 'read_event': main.c:715:25: error: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 715 | while ((count = read(fd, &buffer[i], len)) < len) { | ^~~~ | fread main.c: In function 'hci_send_cmd': main.c:744:9: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 744 | write(uart_fd, buf, len); | ^~~~~ | fwrite main.c: In function 'expired': main.c:751:9: error: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] 751 | alarm(4); | ^~~~~ main.c: In function 'proc_patchram': main.c:783:17: error: implicit declaration of function 'usleep' [-Wimplicit-function-declaration] 783 | usleep(tosleep); | ^~~~~~ main.c: In function 'main': main.c:977:25: error: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 977 | sleep(UINT_MAX); | ^~~~~ make[3]: *** [Makefile:405: main.o] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/brcm-patchram-plus-95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042/src' make[2]: *** [Makefile:402: all-recursive] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/brcm-patchram-plus-95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042' make[1]: *** [Makefile:334: all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/brcm-patchram-plus-95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042' make: *** [package/pkg-generic.mk:283: /home/buildroot/autobuild/instance-2/output-1/build/brcm-patchram-plus-95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'