Skip to content

Instantly share code, notes, and snippets.

@kyv
Created September 27, 2014 18:58
Show Gist options
  • Save kyv/fb16ae952d8577c31428 to your computer and use it in GitHub Desktop.
Save kyv/fb16ae952d8577c31428 to your computer and use it in GitHub Desktop.
dvswitch 0.9.1-1 build failure on archlinux
/home/kevin/proyectos/dvswitch/src/dvswitch/src/tally_rtsp_server.cpp: En el constructor ‘tally_rtsp_server::RTSPClientSession::RTSPClientSession(tally_rtsp_server&, unsigned int, int, sockaddr_in)’:
/home/kevin/proyectos/dvswitch/src/dvswitch/src/tally_rtsp_server.cpp:60:103: error: no se encontró una función coincidente para la llamada a ‘RTSPServer::RTSPClientSession::RTSPClientSession(tally_rtsp_server&, unsigned int&, int&, sockaddr_in&)’
: RTSPServer::RTSPClientSession(ourServer, sessionId, clientSocket, clientAddr), server_(ourServer)
^
/home/kevin/proyectos/dvswitch/src/dvswitch/src/tally_rtsp_server.cpp:60:103: nota: los candidatos son:
In file included from /home/kevin/proyectos/dvswitch/src/dvswitch/src/tally_rtsp_server.hpp:9:0,
from /home/kevin/proyectos/dvswitch/src/dvswitch/src/tally_rtsp_server.cpp:5:
/usr/include/liveMedia/RTSPServer.hh:271:5: nota: RTSPServer::RTSPClientSession::RTSPClientSession(RTSPServer&, u_int32_t)
RTSPClientSession(RTSPServer& ourServer, u_int32_t sessionId);
^
/usr/include/liveMedia/RTSPServer.hh:271:5: nota: el candidato espera 2 argumentos, se proporcionaron 4
/usr/include/liveMedia/RTSPServer.hh:269:9: nota: RTSPServer::RTSPClientSession::RTSPClientSession(const RTSPServer::RTSPClientSession&)
class RTSPClientSession {
^
/usr/include/liveMedia/RTSPServer.hh:269:9: nota: el candidato espera 1 argumento, se proporcionaron 4
/home/kevin/proyectos/dvswitch/src/dvswitch/src/tally_rtsp_server.cpp: En la función miembro ‘virtual void tally_rtsp_server::RTSPClientSession::handleCmd_SET_PARAMETER(ServerMediaSubsession*, const char*, const char*)’:
/home/kevin/proyectos/dvswitch/src/dvswitch/src/tally_rtsp_server.cpp:76:22: error: ‘fResponseBuffer’ no se declaró en este ámbito
snprintf((char*)fResponseBuffer, sizeof(fResponseBuffer), "RTSP/1.0 200 OK\r\nCSeq: %s\r\n%sSession: %08X\r\n\r\n", cseq, dateHeader(), fOurSessionId);
^
/home/kevin/proyectos/dvswitch/src/dvswitch/src/tally_rtsp_server.cpp:104:18: error: ‘fResponseBuffer’ no se declaró en este ámbito
snprintf((char*)fResponseBuffer, sizeof(fResponseBuffer),
^
/home/kevin/proyectos/dvswitch/src/dvswitch/src/tally_rtsp_server.cpp:119:21: error: ‘fResponseBuffer’ no se declaró en este ámbito
snprintf((char*)fResponseBuffer, sizeof(fResponseBuffer),
^
make[2]: *** [src/CMakeFiles/dvsource-firewire-rtsp.dir/tally_rtsp_server.o] Error 1
make[1]: *** [src/CMakeFiles/dvsource-firewire-rtsp.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment