From: Filipe F. <ffe...@gm...> - 2013-01-23 16:50:18
|
Hello, I've been able to reliably build 1.3.x versions from the git repository in the past, but I can no longer build 1.4.x when I checkout git tags. I go through the normal routine.. $ autoreconf -sif $ ./configure $ make At the `make` command it complains of the following... $ make make all-am make[1]: Entering directory `/home/ffernand/src/.interest/xmlstar' CC src/trans.o version.h: #define VERSION "1.4.2" CC src/xml.o CC src/xml_C14N.o CC src/xml_depyx.o CC src/xml_edit.o CC src/xml_elem.o CC src/xml_escape.o CC src/xml_format.o CC src/xml_ls.o src/xml_ls.c: In function ‘xml_print_dir’: src/xml_ls.c:140:9: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] CC src/xml_pyx.o CC src/xml_select.o CC src/xml_trans.o CC src/xml_validate.o GEN src/usage.c CC src/usage.o GEN src/c14n-usage.c CC src/c14n-usage.o GEN src/depyx-usage.c CC src/depyx-usage.o GEN src/edit-usage.c CC src/edit-usage.o GEN src/elem-usage.c CC src/elem-usage.o GEN src/escape-usage.c CC src/escape-usage.o GEN src/format-usage.c CC src/format-usage.o GEN src/ls-usage.c CC src/ls-usage.o GEN src/pyx-usage.c CC src/pyx-usage.o GEN src/select-usage.c CC src/select-usage.o src/select-usage.c:55:233: warning: multi-character character constant [-Wmultichar] src/select-usage.c:55:1: error: stray ‘\’ in program src/select-usage.c:55:1: warning: overflow in implicit constant conversion [-Woverflow] src/select-usage.c:55:239: error: expected ‘}’ before ‘n’ src/select-usage.c:55:240: warning: missing terminating ' character [enabled by default] src/select-usage.c:55:239: error: missing terminating ' character make[1]: *** [src/select-usage.o] Error 1 make[1]: Leaving directory `/home/ffernand/src/.interest/xmlstar' make: *** [all] Error 2 I looked at line 55 of src/select-usage.c and it does contain the character '\', which I believe in C should be '\\'. src/select-usage.c appears to be auto-generated using the script usage2c.awk script. filipe |