[Bro-Dev] [JIRA] (BIT-562) SWIG version trouble

Anonymous (JIRA) jira at bro-tracker.atlassian.net
Tue Jan 5 06:45:00 PST 2016


    [ https://bro-tracker.atlassian.net/browse/BIT-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=23603#comment-23603 ] 

Anonymous commented on BIT-562:
-------------------------------

sold out sneakers
christian louboutin shoes online http://christianlouboutincanadaoutlet.blogspot.com/

> SWIG version trouble
> --------------------
>
>                 Key: BIT-562
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-562
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: pysubnettree
>    Affects Versions: git/master
>            Reporter: Robin Sommer
>            Assignee: Jon Siwek
>              Labels: beta
>             Fix For: 2.0
>
>
> Looks like we need a "minimum SWIG version" check. With 1.3.29, I get
> the errors below. Updating to 1.3.40 solves it.
> {noformat}
> .../aux/pysubnettree/SubnetTreePYTHON_wrap.cxx: In function ‘int SWIG_Python_ConvertFunctionPtr(PyObject*, void**, swig_type_info*)’:
> .../aux/pysubnettree/SubnetTreePYTHON_wrap.cxx:2051: error: invalid conversion from ‘const char*’ to ‘char*’
> .../aux/pysubnettree/SubnetTreePYTHON_wrap.cxx: In function ‘int SWIG_AsCharPtrAndSize(PyObject*, char**, size_t*, int*)’:
> .../aux/pysubnettree/SubnetTreePYTHON_wrap.cxx:2575: error: cannot convert ‘int*’ to ‘Py_ssize_t*’ for argument ‘3’ to ‘int PyString_AsStringAndSize(PyObject*, char**, Py_ssize_t*)’
> .../aux/pysubnettree/SubnetTreePYTHON_wrap.cxx: In function ‘PyObject* SubnetTree___contains____SWIG_0(SubnetTree*, char*, int)’:
> .../aux/pysubnettree/SubnetTreePYTHON_wrap.cxx:2849: warning: dereferencing type-punned pointer will break strict-aliasing rules
> .../aux/pysubnettree/SubnetTreePYTHON_wrap.cxx:2849: warning: dereferencing type-punned pointer will break strict-aliasing rules
> .../aux/pysubnettree/SubnetTreePYTHON_wrap.cxx:2851: warning: dereferencing type-punned pointer will break strict-aliasing rules
> .../aux/pysubnettree/SubnetTreePYTHON_wrap.cxx:2851: warning: dereferencing type-punned pointer will break strict-aliasing rules
> .../aux/pysubnettree/SubnetTreePYTHON_wrap.cxx: In function ‘void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, swig_type_info**)’:
> .../aux/pysubnettree/SubnetTreePYTHON_wrap.cxx:4141: error: invalid conversion from ‘const char*’ to ‘char*’
> make[2]: *** [aux/broctl/aux/pysubnettree/CMakeFiles/_SubnetTree.dir/SubnetTreePYTHON_wrap.cxx.o] Error 1
> make[1]: *** [aux/broctl/aux/pysubnettree/CMakeFiles/_SubnetTree.dir/all] Error 2
> make: *** [all] Error 2
> > swig -version
> SWIG Version 1.3.29
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.1.0-OD-03-048#71001)



More information about the bro-dev mailing list