From: libwbxml <ti...@op...> - 2012-05-30 18:09:26
|
#82: Unable to complie test/test_parser.c, ----------------------------+---------------------- Reporter: druzil | Owner: somebody Type: issue | Status: new Priority: nice to have | Milestone: 0.11.1 Component: wbxmlTestSuite | Version: 0.11.0 Severity: other | Keywords: ----------------------------+---------------------- Is this parser working and maintained? Is there any reason to use this parser over the wbxml2xml-tool? Got the following errors while compiling test_parser.c: > g++ test_parser.c >test_parser.c:176:48: error: invalid conversion from ‘void*’ to ‘unsigned char*’ [-fpermissive] (This can be solved by typcasting at 176) > /tmp/ccoV3YWl.o: In function `parse_clb_start_element(void*, > WBXMLTag_s*, WBXMLAttribute_s**, unsigned char)': > test_parser.c:(.text+0x9f): undefined reference to `wbxml_tag_get_xml_name' > test_parser.c:(.text+0xca): undefined reference to > `wbxml_attribute_get_xml_value' > test_parser.c:(.text+0xdf): undefined reference to > `wbxml_attribute_get_xml_name' > /tmp/ccoV3YWl.o: In function `parse_clb_end_element(void*, WBXMLTag_s*, > unsigned char)': > test_parser.c:(.text+0x19d): undefined reference to `wbxml_tag_get_xml_name' > /tmp/ccoV3YWl.o: In function `main': > test_parser.c:(.text+0x3a2): undefined reference to `wbxml_free' > test_parser.c:(.text+0x417): undefined reference to `wbxml_parser_create' > test_parser.c:(.text+0x433): undefined reference to `wbxml_free' > test_parser.c:(.text+0x451): undefined reference to > `wbxml_parser_set_user_data' > test_parser.c:(.text+0x465): undefined reference to > `wbxml_parser_set_content_handler' > test_parser.c:(.text+0x481): undefined reference to `wbxml_parser_parse' > test_parser.c:(.text+0x49d): undefined reference to > `wbxml_parser_get_current_byte_index' > test_parser.c:(.text+0x4ad): undefined reference to `wbxml_errors_string' >test_parser.c:(.text+0x4f5): undefined reference to `wbxml_parser_destroy' >test_parser.c:(.text+0x501): undefined reference to `wbxml_free' collect2: ld returned 1 exit status -- Ticket URL: <https://libwbxml.opensync.org/ticket/82> libwbxml <http://libwbxml.opensync.org/> WBXML Library |