Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac: Installation failure #20

Open
olmyt opened this issue Jun 6, 2016 · 1 comment
Open

Mac: Installation failure #20

olmyt opened this issue Jun 6, 2016 · 1 comment

Comments

@olmyt
Copy link

olmyt commented Jun 6, 2016

While installing on Mac (running Elcapitan image), facing the below issue with the last step ("sudo python setup.py install"):

running install
running build
running build_ext
building 'dnet' extension
cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I../include -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c ./dnet.c -o build/temp.macosx-10.11-intel-2.6/./dnet.o
./dnet.c:575:40: warning: passing 'uint8_t [6]' to parameter of type 'const char *' converts between pointers to integer types with different sign
      [-Wpointer-sign]
  __pyx_2 = PyString_FromStringAndSize(__pyx_v_ea.data,6); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 120; goto __pyx_L1;}
                                       ^~~~~~~~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/stringobject.h:62:63: note: passing argument to parameter here
PyAPI_FUNC(PyObject *) PyString_FromStringAndSize(const char *, Py_ssize_t);
                                                              ^
./dnet.c:607:36: warning: passing 'uint8_t [6]' to parameter of type 'char (*)' converts between pointers to integer types with different sign
      [-Wpointer-sign]
  __pyx_1 = __pyx_f_4dnet___memcpy(__pyx_v_ea.data,__pyx_v_value,6); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; goto __pyx_L1;}
                                   ^~~~~~~~~~~~~~~
./dnet.c:392:48: note: passing argument to parameter '__pyx_v_dst' here
static PyObject *__pyx_f_4dnet___memcpy(char (*__pyx_v_dst),PyObject *__pyx_v_src,int __pyx_v_n) {
                                               ^
./dnet.c:685:3: warning: unused label '__pyx_L1' [-Wunused-label]
  __pyx_L1:;
  ^~~~~~~~~
./dnet.c:703:36: warning: passing 'uint8_t [6]' to parameter of type 'char (*)' converts between pointers to integer types with different sign
      [-Wpointer-sign]
  __pyx_1 = __pyx_f_4dnet___memcpy(__pyx_v_ea.data,__pyx_v_buf,6); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 151; goto __pyx_L1;}
                                   ^~~~~~~~~~~~~~~
./dnet.c:392:48: note: passing argument to parameter '__pyx_v_dst' here
static PyObject *__pyx_f_4dnet___memcpy(char (*__pyx_v_dst),PyObject *__pyx_v_src,int __pyx_v_n) {
                                               ^
./dnet.c:755:40: warning: passing 'uint8_t [6]' to parameter of type 'const char *' converts between pointers to integer types with different sign
      [-Wpointer-sign]
  __pyx_3 = PyString_FromStringAndSize(__pyx_v_ea.data,6); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 160; goto __pyx_L1;}
                                       ^~~~~~~~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/stringobject.h:62:63: note: passing argument to parameter here
PyAPI_FUNC(PyObject *) PyString_FromStringAndSize(const char *, Py_ssize_t);
                                                              ^
./dnet.c:793:36: warning: passing 'uint8_t [6]' to parameter of type 'char (*)' converts between pointers to integer types with different sign
      [-Wpointer-sign]
  __pyx_1 = __pyx_f_4dnet___memcpy(__pyx_v_s.data,__pyx_v_src,6); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 173; goto __pyx_L1;}
                                   ^~~~~~~~~~~~~~
./dnet.c:392:48: note: passing argument to parameter '__pyx_v_dst' here
static PyObject *__pyx_f_4dnet___memcpy(char (*__pyx_v_dst),PyObject *__pyx_v_src,int __pyx_v_n) {
                                               ^
./dnet.c:797:36: warning: passing 'uint8_t [6]' to parameter of type 'char (*)' converts between pointers to integer types with different sign
      [-Wpointer-sign]
  __pyx_1 = __pyx_f_4dnet___memcpy(__pyx_v_d.data,__pyx_v_dst,6); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 174; goto __pyx_L1;}
                                   ^~~~~~~~~~~~~~
./dnet.c:392:48: note: passing argument to parameter '__pyx_v_dst' here
static PyObject *__pyx_f_4dnet___memcpy(char (*__pyx_v_dst),PyObject *__pyx_v_src,int __pyx_v_n) {
                                               ^
./dnet.c:910:3: warning: unused label '__pyx_L1' [-Wunused-label]
  __pyx_L1:;
  ^~~~~~~~~
./dnet.c:1038:48: warning: incompatible pointer types passing 'char (**)' to parameter of type 'const void **' [-Wincompatible-pointer-types]
  __pyx_1 = (PyObject_AsReadBuffer(__pyx_v_pkt,(&__pyx_v_p),(&__pyx_v_n)) == 0);
                                               ^~~~~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/abstract.h:502:56: note: passing argument to parameter 'buffer' here
                                          const void **buffer,
                                                       ^
./dnet.c:1038:61: warning: incompatible pointer types passing 'int *' to parameter of type 'Py_ssize_t *' (aka 'long *') [-Wincompatible-pointer-types]
  __pyx_1 = (PyObject_AsReadBuffer(__pyx_v_pkt,(&__pyx_v_p),(&__pyx_v_n)) == 0);
                                                            ^~~~~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/abstract.h:503:55: note: passing argument to parameter 'buffer_len' here
                                          Py_ssize_t *buffer_len);
                                                      ^
./dnet.c:1119:48: warning: incompatible pointer types passing 'char (**)' to parameter of type 'const void **' [-Wincompatible-pointer-types]
  __pyx_1 = (PyObject_AsReadBuffer(__pyx_v_buf,(&__pyx_v_p),(&__pyx_v_n)) == 0);
                                               ^~~~~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/abstract.h:502:56: note: passing argument to parameter 'buffer' here
                                          const void **buffer,
                                                       ^
./dnet.c:1119:61: warning: incompatible pointer types passing 'int *' to parameter of type 'Py_ssize_t *' (aka 'long *') [-Wincompatible-pointer-types]
  __pyx_1 = (PyObject_AsReadBuffer(__pyx_v_buf,(&__pyx_v_p),(&__pyx_v_n)) == 0);
                                                            ^~~~~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/abstract.h:503:55: note: passing argument to parameter 'buffer_len' here
                                          Py_ssize_t *buffer_len);
                                                      ^
