Closed
Description
It appears that issue #26 has resurfaced, now that the module was rewritten in C...
I'm getting
In file included from ./src/constants.c:10:0:
./src/constants.c: In function 'PyXmlSec_ConstantsModule_Init':
./src/constants.c:278:50: error: 'xmlSecXkmsNs' undeclared (first use in this function)
tmp = PyString_FromString((const char*)(JOIN(xmlSec, name))); \
^
./src/common.h:25:23: note: in definition of macro 'DO_JOIN2'
#define DO_JOIN2(X,Y) X##Y
^
./src/common.h:23:19: note: in expansion of macro 'DO_JOIN1'
#define JOIN(X,Y) DO_JOIN1(X,Y)
^~~~~~~~
./src/constants.c:278:45: note: in expansion of macro 'JOIN'
tmp = PyString_FromString((const char*)(JOIN(xmlSec, name))); \
^~~~
./src/constants.c:287:5: note: in expansion of macro 'PYXMLSEC_ADD_NS_CONSTANT'
PYXMLSEC_ADD_NS_CONSTANT(XkmsNs, "XKMS");
^~~~~~~~~~~~~~~~~~~~~~~~
./src/constants.c:278:50: note: each undeclared identifier is reported only once for each function it appears in
tmp = PyString_FromString((const char*)(JOIN(xmlSec, name))); \
^
./src/common.h:25:23: note: in definition of macro 'DO_JOIN2'
#define DO_JOIN2(X,Y) X##Y
^
./src/common.h:23:19: note: in expansion of macro 'DO_JOIN1'
#define JOIN(X,Y) DO_JOIN1(X,Y)
^~~~~~~~
./src/constants.c:278:45: note: in expansion of macro 'JOIN'
tmp = PyString_FromString((const char*)(JOIN(xmlSec, name))); \
^~~~
./src/constants.c:287:5: note: in expansion of macro 'PYXMLSEC_ADD_NS_CONSTANT'
PYXMLSEC_ADD_NS_CONSTANT(XkmsNs, "XKMS");
^~~~~~~~~~~~~~~~~~~~~~~~
error: command 'gcc' failed with exit status 1
----------------------------------------
Trying to pip install python-xmlsec 1.0.4 with xmlsec version 1.2.22-r1 on alpine 3.4
Metadata
Metadata
Assignees
Labels
No labels