Created
October 30, 2014 19:41
-
-
Save snandam/8a124b2ed9002d3097d5 to your computer and use it in GitHub Desktop.
exml error centos 6.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> exml (compile) | |
Compiled src/exml.erl | |
Compiled src/exml_query.erl | |
Compiled src/exml_event.erl | |
Compiled src/exml_stream.erl | |
Compiling /root/sources/mongooseim/deps/exml/c_src/exml_event.c | |
In file included from /root/sources/mongooseim/deps/exml/c_src/exml_event.c:1: | |
c_src/exml_event.h:5:19: error: expat.h: No such file or directory | |
In file included from /root/sources/mongooseim/deps/exml/c_src/exml_event.c:1: | |
c_src/exml_event.h:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ms’ | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:5: warning: type defaults to ‘int’ in declaration of ‘XML_Char’ | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:5: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:37: warning: type defaults to ‘int’ in declaration of ‘XML_Char’ | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:37: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:72: warning: type defaults to ‘int’ in declaration of ‘XML_Char’ | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:72: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:83: warning: type defaults to ‘int’ in declaration of ‘XML_Char’ | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:83: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:97: warning: type defaults to ‘int’ in declaration of ‘XML_Char’ | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:97: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:129: error: expected ‘)’ before ‘parser’ | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c: In function ‘new_parser’: | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:144: error: ‘XML_Parser’ undeclared (first use in this function) | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:144: error: (Each undeclared identifier is reported only once | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:144: error: for each function it appears in.) | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:144: error: expected ‘;’ before ‘parser’ | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:148: error: ‘parser’ undeclared (first use in this function) | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:148: warning: implicit declaration of function ‘XML_ParserCreate_MM’ | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:148: error: ‘ms’ undeclared (first use in this function) | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:152: warning: implicit declaration of function ‘init_parser’ | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:154: error: ‘xml_parser’ undeclared (first use in this function) | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:154: error: expected expression before ‘)’ token | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c: In function ‘reset_parser’: | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:164: error: ‘XML_Parser’ undeclared (first use in this function) | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:164: error: ‘parser’ undeclared (first use in this function) | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:171: warning: implicit declaration of function ‘XML_GetUserData’ | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:176: error: ‘XML_TRUE’ undeclared (first use in this function) | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:176: warning: implicit declaration of function ‘XML_ParserReset’ | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c: In function ‘free_parser’: | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:184: error: ‘XML_Parser’ undeclared (first use in this function) | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:184: error: ‘parser’ undeclared (first use in this function) | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:194: warning: implicit declaration of function ‘XML_ParserFree’ | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c: In function ‘parse’: | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:201: error: ‘XML_Parser’ undeclared (first use in this function) | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:201: error: ‘parser’ undeclared (first use in this function) | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:220: warning: implicit declaration of function ‘XML_SetUserData’ | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:222: warning: implicit declaration of function ‘XML_Parse’ | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:225: warning: implicit declaration of function ‘XML_GetErrorCode’ | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:226: warning: implicit declaration of function ‘XML_ErrorString’ | |
/root/sources/mongooseim/deps/exml/c_src/exml_event.c:226: warning: cast to pointer from integer of different size | |
ERROR: compile failed while processing /root/sources/mongooseim/deps/exml: rebar_abort | |
make: *** [compile] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you should install lib expat-devel. I work ok for me.
My OS: CentOS 6.4