>>> host-mfgtools v0.02 Extracting gzip -d -c /data/buildroot/buildroot-test/instance-0/dl/mfgtools/mfgtools-v0.02.tar.gz | /data/buildroot/buildroot-test/instance-0/output/host/bin/tar --strip-components=1 -C /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02 -xf - >>> host-mfgtools v0.02 Patching >>> host-mfgtools v0.02 Configuring (mkdir -p /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib && cd /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib && rm -f CMakeCache.txt && PATH="/data/buildroot/buildroot-test/instance-0/output/host/bin:/data/buildroot/buildroot-test/instance-0/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" PKG_CONFIG="/data/buildroot/buildroot-test/instance-0/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_LIBDIR="/data/buildroot/buildroot-test/instance-0/output/host/lib/pkgconfig:/data/buildroot/buildroot-test/instance-0/output/host/share/pkgconfig" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 /usr/bin/cmake /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib -DCMAKE_INSTALL_SO_NO_EXE=0 -DCMAKE_FIND_ROOT_PATH="/data/buildroot/buildroot-test/instance-0/output/host" -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM="BOTH" -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY="BOTH" -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE="BOTH" -DCMAKE_INSTALL_PREFIX="/data/buildroot/buildroot-test/instance-0/output/host" -DCMAKE_C_FLAGS="-O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include" -DCMAKE_CXX_FLAGS="-O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include" -DCMAKE_EXE_LINKER_FLAGS="-L/data/buildroot/buildroot-test/instance-0/output/host/lib -Wl,-rpath,/data/buildroot/buildroot-test/instance-0/output/host/lib" -DCMAKE_SHARED_LINKER_FLAGS="-L/data/buildroot/buildroot-test/instance-0/output/host/lib -Wl,-rpath,/data/buildroot/buildroot-test/instance-0/output/host/lib" -DCMAKE_ASM_COMPILER="/usr/bin/as" -DCMAKE_C_COMPILER="/usr/bin/gcc" -DCMAKE_CXX_COMPILER="/usr/bin/g++" -DCMAKE_C_COMPILER_ARG1="" -DCMAKE_CXX_COMPILER_ARG1="" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF ) -- The C compiler identification is GNU 8.3.0 -- The CXX compiler identification is GNU 8.3.0 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found libusb-1.0: -- - Includes: /data/buildroot/buildroot-test/instance-0/output/host/usr/include/libusb-1.0 -- - Libraries: /data/buildroot/buildroot-test/instance-0/output/host/usr/lib/libusb-1.0.so -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS CMAKE_ASM_COMPILER -- Build files have been written to: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib >>> host-mfgtools v0.02 Building PATH="/data/buildroot/buildroot-test/instance-0/output/host/bin:/data/buildroot/buildroot-test/instance-0/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" PKG_CONFIG="/data/buildroot/buildroot-test/instance-0/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/data/buildroot/buildroot-test/instance-0/output/host/lib/pkgconfig:/data/buildroot/buildroot-test/instance-0/output/host/share/pkgconfig" /usr/bin/make -j4 -C /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib' /usr/bin/cmake -S/data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib -B/data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/CMakeFiles /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib' /usr/bin/make -f CMakeFiles/MfgToolLib.dir/build.make CMakeFiles/MfgToolLib.dir/depend make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib' cd /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/CMakeFiles/MfgToolLib.dir/DependInfo.cmake Scanning dependencies of target MfgToolLib make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib' /usr/bin/make -f CMakeFiles/MfgToolLib.dir/build.make CMakeFiles/MfgToolLib.dir/build make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib' [ 5%] Building CXX object CMakeFiles/MfgToolLib.dir/ControllerClass.cpp.o [ 5%] Building CXX object CMakeFiles/MfgToolLib.dir/CmdOperation.cpp.o /usr/bin/g++ -DMfgToolLib_EXPORTS -I/data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib -I/data/buildroot/buildroot-test/instance-0/output/host/usr/include/libusb-1.0 -std=c++11 -O0 -fpic -I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux -fpermissive -g -Wno-write-strings -fPIC -o CMakeFiles/MfgToolLib.dir/CmdOperation.cpp.o -c /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/CmdOperation.cpp /usr/bin/g++ -DMfgToolLib_EXPORTS -I/data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib -I/data/buildroot/buildroot-test/instance-0/output/host/usr/include/libusb-1.0 -std=c++11 -O0 -fpic -I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux -fpermissive -g -Wno-write-strings -fPIC -o CMakeFiles/MfgToolLib.dir/ControllerClass.cpp.o -c /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/ControllerClass.cpp [ 8%] Building CXX object CMakeFiles/MfgToolLib.dir/Device.cpp.o /usr/bin/g++ -DMfgToolLib_EXPORTS -I/data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib -I/data/buildroot/buildroot-test/instance-0/output/host/usr/include/libusb-1.0 -std=c++11 -O0 -fpic -I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux -fpermissive -g -Wno-write-strings -fPIC -o CMakeFiles/MfgToolLib.dir/Device.cpp.o -c /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/Device.cpp [ 11%] Building CXX object CMakeFiles/MfgToolLib.dir/DeviceClass.cpp.o /usr/bin/g++ -DMfgToolLib_EXPORTS -I/data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib -I/data/buildroot/buildroot-test/instance-0/output/host/usr/include/libusb-1.0 -std=c++11 -O0 -fpic -I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux -fpermissive -g -Wno-write-strings -fPIC -o CMakeFiles/MfgToolLib.dir/DeviceClass.cpp.o -c /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceClass.cpp In file included from /usr/include/stdint.h:27, from /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/stdint.h:9, from /usr/include/c++/8.3.0/cstdint:41, from /usr/include/c++/8.3.0/bits/char_traits.h:503, from /usr/include/c++/8.3.0/string:40, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/lnx_def.h:39, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/stdafx.h:83, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceClass.cpp:32: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/lnx_def.h:127:19: error: conflicting declaration 'typedef long long int __time_t' typedef long long __time64_t; ^~~~~~~~~~ /usr/include/bits/types.h:160:26: note: previous declaration as 'typedef long int __time_t' __STD_TYPE __TIME_T_TYPE __time_t; /* Seconds since the Epoch. */ ^~~~~~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceClass.h:36, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceClass.cpp:33: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/Device.h:50:2: warning: 'typedef' was ignored in this declaration typedef enum DeviceCapabilities ^~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/Device.h:70:2: warning: 'typedef' was ignored in this declaration typedef struct NotifyStruct ^~~~~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceClass.cpp:33: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceClass.h:57:2: warning: 'typedef' was ignored in this declaration typedef struct NotifyStruct ^~~~~~~ In file included from /usr/include/stdint.h:27, from /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/stdint.h:9, from /usr/include/c++/8.3.0/cstdint:41, from /usr/include/c++/8.3.0/bits/char_traits.h:503, from /usr/include/c++/8.3.0/string:40, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/lnx_def.h:39, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/stdafx.h:83, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/ControllerClass.cpp:33: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/lnx_def.h:127:19: error: conflicting declaration 'typedef long long int __time_t' typedef long long __time64_t; ^~~~~~~~~~ /usr/include/bits/types.h:160:26: note: previous declaration as 'typedef long int __time_t' __STD_TYPE __TIME_T_TYPE __time_t; /* Seconds since the Epoch. */ ^~~~~~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceClass.h:36, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/ControllerClass.h:35, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/ControllerClass.cpp:34: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/Device.h:50:2: warning: 'typedef' was ignored in this declaration typedef enum DeviceCapabilities ^~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/Device.h:70:2: warning: 'typedef' was ignored in this declaration typedef struct NotifyStruct ^~~~~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/ControllerClass.h:35, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/ControllerClass.cpp:34: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceClass.h:57:2: warning: 'typedef' was ignored in this declaration typedef struct NotifyStruct ^~~~~~~ In file included from /usr/include/stdint.h:27, from /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/stdint.h:9, from /usr/include/c++/8.3.0/cstdint:41, from /usr/include/c++/8.3.0/bits/char_traits.h:503, from /usr/include/c++/8.3.0/string:40, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/lnx_def.h:39, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/stdafx.h:83, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/Device.cpp:33: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/lnx_def.h:127:19: error: conflicting declaration 'typedef long long int __time_t' typedef long long __time64_t; ^~~~~~~~~~ /usr/include/bits/types.h:160:26: note: previous declaration as 'typedef long int __time_t' __STD_TYPE __TIME_T_TYPE __time_t; /* Seconds since the Epoch. */ ^~~~~~~~ In file included from /usr/include/stdint.h:27, from /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/stdint.h:9, from /usr/include/c++/8.3.0/cstdint:41, from /usr/include/c++/8.3.0/bits/char_traits.h:503, from /usr/include/c++/8.3.0/string:40, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/lnx_def.h:39, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/stdafx.h:83, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/CmdOperation.cpp:32: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/lnx_def.h:127:19: error: conflicting declaration 'typedef long long int __time_t' typedef long long __time64_t; ^~~~~~~~~~ /usr/include/bits/types.h:160:26: note: previous declaration as 'typedef long int __time_t' __STD_TYPE __TIME_T_TYPE __time_t; /* Seconds since the Epoch. */ ^~~~~~~~ make[3]: *** [CMakeFiles/MfgToolLib.dir/build.make:79: CMakeFiles/MfgToolLib.dir/ControllerClass.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/Device.cpp:34: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/Device.h:50:2: warning: 'typedef' was ignored in this declaration typedef enum DeviceCapabilities ^~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/Device.h:70:2: warning: 'typedef' was ignored in this declaration typedef struct NotifyStruct ^~~~~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/StApi.h:56, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/UpdateTransportProtocol.Api.h:35, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/UpdateTransportProtocol.h:36, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/MfgToolLib.h:51, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceManager.h:38, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceClass.cpp:36: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/StMedia.h:350:21: warning: malformed '#pragma pack(pop[, id])' - ignored [-Wpragmas] #pragma pack (pop, 1) ^ In file included from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceManager.h:37, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/Device.cpp:42: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceClass.h:57:2: warning: 'typedef' was ignored in this declaration typedef struct NotifyStruct ^~~~~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceClass.h:36, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/MfgToolLib.h:49, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/CmdOperation.cpp:33: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/Device.h:50:2: warning: 'typedef' was ignored in this declaration typedef enum DeviceCapabilities ^~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/Device.h:70:2: warning: 'typedef' was ignored in this declaration typedef struct NotifyStruct ^~~~~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/MfgToolLib.h:49, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/CmdOperation.cpp:33: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceClass.h:57:2: warning: 'typedef' was ignored in this declaration typedef struct NotifyStruct ^~~~~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/MfgToolLib.h:51, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceManager.h:38, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceClass.cpp:36: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/UpdateTransportProtocol.h: In member function 'int UpdateTransportProtocol::UtpRead(CString, CString, int)': /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/UpdateTransportProtocol.h:784:119: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (libusbVolume*)m_pUtpDevice->SendCommand(m_hDevice, *transaction.GetCurrentState()->GetUtpMsg(), NULL, cmdProgress); ^ In file included from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceClass.cpp:36: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceManager.h: At global scope: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceManager.h:55:3: warning: 'typedef' was ignored in this declaration typedef enum DevChangeEvent ^~~~~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/StApi.h:56, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/UpdateTransportProtocol.Api.h:35, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/UpdateTransportProtocol.h:36, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/MfgToolLib.h:51, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceManager.h:38, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/Device.cpp:42: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/StMedia.h:350:21: warning: malformed '#pragma pack(pop[, id])' - ignored [-Wpragmas] #pragma pack (pop, 1) ^ /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceClass.cpp: In member function 'virtual Device* DeviceClass::FindDeviceByUsbPath(CString, DeviceClass::DeviceListType, DeviceClass::DeviceListAction)': /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceClass.cpp:515:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ In file included from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/StApi.h:56, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/UpdateTransportProtocol.Api.h:35, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/UpdateTransportProtocol.h:36, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/MfgToolLib.h:51, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/CmdOperation.cpp:33: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/StMedia.h:350:21: warning: malformed '#pragma pack(pop[, id])' - ignored [-Wpragmas] #pragma pack (pop, 1) ^ In file included from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/MfgToolLib.h:51, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceManager.h:38, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/Device.cpp:42: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/UpdateTransportProtocol.h: In member function 'int UpdateTransportProtocol::UtpRead(CString, CString, int)': /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/UpdateTransportProtocol.h:784:119: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (libusbVolume*)m_pUtpDevice->SendCommand(m_hDevice, *transaction.GetCurrentState()->GetUtpMsg(), NULL, cmdProgress); ^ In file included from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/Device.cpp:42: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceManager.h: At global scope: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceManager.h:55:3: warning: 'typedef' was ignored in this declaration typedef enum DevChangeEvent ^~~~~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/MfgToolLib.h:51, from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/CmdOperation.cpp:33: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/UpdateTransportProtocol.h: In member function 'int UpdateTransportProtocol::UtpRead(CString, CString, int)': /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/UpdateTransportProtocol.h:784:119: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (libusbVolume*)m_pUtpDevice->SendCommand(m_hDevice, *transaction.GetCurrentState()->GetUtpMsg(), NULL, cmdProgress); ^ In file included from /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/CmdOperation.cpp:39: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceManager.h: At global scope: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/DeviceManager.h:55:3: warning: 'typedef' was ignored in this declaration typedef enum DevChangeEvent ^~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/CmdOperation.cpp: In member function 'DWORD CCmdOperation::Open()': /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib/CmdOperation.cpp:165:32: warning: passing NULL to non-pointer argument 2 of 'int sem_init(sem_t*, int, unsigned int)' [-Wconversion-null] sem_init(ev_semaphore, NULL, 0); ^ make[3]: *** [CMakeFiles/MfgToolLib.dir/build.make:105: CMakeFiles/MfgToolLib.dir/DeviceClass.cpp.o] Error 1 make[3]: *** [CMakeFiles/MfgToolLib.dir/build.make:92: CMakeFiles/MfgToolLib.dir/Device.cpp.o] Error 1 make[3]: *** [CMakeFiles/MfgToolLib.dir/build.make:66: CMakeFiles/MfgToolLib.dir/CmdOperation.cpp.o] Error 1 make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib' make[2]: *** [CMakeFiles/Makefile2:76: CMakeFiles/MfgToolLib.dir/all] Error 2 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib' make[1]: *** [Makefile:87: all] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/MfgToolLib' make: *** [package/pkg-generic.mk:241: /data/buildroot/buildroot-test/instance-0/output/build/host-mfgtools-v0.02/.stamp_built] Error 2 make: Leaving directory '/data/buildroot/buildroot-test/instance-0/buildroot'