[SR-Users] unable to install utils module

Daniel-Constantin Mierla miconda at gmail.com
Tue Nov 29 11:50:34 CET 2011


Hello,

looks like you don't have libxml2-dev installed on your system and it is 
needed by pidf.c from utils module. Install that package and try again.

Cheers,
Daniel

On 11/29/11 10:59 AM, Uri Shacked wrote:
> i need the utils module...
> tried to install it with  - "make install-modules modules=modules/utils"
> and got the following:
> "
>  make install-modules modules=modules/utils
> CC (gcc) [M utils.so]           conf.o
> CC (gcc) [M utils.so]           functions.o
> CC (gcc) [M utils.so]           pidf.o
> pidf.c:52:27: warning: libxml/parser.h: No such file or directory
> In file included from pidf.c:54:
> pidf.h:41: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? 
> before ?xmlNodeGetNodeByName?
> pidf.h:43: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? 
> before ?xmlDocGetNodeByName?
> pidf.h:44: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? 
> before ?xmlNodeGetChildByName?
> pidf.h:46: error: expected ?)? before ?root?
> pidf.h:48: error: expected ?)? before ?node?
> pidf.c:56: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? 
> before ?xmlNodeGetAttrByName?
> pidf.c:67: error: expected ?)? before ?node?
> pidf.c:76: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? 
> before ?xmlNodeGetChildByName?
> pidf.c:87: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? 
> before ?xmlNodeGetNodeByName?
> pidf.c:106: error: expected ?)? before ?root?
> pidf.c:116: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? 
> before ?xmlDocGetNodeByName?
> pidf.c:122: error: expected ?)? before ?doc?
> make[1]: *** [pidf.o] Error 1
> make: *** [install-modules] Error 1
> "
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20111129/0bce132f/attachment.htm>


More information about the sr-users mailing list