>>> acpitool 0.5.1 Extracting bzcat /home/buildroot/instance-0/dl/acpitool/acpitool-0.5.1.tar.bz2 | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/acpitool-0.5.1 -xf - >>> acpitool 0.5.1 Patching >>> acpitool 0.5.1 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/instance-0/output-1/build/acpitool-0.5.1 -name $file); do cp support/gnuconfig/$file $i; done; done >>> acpitool 0.5.1 Patching libtool >>> acpitool 0.5.1 Configuring >>> acpitool 0.5.1 Checking configure (powerpc64/powerpc64le) support/scripts/fix-configure-powerpc64.sh /home/buildroot/instance-0/output-1/build/acpitool-0.5.1 (cd /home/buildroot/instance-0/output-1/build/acpitool-0.5.1/ && rm -rf config.cache && GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-gcc-ar" AS="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-as" LD="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-ld" NM="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-gcc-nm" CC="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-gcc" GCC="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-gcc" CPP="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-cpp" CXX="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-g++" FC="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-gfortran" F77="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-gfortran" RANLIB="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-gcc-ranlib" READELF="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-readelf" STRIP="/bin/true" OBJCOPY="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-objcopy" OBJDUMP="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-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/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-as" DEFAULT_LINKER="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-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 -O3 -g2 -D_FORTIFY_SOURCE=3" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -D_FORTIFY_SOURCE=3" LDFLAGS="" FCFLAGS=" -O3 -g2" FFLAGS=" -O3 -g2" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/instance-0/output-1/host/powerpc64le-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=no ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CONFIG_SITE=/dev/null ./configure --target=powerpc64le-buildroot-linux-gnu --host=powerpc64le-buildroot-linux-gnu --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 --enable-nls --enable-static --enable-shared ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --enable-nls, --enable-static, --enable-shared configure: loading site script /dev/null checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for powerpc64le-buildroot-linux-gnu-strip... /bin/true checking build system type... x86_64-pc-linux-gnu checking host system type... powerpc64le-buildroot-linux-gnu checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether /home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of /home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-g++... none checking for powerpc64le-buildroot-linux-gnu-gcc... /home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-gcc checking whether we are using the GNU C compiler... yes checking whether /home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-gcc accepts -g... yes checking for /home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-gcc option to accept ISO C89... none needed checking dependency style of /home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-gcc... none checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... /home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-cpp checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether closedir returns void... yes checking for strdup... yes checking for memset... yes checking for strtol... yes checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --enable-nls, --enable-static, --enable-shared +-----------------------------------------------------------------------------------+ | Run make && make install when the configure script has finished without problems. | +-----------------------------------------------------------------------------------+ >>> acpitool 0.5.1 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j17 -C /home/buildroot/instance-0/output-1/build/acpitool-0.5.1/ make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/acpitool-0.5.1' /usr/bin/make all-recursive make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/acpitool-0.5.1' Making all in src make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/acpitool-0.5.1/src' /home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -D_FORTIFY_SOURCE=3 -c -o main.o main.cpp /home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -D_FORTIFY_SOURCE=3 -c -o acpitool.o acpitool.cpp /home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -D_FORTIFY_SOURCE=3 -c -o ac_adapter.o ac_adapter.cpp /home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -D_FORTIFY_SOURCE=3 -c -o toshiba.o toshiba.cpp /home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -D_FORTIFY_SOURCE=3 -c -o asus.o asus.cpp /home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -D_FORTIFY_SOURCE=3 -c -o thinkpad.o thinkpad.cpp /home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -D_FORTIFY_SOURCE=3 -c -o cpu.o cpu.cpp /home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -D_FORTIFY_SOURCE=3 -c -o battery.o battery.cpp /home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -D_FORTIFY_SOURCE=3 -c -o freq.o freq.cpp In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/string:50, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/bits/locale_classes.h:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/bits/ios_base.h:41, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ios:44, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ostream:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/iostream:41, from asus.cpp:34: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:224:38: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 224 | struct __numeric_traits_floating<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:224:47: error: template argument 1 is invalid 224 | struct __numeric_traits_floating<__ieee128> | ^ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:232:29: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 232 | struct __numeric_traits<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:232:38: error: template argument 1 is invalid 232 | struct __numeric_traits<__ieee128> | ^ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/string:50, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/bits/locale_classes.h:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/bits/ios_base.h:41, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/iomanip:42, from thinkpad.cpp:5: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:224:38: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 224 | struct __numeric_traits_floating<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:224:47: error: template argument 1 is invalid 224 | struct __numeric_traits_floating<__ieee128> | ^ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:233:40: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 233 | : public __numeric_traits_floating<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:233:49: error: template argument 1 is invalid 233 | : public __numeric_traits_floating<__ieee128> | ^ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:232:29: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 232 | struct __numeric_traits<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:232:38: error: template argument 1 is invalid 232 | struct __numeric_traits<__ieee128> | ^ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:233:40: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 233 | : public __numeric_traits_floating<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:233:49: error: template argument 1 is invalid 233 | : public __numeric_traits_floating<__ieee128> | ^ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/string:50, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/bits/locale_classes.h:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/bits/ios_base.h:41, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ios:44, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ostream:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/iostream:41, from freq.cpp:32: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:224:38: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 224 | struct __numeric_traits_floating<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:224:47: error: template argument 1 is invalid 224 | struct __numeric_traits_floating<__ieee128> | ^ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:232:29: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 232 | struct __numeric_traits<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:232:38: error: template argument 1 is invalid 232 | struct __numeric_traits<__ieee128> | ^ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/string:50, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/bits/locale_classes.h:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/bits/ios_base.h:41, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ios:44, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ostream:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/iostream:41, from cpu.cpp:34: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:224:38: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 224 | struct __numeric_traits_floating<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:224:47: error: template argument 1 is invalid 224 | struct __numeric_traits_floating<__ieee128> | ^ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:233:40: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 233 | : public __numeric_traits_floating<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:233:49: error: template argument 1 is invalid 233 | : public __numeric_traits_floating<__ieee128> | ^ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/string:50, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/bits/locale_classes.h:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/bits/ios_base.h:41, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ios:44, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ostream:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/iostream:41, from battery.cpp:38: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:224:38: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 224 | struct __numeric_traits_floating<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:224:47: error: template argument 1 is invalid 224 | struct __numeric_traits_floating<__ieee128> | ^ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/string:50, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/bits/locale_classes.h:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/bits/ios_base.h:41, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ios:44, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ostream:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/iostream:41, from ac_adapter.cpp:35: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:224:38: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 224 | struct __numeric_traits_floating<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:224:47: error: template argument 1 is invalid 224 | struct __numeric_traits_floating<__ieee128> | ^ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:232:29: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 232 | struct __numeric_traits<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:232:38: error: template argument 1 is invalid 232 | struct __numeric_traits<__ieee128> | ^ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:232:29: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 232 | struct __numeric_traits<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:232:38: error: template argument 1 is invalid 232 | struct __numeric_traits<__ieee128> | ^ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:232:29: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 232 | struct __numeric_traits<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:232:38: error: template argument 1 is invalid 232 | struct __numeric_traits<__ieee128> | ^ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:233:40: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 233 | : public __numeric_traits_floating<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:233:49: error: template argument 1 is invalid 233 | : public __numeric_traits_floating<__ieee128> | ^ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:233:40: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 233 | : public __numeric_traits_floating<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:233:49: error: template argument 1 is invalid 233 | : public __numeric_traits_floating<__ieee128> | ^ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:233:40: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 233 | : public __numeric_traits_floating<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:233:49: error: template argument 1 is invalid 233 | : public __numeric_traits_floating<__ieee128> | ^ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/string:50, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/bits/locale_classes.h:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/bits/ios_base.h:41, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ios:44, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ostream:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/iostream:41, from acpitool.cpp:37: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:224:38: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 224 | struct __numeric_traits_floating<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:224:47: error: template argument 1 is invalid 224 | struct __numeric_traits_floating<__ieee128> | ^ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:232:29: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 232 | struct __numeric_traits<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:232:38: error: template argument 1 is invalid 232 | struct __numeric_traits<__ieee128> | ^ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:233:40: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 233 | : public __numeric_traits_floating<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:233:49: error: template argument 1 is invalid 233 | : public __numeric_traits_floating<__ieee128> | ^ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/string:50, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/bits/locale_classes.h:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/bits/ios_base.h:41, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ios:44, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ostream:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/iostream:41, from toshiba.cpp:33: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:224:38: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 224 | struct __numeric_traits_floating<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:224:47: error: template argument 1 is invalid 224 | struct __numeric_traits_floating<__ieee128> | ^ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/string:50, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/bits/locale_classes.h:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/bits/ios_base.h:41, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ios:44, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ostream:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/iostream:41, from main.cpp:31: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:224:38: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 224 | struct __numeric_traits_floating<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:224:47: error: template argument 1 is invalid 224 | struct __numeric_traits_floating<__ieee128> | ^ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:232:29: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 232 | struct __numeric_traits<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:232:38: error: template argument 1 is invalid 232 | struct __numeric_traits<__ieee128> | ^ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:232:29: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 232 | struct __numeric_traits<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:232:38: error: template argument 1 is invalid 232 | struct __numeric_traits<__ieee128> | ^ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:233:40: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 233 | : public __numeric_traits_floating<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:233:49: error: template argument 1 is invalid 233 | : public __numeric_traits_floating<__ieee128> | ^ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:233:40: error: '__ieee128' was not declared in this scope; did you mean '__int128'? 233 | : public __numeric_traits_floating<__ieee128> | ^~~~~~~~~ | __int128 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/powerpc64le-buildroot-linux-gnu/include/c++/14.2.0/ext/numeric_traits.h:233:49: error: template argument 1 is invalid 233 | : public __numeric_traits_floating<__ieee128> | ^ asus.cpp: In function 'int Has_Asus_ACPI()': asus.cpp:50:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | filename = "/proc/acpi/asus"; | ^~~~~~~~~~~~~~~~~ asus.cpp: In function 'int Do_Asus_LCD_Info()': asus.cpp:87:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | filename = "/proc/acpi/asus/brn"; | ^~~~~~~~~~~~~~~~~~~~~ asus.cpp: In function 'int Set_Asus_LCD_Level(int)': asus.cpp:121:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 121 | filename = "/proc/acpi/asus/brn"; | ^~~~~~~~~~~~~~~~~~~~~ asus.cpp: In function 'int Do_Asus_Video_Info()': asus.cpp:149:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 149 | filename = "/proc/acpi/asus/disp"; | ^~~~~~~~~~~~~~~~~~~~~~ thinkpad.cpp: In function 'int Has_Thinkpad_ACPI()': thinkpad.cpp:17:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 17 | filename = "/proc/acpi/ibm"; | ^~~~~~~~~~~~~~~~ cpu.cpp: In function 'int Show_CPU_Info()': cpu.cpp:107:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 107 | dirname = "/proc/acpi/processor/"; //find all entries in this dir // | ^~~~~~~~~~~~~~~~~~~~~~~ thinkpad.cpp: In function 'int Eject_Thinkpad_Bay()': thinkpad.cpp:38:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 38 | filename = "/proc/acpi/ibm/bay"; | ^~~~~~~~~~~~~~~~~~~~ thinkpad.cpp: In function 'int Set_Thinkpad_LCD_Level(int)': thinkpad.cpp:59:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 59 | filename = "/proc/acpi/ibm/brightness"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ asus.cpp: In function 'int Do_Asus_Info()': asus.cpp:204:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 204 | filename = "/proc/acpi/asus/info"; | ^~~~~~~~~~~~~~~~~~~~~~ thinkpad.cpp: In function 'int Do_Thinkpad_Fan_Info()': thinkpad.cpp:85:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | filename = "/proc/acpi/ibm/fan"; | ^~~~~~~~~~~~~~~~~~~~ asus.cpp: In function 'int Set_Asus_LCD_State(int)': asus.cpp:268:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 268 | filename = "/proc/acpi/asus/lcd"; | ^~~~~~~~~~~~~~~~~~~~~ asus.cpp: In function 'int Set_MLed(int)': asus.cpp:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 293 | filename = "/proc/acpi/asus/mled"; | ^~~~~~~~~~~~~~~~~~~~~~ asus.cpp: In function 'int Set_WLed(int)': asus.cpp:318:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | filename = "/proc/acpi/asus/wled"; | ^~~~~~~~~~~~~~~~~~~~~~ ac_adapter.cpp: In function 'int Do_AC_Info(int)': ac_adapter.cpp:62:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 62 | dirname = "/proc/acpi/ac_adapter/"; | ^~~~~~~~~~~~~~~~~~~~~~~~ ac_adapter.cpp: In function 'int Do_AC_Info_Proc(int)': ac_adapter.cpp:99:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | dirname = "/proc/acpi/ac_adapter/"; | ^~~~~~~~~~~~~~~~~~~~~~~~ ac_adapter.cpp: In function 'int Do_AC_Info_Sys()': ac_adapter.cpp:157:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 157 | dirname = "/sys/class/power_supply/"; //find all entries in this dir | ^~~~~~~~~~~~~~~~~~~~~~~~~~ battery.cpp: In function 'int Get_Battery_Info_from_Proc(int, Battery_Info*, int)': battery.cpp:338:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 338 | dirname = "/proc/acpi/battery/"; //find all entries in this dir | ^~~~~~~~~~~~~~~~~~~~~ battery.cpp: In function 'int Get_Battery_Info_from_Sys(int, Battery_Info*, int)': battery.cpp:521:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 521 | dirname = "/sys/class/power_supply/"; //find all entries in this dir | ^~~~~~~~~~~~~~~~~~~~~~~~~~ battery.cpp: In function 'int Count_Batteries_ProcFS()': battery.cpp:788:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 788 | dirname = "/proc/acpi/battery/"; | ^~~~~~~~~~~~~~~~~~~~~ battery.cpp: In function 'int Count_Batteries_SysFS()': battery.cpp:837:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 837 | dirname = "/sys/class/power_supply/"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ freq.cpp: In function 'int Get_Min_Freq()': freq.cpp:97:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 97 | fscanf(freqinfo_fp, "%s", str); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ freq.cpp: In function 'int Get_Max_Freq()': freq.cpp:121:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 121 | fscanf(freqinfo_fp, "%s", str); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ freq.cpp: In function 'int Get_Current_Freq()': freq.cpp:144:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 144 | fscanf(freqinfo_fp, "%s", str); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ freq.cpp: In function 'int Get_Governor(char*)': freq.cpp:166:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 166 | fscanf(freqinfo_fp, "%s", str); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ freq.cpp: In function 'int Get_Driver(char*)': freq.cpp:189:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 189 | fscanf(freqinfo_fp, "%s", str); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ cpu.cpp:64:45: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | for(int t=0; t<4; t++) fgets(str, 299, cpuinfo_fp); // skip 4 lines // | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ cpu.cpp:65:22: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | fgets(str, 299, cpuinfo_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ cpu.cpp:69:22: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | fgets(str, 299, cpuinfo_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ cpu.cpp:70:22: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | fgets(str, 299, cpuinfo_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ cpu.cpp:81:22: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 81 | fgets(str, 299, cpuinfo_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ cpu.cpp:86:45: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 86 | for(int t=0; t<5; t++) fgets(str, 299, cpuinfo_fp); // we can skip at least 5 lines to reach Bogomips line// | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ cpu.cpp:90:26: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 90 | fgets(str, 299, cpuinfo_fp); // different for Amd64, Opteron, Core Duo, P4 with Ht, ... // | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ cpu.cpp:213:38: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 213 | fgets(str, 100, power_fp); // active state | ~~~~~^~~~~~~~~~~~~~~~~~~~ cpu.cpp:220:38: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 220 | fgets(str, 100, power_fp); // max_cstate | ~~~~~^~~~~~~~~~~~~~~~~~~~ cpu.cpp:229:38: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 229 | fgets(str, 100, power_fp); // bus master activity | ~~~~~^~~~~~~~~~~~~~~~~~~~ cpu.cpp:236:38: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 236 | fgets(str, 100, power_fp); // states (line contains no information) | ~~~~~^~~~~~~~~~~~~~~~~~~~ cpu.cpp:239:46: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 239 | fgets(str, 130, power_fp); // cstate Cx | ~~~~~^~~~~~~~~~~~~~~~~~~~ cpu.cpp:285:42: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 285 | fgets(str, 100, throt_fp); // active state | ~~~~~^~~~~~~~~~~~~~~~~~~~ cpu.cpp:289:42: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 289 | fgets(str, 100, throt_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:246: freq.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:246: thinkpad.o] Error 1 ac_adapter.cpp:183:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 183 | fscanf(temp_fp, "%s", str); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ ac_adapter.cpp:215:26: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 215 | fgets(str, 100, power_fp); /* just skip the first 5 lines */ | ~~~~~^~~~~~~~~~~~~~~~~~~~ ac_adapter.cpp:218:22: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 218 | fgets(str, 100, power_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~ acpitool.cpp: In function 'int Has_ACPI(char*)': acpitool.cpp:69:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | filename = "/proc/acpi/info"; | ^~~~~~~~~~~~~~~~~ acpitool.cpp:70:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | filename2 = "/sys/module/acpi/parameters/acpica_version"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:246: cpu.o] Error 1 acpitool.cpp: In function 'int Get_Kernel_Version(char*, int)': acpitool.cpp:142:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 142 | filename = "/proc/sys/kernel/osrelease"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ acpitool.cpp: In function 'int Set_Kernel_Version()': acpitool.cpp:190:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 190 | filename = "/proc/sys/kernel/osrelease"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:246: asus.o] Error 1 acpitool.cpp: In function 'int Do_Thermal_Info(int, int)': acpitool.cpp:232:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 232 | dirname = "/proc/acpi/thermal_zone/"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:246: ac_adapter.o] Error 1 acpitool.cpp: In function 'int Do_Fan_Info(int)': acpitool.cpp:366:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 366 | dirname = "/proc/acpi/fan/"; | ^~~~~~~~~~~~~~~~~ acpitool.cpp: In function 'int Show_WakeUp_Devices(int)': acpitool.cpp:422:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 422 | filename = "/proc/acpi/wakeup"; | ^~~~~~~~~~~~~~~~~~~ acpitool.cpp: In function 'int Toggle_WakeUp_Device(int, int)': acpitool.cpp:469:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 469 | filename = "/proc/acpi/wakeup"; | ^~~~~~~~~~~~~~~~~~~ acpitool.cpp: In function 'int Do_Suspend(int)': acpitool.cpp:535:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | filename = "/proc/acpi/sleep"; // nice default values // | ^~~~~~~~~~~~~~~~~~ acpitool.cpp:536:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 536 | str = "3"; | ^~~ acpitool.cpp:542:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 542 | filename = "/sys/power/state"; | ^~~~~~~~~~~~~~~~~~ acpitool.cpp:543:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 543 | str = "mem"; | ^~~~~ acpitool.cpp:546:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 546 | case 4 : if(Kernel_24) str = "4"; | ^~~ acpitool.cpp:549:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 549 | filename = "/sys/power/state"; | ^~~~~~~~~~~~~~~~~~ acpitool.cpp:550:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 550 | str = "disk"; | ^~~~~~ battery.cpp: In function 'int Get_Battery_Info_from_Sys(int, Battery_Info*, int)': battery.cpp:553:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 553 | fscanf(temp_fp, "%s", str); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:618:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 618 | fgets(str, 100, power_fp); /* skip first 5 lines */ | ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:622:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 622 | fgets(str, 100, power_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:633:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 633 | fgets(str, 100, power_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:651:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 651 | fgets(str, 100, power_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:667:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 667 | fgets(str, 100, power_fp); /* skip 1 line */ | ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:672:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 672 | fgets(str, 100, power_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:685:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 685 | fgets(str, 100, power_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:698:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 698 | fgets(str, 100, power_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:714:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 714 | fgets(str, 100, power_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:730:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 730 | fgets(str, 100, power_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:745:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 745 | fgets(str, 100, power_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:759:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 759 | fgets(str, 100, power_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp:763:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 763 | fgets(str, 100, power_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~ battery.cpp: In function 'int Count_Batteries_SysFS()': battery.cpp:883:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 883 | fscanf(powertype_fp, "%s", str); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:246: battery.o] Error 1 acpitool.cpp: In function 'int Has_ACPI(char*)': acpitool.cpp:107:1: warning: control reaches end of non-void function [-Wreturn-type] 107 | } | ^ acpitool.cpp: In function 'int Do_Thermal_Info(int, int)': acpitool.cpp:324:30: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 324 | fgets(str, 120, fp); | ~~~~~^~~~~~~~~~~~~~ make[3]: *** [Makefile:246: acpitool.o] Error 1 toshiba.cpp: In function 'int Has_Toshiba_ACPI()': toshiba.cpp:50:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | filename = "/proc/acpi/toshiba"; | ^~~~~~~~~~~~~~~~~~~~ toshiba.cpp: In function 'int Do_Toshiba_Fan_Info()': toshiba.cpp:87:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | filename = "/proc/acpi/toshiba/fan"; | ^~~~~~~~~~~~~~~~~~~~~~~~ toshiba.cpp: In function 'int Do_LCD_Info()': toshiba.cpp:137:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 137 | filename = "/proc/acpi/toshiba/lcd"; | ^~~~~~~~~~~~~~~~~~~~~~~~ toshiba.cpp: In function 'int Force_Fan(int)': toshiba.cpp:171:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 171 | filename = "/proc/acpi/toshiba/fan"; | ^~~~~~~~~~~~~~~~~~~~~~~~ toshiba.cpp: In function 'int Set_LCD_Level(int)': toshiba.cpp:205:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 205 | filename = "/proc/acpi/toshiba/lcd"; | ^~~~~~~~~~~~~~~~~~~~~~~~ toshiba.cpp: In function 'int Do_Video_Info()': toshiba.cpp:236:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 236 | filename = "/proc/acpi/toshiba/video"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:246: toshiba.o] Error 1 make[3]: *** [Makefile:246: main.o] Error 1 make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/acpitool-0.5.1/src' make[2]: *** [Makefile:231: all-recursive] Error 1 make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/acpitool-0.5.1' make[1]: *** [Makefile:169: all] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/acpitool-0.5.1' make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/acpitool-0.5.1/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'