./dnet.c:1749:40: warning: passing 'uint8_t [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign
      [-Wpointer-sign]
  __pyx_2 = PyString_FromStringAndSize(((struct __pyx_obj_4dnet_addr *)__pyx_v_self)->_addr.addr_data8,6); if (!__pyx_2) {__pyx_filename = __pyx...
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/stringobject.h:62:63: note: passing argument to parameter here
PyAPI_FUNC(PyObject *) PyString_FromStringAndSize(const char *, Py_ssize_t);
                                                              ^
./dnet.c:1799:36: warning: passing 'uint8_t [16]' to parameter of type 'char (*)' converts between pointers to integer types with different sign
      [-Wpointer-sign]
  __pyx_2 = __pyx_f_4dnet___memcpy(((struct __pyx_obj_4dnet_addr *)__pyx_v_self)->_addr.addr_data8,__pyx_v_value,6); if (!__pyx_2) {__pyx_filena...
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./dnet.c:392:48: note: passing argument to parameter '__pyx_v_dst' here
static PyObject *__pyx_f_4dnet___memcpy(char (*__pyx_v_dst),PyObject *__pyx_v_src,int __pyx_v_n) {
                                               ^
./dnet.c:1858:40: warning: passing 'uint8_t [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign
      [-Wpointer-sign]
  __pyx_2 = PyString_FromStringAndSize(((struct __pyx_obj_4dnet_addr *)__pyx_v_self)->_addr.addr_data8,4); if (!__pyx_2) {__pyx_filename = __pyx...
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/stringobject.h:62:63: note: passing argument to parameter here
PyAPI_FUNC(PyObject *) PyString_FromStringAndSize(const char *, Py_ssize_t);
                                                              ^
./dnet.c:1922:38: warning: passing 'uint8_t [16]' to parameter of type 'char (*)' converts between pointers to integer types with different sign
      [-Wpointer-sign]
    __pyx_3 = __pyx_f_4dnet___memcpy(((struct __pyx_obj_4dnet_addr *)__pyx_v_self)->_addr.addr_data8,__pyx_v_value,4); if (!__pyx_3) {__pyx_file...
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./dnet.c:392:48: note: passing argument to parameter '__pyx_v_dst' here
static PyObject *__pyx_f_4dnet___memcpy(char (*__pyx_v_dst),PyObject *__pyx_v_src,int __pyx_v_n) {
                                               ^
./dnet.c:1983:40: warning: passing 'uint8_t [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign
      [-Wpointer-sign]
  __pyx_2 = PyString_FromStringAndSize(((struct __pyx_obj_4dnet_addr *)__pyx_v_self)->_addr.addr_data8,16); if (!__pyx_2) {__pyx_filename = __py...
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/stringobject.h:62:63: note: passing argument to parameter here
PyAPI_FUNC(PyObject *) PyString_FromStringAndSize(const char *, Py_ssize_t);
                                                              ^
./dnet.c:2033:36: warning: passing 'uint8_t [16]' to parameter of type 'char (*)' converts between pointers to integer types with different sign
      [-Wpointer-sign]
  __pyx_2 = __pyx_f_4dnet___memcpy(((struct __pyx_obj_4dnet_addr *)__pyx_v_self)->_addr.addr_data8,__pyx_v_value,16); if (!__pyx_2) {__pyx_filen...
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./dnet.c:392:48: note: passing argument to parameter '__pyx_v_dst' here
static PyObject *__pyx_f_4dnet___memcpy(char (*__pyx_v_dst),PyObject *__pyx_v_src,int __pyx_v_n) {
                                               ^
./dnet.c:2455:5: warning: unused label '__pyx_L3' [-Wunused-label]
    __pyx_L3:;
    ^~~~~~~~~
./dnet.c:2457:3: warning: unused label '__pyx_L4' [-Wunused-label]
  __pyx_L4:;
  ^~~~~~~~~
./dnet.c:2427:7: warning: variable '__pyx_v_size' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
  if (__pyx_3) {
      ^~~~~~~
./dnet.c:2446:33: note: uninitialized use occurs here
  for (__pyx_4 = 0+1; __pyx_4 < __pyx_v_size; ++__pyx_4) {
                                ^~~~~~~~~~~~
./dnet.c:2427:3: note: remove the 'if' if its condition is always true
  if (__pyx_3) {
  ^~~~~~~~~~~~~
./dnet.c:2390:20: note: initialize the variable '__pyx_v_size' to silence this warning
  long __pyx_v_size;
                   ^
                    = 0
./dnet.c:2613:3: warning: expression result unused [-Wunused-value]
  __pyx_k72;
  ^~~~~~~~~
./dnet.c:2729:4: error: assignment to cast is illegal, lvalue casts are not supported
  ((PyObject*)__pyx_v_next) = Py_None; Py_INCREF(((PyObject*)__pyx_v_next));
  ~^~~~~~~~~~~~~~~~~~~~~~~~ ~
./dnet.c:2741:6: error: assignment to cast is illegal, lvalue casts are not supported
    ((PyObject *)__pyx_v_next) = __pyx_3;
    ~^~~~~~~~~~~~~~~~~~~~~~~~~ ~
./dnet.c:3116:87: warning: incompatible pointer types passing 'int ((struct arp_entry (*), void (*)))' to parameter of type 'arp_handler'
      (aka 'int (*)(const struct arp_entry *, void *)') [-Wincompatible-pointer-types]
  __pyx_1 = PyInt_FromLong(arp_loop(((struct __pyx_obj_4dnet_arp *)__pyx_v_self)->arp,__pyx_f_4dnet___arp_callback,((void (*))__pyx_v__arg))); i...
                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dnet/arp.h:99:39: note: passing argument to parameter 'callback' here
int      arp_loop(arp_t *arp, arp_handler callback, void *arg);
                                          ^
./dnet.c:3209:3: warning: unused label '__pyx_L1' [-Wunused-label]
  __pyx_L1:;
  ^~~~~~~~~
./dnet.c:3245:36: warning: passing 'uint8_t [6]' to parameter of type 'char (*)' converts between pointers to integer types with different sign
      [-Wpointer-sign]
  __pyx_1 = __pyx_f_4dnet___memcpy(__pyx_v_sh.data,__pyx_v_sha,6); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 775; goto __pyx_L1;}
                                   ^~~~~~~~~~~~~~~
./dnet.c:392:48: note: passing argument to parameter '__pyx_v_dst' here
static PyObject *__pyx_f_4dnet___memcpy(char (*__pyx_v_dst),PyObject *__pyx_v_src,int __pyx_v_n) {
                                               ^
./dnet.c:3249:36: warning: passing 'uint8_t [6]' to parameter of type 'char (*)' converts between pointers to integer types with different sign
      [-Wpointer-sign]
  __pyx_1 = __pyx_f_4dnet___memcpy(__pyx_v_dh.data,__pyx_v_dha,6); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 776; goto __pyx_L1;}
                                   ^~~~~~~~~~~~~~~
./dnet.c:392:48: note: passing argument to parameter '__pyx_v_dst' here
static PyObject *__pyx_f_4dnet___memcpy(char (*__pyx_v_dst),PyObject *__pyx_v_src,int __pyx_v_n) {
                                               ^
./dnet.c:3586:7: warning: unused label '__pyx_L6' [-Wunused-label]
      __pyx_L6:;
      ^~~~~~~~~
./dnet.c:3588:5: warning: unused label '__pyx_L7' [-Wunused-label]
    __pyx_L7:;
    ^~~~~~~~~
./dnet.c:3739:7: warning: unused label '__pyx_L8' [-Wunused-label]
      __pyx_L8:;
      ^~~~~~~~~
./dnet.c:3741:5: warning: unused label '__pyx_L9' [-Wunused-label]
    __pyx_L9:;
    ^~~~~~~~~
./dnet.c:4131:90: warning: incompatible pointer types passing 'int ((struct intf_entry (*), void (*)))' to parameter of type 'intf_handler' (aka
      'int (*)(const struct intf_entry *, void *)') [-Wincompatible-pointer-types]
  __pyx_1 = PyInt_FromLong(intf_loop(((struct __pyx_obj_4dnet_intf *)__pyx_v_self)->intf,__pyx_f_4dnet___intf_callback,((void (*))__pyx_v__arg))...
                                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dnet/intf.h:64:40: note: passing argument to parameter 'callback' here
int      intf_loop(intf_t *i, intf_handler callback, void *arg);
                                           ^
./dnet.c:4221:3: warning: unused label '__pyx_L1' [-Wunused-label]
  __pyx_L1:;
  ^~~~~~~~~
./dnet.c:4552:93: warning: incompatible pointer types passing 'int ((struct route_entry (*), void (*)))' to parameter of type 'route_handler' (aka
      'int (*)(const struct route_entry *, void *)') [-Wincompatible-pointer-types]
  __pyx_1 = PyInt_FromLong(route_loop(((struct __pyx_obj_4dnet_route *)__pyx_v_self)->route,__pyx_f_4dnet___route_callback,((void (*))__pyx_v__a...
                                                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dnet/route.h:31:43: note: passing argument to parameter 'callback' here
int      route_loop(route_t *r, route_handler callback, void *arg);
                                              ^
./dnet.c:4642:3: warning: unused label '__pyx_L1' [-Wunused-label]
  __pyx_L1:;
  ^~~~~~~~~
./dnet.c:5212:84: warning: incompatible pointer types passing 'int ((struct fw_rule (*), void (*)))' to parameter of type 'fw_handler'
      (aka 'int (*)(const struct fw_rule *, void *)') [-Wincompatible-pointer-types]
  __pyx_1 = PyInt_FromLong(fw_loop(((struct __pyx_obj_4dnet_fw *)__pyx_v_self)->fw,__pyx_f_4dnet___fw_callback,((void (*))__pyx_v__arg))); if (!...
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dnet/fw.h:50:34: note: passing argument to parameter 'callback' here
int      fw_loop(fw_t *f, fw_handler callback, void *arg);
                                     ^
./dnet.c:5302:3: warning: unused label '__pyx_L1' [-Wunused-label]
  __pyx_L1:;
  ^~~~~~~~~
./dnet.c:5636:3: warning: unused label '__pyx_L1' [-Wunused-label]
  __pyx_L1:;
  ^~~~~~~~~
./dnet.c:5725:5: warning: unused label '__pyx_L4' [-Wunused-label]
    __pyx_L4:;
    ^~~~~~~~~
./dnet.c:5732:3: warning: unused label '__pyx_L5' [-Wunused-label]
  __pyx_L5:;
  ^~~~~~~~~
./dnet.c:5794:3: warning: unused label '__pyx_L1' [-Wunused-label]
  __pyx_L1:;
  ^~~~~~~~~
./dnet.c:5813:3: warning: unused label '__pyx_L1' [-Wunused-label]
  __pyx_L1:;
  ^~~~~~~~~
./dnet.c:5887:5: warning: unused label '__pyx_L6' [-Wunused-label]
    __pyx_L6:;
    ^~~~~~~~~
./dnet.c:5851:5: warning: unused label '__pyx_L3' [-Wunused-label]
    __pyx_L3:;
    ^~~~~~~~~
./dnet.c:5885:7: warning: unused label '__pyx_L5' [-Wunused-label]
      __pyx_L5:;
      ^~~~~~~~~
./dnet.c:6143:3: warning: unused label '__pyx_L1' [-Wunused-label]
  __pyx_L1:;
  ^~~~~~~~~
./dnet.c:6177:3: warning: unused label '__pyx_L1' [-Wunused-label]
  __pyx_L1:;
  ^~~~~~~~~
./dnet.c:6399:31: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_eth *p = (struct __pyx_obj_4dnet_eth *)o;
                              ^
./dnet.c:6404:31: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_eth *p = (struct __pyx_obj_4dnet_eth *)o;
                              ^
./dnet.c:6419:31: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_eth *p = (struct __pyx_obj_4dnet_eth *)o;
                              ^
./dnet.c:6418:7: warning: unused variable 'e' [-Wunused-variable]
  int e;
      ^
./dnet.c:6424:31: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_eth *p = (struct __pyx_obj_4dnet_eth *)o;
                              ^
./dnet.c:6553:30: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_ip *p = (struct __pyx_obj_4dnet_ip *)o;
                             ^
./dnet.c:6558:30: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_ip *p = (struct __pyx_obj_4dnet_ip *)o;
                             ^
./dnet.c:6572:7: warning: unused variable 'e' [-Wunused-variable]
  int e;
      ^
./dnet.c:6573:30: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_ip *p = (struct __pyx_obj_4dnet_ip *)o;
                             ^
./dnet.c:6578:30: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_ip *p = (struct __pyx_obj_4dnet_ip *)o;
                             ^
./dnet.c:6705:32: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_addr *p = (struct __pyx_obj_4dnet_addr *)o;
                               ^
./dnet.c:6710:32: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_addr *p = (struct __pyx_obj_4dnet_addr *)o;
                               ^
./dnet.c:6715:7: warning: unused variable 'e' [-Wunused-variable]
  int e;
      ^
./dnet.c:6716:32: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_addr *p = (struct __pyx_obj_4dnet_addr *)o;
                               ^
./dnet.c:6721:32: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_addr *p = (struct __pyx_obj_4dnet_addr *)o;
                               ^
./dnet.c:6934:43: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet___addr_ip4_iter *p = (struct __pyx_obj_4dnet___addr_ip4_iter *)o;
                                          ^
./dnet.c:6939:43: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet___addr_ip4_iter *p = (struct __pyx_obj_4dnet___addr_ip4_iter *)o;
                                          ^
./dnet.c:6945:43: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet___addr_ip4_iter *p = (struct __pyx_obj_4dnet___addr_ip4_iter *)o;
                                          ^
./dnet.c:6944:7: warning: unused variable 'e' [-Wunused-variable]
  int e;
      ^
./dnet.c:6950:43: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet___addr_ip4_iter *p = (struct __pyx_obj_4dnet___addr_ip4_iter *)o;
                                          ^
./dnet.c:7076:31: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_arp *p = (struct __pyx_obj_4dnet_arp *)o;
                              ^
./dnet.c:7081:31: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_arp *p = (struct __pyx_obj_4dnet_arp *)o;
                              ^
./dnet.c:7095:7: warning: unused variable 'e' [-Wunused-variable]
  int e;
      ^
./dnet.c:7096:31: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_arp *p = (struct __pyx_obj_4dnet_arp *)o;
                              ^
./dnet.c:7101:31: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_arp *p = (struct __pyx_obj_4dnet_arp *)o;
                              ^
./dnet.c:7231:32: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_intf *p = (struct __pyx_obj_4dnet_intf *)o;
                               ^
./dnet.c:7236:32: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_intf *p = (struct __pyx_obj_4dnet_intf *)o;
                               ^
./dnet.c:7250:7: warning: unused variable 'e' [-Wunused-variable]
  int e;
      ^
./dnet.c:7251:32: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_intf *p = (struct __pyx_obj_4dnet_intf *)o;
                               ^
./dnet.c:7256:32: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_intf *p = (struct __pyx_obj_4dnet_intf *)o;
                               ^
./dnet.c:7387:33: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_route *p = (struct __pyx_obj_4dnet_route *)o;
                                ^
./dnet.c:7392:33: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_route *p = (struct __pyx_obj_4dnet_route *)o;
                                ^
./dnet.c:7406:7: warning: unused variable 'e' [-Wunused-variable]
  int e;
      ^
./dnet.c:7407:33: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_route *p = (struct __pyx_obj_4dnet_route *)o;
                                ^
./dnet.c:7412:33: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_route *p = (struct __pyx_obj_4dnet_route *)o;
                                ^
./dnet.c:7542:30: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_fw *p = (struct __pyx_obj_4dnet_fw *)o;
                             ^
./dnet.c:7547:30: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_fw *p = (struct __pyx_obj_4dnet_fw *)o;
                             ^
./dnet.c:7562:30: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_fw *p = (struct __pyx_obj_4dnet_fw *)o;
                             ^
./dnet.c:7561:7: warning: unused variable 'e' [-Wunused-variable]
  int e;
      ^
./dnet.c:7567:30: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_fw *p = (struct __pyx_obj_4dnet_fw *)o;
                             ^
./dnet.c:7696:32: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_rand *p = (struct __pyx_obj_4dnet_rand *)o;
                               ^
./dnet.c:7701:32: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_rand *p = (struct __pyx_obj_4dnet_rand *)o;
                               ^
./dnet.c:7715:7: warning: unused variable 'e' [-Wunused-variable]
  int e;
      ^
./dnet.c:7716:32: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_rand *p = (struct __pyx_obj_4dnet_rand *)o;
                               ^
./dnet.c:7721:32: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_rand *p = (struct __pyx_obj_4dnet_rand *)o;
                               ^
./dnet.c:7854:41: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet___rand_xrange *p = (struct __pyx_obj_4dnet___rand_xrange *)o;
                                        ^
./dnet.c:7859:41: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet___rand_xrange *p = (struct __pyx_obj_4dnet___rand_xrange *)o;
                                        ^
./dnet.c:7865:41: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet___rand_xrange *p = (struct __pyx_obj_4dnet___rand_xrange *)o;
                                        ^
./dnet.c:7864:7: warning: unused variable 'e' [-Wunused-variable]
  int e;
      ^
./dnet.c:7870:41: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet___rand_xrange *p = (struct __pyx_obj_4dnet___rand_xrange *)o;
                                        ^
./dnet.c:7920:3: warning: incompatible pointer types initializing 'lenfunc' (aka 'long (*)(struct _object *)') with an expression of type
      'int (PyObject *)' (aka 'int (struct _object *)') [-Wincompatible-pointer-types]
  __pyx_f_4dnet_13__rand_xrange___len__, /*sq_length*/
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./dnet.c:7933:3: warning: incompatible pointer types initializing 'lenfunc' (aka 'long (*)(struct _object *)') with an expression of type
      'int (PyObject *)' (aka 'int (struct _object *)') [-Wincompatible-pointer-types]
  __pyx_f_4dnet_13__rand_xrange___len__, /*mp_length*/
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./dnet.c:7996:31: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_tun *p = (struct __pyx_obj_4dnet_tun *)o;
                              ^
./dnet.c:8001:31: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_tun *p = (struct __pyx_obj_4dnet_tun *)o;
                              ^
./dnet.c:8015:7: warning: unused variable 'e' [-Wunused-variable]
  int e;
      ^
./dnet.c:8016:31: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_tun *p = (struct __pyx_obj_4dnet_tun *)o;
                              ^
./dnet.c:8021:31: warning: unused variable 'p' [-Wunused-variable]
  struct __pyx_obj_4dnet_tun *p = (struct __pyx_obj_4dnet_tun *)o;
                              ^
./dnet.c:9239:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (item = PySequence_GetItem(seq, i)) {
      ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./dnet.c:9239:12: note: place parentheses around the assignment to silence this warning
  if (item = PySequence_GetItem(seq, i)) {
           ^
      (                                )
./dnet.c:9239:12: note: use '==' to turn this assignment into an equality comparison
  if (item = PySequence_GetItem(seq, i)) {
           ^
           ==
104 warnings and 2 errors generated.
error: command 'cc' failed with exit status 1
@Sav0ia
Copy link

Sav0ia commented Aug 27, 2016

I just use the "python rtmpSnoop.py - blah blah blah" command to launch it in terminal. Couldn't figure out how to install it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants