[Serdev] Re: error in pa module
Jan Janak
jan at iptel.org
Tue Mar 1 08:17:00 UTC 2005
Install libxml2-dev.
Jan.
On 01-03 02:01, Mohammad Khan wrote:
> I was creating rpm package from ser-0.9.0 source.
>
>
> pidf.c:378: error: syntax error before "event_body_parse"
> pidf.c:379: warning: return type defaults to `int'
> pidf.c: In function `event_body_parse':
> pidf.c:380: warning: implicit declaration of function `xmlParseMemory'
> pidf.c: At top level:
> pidf.c:386: error: syntax error before "doc"
> pidf.c:386: error: syntax error before "void"
> pidf.c:386: error: `xpath_map' declared as function returning a function
> pidf.c:389: warning: type defaults to `int' in declaration of `result'
> pidf.c:389: warning: data definition has no type or storage class
> pidf.c:390: error: syntax error before "nodeset"
> pidf.c:390: warning: type defaults to `int' in declaration of `nodeset'
> pidf.c:390: warning: data definition has no type or storage class
> pidf.c:393: warning: type defaults to `int' in declaration of `context'
> pidf.c:393: warning: implicit declaration of function
> `xmlXPathNewContext'
> pidf.c:393: error: `doc' undeclared here (not in a function)
> pidf.c:393: error: initializer element is not constant
> pidf.c:393: warning: data definition has no type or storage class
> pidf.c:394: warning: type defaults to `int' in declaration of `result'
> pidf.c:394: warning: implicit declaration of function
> `xmlXPathEvalExpression'
> pidf.c:394: error: `xpath' undeclared here (not in a function)
> pidf.c:394: error: initializer element is not constant
> pidf.c:394: warning: data definition has no type or storage class
> pidf.c:395: error: syntax error before "if"
> pidf.c:399: warning: type defaults to `int' in declaration of `nodeset'
> pidf.c:399: error: invalid type argument of `->'
> pidf.c:399: warning: data definition has no type or storage class
> pidf.c:400: error: syntax error before "for"
> pidf.c:402: error: syntax error before string constant
> pidf.c:402: warning: type defaults to `int' in declaration of `printf'
> pidf.c:402: error: conflicting types for 'printf'
> pidf.c:402: note: a parameter list with an ellipsis can't match an empty
> parameter name list declaration
> pidf.c:402: error: conflicting types for 'printf'
> pidf.c:402: note: a parameter list with an ellipsis can't match an empty
> parameter name list declaration
> pidf.c:402: warning: data definition has no type or storage class
> pidf.c:403: warning: type defaults to `int' in declaration of `f'
> pidf.c:403: warning: parameter names (without types) in function
> declaration
> pidf.c:403: warning: data definition has no type or storage class
> pidf.c:404: error: syntax error before '}' token
> pidf.c:405: warning: type defaults to `int' in declaration of
> `xmlXPathFreeContext'
> pidf.c:405: warning: parameter names (without types) in function
> declaration
> pidf.c:405: warning: data definition has no type or storage class
> pidf.c:406: error: syntax error before '}' token
> pidf.c:408: error: syntax error before "doc"
> pidf.c:409: warning: return type defaults to `int'
> pidf.c: In function `xpath_get_node':
> pidf.c:410: error: `xmlXPathContextPtr' undeclared (first use in this
> function)
> pidf.c:410: error: (Each undeclared identifier is reported only once
> pidf.c:410: error: for each function it appears in.)
> pidf.c:410: error: syntax error before "context"
> pidf.c:411: error: `xmlXPathObjectPtr' undeclared (first use in this
> function)
> pidf.c:412: error: `xmlNodeSetPtr' undeclared (first use in this
> function)
> pidf.c:413: error: `xmlNodePtr' undeclared (first use in this function)
> pidf.c:417: warning: implicit declaration of function
> `xmlXPathNodeSetIsEmpty'
> pidf.c:417: error: invalid type argument of `->'
> pidf.c:419: warning: return makes integer from pointer without a cast
> pidf.c:421: error: invalid type argument of `->'
> pidf.c:422: error: `node' undeclared (first use in this function)
> pidf.c:422: error: invalid type argument of `->'
> pidf.c: At top level:
> pidf.c:427: error: syntax error before "xmlNodeGetAttrByName"
> pidf.c:427: error: syntax error before "node"
> pidf.c:428: warning: return type defaults to `int'
> pidf.c: In function `xmlNodeGetAttrByName':
> pidf.c:429: error: `xmlAttrPtr' undeclared (first use in this function)
> pidf.c:429: error: syntax error before "attr"
> pidf.c:430: error: `attr' undeclared (first use in this function)
> pidf.c:431: warning: implicit declaration of function `xmlStrcasecmp'
> pidf.c:431: error: `name' undeclared (first use in this function)
> pidf.c:435: warning: return makes integer from pointer without a cast
> pidf.c: At top level:
> pidf.c:438: error: syntax error before "node"
> pidf.c: In function `xmlNodeGetAttrContentByName':
> pidf.c:440: error: `xmlAttrPtr' undeclared (first use in this function)
> pidf.c:440: error: syntax error before "attr"
> pidf.c:441: error: `attr' undeclared (first use in this function)
> pidf.c:442: warning: implicit declaration of function
> `xmlNodeGetContent'
> pidf.c:442: warning: return makes pointer from integer without a cast
> pidf.c: At top level:
> pidf.c:447: error: syntax error before "xmlNodeGetChildByName"
> pidf.c:447: error: syntax error before "node"
> pidf.c:448: warning: return type defaults to `int'
> pidf.c: In function `xmlNodeGetChildByName':
> pidf.c:449: error: `xmlNodePtr' undeclared (first use in this function)
> pidf.c:449: error: syntax error before "cur"
> pidf.c:450: error: `cur' undeclared (first use in this function)
> pidf.c:451: error: `name' undeclared (first use in this function)
> pidf.c:455: warning: return makes integer from pointer without a cast
> pidf.c: At top level:
> pidf.c:458: error: syntax error before "xmlNodeGetNodeByName"
> pidf.c:458: error: syntax error before "node"
> pidf.c:459: warning: return type defaults to `int'
> pidf.c: In function `xmlNodeGetNodeByName':
> pidf.c:460: error: `xmlNodePtr' undeclared (first use in this function)
> pidf.c:460: error: syntax error before "cur"
> pidf.c:461: error: `cur' undeclared (first use in this function)
> pidf.c:462: error: syntax error before "match"
> pidf.c:463: error: `name' undeclared (first use in this function)
> pidf.c:464: error: `ns' undeclared (first use in this function)
> pidf.c:467: error: `match' undeclared (first use in this function)
> pidf.c:472: warning: return makes integer from pointer without a cast
> pidf.c: At top level:
> pidf.c:475: error: syntax error before "root"
> pidf.c: In function `xmlNodeGetNodeContentByName':
> pidf.c:477: error: `xmlNodePtr' undeclared (first use in this function)
> pidf.c:477: error: syntax error before "node"
> pidf.c:478: error: `node' undeclared (first use in this function)
> pidf.c:479: warning: return makes pointer from integer without a cast
> pidf.c: At top level:
> pidf.c:484: error: syntax error before "xmlDocGetNodeByName"
> pidf.c:484: error: syntax error before "doc"
> pidf.c:485: warning: return type defaults to `int'
> pidf.c: In function `xmlDocGetNodeByName':
> pidf.c:486: error: `xmlNodePtr' undeclared (first use in this function)
> pidf.c:486: error: syntax error before "cur"
> pidf.c:487: error: `cur' undeclared (first use in this function)
> pidf.c:487: error: `name' undeclared (first use in this function)
> pidf.c:487: error: `ns' undeclared (first use in this function)
> pidf.c: At top level:
> pidf.c:490: error: syntax error before "doc"
> pidf.c: In function `xmlDocGetNodeContentByName':
> pidf.c:492: error: `xmlNodePtr' undeclared (first use in this function)
> pidf.c:492: error: syntax error before "node"
> pidf.c:493: error: `node' undeclared (first use in this function)
> pidf.c:494: warning: return makes pointer from integer without a cast
> pidf.c: At top level:
> pidf.c:500: error: syntax error before "node"
> pidf.c:501: error: syntax error before "void"
> pidf.c:501: error: `xmlNodeMapByName' declared as function returning a
> function
> pidf.c:512: error: syntax error before '->' token
> pidf.c:512: warning: type defaults to `int' in declaration of
> `xmlNodeMapByName'
> pidf.c:512: warning: data definition has no type or storage class
> pidf.c:514: warning: type defaults to `int' in declaration of `cur'
> pidf.c:514: error: invalid type argument of `->'
> pidf.c:514: warning: data definition has no type or storage class
> pidf.c:515: error: syntax error before '}' token
> pidf.c:518: error: syntax error before "doc"
> pidf.c:519: error: syntax error before "void"
> pidf.c:519: error: `xmlDocMapByName' declared as function returning a
> function
> pidf.c:522: warning: type defaults to `int' in declaration of
> `xmlNodeMapByName'
> pidf.c:522: warning: parameter names (without types) in function
> declaration
> pidf.c:522: warning: data definition has no type or storage class
> pidf.c:523: error: syntax error before '}' token
> pidf.c: In function `parse_pidf':
> pidf.c:532: error: `xmlDocPtr' undeclared (first use in this function)
> pidf.c:532: error: syntax error before "doc"
> pidf.c:533: error: `xmlNodePtr' undeclared (first use in this function)
> pidf.c:557: error: `presenceNode' undeclared (first use in this
> function)
> pidf.c:572: error: `prescapsNode' undeclared (first use in this
> function)
> pidf.c:650: error: syntax error before "prescap_node"
> pidf.c:654: error: `prescap_node' undeclared (first use in this
> function)
> make[1]: *** [pidf.o] Error 1
>
>
>
More information about the Serdev
mailing list