You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
modsecurity/modsecurity_wrap.cxx: In function ‘int wrap_new_Collections(PyObject, PyObject_)’:
modsecurity/modsecurity_wrap.cxx:15036:3: error: ‘GlobalVariables’ was not declared in this scope
GlobalVariables *arg1 = (GlobalVariables *) 0 ;
^
modsecurity/modsecurity_wrap.cxx:15036:3: note: suggested alternative:
In file included from /usr/local/modsecurity/include/modsecurity/transaction/collections.h:30:0,
from modsecurity/modsecurity_wrap.cxx:4466:
/usr/local/modsecurity/include/modsecurity/transaction/global_variables.h:86:7: note: ‘modsecurity::transaction::GlobalVariables’
class GlobalVariables :
^
The text was updated successfully, but these errors were encountered:
Python 2.7.6
SWIG Version 2.0.11
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.1) 4.8.4
Note, that after replacing GlobalVariables with modsecurity::transaction::GlobalVariables in modsecurity/modsecurity_wrap.cxx - modsecurity binding compiled successfully using python setup.py build_ext --inplace.
And the only function that was broken was the _wrap_new_Collections() function, other functions already used modsecurity::transaction::GlobalVariables.
When compiling against libmodsecurity https://github.com/SpiderLabs/ModSecurity/tree/1539a8c3efaf51f8109155df9a17e611fb04fd55 i get this error:
The text was updated successfully, but these errors were encountered: