#1 can not run make after config, errors

closed
nobody
5
2015-02-18
2004-10-12
Anonymous
No

Sun Solaris version 9 mu2
configure runs fine, but make fails

hgsun36:w # make
make all-recursive
make[1]: Entering directory `/tmp/xmlstarlet-0.9.5'
Making all in src
make[2]: Entering directory `/tmp/xmlstarlet-0.9.5/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../src -
I.. -I../src -I/usr/include/libxml2 -
I/usr/include/libxslt -I/usr/include/libexslt -I/usr/include -
Wall -g -pedantic -Wall -g -pedantic -c xml_edit.c
xml_edit.c:35:30: libxml/xmlmemory.h: No such file or
directory
xml_edit.c:36:29: libxml/debugXML.h: No such file or
directory
xml_edit.c:37:26: libxml/xmlIO.h: No such file or directory
xml_edit.c:38:29: libxml/HTMLtree.h: No such file or
directory
xml_edit.c:39:29: libxml/xinclude.h: No such file or
directory
xml_edit.c:40:26: libxml/xpath.h: No such file or directory
xml_edit.c:41:35: libxml/xpathInternals.h: No such file or
directory
xml_edit.c:42:29: libxml/xpointer.h: No such file or
directory
xml_edit.c:43:36: libxml/parserInternals.h: No such file
or directory
xml_edit.c:44:24: libxml/uri.h: No such file or directory
xml_edit.c: In function `edParseNSArr':
xml_edit.c:237: error: `xmlChar' undeclared (first use in
this function)
xml_edit.c:237: error: (Each undeclared identifier is
reported only once
xml_edit.c:237: error: for each function it appears in.)
xml_edit.c:237: error: `name' undeclared (first use in
this function)
xml_edit.c:237: error: `value' undeclared (first use in
this function)
xml_edit.c:237: warning: left-hand operand of comma
expression has no effect
xml_edit.c:245: warning: implicit declaration of function
`xmlStrndup'
xml_edit.c:245: error: parse error before "xmlChar"
xml_edit.c:246: warning: implicit declaration of function
`xmlStrdup'
xml_edit.c:246: error: parse error before "xmlChar"
xml_edit.c:237: warning: statement with no effect
xml_edit.c: In function `edCleanupNSArr':
xml_edit.c:281: warning: implicit declaration of function
`xmlFree'
xml_edit.c: At top level:
xml_edit.c:290: error: parse error before "doc"
xml_edit.c: In function `edUpdate':
xml_edit.c:296: error: `xmlXPathObjectPtr' undeclared
(first use in this function)
xml_edit.c:296: error: parse error before "res"
xml_edit.c:297: error: `xmlXPathContextPtr' undeclared
(first use in this function)
xml_edit.c:309: error: `ctxt' undeclared (first use in this
function)
xml_edit.c:309: warning: implicit declaration of function
`xmlXPathNewContext'
xml_edit.c:309: error: `doc' undeclared (first use in this
function)
xml_edit.c:312: warning: implicit declaration of function
`xmlXPathRegisterNs'
xml_edit.c:312: error: parse error before "xmlChar"
xml_edit.c:316: warning: implicit declaration of function
`xmlDocGetRootElement'
xml_edit.c:318: error: `res' undeclared (first use in this
function)
xml_edit.c:318: warning: implicit declaration of function
`xmlXPathEvalExpression'
xml_edit.c:318: error: `BAD_CAST' undeclared (first use
in this function)
xml_edit.c:318: error: parse error before "loc"
xml_edit.c:318: error: `loc' undeclared (first use in this
function)
xml_edit.c:318: warning: left-hand operand of comma
expression has no effect
xml_edit.c:318: error: parse error before ')' token
xml_edit.c:323: error: `comp' undeclared (first use in
this function)
xml_edit.c:323: warning: implicit declaration of function
`xmlXPathCompile'
xml_edit.c:323: error: parse error before "loc"
xml_edit.c:327: warning: implicit declaration of function
`xmlXPathDebugDumpCompExpr'
xml_edit.c:329: warning: implicit declaration of function
`xmlXPathCompiledEval'
xml_edit.c:330: warning: implicit declaration of function
`xmlXPathFreeCompExpr'
xml_edit.c:292: warning: unused variable `xptr'
xml_edit.c: At top level:
xml_edit.c:337: error: parse error before "if"
xml_edit.c:345: warning: type defaults to `int' in
declaration of `cur'
xml_edit.c:345: error: `res' undeclared here (not in a
function)
xml_edit.c:345: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:346: error: parse error before "if"
xml_edit.c:364: warning: type defaults to `int' in
declaration of `xmlXPathFreeObject'
xml_edit.c:364: warning: parameter names (without
types) in function declaration
xml_edit.c:364: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:365: warning: type defaults to `int' in
declaration of `xmlXPathFreeContext'
xml_edit.c:365: warning: parameter names (without
types) in function declaration
xml_edit.c:365: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:366: error: parse error before '}' token
xml_edit.c:372: error: parse error before "doc"
xml_edit.c: In function `edInsert':
xml_edit.c:379: error: `xmlXPathObjectPtr' undeclared
(first use in this function)
xml_edit.c:379: error: parse error before "res"
xml_edit.c:380: error: `xmlXPathContextPtr' undeclared
(first use in this function)
xml_edit.c:392: error: `ctxt' undeclared (first use in this
function)
xml_edit.c:392: error: `doc' undeclared (first use in this
function)
xml_edit.c:395: error: parse error before "xmlChar"
xml_edit.c:401: error: `res' undeclared (first use in this
function)
xml_edit.c:401: error: `BAD_CAST' undeclared (first use
in this function)
xml_edit.c:401: error: parse error before "loc"
xml_edit.c:401: error: `loc' undeclared (first use in this
function)
xml_edit.c:401: warning: left-hand operand of comma
expression has no effect
xml_edit.c:401: error: parse error before ')' token
xml_edit.c:406: error: `comp' undeclared (first use in
this function)
xml_edit.c:406: error: parse error before "loc"
xml_edit.c:375: warning: unused variable `xptr'
xml_edit.c: At top level:
xml_edit.c:420: error: parse error before "if"
xml_edit.c:428: warning: type defaults to `int' in
declaration of `cur'
xml_edit.c:428: error: redefinition of `cur'
xml_edit.c:345: error: `cur' previously defined here
xml_edit.c:428: error: `res' undeclared here (not in a
function)
xml_edit.c:428: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:429: error: parse error before "if"
xml_edit.c:467: warning: type defaults to `int' in
declaration of `xmlXPathFreeObject'
xml_edit.c:467: warning: parameter names (without
types) in function declaration
xml_edit.c:467: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:468: warning: type defaults to `int' in
declaration of `xmlXPathFreeContext'
xml_edit.c:468: warning: parameter names (without
types) in function declaration
xml_edit.c:468: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:469: error: parse error before '}' token
xml_edit.c:475: error: parse error before "doc"
xml_edit.c: In function `edRename':
xml_edit.c:481: error: `xmlXPathObjectPtr' undeclared
(first use in this function)
xml_edit.c:481: error: parse error before "res"
xml_edit.c:482: error: `xmlXPathContextPtr' undeclared
(first use in this function)
xml_edit.c:494: error: `ctxt' undeclared (first use in this
function)
xml_edit.c:494: error: `doc' undeclared (first use in this
function)
xml_edit.c:497: error: parse error before "xmlChar"
xml_edit.c:503: error: `res' undeclared (first use in this
function)
xml_edit.c:503: error: `BAD_CAST' undeclared (first use
in this function)
xml_edit.c:503: error: parse error before "loc"
xml_edit.c:503: error: `loc' undeclared (first use in this
function)
xml_edit.c:503: warning: left-hand operand of comma
expression has no effect
xml_edit.c:503: error: parse error before ')' token
xml_edit.c:508: error: `comp' undeclared (first use in
this function)
xml_edit.c:508: error: parse error before "loc"
xml_edit.c:477: warning: unused variable `xptr'
xml_edit.c: At top level:
xml_edit.c:522: error: parse error before "if"
xml_edit.c:530: warning: type defaults to `int' in
declaration of `cur'
xml_edit.c:530: error: redefinition of `cur'
xml_edit.c:428: error: `cur' previously defined here
xml_edit.c:530: error: `res' undeclared here (not in a
function)
xml_edit.c:530: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:531: error: parse error before "if"
xml_edit.c:558: warning: type defaults to `int' in
declaration of `xmlXPathFreeObject'
xml_edit.c:558: warning: parameter names (without
types) in function declaration
xml_edit.c:558: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:559: warning: type defaults to `int' in
declaration of `xmlXPathFreeContext'
xml_edit.c:559: warning: parameter names (without
types) in function declaration
xml_edit.c:559: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:560: error: parse error before '}' token
xml_edit.c:566: error: parse error before "doc"
xml_edit.c: In function `edDelete':
xml_edit.c:572: error: `xmlXPathObjectPtr' undeclared
(first use in this function)
xml_edit.c:572: error: parse error before "res"
xml_edit.c:573: error: `xmlXPathContextPtr' undeclared
(first use in this function)
xml_edit.c:585: error: `ctxt' undeclared (first use in this
function)
xml_edit.c:585: error: `doc' undeclared (first use in this
function)
xml_edit.c:588: error: parse error before "xmlChar"
xml_edit.c:594: error: `res' undeclared (first use in this
function)
xml_edit.c:594: error: `BAD_CAST' undeclared (first use
in this function)
xml_edit.c:594: error: parse error before "str"
xml_edit.c:594: error: `str' undeclared (first use in this
function)
xml_edit.c:594: warning: left-hand operand of comma
expression has no effect
xml_edit.c:594: error: parse error before ')' token
xml_edit.c:599: error: `comp' undeclared (first use in
this function)
xml_edit.c:599: error: parse error before "str"
xml_edit.c:568: warning: unused variable `xptr'
xml_edit.c: At top level:
xml_edit.c:613: error: parse error before "if"
xml_edit.c:620: warning: type defaults to `int' in
declaration of `cur'
xml_edit.c:620: error: redefinition of `cur'
xml_edit.c:530: error: `cur' previously defined here
xml_edit.c:620: error: `res' undeclared here (not in a
function)
xml_edit.c:620: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:621: error: parse error before "if"
xml_edit.c:640: warning: type defaults to `int' in
declaration of `xmlXPathFreeObject'
xml_edit.c:640: warning: parameter names (without
types) in function declaration
xml_edit.c:640: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:641: warning: type defaults to `int' in
declaration of `xmlXPathFreeContext'
xml_edit.c:641: warning: parameter names (without
types) in function declaration
xml_edit.c:641: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:642: error: parse error before '}' token
xml_edit.c:648: error: parse error before "doc"
xml_edit.c: In function `edMove':
xml_edit.c:654: error: `xmlXPathObjectPtr' undeclared
(first use in this function)
xml_edit.c:654: error: parse error before "res"
xml_edit.c:655: error: `xmlXPathContextPtr' undeclared
(first use in this function)
xml_edit.c:670: error: `ctxt' undeclared (first use in this
function)
xml_edit.c:670: error: `doc' undeclared (first use in this
function)
xml_edit.c:673: error: parse error before "xmlChar"
xml_edit.c:679: error: `res' undeclared (first use in this
function)
xml_edit.c:679: error: `BAD_CAST' undeclared (first use
in this function)
xml_edit.c:679: error: parse error before "from"
xml_edit.c:679: error: `from' undeclared (first use in this
function)
xml_edit.c:679: warning: left-hand operand of comma
expression has no effect
xml_edit.c:679: error: parse error before ')' token
xml_edit.c:684: error: `comp' undeclared (first use in
this function)
xml_edit.c:684: error: parse error before "from"
xml_edit.c:650: warning: unused variable `xptr'
xml_edit.c: At top level:
xml_edit.c:698: error: parse error before "if"
xml_edit.c:715: warning: type defaults to `int' in
declaration of `ctxt'
xml_edit.c:715: error: `ctxt' used prior to declaration
xml_edit.c:715: error: `doc' undeclared here (not in a
function)
xml_edit.c:715: error: initializer element is not constant
xml_edit.c:715: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:716: error: parse error before "while"
xml_edit.c:729: warning: type defaults to `int' in
declaration of `comp'
xml_edit.c:729: error: `comp' used prior to declaration
xml_edit.c:729: error: `BAD_CAST' undeclared here (not
in a function)
xml_edit.c:729: error: parse error before "to"
xml_edit.c:735: warning: type defaults to `int' in
declaration of `res_to'
xml_edit.c:735: error: initializer element is not constant
xml_edit.c:735: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:736: warning: type defaults to `int' in
declaration of `xmlXPathFreeCompExpr'
xml_edit.c:736: warning: parameter names (without
types) in function declaration
xml_edit.c:736: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:737: error: parse error before '}' token
xml_edit.c:769: warning: type defaults to `int' in
declaration of `cur'
xml_edit.c:769: error: redefinition of `cur'
xml_edit.c:620: error: `cur' previously defined here
xml_edit.c:769: error: `res' undeclared here (not in a
function)
xml_edit.c:769: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:770: error: parse error before "cur_to"
xml_edit.c:770: warning: type defaults to `int' in
declaration of `cur_to'
xml_edit.c:770: error: invalid type argument of `->'
xml_edit.c:770: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:771: error: parse error before "if"
xml_edit.c:779: error: parse error before '->' token
xml_edit.c:779: warning: type defaults to `int' in
declaration of `xmlAddChild'
xml_edit.c:779: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:788: warning: type defaults to `int' in
declaration of `xmlXPathFreeObject'
xml_edit.c:788: warning: parameter names (without
types) in function declaration
xml_edit.c:788: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:789: warning: type defaults to `int' in
declaration of `xmlXPathFreeObject'
xml_edit.c:789: warning: parameter names (without
types) in function declaration
xml_edit.c:789: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:790: warning: type defaults to `int' in
declaration of `xmlXPathFreeContext'
xml_edit.c:790: warning: parameter names (without
types) in function declaration
xml_edit.c:790: error: ISO C forbids data definition with
no type or storage class
xml_edit.c:791: error: parse error before '}' token
xml_edit.c:797: error: parse error before "doc"
xml_edit.c: In function `edProcess':
xml_edit.c:807: error: `doc' undeclared (first use in this
function)
xml_edit.c: In function `edMain':
xml_edit.c:1047: warning: implicit declaration of function
`xmlKeepBlanksDefault'
xml_edit.c:1053: error: `xmlDocPtr' undeclared (first use
in this function)
xml_edit.c:1053: error: parse error before "doc"
xml_edit.c:1055: error: `doc' undeclared (first use in
this function)
xml_edit.c:1062: warning: implicit declaration of function
`xmlSaveFormatFile'
xml_edit.c:1069: error: `xmlOutputBufferPtr' undeclared
(first use in this function)
xml_edit.c:1069: error: parse error before "buf"
xml_edit.c:1070: error: `xmlCharEncodingHandlerPtr'
undeclared (first use in this function)
xml_edit.c:1071: error: `buf' undeclared (first use in this
function)
xml_edit.c:1071: warning: implicit declaration of function
`xmlOutputBufferCreateFile'
xml_edit.c:1071: error: `handler' undeclared (first use in
this function)
xml_edit.c:1075: error: `xmlNodePtr' undeclared (first
use in this function)
xml_edit.c:1075: error: parse error before "child"
xml_edit.c:1076: error: `child' undeclared (first use in
this function)
xml_edit.c:1078: warning: implicit declaration of function
`xmlNodeDumpOutput'
xml_edit.c:1079: warning: implicit declaration of function
`xmlOutputBufferWriteString'
xml_edit.c:1083: warning: implicit declaration of function
`xmlOutputBufferClose'
xml_edit.c:1089: error: parse error before "doc"
xml_edit.c:1105: error: parse error before "buf"
xml_edit.c:1111: error: parse error before "child"
make[2]: *** [xml_edit.o] Error 1
make[2]: Leaving directory `/tmp/xmlstarlet-0.9.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/xmlstarlet-0.9.5'
make: *** [all-recursive-am] Error 2
hgsun36:w #

Discussion

    • status: open --> closed