>>> libv4l 1.22.1 Extracting bzcat /home/buildroot/autobuild/instance-2/dl/libv4l/v4l-utils-1.22.1.tar.bz2 | tar --strip-components=1 -C /home/buildroot/autobuild/instance-2/output-1/build/libv4l-1.22.1 -xf - >>> libv4l 1.22.1 Patching >>> libv4l 1.22.1 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/libv4l-1.22.1 -name $file); do cp support/gnuconfig/$file $i; done; done >>> libv4l 1.22.1 Configuring >>> libv4l 1.22.1 Autoreconfiguring configure.ac: warning: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION or AM_GNU_GETTEXT_REQUIRE_VERSION libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:82: warning: The macro `AC_GNU_SOURCE' is obsolete. configure.ac:82: You should run autoupdate. ./lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from... configure.ac:82: the top level configure.ac:91: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:91: You should run autoupdate. ./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... configure.ac:91: the top level configure.ac:93: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:93: You should run autoupdate. m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... configure.ac:93: the top level configure.ac:82: installing 'build-aux/compile' configure.ac:84: installing 'build-aux/missing' contrib/cobalt-ctl/Makefile.am: installing 'build-aux/depcomp' >>> libv4l 1.22.1 Patching libtool patching file /home/buildroot/autobuild/instance-2/output-1/build/libv4l-1.22.1/build-aux/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/libv4l-1.22.1/ && rm -rf config.cache && 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:/sbin:/bin" AR="/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc-ar" AS="/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-as" LD="/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-ld" NM="/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc-nm" CC="/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc" GCC="/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc" CPP="/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-cpp" CXX="/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-g++" FC="/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gfortran" F77="/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gfortran" RANLIB="/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc-ranlib" READELF="/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-readelf" STRIP="/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-strip" OBJCOPY="/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-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/arm-none-linux-gnueabi-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-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 -Os -g0 -D_FORTIFY_SOURCE=1" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1" LDFLAGS="" FCFLAGS=" -Os -g0" FFLAGS=" -Os -g0" PKG_CONFIG="/home/buildroot/autobuild/instance-2/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot" INTLTOOL_PERL=/usr/bin/perl 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 ac_cv_prog_cc_c99='-std=gnu99' LIBS="" CONFIG_SITE=/dev/null ./configure --target=arm-buildroot-linux-gnueabi --host=arm-buildroot-linux-gnueabi --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 --disable-static --enable-shared --disable-doxygen-doc --disable-qvidcap --with-jpeg --without-libudev --enable-v4l-utils --disable-bpf --disable-qv4l2 ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6 checking for arm-buildroot-linux-gnueabi-gcc... /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-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/arm-none-linux-gnueabi-gcc accepts -g... yes checking for /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc option to enable C11 features... -std=gnu11 checking whether /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc -std=gnu11 understands -c and -o together... yes 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 a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-buildroot-linux-gnueabi-strip... /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-strip checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc -std=gnu11... none checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... (cached) yes checking whether the compiler supports GNU C++... yes checking whether /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-g++ accepts -g... yes checking for /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-g++ option to enable C++11 features... none needed checking dependency style of /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-g++... none checking build system type... x86_64-pc-linux-gnu checking host system type... arm-buildroot-linux-gnueabi checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc -std=gnu11... /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-ld checking if the linker (/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc-nm checking the name lister (/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-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 arm-buildroot-linux-gnueabi 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/arm-none-linux-gnueabi-ld option to reload object files... -r checking for arm-buildroot-linux-gnueabi-objdump... /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-objdump checking how to recognize dependent libraries... pass_all checking for arm-buildroot-linux-gnueabi-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arm-buildroot-linux-gnueabi-ar... /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc-ar checking for archiver @FILE support... @ checking for arm-buildroot-linux-gnueabi-strip... (cached) /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-strip checking for arm-buildroot-linux-gnueabi-ranlib... /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc-ranlib checking command to parse /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc-nm output from /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc -std=gnu11 object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for arm-buildroot-linux-gnueabi-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt 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/arm-none-linux-gnueabi-gcc -std=gnu11 supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc -std=gnu11 option to produce PIC... -fPIC -DPIC checking if /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc -std=gnu11 PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc -std=gnu11 static flag -static works... yes checking if /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc -std=gnu11 supports -c -o file.o... yes checking if /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc -std=gnu11 supports -c -o file.o... (cached) yes checking whether the /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc -std=gnu11 linker (/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-ld) 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... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-g++ -E checking for ld used by /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-g++... /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-ld checking if the linker (/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-ld) is GNU ld... yes checking whether the /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-g++ linker (/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-ld) supports shared libraries... yes checking for /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-g++ option to produce PIC... -fPIC -DPIC checking if /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-g++ PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-g++ static flag -static works... yes checking if /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-g++ supports -c -o file.o... yes checking if /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-g++ supports -c -o file.o... (cached) yes checking whether the /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-g++ linker (/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether ln -s works... yes checking pkg-config is at least version 0.9.0... yes checking whether NLS is requested... no checking for msgfmt... /home/buildroot/autobuild/instance-2/output-1/host/bin/msgfmt checking for gmsgfmt... /home/buildroot/autobuild/instance-2/output-1/host/bin/msgfmt checking for xgettext... /home/buildroot/autobuild/instance-2/output-1/host/bin/xgettext checking for msgmerge... /home/buildroot/autobuild/instance-2/output-1/host/bin/msgmerge checking for ld used by /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc -std=gnu11... /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-ld checking if the linker (/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-ld) is GNU ld... yes checking for shared library run path origin... done checking how to run the C preprocessor... /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-cpp checking for the common suffixes of directories in the library search path... lib,lib checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking whether to use NLS... no checking for mode_t... yes checking for promoted mode_t type... mode_t checking whether the -Werror option is usable... yes checking for simple visibility declarations... yes checking for sys/klog.h... yes checking for klogctl... yes checking for ioctl with POSIX signature... no checking for __secure_getenv... no checking for secure_getenv... yes checking for sys/mkdev.h... no checking for sys/sysmacros.h... yes checking for X11... no checking for LIBELF... yes checking for clang... no checking for jpeglib.h... yes checking for jpeg_read_header in -ljpeg... yes checking for QT5... no checking for QT5... no configure: WARNING: Qt5 or higher is not available checking for ALSA... yes checking for libudev... no configure: WARNING: udev library not available checking whether /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc -std=gnu11 is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for library containing dlopen... -ldl checking for argp.h... yes checking for library containing argp_parse... none required checking for fork... yes checking for linux/i2c-dev.h... yes checking for iconv... yes checking for working iconv... guessing yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking if gcc accepts -m32... no checking for SDL2... no checking for library containing backtrace... none required checking for LIBBPF... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating lib/libv4lconvert/Makefile config.status: creating lib/libv4l2/Makefile config.status: creating lib/libv4l1/Makefile config.status: creating lib/libdvbv5/Makefile config.status: creating lib/libv4l2rds/Makefile config.status: creating lib/libv4l-mplane/Makefile config.status: creating utils/Makefile config.status: creating utils/libv4l2util/Makefile config.status: creating utils/libmedia_dev/Makefile config.status: creating utils/dvb/Makefile config.status: creating utils/keytable/Makefile config.status: creating utils/keytable/bpf_protocols/Makefile config.status: creating utils/ir-ctl/Makefile config.status: creating utils/cx18-ctl/Makefile config.status: creating utils/ivtv-ctl/Makefile config.status: creating utils/media-ctl/Makefile config.status: creating utils/v4l2-compliance/Makefile config.status: creating utils/v4l2-ctl/Makefile config.status: creating utils/v4l2-dbg/Makefile config.status: creating utils/v4l2-sysfs-path/Makefile config.status: creating utils/qv4l2/Makefile config.status: creating utils/libcecutil/Makefile config.status: creating utils/cec-ctl/Makefile config.status: creating utils/cec-ctl/cec-ctl.1 config.status: creating utils/cec-compliance/Makefile config.status: creating utils/cec-compliance/cec-compliance.1 config.status: creating utils/cec-follower/Makefile config.status: creating utils/cec-follower/cec-follower.1 config.status: creating utils/qvidcap/Makefile config.status: creating utils/rds-ctl/Makefile config.status: creating contrib/Makefile config.status: creating contrib/freebsd/Makefile config.status: creating contrib/test/Makefile config.status: creating contrib/gconv/Makefile config.status: creating contrib/cobalt-ctl/Makefile config.status: creating contrib/decode_tm6000/Makefile config.status: creating contrib/xc3028-firmware/Makefile config.status: creating contrib/rds-saa6588/Makefile config.status: creating v4l-utils-po/Makefile.in config.status: creating libdvbv5-po/Makefile.in config.status: creating v4l-utils.spec config.status: creating lib/libv4lconvert/libv4lconvert.pc config.status: creating lib/libv4l1/libv4l1.pc config.status: creating lib/libv4l2/libv4l2.pc config.status: creating lib/libdvbv5/libdvbv5.pc config.status: creating lib/libv4l2rds/libv4l2rds.pc config.status: creating utils/media-ctl/libmediactl.pc config.status: creating utils/media-ctl/libv4l2subdev.pc config.status: creating lib/include/libdvbv5/libdvb-version.h config.status: creating utils/qv4l2/qv4l2.1 config.status: creating utils/qvidcap/qvidcap.1 config.status: creating utils/v4l2-compliance/v4l2-compliance.1 config.status: creating utils/v4l2-ctl/v4l2-ctl.1 config.status: creating utils/keytable/ir-keytable.1 config.status: creating utils/keytable/rc_keymap.5 config.status: creating utils/ir-ctl/ir-ctl.1 config.status: creating utils/dvb/dvb-fe-tool.1 config.status: creating utils/dvb/dvbv5-scan.1 config.status: creating utils/dvb/dvb-format-convert.1 config.status: creating utils/dvb/dvbv5-zap.1 config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating v4l-utils-po/POTFILES config.status: creating v4l-utils-po/Makefile config.status: creating libdvbv5-po/POTFILES config.status: creating libdvbv5-po/Makefile configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6 compile time options summary ============================ Host OS : linux-gnueabi X11 : no GL : no glu : no libelf : yes libjpeg : yes libudev : no pthread : yes QT version : none ALSA support : yes SDL support : no build dynamic libs : yes build static libs : no gconv : no dynamic libv4l : yes v4l_plugins : yes v4l_wrappers : yes libdvbv5 : no dvbv5-daemon : no v4lutils : yes qv4l2 : no qvidcap : no v4l2-ctl uses libv4l : yes v4l2-ctl-32 : no v4l2-compliance : yes v4l2-compliance uses libv4l: yes v4l2-compliance-32 : no BPF IR Decoders: : no >>> libv4l 1.22.1 Building 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:/sbin:/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-2/output-1/build/libv4l-1.22.1/ make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/libv4l-1.22.1' /usr/bin/make --no-print-directory all-recursive Making all in v4l-utils-po make[3]: Nothing to be done for 'all'. Making all in libdvbv5-po make[3]: Nothing to be done for 'all'. Making all in lib Making all in libv4lconvert CC ov511-decomp.o CC ov518-decomp.o CC libv4lconvert_la-libv4lconvert.lo CC libv4lconvert_la-tinyjpeg.lo CC libv4lconvert_la-sn9c10x.lo CC libv4lconvert_la-sn9c20x.lo CC libv4lconvert_la-pac207.lo CC libv4lconvert_la-mr97310a.lo CC libv4lconvert_la-flip.lo CC libv4lconvert_la-crop.lo CC libv4lconvert_la-jidctflt.lo CC libv4lconvert_la-spca561-decompress.lo CC libv4lconvert_la-rgbyuv.lo CC libv4lconvert_la-sn9c2028-decomp.lo CC libv4lconvert_la-spca501.lo CC libv4lconvert_la-sq905c.lo CC libv4lconvert_la-bayer.lo CC libv4lconvert_la-hm12.lo CC libv4lconvert_la-stv0680.lo CC libv4lconvert_la-cpia1.lo CC libv4lconvert_la-se401.lo CC libv4lconvert_la-jpgl.lo CC libv4lconvert_la-jpeg.lo CC libv4lconvert_la-jl2005bcd.lo CC libv4lconvert_la-jpeg_memsrcdest.lo jpeg.c: In function 'init_libjpeg_cinfo': jpeg.c:162:2: warning: passing argument 3 of 'jpeg_mem_dest' from incompatible pointer type [enabled by default] jpeg_mem_dest(&cinfo, &jpeg_header, &jpeg_header_size); ^ In file included from libv4lconvert-priv.h:31:0, from jpeg.c:26: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/jpeglib.h:979:14: note: expected 'size_t *' but argument is of type 'long unsigned int *' EXTERN(void) jpeg_mem_dest JPP((j_compress_ptr cinfo, ^ CC libv4lconvert_la-helper.lo jl2005bcd.c: In function 'v4lconvert_decode_jl2005bcd': jl2005bcd.c:99:2: warning: passing argument 3 of 'jpeg_mem_dest' from incompatible pointer type [enabled by default] jpeg_mem_dest (&cinfo, &jpeg_header, &jpeg_header_size); ^ In file included from libv4lconvert-priv.h:31:0, from jl2005bcd.c:35: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/jpeglib.h:979:14: note: expected 'size_t *' but argument is of type 'long unsigned int *' EXTERN(void) jpeg_mem_dest JPP((j_compress_ptr cinfo, ^ CCLD ov511-decomp CCLD ov518-decomp CC control/libv4lconvert_la-libv4lcontrol.lo CC processing/libv4lconvert_la-libv4lprocessing.lo CC processing/libv4lconvert_la-whitebalance.lo CC processing/libv4lconvert_la-autogain.lo control/libv4lcontrol.c: In function 'v4lcontrol_create': control/libv4lcontrol.c:728:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(shm_fd, V4LCONTROL_SHM_SIZE); ^ CC processing/libv4lconvert_la-gamma.lo CCLD libv4lconvert.la Making all in libv4l2 CC libv4l2_la-libv4l2.lo CC libv4l2_la-log.lo CC v4l2convert_la-v4l2convert.lo CC libv4l2_la-v4l2-plugin.lo CCLD libv4l2.la CCLD v4l2convert.la Making all in libv4l1 CC libv4l1_la-libv4l1.lo CC v4l1compat_la-v4l1compat.lo CC libv4l1_la-log.lo CCLD libv4l1.la CCLD v4l1compat.la Making all in libv4l2rds CC libv4l2rds_la-libv4l2rds.lo CCLD libv4l2rds.la Making all in libv4l-mplane CC libv4l_mplane_la-libv4l-mplane.lo CCLD libv4l-mplane.la make[4]: Nothing to be done for 'all-am'. Making all in utils Making all in libv4l2util CC libv4l2util_la-frequencies.lo CC libv4l2util_la-v4l2_driver.lo CCLD libv4l2util.la Making all in libmedia_dev CC libmedia_dev_la-get_media_devices.lo CCLD libmedia_dev.la Making all in ivtv-ctl CC ivtv-ctl.o CCLD ivtv-ctl Making all in ir-ctl CC ir-ctl.o CC ir-encode.o CC toml.o CC keymap.o CC bpf_encoder.o CCLD ir-ctl Making all in cx18-ctl CC cx18-ctl.o CCLD cx18-ctl Making all in keytable CC ir_keytable-keytable.o CC ir_keytable-ir-encode.o CC ir_keytable-toml.o CC ir_keytable-keymap.o CCLD ir-keytable Making all in media-ctl GEN media-bus-format-names.h GEN media-bus-format-codes.h /usr/bin/make all-am CC media_ctl-media-ctl.o CC media_ctl-options.o CC libmediactl_la-libmediactl.lo CC libv4l2subdev_la-libv4l2subdev.lo libv4l2subdev.c: In function 'v4l2_subdev_parse_setup_formats': libv4l2subdev.c:838:8: warning: 'end' may be used uninitialized in this function [-Wmaybe-uninitialized] char *end; ^ CCLD libmediactl.la CCLD libv4l2subdev.la CCLD media-ctl Making all in v4l2-ctl GEN media-bus-format-names.h /usr/bin/make all-am CXX v4l2_ctl-v4l2-ctl.o CXX v4l2_ctl-v4l2-ctl-common.o CXX v4l2_ctl-v4l2-ctl-tuner.o CXX v4l2_ctl-v4l2-ctl-io.o v4l2-ctl.cpp:53:2: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat] {"list-audio-inputs", no_argument, nullptr, OptListAudioInputs}, ^ v4l2-ctl.cpp:526:2: warning: identifier 'constexpr' is a keyword in C++11 [-Wc++0x-compat] static constexpr const char *types[] = { ^ v4l2-ctl-io.cpp:66:4: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat] input = strtol(optarg, nullptr, 0); ^ v4l2-ctl-tuner.cpp:160:3: warning: identifier 'constexpr' is a keyword in C++11 [-Wc++0x-compat] static constexpr const char *subopts[] = { ^ v4l2-ctl-tuner.cpp:166:4: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat] nullptr ^ v4l2-ctl-common.cpp:127:2: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat] nullptr ^ v4l2-ctl.cpp:53:37: error: 'nullptr' was not declared in this scope {"list-audio-inputs", no_argument, nullptr, OptListAudioInputs}, ^ v4l2-ctl.cpp:54:38: error: 'nullptr' was not declared in this scope {"list-audio-outputs", no_argument, nullptr, OptListAudioOutputs}, ^ v4l2-ctl.cpp:55:23: error: 'nullptr' was not declared in this scope {"all", no_argument, nullptr, OptAll}, ^ v4l2-ctl.cpp:56:32: error: 'nullptr' was not declared in this scope {"device", required_argument, nullptr, OptSetDevice}, ^ v4l2-ctl.cpp:57:36: error: 'nullptr' was not declared in this scope {"out-device", required_argument, nullptr, OptSetOutDevice}, ^ v4l2-ctl.cpp:58:39: error: 'nullptr' was not declared in this scope {"export-device", required_argument, nullptr, OptSetExportDevice}, ^ v4l2-ctl.cpp:59:40: error: 'nullptr' was not declared in this scope {"media-bus-info", required_argument, nullptr, OptMediaBusInfo}, ^ v4l2-ctl.cpp:60:33: error: 'nullptr' was not declared in this scope {"get-fmt-video", no_argument, nullptr, OptGetVideoFormat}, ^ v4l2-ctl.cpp:61:39: error: 'nullptr' was not declared in this scope {"set-fmt-video", required_argument, nullptr, OptSetVideoFormat}, ^ v4l2-ctl.cpp:62:39: error: 'nullptr' was not declared in this scope {"try-fmt-video", required_argument, nullptr, OptTryVideoFormat}, ^ v4l2-ctl.cpp:63:37: error: 'nullptr' was not declared in this scope {"get-fmt-video-out", no_argument, nullptr, OptGetVideoOutFormat}, ^ v4l2-ctl.cpp:64:43: error: 'nullptr' was not declared in this scope {"set-fmt-video-out", required_argument, nullptr, OptSetVideoOutFormat}, ^ v4l2-ctl.cpp:65:43: error: 'nullptr' was not declared in this scope {"try-fmt-video-out", required_argument, nullptr, OptTryVideoOutFormat}, ^ v4l2-ctl.cpp:66:24: error: 'nullptr' was not declared in this scope {"help", no_argument, nullptr, OptHelp}, ^ v4l2-ctl.cpp:67:30: error: 'nullptr' was not declared in this scope {"help-tuner", no_argument, nullptr, OptHelpTuner}, ^ v4l2-ctl.cpp:68:27: error: 'nullptr' was not declared in this scope {"help-io", no_argument, nullptr, OptHelpIO}, ^ v4l2-ctl.cpp:69:29: error: 'nullptr' was not declared in this scope {"help-stds", no_argument, nullptr, OptHelpStds}, ^ v4l2-ctl.cpp:70:31: error: 'nullptr' was not declared in this scope {"help-vidcap", no_argument, nullptr, OptHelpVidCap}, ^ v4l2-ctl.cpp:71:31: error: 'nullptr' was not declared in this scope {"help-vidout", no_argument, nullptr, OptHelpVidOut}, ^ v4l2-ctl.cpp:72:32: error: 'nullptr' was not declared in this scope {"help-overlay", no_argument, nullptr, OptHelpOverlay}, ^ v4l2-ctl.cpp:73:28: error: 'nullptr' was not declared in this scope {"help-vbi", no_argument, nullptr, OptHelpVbi}, ^ v4l2-ctl.cpp:74:28: error: 'nullptr' was not declared in this scope {"help-sdr", no_argument, nullptr, OptHelpSdr}, ^ v4l2-ctl.cpp:75:29: error: 'nullptr' was not declared in this scope {"help-meta", no_argument, nullptr, OptHelpMeta}, ^ v4l2-ctl.cpp:76:31: error: 'nullptr' was not declared in this scope {"help-subdev", no_argument, nullptr, OptHelpSubDev}, ^ v4l2-ctl.cpp:77:34: error: 'nullptr' was not declared in this scope {"help-selection", no_argument, nullptr, OptHelpSelection}, ^ v4l2-ctl.cpp:78:29: error: 'nullptr' was not declared in this scope {"help-misc", no_argument, nullptr, OptHelpMisc}, ^ v4l2-ctl.cpp:79:34: error: 'nullptr' was not declared in this scope {"help-streaming", no_argument, nullptr, OptHelpStreaming}, ^ v4l2-ctl.cpp:80:29: error: 'nullptr' was not declared in this scope {"help-edid", no_argument, nullptr, OptHelpEdid}, ^ v4l2-ctl.cpp:81:28: error: 'nullptr' was not declared in this scope {"help-all", no_argument, nullptr, OptHelpAll}, ^ v4l2-ctl.cpp:83:27: error: 'nullptr' was not declared in this scope {"wrapper", no_argument, nullptr, OptUseWrapper}, ^ v4l2-ctl.cpp:85:27: error: 'nullptr' was not declared in this scope {"concise", no_argument, nullptr, OptConcise}, ^ v4l2-ctl.cpp:86:30: error: 'nullptr' was not declared in this scope {"get-output", no_argument, nullptr, OptGetOutput}, ^ v4l2-ctl.cpp:87:36: error: 'nullptr' was not declared in this scope {"set-output", required_argument, nullptr, OptSetOutput}, ^ v4l2-ctl.cpp:88:32: error: 'nullptr' was not declared in this scope {"list-outputs", no_argument, nullptr, OptListOutputs}, ^ v4l2-ctl.cpp:89:31: error: 'nullptr' was not declared in this scope {"list-inputs", no_argument, nullptr, OptListInputs}, ^ v4l2-ctl.cpp:90:29: error: 'nullptr' was not declared in this scope {"get-input", no_argument, nullptr, OptGetInput}, ^ v4l2-ctl.cpp:91:35: error: 'nullptr' was not declared in this scope {"set-input", required_argument, nullptr, OptSetInput}, ^ v4l2-ctl.cpp:92:35: error: 'nullptr' was not declared in this scope {"get-audio-input", no_argument, nullptr, OptGetAudioInput}, ^ v4l2-ctl.cpp:93:41: error: 'nullptr' was not declared in this scope {"set-audio-input", required_argument, nullptr, OptSetAudioInput}, ^ v4l2-ctl.cpp:94:36: error: 'nullptr' was not declared in this scope {"get-audio-output", no_argument, nullptr, OptGetAudioOutput}, ^ v4l2-ctl.cpp:95:42: error: 'nullptr' was not declared in this scope {"set-audio-output", required_argument, nullptr, OptSetAudioOutput}, ^ v4l2-ctl.cpp:96:28: error: 'nullptr' was not declared in this scope {"get-freq", no_argument, nullptr, OptGetFreq}, ^ v4l2-ctl.cpp:97:34: error: 'nullptr' was not declared in this scope {"set-freq", required_argument, nullptr, OptSetFreq}, ^ v4l2-ctl.cpp:98:34: error: 'nullptr' was not declared in this scope {"list-standards", no_argument, nullptr, OptListStandards}, ^ v4l2-ctl.cpp:99:38: error: 'nullptr' was not declared in this scope {"list-formats", optional_argument, nullptr, OptListFormats}, ^ v4l2-ctl.cpp:100:42: error: 'nullptr' was not declared in this scope {"list-formats-ext", optional_argument, nullptr, OptListFormatsExt}, ^ v4l2-ctl.cpp:101:31: error: 'nullptr' was not declared in this scope {"list-fields", no_argument, nullptr, OptListFields}, ^ v4l2-ctl.cpp:102:41: error: 'nullptr' was not declared in this scope {"list-framesizes", required_argument, nullptr, OptListFrameSizes}, ^ v4l2-ctl.cpp:103:45: error: 'nullptr' was not declared in this scope {"list-frameintervals", required_argument, nullptr, OptListFrameIntervals}, ^ v4l2-ctl.cpp:104:40: error: 'nullptr' was not declared in this scope {"list-formats-overlay", no_argument, nullptr, OptListOverlayFormats}, ^ v4l2-ctl.cpp:105:36: error: 'nullptr' was not declared in this scope {"list-formats-sdr", no_argument, nullptr, OptListSdrFormats}, ^ v4l2-ctl.cpp:106:40: error: 'nullptr' was not declared in this scope {"list-formats-sdr-out", no_argument, nullptr, OptListSdrOutFormats}, ^ v4l2-ctl.cpp:107:42: error: 'nullptr' was not declared in this scope {"list-formats-out", optional_argument, nullptr, OptListOutFormats}, ^ v4l2-ctl.cpp:108:46: error: 'nullptr' was not declared in this scope {"list-formats-out-ext", optional_argument, nullptr, OptListOutFormatsExt}, ^ v4l2-ctl.cpp:109:43: error: 'nullptr' was not declared in this scope {"list-formats-meta", optional_argument, nullptr, OptListMetaFormats}, ^ v4l2-ctl.cpp:110:47: error: 'nullptr' was not declared in this scope {"list-formats-meta-out", optional_argument, nullptr, OptListMetaOutFormats}, ^ v4l2-ctl.cpp:111:48: error: 'nullptr' was not declared in this scope {"list-subdev-mbus-codes", optional_argument, nullptr, OptListSubDevMBusCodes}, ^ v4l2-ctl.cpp:112:48: error: 'nullptr' was not declared in this scope {"list-subdev-framesizes", required_argument, nullptr, OptListSubDevFrameSizes}, ^ v4l2-ctl.cpp:113:52: error: 'nullptr' was not declared in this scope {"list-subdev-frameintervals", required_argument, nullptr, OptListSubDevFrameIntervals}, ^ v4l2-ctl.cpp:114:35: error: 'nullptr' was not declared in this scope {"list-fields-out", no_argument, nullptr, OptListOutFields}, ^ v4l2-ctl.cpp:115:31: error: 'nullptr' was not declared in this scope {"clear-clips", no_argument, nullptr, OptClearClips}, ^ v4l2-ctl.cpp:116:32: error: 'nullptr' was not declared in this scope {"clear-bitmap", no_argument, nullptr, OptClearBitmap}, ^ v4l2-ctl.cpp:117:34: error: 'nullptr' was not declared in this scope {"add-clip", required_argument, nullptr, OptAddClip}, ^ v4l2-ctl.cpp:118:36: error: 'nullptr' was not declared in this scope {"add-bitmap", required_argument, nullptr, OptAddBitmap}, ^ v4l2-ctl.cpp:119:27: error: 'nullptr' was not declared in this scope {"find-fb", no_argument, nullptr, OptFindFb}, ^ v4l2-ctl.cpp:120:32: error: 'nullptr' was not declared in this scope {"subset", required_argument, nullptr, OptSubset}, ^ v4l2-ctl.cpp:121:32: error: 'nullptr' was not declared in this scope {"get-standard", no_argument, nullptr, OptGetStandard}, ^ v4l2-ctl.cpp:122:38: error: 'nullptr' was not declared in this scope {"set-standard", required_argument, nullptr, OptSetStandard}, ^ v4l2-ctl.cpp:123:41: error: 'nullptr' was not declared in this scope {"get-detected-standard", no_argument, nullptr, OptQueryStandard}, ^ v4l2-ctl.cpp:124:28: error: 'nullptr' was not declared in this scope {"get-parm", no_argument, nullptr, OptGetParm}, ^ v4l2-ctl.cpp:125:34: error: 'nullptr' was not declared in this scope {"set-parm", required_argument, nullptr, OptSetParm}, ^ v4l2-ctl.cpp:126:35: error: 'nullptr' was not declared in this scope {"get-output-parm", no_argument, nullptr, OptGetOutputParm}, ^ v4l2-ctl.cpp:127:41: error: 'nullptr' was not declared in this scope {"set-output-parm", required_argument, nullptr, OptSetOutputParm}, ^ v4l2-ctl.cpp:128:24: error: 'nullptr' was not declared in this scope {"info", no_argument, nullptr, OptGetDriverInfo}, ^ v4l2-ctl.cpp:129:30: error: 'nullptr' was not declared in this scope {"list-ctrls", no_argument, nullptr, OptListCtrls}, ^ v4l2-ctl.cpp:130:36: error: 'nullptr' was not declared in this scope {"list-ctrls-menus", no_argument, nullptr, OptListCtrlsMenus}, ^ v4l2-ctl.cpp:131:34: error: 'nullptr' was not declared in this scope {"set-ctrl", required_argument, nullptr, OptSetCtrl}, ^ v4l2-ctl.cpp:132:34: error: 'nullptr' was not declared in this scope {"get-ctrl", required_argument, nullptr, OptGetCtrl}, ^ v4l2-ctl.cpp:133:29: error: 'nullptr' was not declared in this scope {"get-tuner", no_argument, nullptr, OptGetTuner}, ^ v4l2-ctl.cpp:134:35: error: 'nullptr' was not declared in this scope {"set-tuner", required_argument, nullptr, OptSetTuner}, ^ v4l2-ctl.cpp:135:35: error: 'nullptr' was not declared in this scope {"list-freq-bands", no_argument, nullptr, OptListFreqBands}, ^ v4l2-ctl.cpp:136:26: error: 'nullptr' was not declared in this scope {"silent", no_argument, nullptr, OptSilent}, ^ v4l2-ctl.cpp:137:27: error: 'nullptr' was not declared in this scope {"verbose", no_argument, nullptr, OptVerbose}, ^ v4l2-ctl.cpp:138:30: error: 'nullptr' was not declared in this scope {"log-status", no_argument, nullptr, OptLogStatus}, ^ v4l2-ctl.cpp:139:35: error: 'nullptr' was not declared in this scope {"get-fmt-overlay", no_argument, nullptr, OptGetOverlayFormat}, ^ v4l2-ctl.cpp:140:41: error: 'nullptr' was not declared in this scope {"set-fmt-overlay", optional_argument, nullptr, OptSetOverlayFormat}, ^ v4l2-ctl.cpp:141:41: error: 'nullptr' was not declared in this scope {"try-fmt-overlay", optional_argument, nullptr, OptTryOverlayFormat}, ^ v4l2-ctl.cpp:142:38: error: 'nullptr' was not declared in this scope {"get-fmt-sliced-vbi", no_argument, nullptr, OptGetSlicedVbiFormat}, ^ v4l2-ctl.cpp:143:44: error: 'nullptr' was not declared in this scope {"set-fmt-sliced-vbi", required_argument, nullptr, OptSetSlicedVbiFormat}, ^ v4l2-ctl.cpp:144:44: error: 'nullptr' was not declared in this scope {"try-fmt-sliced-vbi", required_argument, nullptr, OptTrySlicedVbiFormat}, ^ v4l2-ctl.cpp:145:42: error: 'nullptr' was not declared in this scope {"get-fmt-sliced-vbi-out", no_argument, nullptr, OptGetSlicedVbiOutFormat}, ^ v4l2-ctl.cpp:146:48: error: 'nullptr' was not declared in this scope {"set-fmt-sliced-vbi-out", required_argument, nullptr, OptSetSlicedVbiOutFormat}, ^ v4l2-ctl.cpp:147:48: error: 'nullptr' was not declared in this scope {"try-fmt-sliced-vbi-out", required_argument, nullptr, OptTrySlicedVbiOutFormat}, ^ v4l2-ctl.cpp:148:31: error: 'nullptr' was not declared in this scope {"get-fmt-vbi", no_argument, nullptr, OptGetVbiFormat}, ^ v4l2-ctl.cpp:149:37: error: 'nullptr' was not declared in this scope {"set-fmt-vbi", required_argument, nullptr, OptSetVbiFormat}, ^ v4l2-ctl.cpp:150:37: error: 'nullptr' was not declared in this scope {"try-fmt-vbi", required_argument, nullptr, OptTryVbiFormat}, ^ v4l2-ctl.cpp:151:35: error: 'nullptr' was not declared in this scope {"get-fmt-vbi-out", no_argument, nullptr, OptGetVbiOutFormat}, ^ v4l2-ctl.cpp:152:41: error: 'nullptr' was not declared in this scope {"set-fmt-vbi-out", required_argument, nullptr, OptSetVbiOutFormat}, ^ v4l2-ctl.cpp:153:41: error: 'nullptr' was not declared in this scope {"try-fmt-vbi-out", required_argument, nullptr, OptTryVbiOutFormat}, ^ v4l2-ctl.cpp:154:31: error: 'nullptr' was not declared in this scope {"get-fmt-sdr", no_argument, nullptr, OptGetSdrFormat}, ^ v4l2-ctl.cpp:155:37: error: 'nullptr' was not declared in this scope {"set-fmt-sdr", required_argument, nullptr, OptSetSdrFormat}, ^ v4l2-ctl.cpp:156:37: error: 'nullptr' was not declared in this scope {"try-fmt-sdr", required_argument, nullptr, OptTrySdrFormat}, ^ v4l2-ctl.cpp:157:35: error: 'nullptr' was not declared in this scope {"get-fmt-sdr-out", no_argument, nullptr, OptGetSdrOutFormat}, ^ v4l2-ctl.cpp:158:41: error: 'nullptr' was not declared in this scope {"set-fmt-sdr-out", required_argument, nullptr, OptSetSdrOutFormat}, ^ v4l2-ctl.cpp:159:41: error: 'nullptr' was not declared in this scope {"try-fmt-sdr-out", required_argument, nullptr, OptTrySdrOutFormat}, ^ v4l2-ctl.cpp:160:32: error: 'nullptr' was not declared in this scope {"get-fmt-meta", no_argument, nullptr, OptGetMetaFormat}, ^ v4l2-ctl.cpp:161:38: error: 'nullptr' was not declared in this scope {"set-fmt-meta", required_argument, nullptr, OptSetMetaFormat}, ^ v4l2-ctl.cpp:162:38: error: 'nullptr' was not declared in this scope {"try-fmt-meta", required_argument, nullptr, OptTryMetaFormat}, ^ v4l2-ctl.cpp:163:36: error: 'nullptr' was not declared in this scope {"get-fmt-meta-out", no_argument, nullptr, OptGetMetaOutFormat}, ^ v4l2-ctl.cpp:164:42: error: 'nullptr' was not declared in this scope {"set-fmt-meta-out", required_argument, nullptr, OptSetMetaOutFormat}, ^ v4l2-ctl.cpp:165:42: error: 'nullptr' was not declared in this scope {"try-fmt-meta-out", required_argument, nullptr, OptTryMetaOutFormat}, ^ v4l2-ctl.cpp:166:40: error: 'nullptr' was not declared in this scope {"get-subdev-fmt", optional_argument, nullptr, OptGetSubDevFormat}, ^ v4l2-ctl.cpp:167:40: error: 'nullptr' was not declared in this scope {"set-subdev-fmt", required_argument, nullptr, OptSetSubDevFormat}, ^ v4l2-ctl.cpp:168:40: error: 'nullptr' was not declared in this scope {"try-subdev-fmt", required_argument, nullptr, OptTrySubDevFormat}, ^ v4l2-ctl.cpp:169:38: error: 'nullptr' was not declared in this scope {"get-sliced-vbi-cap", no_argument, nullptr, OptGetSlicedVbiCap}, ^ v4l2-ctl.cpp:170:42: error: 'nullptr' was not declared in this scope {"get-sliced-vbi-out-cap", no_argument, nullptr, OptGetSlicedVbiOutCap}, ^ v4l2-ctl.cpp:171:28: error: 'nullptr' was not declared in this scope {"get-fbuf", no_argument, nullptr, OptGetFBuf}, ^ v4l2-ctl.cpp:172:34: error: 'nullptr' was not declared in this scope {"set-fbuf", required_argument, nullptr, OptSetFBuf}, ^ v4l2-ctl.cpp:173:31: error: 'nullptr' was not declared in this scope {"get-cropcap", no_argument, nullptr, OptGetCropCap}, ^ v4l2-ctl.cpp:174:28: error: 'nullptr' was not declared in this scope {"get-crop", no_argument, nullptr, OptGetCrop}, ^ v4l2-ctl.cpp:175:34: error: 'nullptr' was not declared in this scope {"set-crop", required_argument, nullptr, OptSetCrop}, ^ v4l2-ctl.cpp:176:38: error: 'nullptr' was not declared in this scope {"get-cropcap-output", no_argument, nullptr, OptGetOutputCropCap}, ^ v4l2-ctl.cpp:177:35: error: 'nullptr' was not declared in this scope {"get-crop-output", no_argument, nullptr, OptGetOutputCrop}, ^ v4l2-ctl.cpp:178:41: error: 'nullptr' was not declared in this scope {"set-crop-output", required_argument, nullptr, OptSetOutputCrop}, ^ v4l2-ctl.cpp:179:39: error: 'nullptr' was not declared in this scope {"get-cropcap-overlay", no_argument, nullptr, OptGetOverlayCropCap}, ^ v4l2-ctl.cpp:180:36: error: 'nullptr' was not declared in this scope {"get-crop-overlay", no_argument, nullptr, OptGetOverlayCrop}, ^ v4l2-ctl.cpp:181:42: error: 'nullptr' was not declared in this scope {"set-crop-overlay", required_argument, nullptr, OptSetOverlayCrop}, ^ v4l2-ctl.cpp:182:46: error: 'nullptr' was not declared in this scope {"get-cropcap-output-overlay", no_argument, nullptr, OptGetOutputOverlayCropCap}, ^ v4l2-ctl.cpp:183:43: error: 'nullptr' was not declared in this scope {"get-crop-output-overlay", no_argument, nullptr, OptGetOutputOverlayCrop}, ^ v4l2-ctl.cpp:184:49: error: 'nullptr' was not declared in this scope {"set-crop-output-overlay", required_argument, nullptr, OptSetOutputOverlayCrop}, ^ v4l2-ctl.cpp:185:39: error: 'nullptr' was not declared in this scope {"get-selection", required_argument, nullptr, OptGetSelection}, ^ v4l2-ctl.cpp:186:39: error: 'nullptr' was not declared in this scope {"set-selection", required_argument, nullptr, OptSetSelection}, ^ v4l2-ctl.cpp:187:46: error: 'nullptr' was not declared in this scope {"get-selection-output", required_argument, nullptr, OptGetOutputSelection}, ^ v4l2-ctl.cpp:188:46: error: 'nullptr' was not declared in this scope {"set-selection-output", required_argument, nullptr, OptSetOutputSelection}, ^ v4l2-ctl.cpp:189:46: error: 'nullptr' was not declared in this scope {"get-subdev-selection", required_argument, nullptr, OptGetSubDevSelection}, ^ v4l2-ctl.cpp:190:46: error: 'nullptr' was not declared in this scope {"set-subdev-selection", required_argument, nullptr, OptSetSubDevSelection}, ^ v4l2-ctl.cpp:191:46: error: 'nullptr' was not declared in this scope {"try-subdev-selection", required_argument, nullptr, OptTrySubDevSelection}, ^ v4l2-ctl.cpp:192:40: error: 'nullptr' was not declared in this scope {"get-subdev-fps", optional_argument, nullptr, OptGetSubDevFPS}, ^ v4l2-ctl.cpp:193:40: error: 'nullptr' was not declared in this scope {"set-subdev-fps", required_argument, nullptr, OptSetSubDevFPS}, ^ v4l2-ctl.cpp:194:33: error: 'nullptr' was not declared in this scope {"get-jpeg-comp", no_argument, nullptr, OptGetJpegComp}, ^ v4l2-ctl.cpp:195:39: error: 'nullptr' was not declared in this scope {"set-jpeg-comp", required_argument, nullptr, OptSetJpegComp}, ^ v4l2-ctl.cpp:196:33: error: 'nullptr' was not declared in this scope {"get-modulator", no_argument, nullptr, OptGetModulator}, ^ v4l2-ctl.cpp:197:39: error: 'nullptr' was not declared in this scope {"set-modulator", required_argument, nullptr, OptSetModulator}, ^ v4l2-ctl.cpp:198:32: error: 'nullptr' was not declared in this scope {"get-priority", no_argument, nullptr, OptGetPriority}, ^ v4l2-ctl.cpp:199:38: error: 'nullptr' was not declared in this scope {"set-priority", required_argument, nullptr, OptSetPriority}, ^ v4l2-ctl.cpp:200:40: error: 'nullptr' was not declared in this scope {"wait-for-event", required_argument, nullptr, OptWaitForEvent}, ^ v4l2-ctl.cpp:201:40: error: 'nullptr' was not declared in this scope {"poll-for-event", required_argument, nullptr, OptPollForEvent}, ^ v4l2-ctl.cpp:202:41: error: 'nullptr' was not declared in this scope {"epoll-for-event", required_argument, nullptr, OptEPollForEvent}, ^ v4l2-ctl.cpp:203:33: error: 'nullptr' was not declared in this scope {"overlay", required_argument, nullptr, OptOverlay}, ^ v4l2-ctl.cpp:204:31: error: 'nullptr' was not declared in this scope {"sleep", required_argument, nullptr, OptSleep}, ^ v4l2-ctl.cpp:205:32: error: 'nullptr' was not declared in this scope {"list-devices", no_argument, nullptr, OptListDevices}, ^ v4l2-ctl.cpp:206:41: error: 'nullptr' was not declared in this scope {"list-dv-timings", optional_argument, nullptr, OptListDvTimings}, ^ v4l2-ctl.cpp:207:36: error: 'nullptr' was not declared in this scope {"query-dv-timings", no_argument, nullptr, OptQueryDvTimings}, ^ v4l2-ctl.cpp:208:34: error: 'nullptr' was not declared in this scope {"get-dv-timings", no_argument, nullptr, OptGetDvTimings}, ^ v4l2-ctl.cpp:209:43: error: 'nullptr' was not declared in this scope {"set-dv-bt-timings", required_argument, nullptr, OptSetDvBtTimings}, ^ v4l2-ctl.cpp:210:44: error: 'nullptr' was not declared in this scope {"get-dv-timings-cap", optional_argument, nullptr, OptGetDvTimingsCap}, ^ v4l2-ctl.cpp:211:35: error: 'nullptr' was not declared in this scope {"freq-seek", required_argument, nullptr, OptFreqSeek}, ^ v4l2-ctl.cpp:212:37: error: 'nullptr' was not declared in this scope {"encoder-cmd", required_argument, nullptr, OptEncoderCmd}, ^ v4l2-ctl.cpp:213:41: error: 'nullptr' was not declared in this scope {"try-encoder-cmd", required_argument, nullptr, OptTryEncoderCmd}, ^ v4l2-ctl.cpp:214:37: error: 'nullptr' was not declared in this scope {"decoder-cmd", required_argument, nullptr, OptDecoderCmd}, ^ v4l2-ctl.cpp:215:41: error: 'nullptr' was not declared in this scope {"try-decoder-cmd", required_argument, nullptr, OptTryDecoderCmd}, ^ v4l2-ctl.cpp:216:34: error: 'nullptr' was not declared in this scope {"set-edid", required_argument, nullptr, OptSetEdid}, ^ v4l2-ctl.cpp:217:36: error: 'nullptr' was not declared in this scope {"clear-edid", optional_argument, nullptr, OptClearEdid}, ^ v4l2-ctl.cpp:218:34: error: 'nullptr' was not declared in this scope {"get-edid", optional_argument, nullptr, OptGetEdid}, ^ v4l2-ctl.cpp:219:35: error: 'nullptr' was not declared in this scope {"info-edid", optional_argument, nullptr, OptInfoEdid}, ^ v4l2-ctl.cpp:220:35: error: 'nullptr' was not declared in this scope {"show-edid", required_argument, nullptr, OptShowEdid}, ^ v4l2-ctl.cpp:221:38: error: 'nullptr' was not declared in this scope {"fix-edid-checksums", no_argument, nullptr, OptFixEdidChecksums}, ^ v4l2-ctl.cpp:222:37: error: 'nullptr' was not declared in this scope {"tuner-index", required_argument, nullptr, OptTunerIndex}, ^ v4l2-ctl.cpp:223:32: error: 'nullptr' was not declared in this scope {"list-buffers", no_argument, nullptr, OptListBuffers}, ^ v4l2-ctl.cpp:224:36: error: 'nullptr' was not declared in this scope {"list-buffers-out", no_argument, nullptr, OptListBuffersOut}, ^ v4l2-ctl.cpp:225:36: error: 'nullptr' was not declared in this scope {"list-buffers-vbi", no_argument, nullptr, OptListBuffersVbi}, ^ v4l2-ctl.cpp:226:43: error: 'nullptr' was not declared in this scope {"list-buffers-sliced-vbi", no_argument, nullptr, OptListBuffersSlicedVbi}, ^ v4l2-ctl.cpp:227:40: error: 'nullptr' was not declared in this scope {"list-buffers-vbi-out", no_argument, nullptr, OptListBuffersVbiOut}, ^ v4l2-ctl.cpp:228:47: error: 'nullptr' was not declared in this scope {"list-buffers-sliced-vbi-out", no_argument, nullptr, OptListBuffersSlicedVbiOut}, ^ v4l2-ctl.cpp:229:36: error: 'nullptr' was not declared in this scope {"list-buffers-sdr", no_argument, nullptr, OptListBuffersSdr}, ^ v4l2-ctl.cpp:230:40: error: 'nullptr' was not declared in this scope {"list-buffers-sdr-out", no_argument, nullptr, OptListBuffersSdrOut}, ^ v4l2-ctl.cpp:231:37: error: 'nullptr' was not declared in this scope {"list-buffers-meta", no_argument, nullptr, OptListBuffersMeta}, ^ v4l2-ctl.cpp:232:41: error: 'nullptr' was not declared in this scope {"list-buffers-meta-out", no_argument, nullptr, OptListBuffersMetaOut}, ^ v4l2-ctl.cpp:233:38: error: 'nullptr' was not declared in this scope {"stream-count", required_argument, nullptr, OptStreamCount}, ^ v4l2-ctl.cpp:234:37: error: 'nullptr' was not declared in this scope {"stream-skip", required_argument, nullptr, OptStreamSkip}, ^ v4l2-ctl.cpp:235:31: error: 'nullptr' was not declared in this scope {"stream-loop", no_argument, nullptr, OptStreamLoop}, ^ v4l2-ctl.cpp:236:38: error: 'nullptr' was not declared in this scope {"stream-sleep", required_argument, nullptr, OptStreamSleep}, ^ v4l2-ctl.cpp:237:31: error: 'nullptr' was not declared in this scope {"stream-poll", no_argument, nullptr, OptStreamPoll}, ^ v4l2-ctl.cpp:238:35: error: 'nullptr' was not declared in this scope {"stream-no-query", no_argument, nullptr, OptStreamNoQuery}, ^ v4l2-ctl.cpp:240:35: error: 'nullptr' was not declared in this scope {"stream-to", required_argument, nullptr, OptStreamTo}, ^ v4l2-ctl.cpp:241:39: error: 'nullptr' was not declared in this scope {"stream-to-hdr", required_argument, nullptr, OptStreamToHdr}, ^ v4l2-ctl.cpp:242:35: error: 'nullptr' was not declared in this scope {"stream-lossless", no_argument, nullptr, OptStreamLossless}, ^ v4l2-ctl.cpp:243:40: error: 'nullptr' was not declared in this scope {"stream-to-host", required_argument, nullptr, OptStreamToHost}, ^ v4l2-ctl.cpp:245:35: error: 'nullptr' was not declared in this scope {"stream-buf-caps", no_argument, nullptr, OptStreamBufCaps}, ^ v4l2-ctl.cpp:246:41: error: 'nullptr' was not declared in this scope {"stream-show-delta-now", no_argument, nullptr, OptStreamShowDeltaNow}, ^ v4l2-ctl.cpp:247:37: error: 'nullptr' was not declared in this scope {"stream-mmap", optional_argument, nullptr, OptStreamMmap}, ^ v4l2-ctl.cpp:248:37: error: 'nullptr' was not declared in this scope {"stream-user", optional_argument, nullptr, OptStreamUser}, ^ v4l2-ctl.cpp:249:33: error: 'nullptr' was not declared in this scope {"stream-dmabuf", no_argument, nullptr, OptStreamDmaBuf}, ^ v4l2-ctl.cpp:250:37: error: 'nullptr' was not declared in this scope {"stream-from", required_argument, nullptr, OptStreamFrom}, ^ v4l2-ctl.cpp:251:41: error: 'nullptr' was not declared in this scope {"stream-from-hdr", required_argument, nullptr, OptStreamFromHdr}, ^ v4l2-ctl.cpp:252:42: error: 'nullptr' was not declared in this scope {"stream-from-host", required_argument, nullptr, OptStreamFromHost}, ^ v4l2-ctl.cpp:253:44: error: 'nullptr' was not declared in this scope {"stream-out-pattern", required_argument, nullptr, OptStreamOutPattern}, ^ v4l2-ctl.cpp:254:37: error: 'nullptr' was not declared in this scope {"stream-out-square", no_argument, nullptr, OptStreamOutSquare}, ^ v4l2-ctl.cpp:255:37: error: 'nullptr' was not declared in this scope {"stream-out-border", no_argument, nullptr, OptStreamOutBorder}, ^ v4l2-ctl.cpp:256:34: error: 'nullptr' was not declared in this scope {"stream-out-sav", no_argument, nullptr, OptStreamOutInsertSAV}, ^ v4l2-ctl.cpp:257:34: error: 'nullptr' was not declared in this scope {"stream-out-eav", no_argument, nullptr, OptStreamOutInsertEAV}, ^ v4l2-ctl.cpp:258:49: error: 'nullptr' was not declared in this scope {"stream-out-pixel-aspect", required_argument, nullptr, OptStreamOutPixelAspect}, ^ v4l2-ctl.cpp:259:49: error: 'nullptr' was not declared in this scope {"stream-out-video-aspect", required_argument, nullptr, OptStreamOutVideoAspect}, ^ v4l2-ctl.cpp:260:42: error: 'nullptr' was not declared in this scope {"stream-out-alpha", required_argument, nullptr, OptStreamOutAlphaComponent}, ^ v4l2-ctl.cpp:261:45: error: 'nullptr' was not declared in this scope {"stream-out-alpha-red-only", no_argument, nullptr, OptStreamOutAlphaRedOnly}, ^ v4l2-ctl.cpp:262:50: error: 'nullptr' was not declared in this scope {"stream-out-rgb-lim-range", required_argument, nullptr, OptStreamOutRGBLimitedRange}, ^ v4l2-ctl.cpp:263:46: error: 'nullptr' was not declared in this scope {"stream-out-hor-speed", required_argument, nullptr, OptStreamOutHorSpeed}, ^ v4l2-ctl.cpp:264:47: error: 'nullptr' was not declared in this scope {"stream-out-vert-speed", required_argument, nullptr, OptStreamOutVertSpeed}, ^ v4l2-ctl.cpp:265:46: error: 'nullptr' was not declared in this scope {"stream-out-perc-fill", required_argument, nullptr, OptStreamOutPercFill}, ^ v4l2-ctl.cpp:266:39: error: 'nullptr' was not declared in this scope {"stream-out-buf-caps", no_argument, nullptr, OptStreamOutBufCaps}, ^ v4l2-ctl.cpp:267:41: error: 'nullptr' was not declared in this scope {"stream-out-mmap", optional_argument, nullptr, OptStreamOutMmap}, ^ v4l2-ctl.cpp:268:41: error: 'nullptr' was not declared in this scope {"stream-out-user", optional_argument, nullptr, OptStreamOutUser}, ^ v4l2-ctl.cpp:269:37: error: 'nullptr' was not declared in this scope {"stream-out-dmabuf", no_argument, nullptr, OptStreamOutDmaBuf}, ^ v4l2-ctl.cpp:270:33: error: 'nullptr' was not declared in this scope {"list-patterns", no_argument, nullptr, OptListPatterns}, ^ v4l2-ctl.cpp:271:27: error: 'nullptr' was not declared in this scope {"version", no_argument, nullptr, OptVersion}, ^ v4l2-ctl.cpp:272:3: error: 'nullptr' was not declared in this scope {nullptr, 0, nullptr, 0} ^ v4l2-ctl.cpp:272:15: error: 'nullptr' was not declared in this scope {nullptr, 0, nullptr, 0} ^ v4l2-ctl-io.cpp: In function 'void io_cmd(int, char*)': v4l2-ctl-io.cpp:66:27: error: 'nullptr' was not declared in this scope input = strtol(optarg, nullptr, 0); ^ v4l2-ctl.cpp: In function 'void printfmt(int, const v4l2_format&)': v4l2-ctl.cpp:471:4: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto bitmap = static_cast(vfmt.fmt.win.bitmap); ^ v4l2-ctl.cpp:471:9: error: 'bitmap' does not name a type auto bitmap = static_cast(vfmt.fmt.win.bitmap); ^ v4l2-ctl.cpp:477:10: error: 'bitmap' was not declared in this scope if (bitmap[y * stride + x / 8] & (1 << (x & 7))) ^ v4l2-ctl.cpp: In function 'std::string frmtype2s(unsigned int)': v4l2-ctl.cpp:526:9: error: 'constexpr' does not name a type static constexpr const char *types[] = { ^ v4l2-ctl.cpp:526:9: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 v4l2-ctl.cpp:535:9: error: 'types' was not declared in this scope return types[type]; ^ v4l2-ctl-tuner.cpp: In function 'void parse_freq_seek(char*, v4l2_hw_freq_seek&)': v4l2-ctl-tuner.cpp:160:10: error: 'constexpr' does not name a type static constexpr const char *subopts[] = { ^ v4l2-ctl-tuner.cpp:160:10: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 v4l2-ctl-tuner.cpp:169:31: error: 'subopts' was not declared in this scope switch (parse_subopt(&subs, subopts, &value)) { ^ v4l2-ctl-tuner.cpp:171:37: error: 'nullptr' was not declared in this scope seek.seek_upward = strtol(value, nullptr, 0); ^ v4l2-ctl-tuner.cpp:187:4: error: 'exit' is not a member of 'std' std::exit(EXIT_FAILURE); ^ v4l2-ctl-tuner.cpp:187:4: note: suggested alternative: In file included from ../../utils/common/v4l-helpers.h:14:0, from ../../utils/common/cv4l-helpers.h:13, from v4l2-ctl.h:25, from v4l2-ctl-tuner.cpp:3: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:543:13: note: 'exit' extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ v4l2-ctl-tuner.cpp: In function 'void tuner_cmd(int, char*)': v4l2-ctl-tuner.cpp:196:25: error: 'nullptr' was not declared in this scope freq = strtod(optarg, nullptr); ^ v4l2-ctl-tuner.cpp:212:4: error: 'exit' is not a member of 'std' std::exit(EXIT_FAILURE); ^ v4l2-ctl-tuner.cpp:212:4: note: suggested alternative: v4l2-ctl.cpp: In function 'int parse_subopt(char**, const char* const*, char**)': v4l2-ctl.cpp:672:16: error: 'nullptr' was not declared in this scope if (*value == nullptr) { ^ In file included from ../../utils/common/v4l-helpers.h:14:0, from ../../utils/common/cv4l-helpers.h:13, from v4l2-ctl.h:25, from v4l2-ctl-tuner.cpp:3: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:543:13: note: 'exit' extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ v4l2-ctl-tuner.cpp:234:4: error: 'exit' is not a member of 'std' std::exit(EXIT_FAILURE); ^ v4l2-ctl-tuner.cpp:234:4: note: suggested alternative: In file included from ../../utils/common/v4l-helpers.h:14:0, from ../../utils/common/cv4l-helpers.h:13, from v4l2-ctl.h:25, from v4l2-ctl-tuner.cpp:3: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:543:13: note: 'exit' extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ v4l2-ctl.cpp: In function 'int parse_fmt(char*, __u32&, __u32&, __u32&, __u32&, __u32&, __u32&, __u32&, __u32&, __u32&, __u32*, __u32*)': v4l2-ctl.cpp:767:10: error: 'constexpr' does not name a type static constexpr const char *subopts[] = { ^ v4l2-ctl.cpp:767:10: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 v4l2-ctl.cpp:783:31: error: 'subopts' was not declared in this scope switch (parse_subopt(&subs, subopts, &value)) { ^ v4l2-ctl.cpp:785:27: error: 'nullptr' was not declared in this scope width = strtoul(value, nullptr, 0); ^ v4l2-ctl.cpp:804:5: error: 'exit' is not a member of 'std' std::exit(EXIT_FAILURE); ^ v4l2-ctl.cpp:804:5: note: suggested alternative: In file included from ../../utils/common/v4l-helpers.h:14:0, from ../../utils/common/cv4l-helpers.h:13, from v4l2-ctl.h:25, from v4l2-ctl.cpp:31: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:543:13: note: 'exit' extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ Makefile:825: recipe for target 'v4l2_ctl-v4l2-ctl-io.o' failed make[5]: *** [v4l2_ctl-v4l2-ctl-io.o] Error 1 make[5]: *** Waiting for unfinished jobs.... v4l2-ctl.cpp: In function '__u32 parse_event(const char*, const char**)': v4l2-ctl.cpp:936:22: error: 'nullptr' was not declared in this scope event = strtoul(e, nullptr, 0); ^ v4l2-ctl.cpp:940:4: error: 'exit' is not a member of 'std' std::exit(EXIT_FAILURE); ^ v4l2-ctl.cpp:940:4: note: suggested alternative: In file included from ../../utils/common/v4l-helpers.h:14:0, from ../../utils/common/cv4l-helpers.h:13, from v4l2-ctl.h:25, from v4l2-ctl.cpp:31: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:543:13: note: 'exit' extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ v4l2-ctl.cpp:963:3: error: 'exit' is not a member of 'std' std::exit(EXIT_FAILURE); ^ v4l2-ctl.cpp:963:3: note: suggested alternative: In file included from ../../utils/common/v4l-helpers.h:14:0, from ../../utils/common/cv4l-helpers.h:13, from v4l2-ctl.h:25, from v4l2-ctl.cpp:31: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:543:13: note: 'exit' extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ v4l2-ctl.cpp: In function 'int open_media_bus_info(const string&)': v4l2-ctl.cpp:1010:12: error: 'nullptr' was not declared in this scope if (dp == nullptr) ^ v4l2-ctl.cpp: In function 'const char* make_devname(const char*, const char*, const string&)': v4l2-ctl.cpp:1057:2: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto ents = new media_v2_entity[topology.num_entities]; ^ v4l2-ctl.cpp:1057:7: error: 'ents' does not name a type auto ents = new media_v2_entity[topology.num_entities]; ^ v4l2-ctl.cpp:1058:37: error: 'ents' was not declared in this scope topology.ptr_entities = (uintptr_t)ents; ^ v4l2-ctl.cpp:1059:2: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto links = new media_v2_link[topology.num_links]; ^ v4l2-ctl.cpp:1059:7: error: 'links' does not name a type auto links = new media_v2_link[topology.num_links]; ^ v4l2-ctl.cpp:1060:34: error: 'links' was not declared in this scope topology.ptr_links = (uintptr_t)links; ^ v4l2-ctl.cpp:1061:2: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto ifaces = new media_v2_interface[topology.num_interfaces]; ^ v4l2-ctl.cpp:1061:7: error: 'ifaces' does not name a type auto ifaces = new media_v2_interface[topology.num_interfaces]; ^ v4l2-ctl.cpp:1062:39: error: 'ifaces' was not declared in this scope topology.ptr_interfaces = (uintptr_t)ifaces; ^ v4l2-ctl.cpp:1070:30: error: 'nullptr' was not declared in this scope iface_id = strtoul(device, nullptr, 16); ^ v4l2-ctl.cpp:1100:12: error: type '' argument given to 'delete', expected pointer delete [] ents; ^ v4l2-ctl.cpp:1101:12: error: type '' argument given to 'delete', expected pointer delete [] links; ^ v4l2-ctl.cpp:1102:12: error: type '' argument given to 'delete', expected pointer delete [] ifaces; ^ v4l2-ctl.cpp: In function 'int main(int, char**)': v4l2-ctl.cpp:1123:27: error: 'nullptr' was not declared in this scope const char *out_device = nullptr; ^ v4l2-ctl.cpp:1298:3: error: 'exit' is not a member of 'std' std::exit(EXIT_FAILURE); ^ v4l2-ctl.cpp:1298:3: note: suggested alternative: In file included from ../../utils/common/v4l-helpers.h:14:0, from ../../utils/common/cv4l-helpers.h:13, from v4l2-ctl.h:25, from v4l2-ctl.cpp:31: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:543:13: note: 'exit' extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ v4l2-ctl.cpp:1318:3: error: 'exit' is not a member of 'std' std::exit(EXIT_FAILURE); ^ v4l2-ctl.cpp:1318:3: note: suggested alternative: In file included from ../../utils/common/v4l-helpers.h:14:0, from ../../utils/common/cv4l-helpers.h:13, from v4l2-ctl.h:25, from v4l2-ctl.cpp:31: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:543:13: note: 'exit' extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ v4l2-ctl.cpp:1335:3: error: 'exit' is not a member of 'std' std::exit(EXIT_FAILURE); ^ v4l2-ctl.cpp:1335:3: note: suggested alternative: In file included from ../../utils/common/v4l-helpers.h:14:0, from ../../utils/common/cv4l-helpers.h:13, from v4l2-ctl.h:25, from v4l2-ctl.cpp:31: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:543:13: note: 'exit' extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ v4l2-ctl.cpp:1342:3: error: 'exit' is not a member of 'std' std::exit(EXIT_FAILURE); ^ v4l2-ctl.cpp:1342:3: note: suggested alternative: In file included from ../../utils/common/v4l-helpers.h:14:0, from ../../utils/common/cv4l-helpers.h:13, from v4l2-ctl.h:25, from v4l2-ctl.cpp:31: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:543:13: note: 'exit' extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ v4l2-ctl.cpp:1372:4: error: 'exit' is not a member of 'std' std::exit(EXIT_FAILURE); ^ v4l2-ctl.cpp:1372:4: note: suggested alternative: In file included from ../../utils/common/v4l-helpers.h:14:0, from ../../utils/common/cv4l-helpers.h:13, from v4l2-ctl.h:25, from v4l2-ctl.cpp:31: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:543:13: note: 'exit' extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ Makefile:811: recipe for target 'v4l2_ctl-v4l2-ctl-tuner.o' failed make[5]: *** [v4l2_ctl-v4l2-ctl-tuner.o] Error 1 v4l2-ctl.cpp:1377:4: error: 'exit' is not a member of 'std' std::exit(EXIT_FAILURE); ^ v4l2-ctl.cpp:1377:4: note: suggested alternative: In file included from ../../utils/common/v4l-helpers.h:14:0, from ../../utils/common/cv4l-helpers.h:13, from v4l2-ctl.h:25, from v4l2-ctl.cpp:31: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:543:13: note: 'exit' extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ v4l2-ctl.cpp:1391:4: error: 'exit' is not a member of 'std' std::exit(EXIT_FAILURE); ^ v4l2-ctl.cpp:1391:4: note: suggested alternative: In file included from ../../utils/common/v4l-helpers.h:14:0, from ../../utils/common/cv4l-helpers.h:13, from v4l2-ctl.h:25, from v4l2-ctl.cpp:31: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:543:13: note: 'exit' extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ v4l2-ctl.cpp:1396:4: error: 'exit' is not a member of 'std' std::exit(EXIT_FAILURE); ^ v4l2-ctl.cpp:1396:4: note: suggested alternative: In file included from ../../utils/common/v4l-helpers.h:14:0, from ../../utils/common/cv4l-helpers.h:13, from v4l2-ctl.h:25, from v4l2-ctl.cpp:31: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:543:13: note: 'exit' extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ v4l2-ctl.cpp:1405:4: error: 'exit' is not a member of 'std' std::exit(EXIT_FAILURE); ^ v4l2-ctl.cpp:1405:4: note: suggested alternative: In file included from ../../utils/common/v4l-helpers.h:14:0, from ../../utils/common/cv4l-helpers.h:13, from v4l2-ctl.h:25, from v4l2-ctl.cpp:31: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:543:13: note: 'exit' extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ v4l2-ctl.cpp:1410:4: error: 'exit' is not a member of 'std' std::exit(EXIT_FAILURE); ^ v4l2-ctl.cpp:1410:4: note: suggested alternative: In file included from ../../utils/common/v4l-helpers.h:14:0, from ../../utils/common/cv4l-helpers.h:13, from v4l2-ctl.h:25, from v4l2-ctl.cpp:31: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:543:13: note: 'exit' extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ v4l2-ctl.cpp:1415:4: error: 'exit' is not a member of 'std' std::exit(EXIT_FAILURE); ^ v4l2-ctl.cpp:1415:4: note: suggested alternative: In file included from ../../utils/common/v4l-helpers.h:14:0, from ../../utils/common/cv4l-helpers.h:13, from v4l2-ctl.h:25, from v4l2-ctl.cpp:31: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:543:13: note: 'exit' extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ v4l2-ctl.cpp:1629:2: error: 'exit' is not a member of 'std' std::exit(options[OptAll] ? 0 : app_result); ^ v4l2-ctl.cpp:1629:2: note: suggested alternative: In file included from ../../utils/common/v4l-helpers.h:14:0, from ../../utils/common/cv4l-helpers.h:13, from v4l2-ctl.h:25, from v4l2-ctl.cpp:31: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:543:13: note: 'exit' extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^ v4l2-ctl.cpp: In function 'std::string frmtype2s(unsigned int)': v4l2-ctl.cpp:536:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Makefile:783: recipe for target 'v4l2_ctl-v4l2-ctl.o' failed make[5]: *** [v4l2_ctl-v4l2-ctl.o] Error 1 v4l2-ctl-common.cpp:25:7: error: expected nested-name-specifier before 'class2ctrls_map' using class2ctrls_map = std::map >; ^ v4l2-ctl-common.cpp:25:7: error: 'class2ctrls_map' has not been declared v4l2-ctl-common.cpp:25:23: error: expected ';' before '=' token using class2ctrls_map = std::map >; ^ v4l2-ctl-common.cpp:25:23: error: expected unqualified-id before '=' token v4l2-ctl-common.cpp:27:7: error: expected nested-name-specifier before 'ctrl_qmap' using ctrl_qmap = std::map; ^ v4l2-ctl-common.cpp:27:7: error: 'ctrl_qmap' has not been declared v4l2-ctl-common.cpp:27:17: error: expected ';' before '=' token using ctrl_qmap = std::map; ^ v4l2-ctl-common.cpp:27:17: error: expected unqualified-id before '=' token v4l2-ctl-common.cpp:28:8: error: 'ctrl_qmap' does not name a type static ctrl_qmap ctrl_str2q; ^ v4l2-ctl-common.cpp:29:7: error: expected nested-name-specifier before 'ctrl_idmap' using ctrl_idmap = std::map; ^ v4l2-ctl-common.cpp:29:7: error: 'ctrl_idmap' has not been declared v4l2-ctl-common.cpp:29:18: error: expected ';' before '=' token using ctrl_idmap = std::map; ^ v4l2-ctl-common.cpp:29:18: error: expected unqualified-id before '=' token v4l2-ctl-common.cpp:30:8: error: 'ctrl_idmap' does not name a type static ctrl_idmap ctrl_id2str; ^ v4l2-ctl-common.cpp:32:7: error: expected nested-name-specifier before 'ctrl_subset_map' using ctrl_subset_map = std::map; ^ v4l2-ctl-common.cpp:32:7: error: 'ctrl_subset_map' has not been declared v4l2-ctl-common.cpp:32:23: error: expected ';' before '=' token using ctrl_subset_map = std::map; ^ v4l2-ctl-common.cpp:32:23: error: expected unqualified-id before '=' token v4l2-ctl-common.cpp:33:8: error: 'ctrl_subset_map' does not name a type static ctrl_subset_map ctrl_subsets; ^ v4l2-ctl-common.cpp:35:7: error: expected nested-name-specifier before 'ctrl_get_list' using ctrl_get_list = std::list; ^ v4l2-ctl-common.cpp:35:7: error: 'ctrl_get_list' has not been declared v4l2-ctl-common.cpp:35:21: error: expected ';' before '=' token using ctrl_get_list = std::list; ^ v4l2-ctl-common.cpp:35:21: error: expected unqualified-id before '=' token v4l2-ctl-common.cpp:36:8: error: 'ctrl_get_list' does not name a type static ctrl_get_list get_ctrls; ^ v4l2-ctl-common.cpp:38:7: error: expected nested-name-specifier before 'ctrl_set_pair' using ctrl_set_pair = std::pair; ^ v4l2-ctl-common.cpp:38:7: error: 'ctrl_set_pair' has not been declared v4l2-ctl-common.cpp:38:21: error: expected ';' before '=' token using ctrl_set_pair = std::pair; ^ v4l2-ctl-common.cpp:38:21: error: expected unqualified-id before '=' token v4l2-ctl-common.cpp:39:7: error: expected nested-name-specifier before 'ctrl_set_list' using ctrl_set_list = std::list; ^ v4l2-ctl-common.cpp:39:7: error: 'ctrl_set_list' has not been declared v4l2-ctl-common.cpp:39:21: error: expected ';' before '=' token using ctrl_set_list = std::list; ^ v4l2-ctl-common.cpp:39:21: error: expected unqualified-id before '=' token v4l2-ctl-common.cpp:40:8: error: 'ctrl_set_list' does not name a type static ctrl_set_list set_ctrls; ^ v4l2-ctl-common.cpp:42:7: error: expected nested-name-specifier before 'dev_vec' using dev_vec = std::vector; ^ v4l2-ctl-common.cpp:42:7: error: 'dev_vec' has not been declared v4l2-ctl-common.cpp:42:15: error: expected ';' before '=' token using dev_vec = std::vector; ^ v4l2-ctl-common.cpp:42:15: error: expected unqualified-id before '=' token v4l2-ctl-common.cpp:43:7: error: expected nested-name-specifier before 'dev_map' using dev_map = std::map; ^ v4l2-ctl-common.cpp:43:7: error: 'dev_map' has not been declared v4l2-ctl-common.cpp:43:15: error: expected ';' before '=' token using dev_map = std::map; ^ v4l2-ctl-common.cpp:43:15: error: expected unqualified-id before '=' token v4l2-ctl-common.cpp:127:2: error: 'nullptr' was not declared in this scope nullptr ^ v4l2-ctl-common.cpp: In function 'void list_media_devices(const string&)': v4l2-ctl-common.cpp:177:12: error: 'nullptr' was not declared in this scope if (dp == nullptr) { ^ v4l2-ctl-common.cpp:219:2: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto ifaces = new media_v2_interface[topology.num_interfaces]; ^ v4l2-ctl-common.cpp:219:7: error: 'ifaces' does not name a type auto ifaces = new media_v2_interface[topology.num_interfaces]; ^ v4l2-ctl-common.cpp:220:39: error: 'ifaces' was not declared in this scope topology.ptr_interfaces = (uintptr_t)ifaces; ^ v4l2-ctl-common.cpp: In function 'void list_devices()': v4l2-ctl-common.cpp:237:2: error: 'dev_vec' was not declared in this scope dev_vec files; ^ v4l2-ctl-common.cpp:237:10: error: expected ';' before 'files' dev_vec files; ^ v4l2-ctl-common.cpp:238:2: error: 'dev_map' was not declared in this scope dev_map links; ^ v4l2-ctl-common.cpp:238:10: error: expected ';' before 'links' dev_map links; ^ v4l2-ctl-common.cpp:239:10: error: expected ';' before 'cards' dev_map cards; ^ v4l2-ctl-common.cpp:243:12: error: 'nullptr' was not declared in this scope if (dp == nullptr) { ^ v4l2-ctl-common.cpp:249:4: error: 'files' was not declared in this scope files.push_back(std::string("/dev/") + ep->d_name); ^ v4l2-ctl-common.cpp:253:7: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (auto iter = files.begin(); ^ v4l2-ctl-common.cpp:253:12: error: 'iter' does not name a type for (auto iter = files.begin(); ^ v4l2-ctl-common.cpp:254:4: error: expected ';' before 'iter' iter != files.end(); ) { ^ v4l2-ctl-common.cpp:254:4: error: 'iter' was not declared in this scope v4l2-ctl-common.cpp:254:12: error: 'files' was not declared in this scope iter != files.end(); ) { ^ v4l2-ctl-common.cpp:276:7: error: 'links' was not declared in this scope if (links[target].empty()) ^ v4l2-ctl-common.cpp:283:12: error: 'files' was not declared in this scope std::sort(files.begin(), files.end(), sort_on_device_name); ^ v4l2-ctl-common.cpp:285:13: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (const auto &file : files) { ^ v4l2-ctl-common.cpp:285:19: error: ISO C++ forbids declaration of 'file' with no type [-fpermissive] for (const auto &file : files) { ^ v4l2-ctl-common.cpp:285:26: error: range-based 'for' loops are not allowed in C++98 mode for (const auto &file : files) { ^ v4l2-ctl-common.cpp:286:22: error: request for member 'c_str' in 'file', which is of non-class type 'const int' int fd = open(file.c_str(), O_RDWR); ^ v4l2-ctl-common.cpp:314:7: error: 'cards' was not declared in this scope if (cards[bus_info].empty()) ^ v4l2-ctl-common.cpp:316:3: error: 'cards' was not declared in this scope cards[bus_info] += "\t" + file; ^ v4l2-ctl-common.cpp:317:9: error: 'links' was not declared in this scope if (!(links[file].empty())) ^ v4l2-ctl-common.cpp:321:13: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (const auto &card : cards) { ^ v4l2-ctl-common.cpp:321:19: error: ISO C++ forbids declaration of 'card' with no type [-fpermissive] for (const auto &card : cards) { ^ v4l2-ctl-common.cpp:321:26: error: range-based 'for' loops are not allowed in C++98 mode for (const auto &card : cards) { ^ v4l2-ctl-common.cpp:321:26: error: 'cards' was not declared in this scope v4l2-ctl-common.cpp:322:23: error: request for member 'second' in 'card', which is of non-class type 'const int' printf("%s\n", card.second.c_str()); ^ v4l2-ctl-common.cpp: In function 'bool fill_subset(const v4l2_query_ext_ctrl&, ctrl_subset&)': v4l2-ctl-common.cpp:395:6: error: 'ctrl_subsets' was not declared in this scope if (ctrl_subsets.find(s) != ctrl_subsets.end()) { ^ v4l2-ctl-common.cpp: In function 'void print_array(const v4l2_query_ext_ctrl&, const v4l2_ext_control&, const ctrl_subset&)': v4l2-ctl-common.cpp:418:22: error: 'ctrl_id2str' was not declared in this scope std::string &name = ctrl_id2str[qc.id]; ^ v4l2-ctl-common.cpp: In function 'void find_controls(cv4l_fd&)': v4l2-ctl-common.cpp:812:4: error: 'ctrl_str2q' was not declared in this scope ctrl_str2q[name2var(qctrl.name)] = qctrl; ^ v4l2-ctl-common.cpp:813:4: error: 'ctrl_id2str' was not declared in this scope ctrl_id2str[qctrl.id] = name2var(qctrl.name); ^ v4l2-ctl-common.cpp:823:4: error: 'ctrl_str2q' was not declared in this scope ctrl_str2q[name2var(qctrl.name)] = qctrl; ^ v4l2-ctl-common.cpp:824:4: error: 'ctrl_id2str' was not declared in this scope ctrl_id2str[qctrl.id] = name2var(qctrl.name); ^ v4l2-ctl-common.cpp:830:4: error: 'ctrl_str2q' was not declared in this scope ctrl_str2q[name2var(qctrl.name)] = qctrl; ^ v4l2-ctl-common.cpp:831:4: error: 'ctrl_id2str' was not declared in this scope ctrl_id2str[qctrl.id] = name2var(qctrl.name); ^ v4l2-ctl-common.cpp: In function 'int common_find_ctrl_id(const char*)': v4l2-ctl-common.cpp:838:6: error: 'ctrl_str2q' was not declared in this scope if (ctrl_str2q.find(name) == ctrl_str2q.end()) ^ v4l2-ctl-common.cpp:840:9: error: 'ctrl_str2q' was not declared in this scope return ctrl_str2q[name].id; ^ v4l2-ctl-common.cpp: In function 'void common_process_controls(cv4l_fd&)': v4l2-ctl-common.cpp:854:13: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (const auto &get_ctrl : get_ctrls) { ^ v4l2-ctl-common.cpp:854:19: error: ISO C++ forbids declaration of 'get_ctrl' with no type [-fpermissive] for (const auto &get_ctrl : get_ctrls) { ^ v4l2-ctl-common.cpp:854:30: error: range-based 'for' loops are not allowed in C++98 mode for (const auto &get_ctrl : get_ctrls) { ^ v4l2-ctl-common.cpp:854:30: error: 'get_ctrls' was not declared in this scope v4l2-ctl-common.cpp:855:19: error: invalid conversion from 'int' to 'const char*' [-fpermissive] std::string s = get_ctrl; ^ In file included from /home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/string:53:0, from ../../utils/common/v4l2-info.h:9, from v4l2-ctl.h:13, from v4l2-ctl-common.cpp:14: /home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/bits/basic_string.tcc:212:5: error: initializing argument 1 of 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' [-fpermissive] basic_string<_CharT, _Traits, _Alloc>:: ^ v4l2-ctl-common.cpp:857:34: error: 'nullptr' was not declared in this scope __u32 id = strtoul(s.c_str(), nullptr, 0); ^ v4l2-ctl-common.cpp:858:8: error: 'ctrl_id2str' was not declared in this scope if (ctrl_id2str.find(id) != ctrl_id2str.end()) ^ v4l2-ctl-common.cpp:861:7: error: 'ctrl_str2q' was not declared in this scope if (ctrl_str2q.find(s) == ctrl_str2q.end()) { ^ v4l2-ctl-common.cpp:866:13: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (const auto &set_ctrl : set_ctrls) { ^ v4l2-ctl-common.cpp:866:19: error: ISO C++ forbids declaration of 'set_ctrl' with no type [-fpermissive] for (const auto &set_ctrl : set_ctrls) { ^ v4l2-ctl-common.cpp:866:30: error: range-based 'for' loops are not allowed in C++98 mode for (const auto &set_ctrl : set_ctrls) { ^ v4l2-ctl-common.cpp:866:30: error: 'set_ctrls' was not declared in this scope v4l2-ctl-common.cpp:867:28: error: request for member 'first' in 'set_ctrl', which is of non-class type 'const int' std::string s = set_ctrl.first; ^ v4l2-ctl-common.cpp:869:34: error: 'nullptr' was not declared in this scope __u32 id = strtoul(s.c_str(), nullptr, 0); ^ v4l2-ctl-common.cpp:870:8: error: 'ctrl_id2str' was not declared in this scope if (ctrl_id2str.find(id) != ctrl_id2str.end()) ^ v4l2-ctl-common.cpp:873:7: error: 'ctrl_str2q' was not declared in this scope if (ctrl_str2q.find(s) == ctrl_str2q.end()) { ^ v4l2-ctl-common.cpp: In function 'void common_control_event(const v4l2_event*)': v4l2-ctl-common.cpp:885:23: error: 'ctrl_id2str' was not declared in this scope printf("ctrl: %s\n", ctrl_id2str[ev->id].c_str()); ^ v4l2-ctl-common.cpp: In function 'bool parse_subset(char*)': v4l2-ctl-common.cpp:930:46: error: 'nullptr' was not declared in this scope subset.offset[idx / 2] = strtoul(optarg, nullptr, 0); ^ v4l2-ctl-common.cpp:932:48: error: 'nullptr' was not declared in this scope subset.size[idx / 2 - 1] = strtoul(optarg, nullptr, 0); ^ v4l2-ctl-common.cpp:940:12: error: 'nullptr' was not declared in this scope if (p == nullptr) ^ v4l2-ctl-common.cpp:952:2: error: 'ctrl_subsets' was not declared in this scope ctrl_subsets[ctrl_name] = subset; ^ v4l2-ctl-common.cpp: In function 'bool parse_next_subopt(char**, char**)': v4l2-ctl-common.cpp:960:6: error: 'nullptr' was not declared in this scope nullptr ^ v4l2-ctl-common.cpp: In function 'void common_cmd(const string&, int, char*)': v4l2-ctl-common.cpp:987:5: error: 'get_ctrls' was not declared in this scope get_ctrls.push_back(value); ^ v4l2-ctl-common.cpp:999:5: error: 'set_ctrls' was not declared in this scope set_ctrls.emplace_back(std::string(value, (equal - value)), ^ v4l2-ctl-common.cpp:1015:58: error: 'nullptr' was not declared in this scope prio = static_cast(strtoul(optarg, nullptr, 0)); ^ v4l2-ctl-common.cpp: In function 'void common_set(cv4l_fd&)': v4l2-ctl-common.cpp:1048:30: error: 'set_ctrls' was not declared in this scope if (options[OptSetCtrl] && !set_ctrls.empty()) { ^ v4l2-ctl-common.cpp:1050:3: error: 'class2ctrls_map' was not declared in this scope class2ctrls_map class2ctrls; ^ v4l2-ctl-common.cpp:1050:19: error: expected ';' before 'class2ctrls' class2ctrls_map class2ctrls; ^ v4l2-ctl-common.cpp:1054:14: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (const auto &set_ctrl : set_ctrls) { ^ v4l2-ctl-common.cpp:1054:20: error: ISO C++ forbids declaration of 'set_ctrl' with no type [-fpermissive] for (const auto &set_ctrl : set_ctrls) { ^ v4l2-ctl-common.cpp:1054:31: error: range-based 'for' loops are not allowed in C++98 mode for (const auto &set_ctrl : set_ctrls) { ^ v4l2-ctl-common.cpp:1055:29: error: request for member 'first' in 'set_ctrl', which is of non-class type 'const int' std::string s = set_ctrl.first; ^ v4l2-ctl-common.cpp:1057:35: error: 'nullptr' was not declared in this scope __u32 id = strtoul(s.c_str(), nullptr, 0); ^ v4l2-ctl-common.cpp:1058:9: error: 'ctrl_id2str' was not declared in this scope s = ctrl_id2str[id]; ^ v4l2-ctl-common.cpp:1061:37: error: 'ctrl_str2q' was not declared in this scope struct v4l2_query_ext_ctrl &qc = ctrl_str2q[s]; ^ v4l2-ctl-common.cpp:1097:27: error: request for member 'second' in 'set_ctrl', which is of non-class type 'const int' v = strtoul(set_ctrl.second.c_str(), nullptr, 0); ^ v4l2-ctl-common.cpp:1097:43: error: 'nullptr' was not declared in this scope v = strtoul(set_ctrl.second.c_str(), nullptr, 0); ^ v4l2-ctl-common.cpp:1103:27: error: request for member 'second' in 'set_ctrl', which is of non-class type 'const int' v = strtoul(set_ctrl.second.c_str(), nullptr, 0); ^ v4l2-ctl-common.cpp:1109:27: error: request for member 'second' in 'set_ctrl', which is of non-class type 'const int' v = strtoul(set_ctrl.second.c_str(), nullptr, 0); ^ v4l2-ctl-common.cpp:1115:36: error: request for member 'second' in 'set_ctrl', which is of non-class type 'const int' strncpy(ctrl.string, set_ctrl.second.c_str(), qc.maximum); ^ v4l2-ctl-common.cpp:1119:22: error: request for member 'second' in 'set_ctrl', which is of non-class type 'const int' sscanf(set_ctrl.second.c_str(), "%ux%u", ^ v4l2-ctl-common.cpp:1131:38: error: request for member 'second' in 'set_ctrl', which is of non-class type 'const int' ctrl.value64 = strtoll(set_ctrl.second.c_str(), nullptr, 0); ^ v4l2-ctl-common.cpp:1131:54: error: 'nullptr' was not declared in this scope ctrl.value64 = strtoll(set_ctrl.second.c_str(), nullptr, 0); ^ v4l2-ctl-common.cpp:1133:35: error: request for member 'second' in 'set_ctrl', which is of non-class type 'const int' ctrl.value = strtol(set_ctrl.second.c_str(), nullptr, 0); ^ v4l2-ctl-common.cpp:1133:51: error: 'nullptr' was not declared in this scope ctrl.value = strtol(set_ctrl.second.c_str(), nullptr, 0); ^ v4l2-ctl-common.cpp:1135:4: error: 'class2ctrls' was not declared in this scope class2ctrls[V4L2_CTRL_ID2WHICH(ctrl.id)].push_back(ctrl); ^ v4l2-ctl-common.cpp:1137:8: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (auto &class2ctrl : class2ctrls) { ^ v4l2-ctl-common.cpp:1137:14: error: ISO C++ forbids declaration of 'class2ctrl' with no type [-fpermissive] for (auto &class2ctrl : class2ctrls) { ^ v4l2-ctl-common.cpp:1137:27: error: range-based 'for' loops are not allowed in C++98 mode for (auto &class2ctrl : class2ctrls) { ^ v4l2-ctl-common.cpp:1137:27: error: 'class2ctrls' was not declared in this scope v4l2-ctl-common.cpp:1139:20: error: request for member 'first' in 'class2ctrl', which is of non-class type 'int' (class2ctrl.first == V4L2_CTRL_CLASS_USER || ^ v4l2-ctl-common.cpp:1140:20: error: request for member 'first' in 'class2ctrl', which is of non-class type 'int' class2ctrl.first == V4L2_CID_PRIVATE_BASE)) { ^ v4l2-ctl-common.cpp:1141:16: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (const auto &i : class2ctrl.second) { ^ v4l2-ctl-common.cpp:1141:22: error: ISO C++ forbids declaration of 'i' with no type [-fpermissive] for (const auto &i : class2ctrl.second) { ^ v4l2-ctl-common.cpp:1141:26: error: range-based 'for' loops are not allowed in C++98 mode for (const auto &i : class2ctrl.second) { ^ v4l2-ctl-common.cpp:1141:37: error: request for member 'second' in 'class2ctrl', which is of non-class type 'int' for (const auto &i : class2ctrl.second) { ^ v4l2-ctl-common.cpp:1144:18: error: request for member 'id' in 'i', which is of non-class type 'const int' ctrl.id = i.id; ^ v4l2-ctl-common.cpp:1145:21: error: request for member 'value' in 'i', which is of non-class type 'const int' ctrl.value = i.value; ^ v4l2-ctl-common.cpp:1148:9: error: 'ctrl_id2str' was not declared in this scope ctrl_id2str[ctrl.id].c_str(), ^ v4l2-ctl-common.cpp:1154:20: error: request for member 'second' in 'class2ctrl', which is of non-class type 'int' if (!class2ctrl.second.empty()) { ^ v4l2-ctl-common.cpp:1155:30: error: request for member 'first' in 'class2ctrl', which is of non-class type 'int' ctrls.which = class2ctrl.first; ^ v4l2-ctl-common.cpp:1156:30: error: request for member 'second' in 'class2ctrl', which is of non-class type 'int' ctrls.count = class2ctrl.second.size(); ^ v4l2-ctl-common.cpp:1157:34: error: request for member 'second' in 'class2ctrl', which is of non-class type 'int' ctrls.controls = &class2ctrl.second[0]; ^ v4l2-ctl-common.cpp:1165:9: error: 'ctrl_id2str' was not declared in this scope ctrl_id2str[class2ctrl.second[ctrls.error_idx].id].c_str(), ^ v4l2-ctl-common.cpp:1165:32: error: request for member 'second' in 'class2ctrl', which is of non-class type 'int' ctrl_id2str[class2ctrl.second[ctrls.error_idx].id].c_str(), ^ v4l2-ctl-common.cpp: In function 'void common_get(cv4l_fd&)': v4l2-ctl-common.cpp:1178:30: error: 'get_ctrls' was not declared in this scope if (options[OptGetCtrl] && !get_ctrls.empty()) { ^ v4l2-ctl-common.cpp:1180:3: error: 'class2ctrls_map' was not declared in this scope class2ctrls_map class2ctrls; ^ v4l2-ctl-common.cpp:1180:19: error: expected ';' before 'class2ctrls' class2ctrls_map class2ctrls; ^ v4l2-ctl-common.cpp:1184:14: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (const auto &get_ctrl : get_ctrls) { ^ v4l2-ctl-common.cpp:1184:20: error: ISO C++ forbids declaration of 'get_ctrl' with no type [-fpermissive] for (const auto &get_ctrl : get_ctrls) { ^ v4l2-ctl-common.cpp:1184:31: error: range-based 'for' loops are not allowed in C++98 mode for (const auto &get_ctrl : get_ctrls) { ^ v4l2-ctl-common.cpp:1185:20: error: invalid conversion from 'int' to 'const char*' [-fpermissive] std::string s = get_ctrl; ^ In file included from /home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/string:53:0, from ../../utils/common/v4l2-info.h:9, from v4l2-ctl.h:13, from v4l2-ctl-common.cpp:14: /home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/bits/basic_string.tcc:212:5: error: initializing argument 1 of 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' [-fpermissive] basic_string<_CharT, _Traits, _Alloc>:: ^ v4l2-ctl-common.cpp:1187:35: error: 'nullptr' was not declared in this scope __u32 id = strtoul(s.c_str(), nullptr, 0); ^ v4l2-ctl-common.cpp:1188:9: error: 'ctrl_id2str' was not declared in this scope s = ctrl_id2str[id]; ^ v4l2-ctl-common.cpp:1191:37: error: 'ctrl_str2q' was not declared in this scope struct v4l2_query_ext_ctrl &qc = ctrl_str2q[s]; ^ v4l2-ctl-common.cpp:1205:4: error: 'class2ctrls' was not declared in this scope class2ctrls[V4L2_CTRL_ID2WHICH(ctrl.id)].push_back(ctrl); ^ v4l2-ctl-common.cpp:1207:8: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (auto &class2ctrl : class2ctrls) { ^ v4l2-ctl-common.cpp:1207:14: error: ISO C++ forbids declaration of 'class2ctrl' with no type [-fpermissive] for (auto &class2ctrl : class2ctrls) { ^ v4l2-ctl-common.cpp:1207:27: error: range-based 'for' loops are not allowed in C++98 mode for (auto &class2ctrl : class2ctrls) { ^ v4l2-ctl-common.cpp:1207:27: error: 'class2ctrls' was not declared in this scope v4l2-ctl-common.cpp:1209:20: error: request for member 'first' in 'class2ctrl', which is of non-class type 'int' (class2ctrl.first == V4L2_CTRL_CLASS_USER || ^ v4l2-ctl-common.cpp:1210:20: error: request for member 'first' in 'class2ctrl', which is of non-class type 'int' class2ctrl.first == V4L2_CID_PRIVATE_BASE)) { ^ v4l2-ctl-common.cpp:1211:16: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (const auto &i : class2ctrl.second) { ^ v4l2-ctl-common.cpp:1211:22: error: ISO C++ forbids declaration of 'i' with no type [-fpermissive] for (const auto &i : class2ctrl.second) { ^ v4l2-ctl-common.cpp:1211:26: error: range-based 'for' loops are not allowed in C++98 mode for (const auto &i : class2ctrl.second) { ^ v4l2-ctl-common.cpp:1211:37: error: request for member 'second' in 'class2ctrl', which is of non-class type 'int' for (const auto &i : class2ctrl.second) { ^ v4l2-ctl-common.cpp:1214:18: error: request for member 'id' in 'i', which is of non-class type 'const int' ctrl.id = i.id; ^ v4l2-ctl-common.cpp:1216:25: error: 'ctrl_id2str' was not declared in this scope printf("%s: %d\n", ctrl_id2str[ctrl.id].c_str(), ctrl.value); ^ v4l2-ctl-common.cpp:1220:20: error: request for member 'second' in 'class2ctrl', which is of non-class type 'int' if (!class2ctrl.second.empty()) { ^ v4l2-ctl-common.cpp:1221:30: error: request for member 'first' in 'class2ctrl', which is of non-class type 'int' ctrls.which = class2ctrl.first; ^ v4l2-ctl-common.cpp:1222:30: error: request for member 'second' in 'class2ctrl', which is of non-class type 'int' ctrls.count = class2ctrl.second.size(); ^ v4l2-ctl-common.cpp:1223:34: error: request for member 'second' in 'class2ctrl', which is of non-class type 'int' ctrls.controls = &class2ctrl.second[0]; ^ v4l2-ctl-common.cpp:1225:10: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (auto ctrl : class2ctrl.second) { ^ v4l2-ctl-common.cpp:1225:15: error: 'ctrl' does not name a type for (auto ctrl : class2ctrl.second) { ^ v4l2-ctl-common.cpp:1238:4: error: expected ';' before '}' token } ^ v4l2-ctl-common.cpp:1238:4: error: expected primary-expression before '}' token v4l2-ctl-common.cpp:1238:4: error: expected ';' before '}' token v4l2-ctl-common.cpp:1238:4: error: expected primary-expression before '}' token v4l2-ctl-common.cpp:1238:4: error: expected ')' before '}' token v4l2-ctl-common.cpp:1238:4: error: expected primary-expression before '}' token v4l2-ctl-common.cpp:1238:4: error: expected ';' before '}' token In file included from v4l2-ctl-common.cpp:14:0: v4l2-ctl-common.cpp:1251:38: error: 'nullptr' was not declared in this scope if (doioctl(fd, VIDIOC_LOG_STATUS, nullptr) == 0) { ^ v4l2-ctl.h:333:45: note: in definition of macro 'doioctl' #define doioctl(n, r, p) doioctl_name(n, r, p, #r) ^ v4l2-ctl-common.cpp: In function 'int common_find_ctrl_id(const char*)': v4l2-ctl-common.cpp:841:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Makefile:797: recipe for target 'v4l2_ctl-v4l2-ctl-common.o' failed make[5]: *** [v4l2_ctl-v4l2-ctl-common.o] Error 1 Makefile:533: recipe for target 'all' failed make[4]: *** [all] Error 2 Makefile:485: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 Makefile:597: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 Makefile:524: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/libv4l-1.22.1' package/pkg-generic.mk:292: recipe for target '/home/buildroot/autobuild/instance-2/output-1/build/libv4l-1.22.1/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-2/output-1/build/libv4l-1.22.1/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'