make[4]: Entering directory `/home/pisti/Asztal/libxml2/python' CC libxml.lo In file included from /usr/include/python2.7/Python.h:8:0, from libxml.c:14: /usr/include/python2.7/pyconfig.h:65:5: error: #error unknown multiarch location for pyconfig.h # error unknown multiarch location for pyconfig.h ^ In file included from /usr/include/python2.7/pyport.h:4:0, from /usr/include/python2.7/Python.h:58, from libxml.c:14: /usr/include/python2.7/pyconfig.h:65:5: error: #error unknown multiarch location for pyconfig.h # error unknown multiarch location for pyconfig.h ^ In file included from /usr/include/python2.7/pymath.h:4:0, from /usr/include/python2.7/Python.h:77, from libxml.c:14: /usr/include/python2.7/pyconfig.h:65:5: error: #error unknown multiarch location for pyconfig.h # error unknown multiarch location for pyconfig.h ^ In file included from /usr/include/python2.7/Python.h:77:0, from libxml.c:14: /usr/include/python2.7/pymath.h:18:15: warning: redundant redeclaration of 'copysign' [-Wredundant-decls] extern double copysign(double, double); ^ /usr/include/python2.7/pymath.h:22:15: warning: redundant redeclaration of 'round' [-Wredundant-decls] extern double round(double); ^ /usr/include/python2.7/pymath.h:26:15: warning: redundant redeclaration of 'hypot' [-Wredundant-decls] extern double hypot(double, double); ^ In file included from /usr/include/python2.7/Python.h:85:0, from libxml.c:14: libxml.c: In function 'xmlPythonFileReadRaw': /usr/include/python2.7/unicodeobject.h:65:45: error: expected '(' before numeric constant #define PyUnicode_Check(op) 0 ^ libxml.c:297:15: note: in expansion of macro 'PyUnicode_Check' } else if PyUnicode_Check (ret) { ^ /usr/include/python2.7/unicodeobject.h:65:45: warning: statement with no effect [-Wunused-value] #define PyUnicode_Check(op) 0 ^ libxml.c:297:15: note: in expansion of macro 'PyUnicode_Check' } else if PyUnicode_Check (ret) { ^ libxml.c: In function 'xmlPythonFileRead': /usr/include/python2.7/unicodeobject.h:65:45: error: expected '(' before numeric constant #define PyUnicode_Check(op) 0 ^ libxml.c:362:15: note: in expansion of macro 'PyUnicode_Check' } else if PyUnicode_Check (ret) { ^ /usr/include/python2.7/unicodeobject.h:65:45: warning: statement with no effect [-Wunused-value] #define PyUnicode_Check(op) 0 ^ libxml.c:362:15: note: in expansion of macro 'PyUnicode_Check' } else if PyUnicode_Check (ret) { ^ make[4]: *** [libxml.lo] Error 1