NTPV pos application error.
I been trying for 3 weeks to figure out this error that i get when tring to compile the ntpv application.
Make[1]: Entering directory `/home/pos/Documents/ntpv_bundle-1.2rc1/libbslxml'
gcc -c -g -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/qt -I/usr/include/qt3 -I/usr/X11R6/include -I/usr/lib/qt3/include xmlconfig.cpp -o xmlconfig.o
In file included from /usr/include/c++/4.1.0/backward/iostream.h:31,
from comp.h:30,
from xmlconfig.cpp:20:
/usr/include/c++/4.1.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h >. To disable this warning use -Wno-deprecated.
xmlconfig.cpp:37:46: error: libxml2/libxml/xmlmemory.h: No such file or directory
xmlconfig.cpp:38:43: error: libxml2/libxml/parser.h: No such file or directory
xmlconfig.cpp:39:41: error: libxml2/libxml/tree.h: No such file or directory
xmlconfig.cpp:40:42: error: libxml2/libxml/valid.h: No such file or directory
xmlconfig.cpp: In member function 'bool XmlConfig::validateXmlWithDTD(QString, bool)':
xmlconfig.cpp:146: error: 'xmlDocPtr' was not declared in this scope
xmlconfig.cpp:146: error: expected `;' before 'xml2_document'
xmlconfig.cpp:147: error: 'xmlDtdPtr' was not declared in this scope
xmlconfig.cpp :147: error: expected `;' before 'dtd'
xmlconfig.cpp:148: error: 'xmlValidCtxtPtr' was not declared in this scope
xmlconfig.cpp:148: error: expected `;' before 'cvp'
xmlconfig.cpp:158: error: 'xml2_document' was not declared in this scope
xmlconfig.cpp:158: error: 'xmlParseMemory' was not declared in this scope
xmlconfig.cpp:166: error: 'dtd' was not declared in this scope
xmlconfig.cpp:166: error: 'xmlGetIntSubset' was not declared in this scope
xmlconfig.cpp:168: error: 'xmlNodePtr' was not declared in this scope
xmlconfig.cpp:168: error: 'xmlUnlinkNode' was not declared in this scope
xmlconfig.cpp:169: error: 'xmlFreeDtd' was not declared in this scope
xmlconfig.cpp:172: error: 'xmlChar' was not declared in this scope
xmlconfig.cpp:172: error: expected primary-expression before ')' token
xmlconfig.cpp:172: error: 'xmlParseDTD' was not declared in this scope
xmlconfig.cpp:175: error: 'xmlFreeDoc' was not declared in this scope
xmlconfig.cpp:179: error: 'cvp' was not declared in this scope
xmlconfig.cpp:179: error: 'xmlNewValidCtxt' was not declared in this scope
xmlconfig.cpp :181: error: 'xmlFreeDoc' was not declared in this scope
xmlconfig.cpp:187: error: 'cvp' was not declared in this scope
xmlconfig.cpp:188: error: 'xmlValidityErrorFunc' was not declared in this scope
xmlconfig.cpp :188: error: expected `;' before 'fprintf'
xmlconfig.cpp:189: error: 'xmlValidityWarningFunc' was not declared in this scope
xmlconfig.cpp:189: error: expected `;' before 'fprintf'
xmlconfig.cpp:192: error: 'cvp' was not declared in this scope
xmlconfig.cpp:192: error: 'xmlValidateDtd' was not declared in this scope
xmlconfig.cpp:194: error: 'xmlFreeValidCtxt' was not declared in this scope
xmlconfig.cpp:195: error: 'xmlFreeDtd' was not declared in this scope
xmlconfig.cpp:196: error: 'xmlFreeDoc' was not declared in this scope
xmlconfig.cpp: In member function 'bool XmlConfig::validateXmlWithInternalDTD(bool)':
xmlconfig.cpp:203: error: 'xmlDocPtr' was not declared in this scope
xmlconfig.cpp:203: error: expected `;' before 'xml2_document'
xmlconfig.cpp:204: error: 'xmlDtdPtr' was not declared in this scope
xmlconfig.cpp:204: error: expected `;' before 'dtd'
xmlconfig.cpp:205: error: 'xmlValidCtxtPtr' was not declared in this scope
xmlconfig.cpp:205: error: expected `;' before 'cvp'
xmlconfig.cpp:215: error: 'xml2_document' was not declared in this scope
xmlconfig.cpp:215: error: 'xmlParseMemory' was not declared in this scope
xmlconfig.cpp :224: error: 'dtd' was not declared in this scope
xmlconfig.cpp:224: error: 'xmlGetIntSubset' was not declared in this scope
xmlconfig.cpp:226: error: 'xmlFreeDoc' was not declared in this scope
xmlconfig.cpp:230: error: 'cvp' was not declared in this scope
xmlconfig.cpp:230: error: 'xmlNewValidCtxt' was not declared in this scope
xmlconfig.cpp:232: error: 'xmlFreeDoc' was not declared in this scope
xmlconfig.cpp:237: error: 'cvp' was not declared in this scope
xmlconfig.cpp:238: error: 'xmlValidityErrorFunc' was not declared in this scope
xmlconfig.cpp:238: error: expected `;' before 'fprintf'
xmlconfig.cpp:239: error: 'xmlValidityWarningFunc' was not declared in this scope
xmlconfig.cpp:239: error: expected `;' before 'fprintf'
xmlconfig.cpp:242: error: 'cvp' was not declared in this scope
xmlconfig.cpp:242: error: 'xmlValidateDocument' was not declared in this scope
xmlconfig.cpp :244: error: 'xmlFreeValidCtxt' was not declared in this scope
xmlconfig.cpp:245: error: 'xmlFreeDtd' was not declared in this scope
xmlconfig.cpp:246: error: 'xmlFreeDoc' was not declared in this scope
make[1]: *** [ xmlconfig.o] Error 1
make[1]: Leaving directory `/home/pos/Documents/ntpv_bundle-1.2rc1/libbslxml'
make: *** [base_libs] Error 2
|