You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
We do not officially support it and we did not attempt to compile or test with openwrt g++ so we can't say for sure if it will work. Looking at your error it seems that some dependencies, namely 'strerror', are not available with that compiler. If you could figure out what you need to add to your LD_LIBRARY_PATH that the compiler could then use it, you might be able to get it working.
/home/christopher/apps/armnn/armnn-branches-armnn_24_11/profiling/server/src/basePipeServer/BasePipeServer.cpp: In member function 'bool arm::pipe::BasePipeServer::ReadFromSocket(uint8_t*, uint32_t)':
/home/christopher/apps/armnn/armnn-branches-armnn_24_11/profiling/server/src/basePipeServer/BasePipeServer.cpp:31:75: error: 'strerror' was not declared in this scope
std::cerr << ": Failure when reading from client socket: " << strerror(errno) << std::endl;
^~~~~~~~
/home/christopher/apps/armnn/armnn-branches-armnn_24_11/profiling/server/src/basePipeServer/BasePipeServer.cpp:31:75: note: suggested alternative: 'perror'
std::cerr << ": Failure when reading from client socket: " << strerror(errno) << std::endl;
^~~~~~~~
perror
/home/christopher/apps/armnn/armnn-branches-armnn_24_11/profiling/server/src/basePipeServer/BasePipeServer.cpp: In member function 'bool arm::pipe::BasePipeServer::WaitForStreamMetaData()':
/home/christopher/apps/armnn/armnn-branches-armnn_24_11/profiling/server/src/basePipeServer/BasePipeServer.cpp:94:44: error: 'strerror' was not declared in this scope
std::cerr << ": Socket error: " << strerror(errno) << std::endl;
^~~~~~~~
/home/christopher/apps/armnn/armnn-branches-armnn_24_11/profiling/server/src/basePipeServer/BasePipeServer.cpp:94:44: note: suggested alternative: 'perror'
std::cerr << ": Socket error: " << strerror(errno) << std::endl;
^~~~~~~~
perror
/home/christopher/apps/armnn/armnn-branches-armnn_24_11/profiling/server/src/basePipeServer/BasePipeServer.cpp: In member function 'arm::pipe::Packet arm::pipe::BasePipeServer::WaitForPacket(uint32_t)':
/home/christopher/apps/armnn/armnn-branches-armnn_24_11/profiling/server/src/basePipeServer/BasePipeServer.cpp:133:42: error: 'strerror' was not declared in this scope
strerror(errno));
^~~~~~~~
/home/christopher/apps/armnn/armnn-branches-armnn_24_11/profiling/server/src/basePipeServer/BasePipeServer.cpp:133:42: note: suggested alternative: 'perror'
strerror(errno));
^~~~~~~~
perror
/home/christopher/apps/armnn/armnn-branches-armnn_24_11/profiling/server/src/basePipeServer/BasePipeServer.cpp: In member function 'bool arm::pipe::BasePipeServer::SendPacket(uint32_t, uint32_t, const uint8_t*, uint32_t)':
/home/christopher/apps/armnn/armnn-branches-armnn_24_11/profiling/server/src/basePipeServer/BasePipeServer.cpp:228:70: error: 'strerror' was not declared in this scope
std::cerr << ": Failure when writing to client socket: " << strerror(errno) << std::endl;
^~~~~~~~
/home/christopher/apps/armnn/armnn-branches-armnn_24_11/profiling/server/src/basePipeServer/BasePipeServer.cpp:228:70: note: suggested alternative: 'perror'
std::cerr << ": Failure when writing to client socket: " << strerror(errno) << std::endl;
^~~~~~~~
perror
make[2]: *** [profiling/server/src/basePipeServer/CMakeFiles/armnnBasePipeServer.dir/build.make:76: profiling/server/src/basePipeServer/CMakeFiles/armnnBasePipeServer.dir/BasePipeServer.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1636: profiling/server/src/basePipeServer/CMakeFiles/armnnBasePipeServer.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
I tried to change the compiler to openwrt's g++, but the above problem occurred.
The text was updated successfully, but these errors were encountered: