>>> host-mfgtools 0.02 Downloading --2019-08-29 21:46:19-- https://github.com/codeauroraforum/mfgtools/archive/v0.02/mfgtools-0.02.tar.gz Resolving github.com (github.com)... 140.82.118.3 Connecting to github.com (github.com)|140.82.118.3|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://github.com/NXPmicro/mfgtools/archive/v0.02/mfgtools-0.02.tar.gz [following] --2019-08-29 21:46:19-- https://github.com/NXPmicro/mfgtools/archive/v0.02/mfgtools-0.02.tar.gz Reusing existing connection to github.com:443. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/NXPmicro/mfgtools/tar.gz/v0.02 [following] --2019-08-29 21:46:19-- https://codeload.github.com/NXPmicro/mfgtools/tar.gz/v0.02 Resolving codeload.github.com (codeload.github.com)... 192.30.253.120 Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/naourr/work/instance-3/output-1/build/.mfgtools-0.02.tar.gz.KQVBmd/output' 0K .......... .......... .......... .......... .......... 266K 50K .......... .......... .......... .......... .......... 4.39M 100K .......... .......... .......... .......... .......... 648K 150K .......... .......... .......... ...... 82.6M=0.3s 2019-08-29 21:46:20 (675 KB/s) - '/home/naourr/work/instance-3/output-1/build/.mfgtools-0.02.tar.gz.KQVBmd/output' saved [191302] mfgtools-0.02.tar.gz: OK (sha256: 055d71227d18883d6e8bc9e854c076015f9a7749820a94272e19071bf0b25c89) >>> host-mfgtools 0.02 Extracting gzip -d -c /home/naourr/work/instance-3/buildroot/instance-3/dl/mfgtools/mfgtools-0.02.tar.gz | /home/naourr/work/instance-3/output-1/host/bin/tar --strip-components=1 -C /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02 -xf - >>> host-mfgtools 0.02 Patching >>> host-mfgtools 0.02 Configuring (mkdir -p /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib && cd /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib && rm -f CMakeCache.txt && PATH="/home/naourr/work/instance-3/output-1/host/bin:/home/naourr/work/instance-3/output-1/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/bin:/home/naourr/git/git-wrappers:/home/naourr/.local/bin:/home/naourr/bin" PKG_CONFIG="/home/naourr/work/instance-3/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_LIBDIR="/home/naourr/work/instance-3/output-1/host/lib/pkgconfig:/home/naourr/work/instance-3/output-1/host/share/pkgconfig" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 /usr/bin/cmake /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib -DCMAKE_INSTALL_SO_NO_EXE=0 -DCMAKE_FIND_ROOT_PATH="/home/naourr/work/instance-3/output-1/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="/home/naourr/work/instance-3/output-1/host" -DCMAKE_C_FLAGS="-O2 -I/home/naourr/work/instance-3/output-1/host/include" -DCMAKE_CXX_FLAGS="-O2 -I/home/naourr/work/instance-3/output-1/host/include" -DCMAKE_EXE_LINKER_FLAGS="-L/home/naourr/work/instance-3/output-1/host/lib -Wl,-rpath,/home/naourr/work/instance-3/output-1/host/lib" -DCMAKE_SHARED_LINKER_FLAGS="-L/home/naourr/work/instance-3/output-1/host/lib -Wl,-rpath,/home/naourr/work/instance-3/output-1/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 9.1.1 -- The CXX compiler identification is GNU 9.1.1 -- 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: /home/naourr/work/instance-3/output-1/host/usr/include/libusb-1.0 -- - Libraries: /home/naourr/work/instance-3/output-1/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: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib >>> host-mfgtools 0.02 Building PATH="/home/naourr/work/instance-3/output-1/host/bin:/home/naourr/work/instance-3/output-1/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/bin:/home/naourr/git/git-wrappers:/home/naourr/.local/bin:/home/naourr/bin" PKG_CONFIG="/home/naourr/work/instance-3/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/naourr/work/instance-3/output-1/host/lib/pkgconfig:/home/naourr/work/instance-3/output-1/host/share/pkgconfig" /usr/bin/make -j4 -C /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib make[1]: Entering directory '/home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib' /usr/bin/cmake -S/home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib -B/home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/CMakeFiles /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib' /usr/bin/make -f CMakeFiles/MfgToolLib.dir/build.make CMakeFiles/MfgToolLib.dir/depend make[3]: Entering directory '/home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib' cd /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/CMakeFiles/MfgToolLib.dir/DependInfo.cmake Scanning dependencies of target MfgToolLib make[3]: Leaving directory '/home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib' /usr/bin/make -f CMakeFiles/MfgToolLib.dir/build.make CMakeFiles/MfgToolLib.dir/build make[3]: Entering directory '/home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib' [ 2%] Building CXX object CMakeFiles/MfgToolLib.dir/CmdOperation.cpp.o /usr/bin/g++ -DMfgToolLib_EXPORTS -I/home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib -I/home/naourr/work/instance-3/output-1/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 /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/CmdOperation.cpp [ 5%] Building CXX object CMakeFiles/MfgToolLib.dir/ControllerClass.cpp.o /usr/bin/g++ -DMfgToolLib_EXPORTS -I/home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib -I/home/naourr/work/instance-3/output-1/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 /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/ControllerClass.cpp [ 8%] Building CXX object CMakeFiles/MfgToolLib.dir/Device.cpp.o /usr/bin/g++ -DMfgToolLib_EXPORTS -I/home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib -I/home/naourr/work/instance-3/output-1/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 /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/Device.cpp [ 11%] Building CXX object CMakeFiles/MfgToolLib.dir/DeviceClass.cpp.o /usr/bin/g++ -DMfgToolLib_EXPORTS -I/home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib -I/home/naourr/work/instance-3/output-1/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 /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceClass.cpp In file included from /usr/include/stdint.h:27, from /usr/lib/gcc/x86_64-redhat-linux/9/include/stdint.h:9, from /usr/include/c++/9/cstdint:41, from /usr/include/c++/9/bits/char_traits.h:621, from /usr/include/c++/9/string:40, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/lnx_def.h:39, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/stdafx.h:83, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/ControllerClass.cpp:33: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/lnx_def.h:127:19: error: conflicting declaration 'typedef long long int __time_t' 127 | typedef long long __time64_t; | ^~~~~~~~~~ /usr/include/bits/types.h:160:26: note: previous declaration as 'typedef long int __time_t' 160 | __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-redhat-linux/9/include/stdint.h:9, from /usr/include/c++/9/cstdint:41, from /usr/include/c++/9/bits/char_traits.h:621, from /usr/include/c++/9/string:40, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/lnx_def.h:39, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/stdafx.h:83, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceClass.cpp:32: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/lnx_def.h:127:19: error: conflicting declaration 'typedef long long int __time_t' 127 | typedef long long __time64_t; | ^~~~~~~~~~ /usr/include/bits/types.h:160:26: note: previous declaration as 'typedef long int __time_t' 160 | __STD_TYPE __TIME_T_TYPE __time_t; /* Seconds since the Epoch. */ | ^~~~~~~~ In file included from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceClass.h:36, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/ControllerClass.h:35, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/ControllerClass.cpp:34: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/Device.h:50:2: warning: 'typedef' was ignored in this declaration 50 | typedef enum DeviceCapabilities | ^~~~~~~ /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/Device.h:70:2: warning: 'typedef' was ignored in this declaration 70 | typedef struct NotifyStruct | ^~~~~~~ In file included from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/ControllerClass.h:35, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/ControllerClass.cpp:34: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceClass.h:57:2: warning: 'typedef' was ignored in this declaration 57 | typedef struct NotifyStruct | ^~~~~~~ In file included from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceClass.h:36, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceClass.cpp:33: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/Device.h:50:2: warning: 'typedef' was ignored in this declaration 50 | typedef enum DeviceCapabilities | ^~~~~~~ /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/Device.h:70:2: warning: 'typedef' was ignored in this declaration 70 | typedef struct NotifyStruct | ^~~~~~~ In file included from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceClass.cpp:33: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceClass.h:57:2: warning: 'typedef' was ignored in this declaration 57 | typedef struct NotifyStruct | ^~~~~~~ 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 /usr/include/stdint.h:27, from /usr/lib/gcc/x86_64-redhat-linux/9/include/stdint.h:9, from /usr/include/c++/9/cstdint:41, from /usr/include/c++/9/bits/char_traits.h:621, from /usr/include/c++/9/string:40, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/lnx_def.h:39, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/stdafx.h:83, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/CmdOperation.cpp:32: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/lnx_def.h:127:19: error: conflicting declaration 'typedef long long int __time_t' 127 | typedef long long __time64_t; | ^~~~~~~~~~ /usr/include/bits/types.h:160:26: note: previous declaration as 'typedef long int __time_t' 160 | __STD_TYPE __TIME_T_TYPE __time_t; /* Seconds since the Epoch. */ | ^~~~~~~~ In file included from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/StApi.h:56, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/UpdateTransportProtocol.Api.h:35, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/UpdateTransportProtocol.h:36, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/MfgToolLib.h:51, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceManager.h:38, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceClass.cpp:36: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/StMedia.h:350:21: warning: malformed '#pragma pack(pop[, id])' - ignored [-Wpragmas] 350 | #pragma pack (pop, 1) | ^ In file included from /usr/include/stdint.h:27, from /usr/lib/gcc/x86_64-redhat-linux/9/include/stdint.h:9, from /usr/include/c++/9/cstdint:41, from /usr/include/c++/9/bits/char_traits.h:621, from /usr/include/c++/9/string:40, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/lnx_def.h:39, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/stdafx.h:83, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/Device.cpp:33: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/lnx_def.h:127:19: error: conflicting declaration 'typedef long long int __time_t' 127 | typedef long long __time64_t; | ^~~~~~~~~~ /usr/include/bits/types.h:160:26: note: previous declaration as 'typedef long int __time_t' 160 | __STD_TYPE __TIME_T_TYPE __time_t; /* Seconds since the Epoch. */ | ^~~~~~~~ In file included from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceClass.h:36, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/MfgToolLib.h:49, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/CmdOperation.cpp:33: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/Device.h:50:2: warning: 'typedef' was ignored in this declaration 50 | typedef enum DeviceCapabilities | ^~~~~~~ /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/Device.h:70:2: warning: 'typedef' was ignored in this declaration 70 | typedef struct NotifyStruct | ^~~~~~~ In file included from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/MfgToolLib.h:49, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/CmdOperation.cpp:33: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceClass.h:57:2: warning: 'typedef' was ignored in this declaration 57 | typedef struct NotifyStruct | ^~~~~~~ In file included from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/Device.cpp:34: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/Device.h:50:2: warning: 'typedef' was ignored in this declaration 50 | typedef enum DeviceCapabilities | ^~~~~~~ /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/Device.h:70:2: warning: 'typedef' was ignored in this declaration 70 | typedef struct NotifyStruct | ^~~~~~~ In file included from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceManager.h:37, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/Device.cpp:42: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceClass.h:57:2: warning: 'typedef' was ignored in this declaration 57 | typedef struct NotifyStruct | ^~~~~~~ In file included from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/MfgToolLib.h:51, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceManager.h:38, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceClass.cpp:36: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/UpdateTransportProtocol.h: In member function 'int UpdateTransportProtocol::UtpRead(CString, CString, int)': /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/UpdateTransportProtocol.h:784:119: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 784 | (libusbVolume*)m_pUtpDevice->SendCommand(m_hDevice, *transaction.GetCurrentState()->GetUtpMsg(), NULL, cmdProgress); | ^ In file included from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceClass.cpp:36: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceManager.h: At global scope: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceManager.h:55:3: warning: 'typedef' was ignored in this declaration 55 | typedef enum DevChangeEvent | ^~~~~~~ /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceClass.cpp: In member function 'virtual Device* DeviceClass::FindDeviceByUsbPath(CString, DeviceClass::DeviceListType, DeviceClass::DeviceListAction)': /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceClass.cpp:515:1: warning: no return statement in function returning non-void [-Wreturn-type] 515 | } | ^ In file included from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/StApi.h:56, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/UpdateTransportProtocol.Api.h:35, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/UpdateTransportProtocol.h:36, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/MfgToolLib.h:51, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/CmdOperation.cpp:33: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/StMedia.h:350:21: warning: malformed '#pragma pack(pop[, id])' - ignored [-Wpragmas] 350 | #pragma pack (pop, 1) | ^ In file included from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/StApi.h:56, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/UpdateTransportProtocol.Api.h:35, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/UpdateTransportProtocol.h:36, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/MfgToolLib.h:51, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceManager.h:38, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/Device.cpp:42: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/StMedia.h:350:21: warning: malformed '#pragma pack(pop[, id])' - ignored [-Wpragmas] 350 | #pragma pack (pop, 1) | ^ In file included from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/MfgToolLib.h:51, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/CmdOperation.cpp:33: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/UpdateTransportProtocol.h: In member function 'int UpdateTransportProtocol::UtpRead(CString, CString, int)': /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/UpdateTransportProtocol.h:784:119: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 784 | (libusbVolume*)m_pUtpDevice->SendCommand(m_hDevice, *transaction.GetCurrentState()->GetUtpMsg(), NULL, cmdProgress); | ^ In file included from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/CmdOperation.cpp:39: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceManager.h: At global scope: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceManager.h:55:3: warning: 'typedef' was ignored in this declaration 55 | typedef enum DevChangeEvent | ^~~~~~~ In file included from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/MfgToolLib.h:51, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceManager.h:38, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/Device.cpp:42: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/UpdateTransportProtocol.h: In member function 'int UpdateTransportProtocol::UtpRead(CString, CString, int)': /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/UpdateTransportProtocol.h:784:119: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 784 | (libusbVolume*)m_pUtpDevice->SendCommand(m_hDevice, *transaction.GetCurrentState()->GetUtpMsg(), NULL, cmdProgress); | ^ /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/CmdOperation.cpp: In member function 'DWORD CCmdOperation::Open()': /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/CmdOperation.cpp:165:25: warning: passing NULL to non-pointer argument 2 of 'int sem_init(sem_t*, int, unsigned int)' [-Wconversion-null] 165 | sem_init(ev_semaphore, NULL, 0); | ^~~~ In file included from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/lnx_def.h:48, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/stdafx.h:83, from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/CmdOperation.cpp:32: /usr/include/semaphore.h:35:40: note: declared here 35 | extern int sem_init (sem_t *__sem, int __pshared, unsigned int __value) | ~~~~^~~~~~~~~ In file included from /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/Device.cpp:42: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceManager.h: At global scope: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib/DeviceManager.h:55:3: warning: 'typedef' was ignored in this declaration 55 | typedef enum DevChangeEvent | ^~~~~~~ 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 '/home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib' make[2]: *** [CMakeFiles/Makefile2:76: CMakeFiles/MfgToolLib.dir/all] Error 2 make[2]: Leaving directory '/home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib' make[1]: *** [Makefile:87: all] Error 2 make[1]: Leaving directory '/home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/MfgToolLib' make: *** [package/pkg-generic.mk:241: /home/naourr/work/instance-3/output-1/build/host-mfgtools-0.02/.stamp_built] Error 2 make: Leaving directory '/home/naourr/work/instance-3/buildroot'