Closed tim-devel closed 3 years ago
My build keeps crashing with the following error:
GenericMediaServer.cpp: In member function 'void GenericMediaServer::incomingConnectionHandlerOnSocket(int)':
GenericMediaServer.cpp:232:88: error: invalid conversion from 'int*' to 'socklen_t* {aka unsigned int*}' [-fpermissive]
In file included from ../groupsock/include/NetCommon.h:95:0,
from ../UsageEnvironment/include/UsageEnvironment.hh:28,
from ./include/Media.hh:33,
from ./include/GenericMediaServer.hh:26,
from GenericMediaServer.cpp:22:
/home/tim/git/Main/toolchain/bin/../mips-linux-gnu/libc/uclibc/usr/include/sys/socket.h:214:12: error: initializing argument 3 of 'int accept(int, sockaddr*, socklen_t*)' [-fpermissive]
make[1]: *** [<builtin>: GenericMediaServer.o] Error 1
I compiled an up to date version of openRTSP on 64bit and this is a big with openRTSP. Compiling a new version will not solve this issue
Work in progress. I have created a config file and resolved some library issues but the build still fails.
See issue for background EliasKotlyar/Xiaomi-Dafang-Hacks#1658