2009-02-15, 17:27
im getting an error while trying to compile streamdev:
this is what i get:
sorry for the lengthy error output
Code:
cvs -d:pserver:[email protected]:/var/cvsroot login
cvs -d:pserver:[email protected]:/var/cvsroot co streamdev
wget http://trac.xbmc.org/raw-attachment/ticket/5595/streamdev-cvs050209_xbmc-v3.patch
cd streamdev
cvs update -C -D 2/5/09
cd ..
patch -p0 < streamdev-cvs050209_xbmc-v3.patch
this is what i get:
Code:
Plugin streamdev:
make[1]: Entering directory `/home/mega/src/vdr-1.7.0-br/PLUGINS/src/streamdev'
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"streamdev"' -I/home/mega/src/v4l-dvb/linux/include -I../../../include -I. -o server/connectionVTP.o server/connectionVTP.c
server/connectionVTP.c: In constructor ‘cLSTEHandler::cLSTEHandler(cConnectionVTP*, const char*)’:
server/connectionVTP.c:119: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c:124: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c: In constructor ‘cLSTEHandler::cLSTEHandler(cConnectionVTP*, const char*)’:
server/connectionVTP.c:119: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c:124: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c: In constructor ‘cLSTEHandler::cLSTEHandler(cConnectionVTP*, const char*)’:
server/connectionVTP.c:119: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c:124: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c: In member function ‘bool cLSTEHandler::Next(bool&)’:
server/connectionVTP.c:171: warning: format not a string literal and no format arguments
server/connectionVTP.c: In constructor ‘cLSTCHandler::cLSTCHandler(cConnectionVTP*, const char*)’:
server/connectionVTP.c:337: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c:353: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c: In constructor ‘cLSTCHandler::cLSTCHandler(cConnectionVTP*, const char*)’:
server/connectionVTP.c:337: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c:353: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c: In constructor ‘cLSTCHandler::cLSTCHandler(cConnectionVTP*, const char*)’:
server/connectionVTP.c:337: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c:353: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c: In member function ‘bool cLSTCHandler::Next(bool&)’:
server/connectionVTP.c:381: warning: format not a string literal and no format arguments
server/connectionVTP.c:404: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c: In constructor ‘cLSTTHandler::cLSTTHandler(cConnectionVTP*, const char*)’:
server/connectionVTP.c:445: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c:449: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c:457: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c: In constructor ‘cLSTTHandler::cLSTTHandler(cConnectionVTP*, const char*)’:
server/connectionVTP.c:445: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c:449: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c:457: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c: In constructor ‘cLSTTHandler::cLSTTHandler(cConnectionVTP*, const char*)’:
server/connectionVTP.c:445: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c:449: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c:457: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
server/connectionVTP.c: In member function ‘bool cLSTTHandler::Next(bool&)’:
server/connectionVTP.c:477: warning: format not a string literal and no format arguments
server/connectionVTP.c:493: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
./server/connectionVTP.h: In constructor ‘cConnectionVTP::cConnectionVTP()’:
./server/connectionVTP.h:36: warning: ‘cConnectionVTP::m_LSTTHandler’ will be initialized after
./server/connectionVTP.h:30: warning: ‘RecPlayer* cConnectionVTP::m_RecPlayer’
server/connectionVTP.c:501: warning: when initialized here
server/connectionVTP.c: In member function ‘bool cConnectionVTP::CmdREAD(char*)’:
server/connectionVTP.c:800: warning: format ‘%u’ expects type ‘unsigned int’, but argument 4 has type ‘long unsigned int’
server/connectionVTP.c: In member function ‘bool cConnectionVTP::CmdPLAY(char*)’:
server/connectionVTP.c:857: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘uint32_t’
server/connectionVTP.c:848: warning: unused variable ‘recordings’
server/connectionVTP.c: In member function ‘bool cConnectionVTP::CmdLSTR(char*)’:
server/connectionVTP.c:1218: error: ‘const class cRecordingInfo’ has no member named ‘GetEvent’
server/connectionVTP.c:1221: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘tEventID’
server/connectionVTP.c:1221: warning: format ‘%ld’ expects type ‘long int’, but argument 6 has type ‘int’
server/connectionVTP.c:1221: warning: too many arguments for format
server/connectionVTP.c: In member function ‘bool cConnectionVTP::CmdFRAM(const char*)’:
server/connectionVTP.c:1565: warning: unused variable ‘recording’
server/connectionVTP.c: In member function ‘bool cConnectionVTP::Respond(int, const char*, ...)’:
server/connectionVTP.c:1598: warning: ignoring return value of ‘int vasprintf(char**, const char*, char*)’, declared with attribute warn_unused_result
make[1]: *** [server/connectionVTP.o] Error 1
make[1]: Leaving directory `/home/mega/src/vdr-1.7.0-br/PLUGINS/src/streamdev'
*** failed plugins: streamdev
make: *** [plugins] Error 1
sorry for the lengthy error output