presence_xml module does not compile after recent changes:
-- juha
CC (cc) [M presence_xml.so] presence_xml.o presence_xml.c:60:17: error: api.h: No such file or directory presence_xml.c:115: error: ‘bind_presence_xml’ undeclared here (not in a function) presence_xml.c:510: warning: ‘struct presence_xml_binds’ declared inside parameter list presence_xml.c:510: warning: its scope is only this definition or declaration, which is probably not what you want presence_xml.c: In function ‘bind_presence_xml’: presence_xml.c:518: error: dereferencing pointer to incomplete type presence_xml.c:518: error: request for member ‘pres_check_basic’ in something not a structure or union presence_xml.c:518: warning: statement with no effect presence_xml.c:519: error: dereferencing pointer to incomplete type presence_xml.c:519: error: request for member ‘pres_check_activities’ in something not a structure or union presence_xml.c:519: warning: statement with no effect make[2]: *** [presence_xml.o] Error 1
Hello,
indeed. Seems Peter added a new file 'api.h' in order to export some functions to Lua module, but he forgot to add the file to GIT repository. This is the commit breaking it:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=604a8a95...
I guess he will add the file as soon as he sees this message.
Cheers, Daniel
On 8/20/11 9:07 AM, Juha Heinanen wrote:
presence_xml module does not compile after recent changes:
-- juha
CC (cc) [M presence_xml.so] presence_xml.o presence_xml.c:60:17: error: api.h: No such file or directory presence_xml.c:115: error: ‘bind_presence_xml’ undeclared here (not in a function) presence_xml.c:510: warning: ‘struct presence_xml_binds’ declared inside parameter list presence_xml.c:510: warning: its scope is only this definition or declaration, which is probably not what you want presence_xml.c: In function ‘bind_presence_xml’: presence_xml.c:518: error: dereferencing pointer to incomplete type presence_xml.c:518: error: request for member ‘pres_check_basic’ in something not a structure or union presence_xml.c:518: warning: statement with no effect presence_xml.c:519: error: dereferencing pointer to incomplete type presence_xml.c:519: error: request for member ‘pres_check_activities’ in something not a structure or union presence_xml.c:519: warning: statement with no effect make[2]: *** [presence_xml.o] Error 1
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
This should be fixed now.
Peter
On 20 Aug 2011, at 08:32, Daniel-Constantin Mierla miconda@gmail.com wrote:
Hello,
indeed. Seems Peter added a new file 'api.h' in order to export some functions to Lua module, but he forgot to add the file to GIT repository. This is the commit breaking it:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=604a8a95...
I guess he will add the file as soon as he sees this message.
Cheers, Daniel
On 8/20/11 9:07 AM, Juha Heinanen wrote:
presence_xml module does not compile after recent changes:
-- juha
CC (cc) [M presence_xml.so] presence_xml.o presence_xml.c:60:17: error: api.h: No such file or directory presence_xml.c:115: error: ‘bind_presence_xml’ undeclared here (not in a function) presence_xml.c:510: warning: ‘struct presence_xml_binds’ declared inside parameter list presence_xml.c:510: warning: its scope is only this definition or declaration, which is probably not what you want presence_xml.c: In function ‘bind_presence_xml’: presence_xml.c:518: error: dereferencing pointer to incomplete type presence_xml.c:518: error: request for member ‘pres_check_basic’ in something not a structure or union presence_xml.c:518: warning: statement with no effect presence_xml.c:519: error: dereferencing pointer to incomplete type presence_xml.c:519: error: request for member ‘pres_check_activities’ in something not a structure or union presence_xml.c:519: warning: statement with no effect make[2]: *** [presence_xml.o] Error 1
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
-- Daniel-Constantin Mierla -- http://www.asipto.com Kamailio Advanced Training, Oct 10-13, Berlin: http://asipto.com/u/kat http://linkedin.com/in/miconda -- http://twitter.com/miconda