Skip to content

Instantly share code, notes, and snippets.

@chikadance
Created August 13, 2016 10:56
Show Gist options
  • Save chikadance/1d2cf04ad6b4c45c5bddc3249d882ed9 to your computer and use it in GitHub Desktop.
Save chikadance/1d2cf04ad6b4c45c5bddc3249d882ed9 to your computer and use it in GitHub Desktop.
compile libxml2 full output
make all-recursive
make[1]: Entering directory `/home/roroco/Downloads/libxml2-2.9.4'
Making all in include
make[2]: Entering directory `/home/roroco/Downloads/libxml2-2.9.4/include'
Making all in libxml
make[3]: Entering directory `/home/roroco/Downloads/libxml2-2.9.4/include/libxml'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/roroco/Downloads/libxml2-2.9.4/include/libxml'
make[3]: Entering directory `/home/roroco/Downloads/libxml2-2.9.4/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/roroco/Downloads/libxml2-2.9.4/include'
make[2]: Leaving directory `/home/roroco/Downloads/libxml2-2.9.4/include'
Making all in .
make[2]: Entering directory `/home/roroco/Downloads/libxml2-2.9.4'
CC SAX.lo
CC entities.lo
CC encoding.lo
CC error.lo
CC parserInternals.lo
CC parser.lo
CC tree.lo
CC hash.lo
CC list.lo
CC xmlIO.lo
xmlIO.c: In function ‘xmlGzfileOpen_real’:
xmlIO.c:1166:28: warning: implicit declaration of function ‘fileno’ [-Wimplicit-function-declaration]
int duped_fd = dup(fileno(stdin));
^
xmlIO.c:1166:9: warning: nested extern declaration of ‘fileno’ [-Wnested-externs]
int duped_fd = dup(fileno(stdin));
^
CC xmlmemory.lo
CC uri.lo
CC valid.lo
CC xlink.lo
CC HTMLparser.lo
CC HTMLtree.lo
CC debugXML.lo
CC xpath.lo
In file included from xpath.c:462:0:
timsort.h: In function ‘libxml_domnode_tim_sort_collapse’:
timsort.h:405:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((stack_curr == 2) && (stack[0].length + stack[1].length == size)) {
^
timsort.h:397:19: warning: variable ‘BD’ set but not used [-Wunused-but-set-variable]
int ABC, BCD, BD, CD;
^
In file included from ./include/libxml/parser.h:18:0,
from ./include/libxml/globals.h:18,
from ./include/libxml/threads.h:35,
from ./include/libxml/xmlmemory.h:218,
from xpath.c:38:
xpath.c: In function ‘xmlXPathRegisterFuncNS’:
xpath.c:4875:73: warning: ISO C forbids passing argument 4 of ‘xmlHashAddEntry2’ between function pointer and ‘void *’ [-Wpedantic]
return(xmlHashAddEntry2(ctxt->funcHash, name, ns_uri, XML_CAST_FPTR(f)));
^
./include/libxml/hash.h:56:29: note: in definition of macro ‘XML_CAST_FPTR’
#define XML_CAST_FPTR(fptr) fptr
^
./include/libxml/hash.h:128:4: note: expected ‘void *’ but argument is of type ‘xmlXPathFunction {aka void (*)(struct _xmlXPathParserContext *, int)}’
xmlHashAddEntry2(xmlHashTablePtr table,
^
xpath.c: In function ‘xmlXPathFunctionLookupNS’:
xpath.c:4956:24: warning: ISO C forbids assignment between function pointer and ‘void *’ [-Wpedantic]
XML_CAST_FPTR(ret) = xmlHashLookup2(ctxt->funcHash, name, ns_uri);
^
xpath.c: In function ‘xmlXPathCompOpEval’:
xpath.c:13563:41: warning: ISO C forbids assignment between function pointer and ‘void *’ [-Wpedantic]
XML_CAST_FPTR(func) = op->cache;
^
xpath.c:13590:31: warning: ISO C forbids assignment between function pointer and ‘void *’ [-Wpedantic]
op->cache = XML_CAST_FPTR(func);
^
In file included from xpath.c:476:0:
xpath.c: At top level:
trionan.c:194:1: warning: ‘trio_is_special_quantity’ defined but not used [-Wunused-function]
trio_is_special_quantity
^
trionan.c:218:1: warning: ‘trio_is_negative’ defined but not used [-Wunused-function]
trio_is_negative
^
CC xpointer.lo
CC xinclude.lo
CC nanohttp.lo
nanohttp.c: In function ‘xmlNanoHTTPConnectHost’:
nanohttp.c:1073:18: error: storage size of ‘hints’ isn’t known
struct addrinfo hints, *res, *result;
^
nanohttp.c:1079:11: warning: implicit declaration of function ‘getaddrinfo’ [-Wimplicit-function-declaration]
status = getaddrinfo (host, NULL, &hints, &result);
^
nanohttp.c:1079:2: warning: nested extern declaration of ‘getaddrinfo’ [-Wnested-externs]
status = getaddrinfo (host, NULL, &hints, &result);
^
nanohttp.c:1085:35: error: dereferencing pointer to incomplete type ‘struct addrinfo’
for (res = result; res; res = res->ai_next) {
^
nanohttp.c:1089:7: warning: implicit declaration of function ‘freeaddrinfo’ [-Wimplicit-function-declaration]
freeaddrinfo (result);
^
nanohttp.c:1089:7: warning: nested extern declaration of ‘freeaddrinfo’ [-Wnested-externs]
nanohttp.c:1073:18: warning: unused variable ‘hints’ [-Wunused-variable]
struct addrinfo hints, *res, *result;
^
make[2]: *** [nanohttp.lo] Error 1
make[2]: Leaving directory `/home/roroco/Downloads/libxml2-2.9.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/roroco/Downloads/libxml2-2.9.4'
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment