cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/include/python2.7/Python.h:88, from pcapdumper.cc:10: /usr/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 534 | register PyObject *obj, /* Object */ | ^~~ /usr/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 553 | register PyObject *obj /* Object */ | ^~~ /usr/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 575 | register const wchar_t *w, /* wchar_t buffer */ | ^ /usr/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 593 | register wchar_t *w, /* wchar_t buffer */ | ^ In file included from /usr/include/python2.7/Python.h:97, from pcapdumper.cc:10: /usr/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 173 | register PyObject *obj, /* string or Unicode object */ | ^~~ /usr/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 174 | register char **s, /* pointer to buffer variable */ | ^ /usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 175 | register Py_ssize_t *len /* pogcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c bpfobj.cc -o build/temp.linux-x86_64-2.7/bpfobj.o gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c pcapobj.cc -o build/temp.linux-x86_64-2.7/pcapobj.o gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c pcap_pkthdr.cc -o build/temp.linux-x86_64-2.7/pcap_pkthdr.o gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c pcapy.cc -o build/temp.linux-x86_64-2.7/pcapy.o creating build/lib.linux-x86_64-2.7 g++ -pthread -shared build/temp.linux-x86_64-2.7/pcapdumper.o build/temp.linux-x86_64-2.7/bpfobj.o build/temp.linux-x86_64-2.7/pcapobj.o build/temp.linux-x86_64-2.7/pcap_pkthdr.o build/temp.linux-x86_64-2.7/pcapy.o -L/usr/lib64 -lpcap -lstdc++ -lpython2.7 -o build/lib.linux-x86_64-2.7/pcapy.so running install_lib creating /usr/src/slapt-src/python/python-pcapy/package-python-pcapy/usr creating /usr/src/slapt-src/python/python-pcapy/package-python-pcapy/usr/lib64 creating /usr/src/slapt-src/python/python-pcapy/package-python-pcapy/usr/lib64/python2.7 creating /usr/src/slapt-src/python/python-pcapy/package-python-pcapy/usr/lib64/python2.7/site-packages copying build/lib.linux-x86_64-2.7/pcapy.so -> /usr/src/slapt-src/python/python-pcapy/package-python-pcapy/usr/lib64/python2.7/site-packages running install_egg_info running egg_info creating pcapy.egg-info writing pcapy.egg-info/PKG-INFO writing top-level names to pcapy.egg-info/top_level.txt writing dependency_links to pcapy.egg-info/dependency_links.txt writing manifest file 'pcapy.egg-info/SOURCES.txt' reading manifest file 'pcapy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pcapy.egg-info/SOURCES.txt' Copying pcapy.egg-info to /usr/src/slapt-src/python/python-pcapy/package-python-pcapy/usr/lib64/python2.7/site-packages/pcapy-0.11.4-py2.7.egg-info running install_scripts running install running build running build_ext building 'pcapy' extension creating build/temp.linux-x86_64-3.9 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/include/python3.9 -c bpfobj.cc -o build/temp.linux-x86_64-3.9/bpfobj.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/include/python3.9 -c pcap_pkthdr.cc -o build/temp.linux-x86_64-3.9/pcap_pkthdr.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/include/python3.9 -c pcapdumper.cc -o build/temp.linux-x86_64-3.9/pcapdumper.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/include/python3.9 -c pcapobj.cc -o build/temp.linux-x86_64-3.9/pcapobj.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/include/python3.9 -c pcapy.cc -o build/temp.linux-x86_64-3.9/pcapy.o creating build/lib.linux-x86_64-3.9 g++ -pthread -shared build/temp.linux-x86_64-3.9/bpfobj.o build/temp.linux-x86_64-3.9/pcap_pkthdr.o build/temp.linux-x86_64-3.9/pcapdumper.o build/temp.linux-x86_64-3.9/pcapobj.o build/temp.linux-x86_64-3.9/pcapy.o -L/usr/lib64 -lpcap -lstdc++ -o build/lib.linux-x86_64-3.9/pcapy.cpython-39-x86_64-linux-gnu.so running install_lib creating /usr/src/slapt-src/python/python-pcapy/package-python-pcapy/usr/lib64/python3.9 creating /usr/src/slapt-src/python/python-pcapy/package-python-pcapy/usr/lib64/python3.9/site-packages copying build/lib.linux-x86_64-3.9/pcapy.cpython-39-x86_64-linux-gnu.so -> /usr/src/slapt-src/python/python-pcapy/package-python-pcapy/usr/lib64/python3.9/site-packages running install_egg_info running egg_info writing pcapy.egg-info/PKG-INFO writing dependency_links to pcapy.egg-info/dependency_links.txt writing top-level names to pcapy.egg-info/top_level.txt reading manifest file 'pcapy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pcapy.egg-info/SOURCES.txt' Copying pcapy.egg-info to /usr/src/slapt-src/python/python-pcapy/package-python-pcapy/usr/lib64/python3.9/site-packages/pcapy-0.11.4-py3.9.egg-info running install_scripts Slackware package maker, version 3.14159265. Searching for symbolic links: No symbolic links were found, so we won't make an installation script. You can make your own later in ./install/doinst.sh and rebuild the package if you like. This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src/python/python-pcapy/python-pcapy-0.11.4-x86_64-1salix15.0.txz Slackware package /usr/src/slapt-src/python/python-pcapy/python-pcapy-0.11.4-x86_64-1salix15.0.txz created. Installing package python-pcapy-0.11.4-x86_64-1salix15.0... | python-pcapy (python extension module for libpcap) | | Pcapy is a Python extension module that interfaces with the libpcap | packet capture library. Pcapy enables python scripts to capture | packets on the network. | | Home: https://github.com/CoreSecurity/pcapy | | | | | | ter’ storage class specifier [-Wregister] 188 | p_filter(register bpfobject* bpf, PyObject* args) | ^~~ bpfobj.cc:218:31: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 218 | p_get_bpf(register bpfobject* bpf, PyObject* args) | ^~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/include/python2.7/Python.h:88, from pcapobj.cc:10: /usr/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 534 | register PyObject *obj, /* Object */ | ^~~ /usr/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 553 | register PyObject *obj /* Object */ | ^~~ /usr/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 575 | register const wchar_t *w, /* wchar_t buffer */ | ^ /usr/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 593 | register wchar_t *w, /* wchar_t buffer */ | ^ In file included from /usr/include/python2.7/Python.h:97, from pcapobj.cc:10: /usr/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 173 | register PyObject *obj, /* string or Unicode object */ | ^~~ /usr/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 174 | register char **s, /* pointer to buffer variable */ | ^ /usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 175 | register Py_ssize_t *len /* pointer to length variable or NULL | ^~~ pcapobj.cc:37:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 37 | p_close(register pcapobject* pp, PyObject*) | ^~ pcapobj.cc:48:35: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 48 | pcap_dealloc(register pcapobject* pp) | ^~ pcapobj.cc:63:48: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 63 | static PyObject* p_getnet(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:64:49: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 64 | static PyObject* p_getmask(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:65:52: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 65 | static PyObject* p_setfilter( register pcapobject* pp, PyObject* args ); | ^~ pcapobj.cc:66:46: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 66 | static PyObject* p_next(register pcapobject* pp, PyObject*); | ^~ pcapobj.cc:67:50: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 67 | static PyObject* p_dispatch(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:68:46: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 68 | static PyObject* p_loop(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:69:50: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 69 | static PyObject* p_datalink(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:70:53: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 70 | static PyObject* p_setnonblock(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:71:53: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 71 | static PyObject* p_getnonblock(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:72:51: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 72 | static PyObject* p_dump_open(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:73:52: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 73 | static PyObject* p_sendpacket(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:74:48: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 74 | static PyObject* p_stats( register pcapobject* pp, PyObject*); | ^~ pcapobj.cc:75:51: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 75 | static PyObject* p__enter__( register pcapobject* pp, PyObject*); | ^~ pcapobj.cc:76:47: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 76 | static PyObject* p_getfd(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:77:53: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 77 | static PyObject* p_set_snaplen(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:78:53: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 78 | static PyObject* p_set_promisc(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:79:53: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 79 | static PyObject* p_set_timeout(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:80:57: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 80 | static PyObject* p_set_buffer_size(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:81:51: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 81 | static PyObject* p_set_rfmon(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:82:50: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 82 | static PyObject* p_activate(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:239:31: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 239 | p_getnet(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:256:32: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 256 | p_getmask(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:273:34: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 273 | p_setfilter(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:310:29: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 310 | p_next(register pcapobject* pp, PyObject*) | ^~ pcapobj.cc:423:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 423 | p_dispatch(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:456:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 456 | p_stats(register pcapobject* pp, PyObject*) | ^~ pcapobj.cc:478:34: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 478 | p__enter__( register pcapobject* pp, PyObject*) | ^~ pcapobj.cc:494:34: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 494 | p_dump_open(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:523:29: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 523 | p_loop(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:558:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 558 | p_datalink(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:574:36: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 574 | p_setnonblock(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:601:36: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 601 | p_getnonblock(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:622:36: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 622 | p_set_snaplen(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:642:36: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 642 | p_set_promisc(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:662:36: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 662 | p_set_timeout(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:682:40: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 682 | p_set_buffer_size(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:702:34: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 702 | p_set_rfmon(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:722:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 722 | p_activate(register pcapobject* pp, PyObject*) | ^~ pcapobj.cc:738:35: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 738 | p_sendpacket(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:778:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 778 | p_getfd(register pcapobject* pp, PyObject* args) | ^~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/include/python2.7/Python.h:88, from pcap_pkthdr.cc:10: /usr/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 534 | register PyObject *obj, /* Object */ | ^~~ /usr/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 553 | register PyObject *obj /* Object */ | ^~~ /usr/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 575 | register const wchar_t *w, /* wchar_t buffer */ | ^ /usr/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 593 | register wchar_t *w, /* wchar_t buffer */ | ^ In file included from /usr/include/python2.7/Python.h:97, from pcap_pkthdr.cc:10: /usr/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 173 | register PyObject *obj, /* string or Unicode object */ | ^~~ /usr/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 174 | register char **s, /* pointer to buffer variable */ | ^ /usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 175 | register Py_ssize_t *len /* pointer to length variable or NULL | ^~~ pcap_pkthdr.cc:35:31: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 35 | pcap_dealloc(register pkthdr* pp) | ^~ pcap_pkthdr.cc:42:43: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 42 | static PyObject* p_getts(register pkthdr* pp, PyObject* args); | ^~ pcap_pkthdr.cc:43:47: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 43 | static PyObject* p_getcaplen(register pkthdr* pp, PyObject* args); | ^~ pcap_pkthdr.cc:44:44: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 44 | static PyObject* p_getlen(register pkthdr* pp, PyObject* args); | ^~ pcap_pkthdr.cc:147:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 147 | p_getts(register pkthdr* pp, PyObject* args) | ^~ pcap_pkthdr.cc:158:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 158 | p_getcaplen(register pkthdr* pp, PyObject* args) | ^~ pcap_pkthdr.cc:169:27: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 169 | p_getlen(register pkthdr* pp, PyObject* args) | ^~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/include/python2.7/Python.h:8, from pcapy.cc:11: /usr/include/python2.7/pyconfig.h:1223: warning: "_POSIX_C_SOURCE" redefined 1223 | #define _POSIX_C_SOURCE 200112L | In file included from /usr/include/inttypes.h:25, from /usr/include/pcap/pcap-inttypes.h:78, from /usr/include/pcap/pcap.h:117, from /usr/include/pcap.h:43, from pcapy.cc:10: /usr/include/features.h:281: note: this is the location of the previous definition 281 | # define _POSIX_C_SOURCE 200809L | In file included from /usr/include/python2.7/Python.h:8, from pcapy.cc:11: /usr/include/python2.7/pyconfig.h:1245: warning: "_XOPEN_SOURCE" redefined 1245 | #define _XOPEN_SOURCE 600 | In file included from /usr/include/inttypes.h:25, from /usr/include/pcap/pcap-inttypes.h:78, from /usr/include/pcap/pcap.h:117, from /usr/include/pcap.h:43, from pcapy.cc:10: /usr/include/features.h:207: note: this is the location of the previous definition 207 | # define _XOPEN_SOURCE 700 | In file included from /usr/include/python2.7/Python.h:88, from pcapy.cc:11: /usr/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 534 | register PyObject *obj, /* Object */ | ^~~ /usr/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 553 | register PyObject *obj /* Object */ | ^~~ /usr/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 575 | register const wchar_t *w, /* wchar_t buffer */ | ^ /usr/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 593 | register wchar_t *w, /* wchar_t buffer */ | ^ In file included from /usr/include/python2.7/Python.h:97, from pcapy.cc:11: /usr/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 173 | register PyObject *obj, /* string or Unicode object */ | ^~~ /usr/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 174 | register char **s, /* pointer to buffer variable */ | ^ /usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 175 | register Py_ssize_t *len /* pointer to length variable or NULL | ^~~ pcapy.cc: In function ‘PyObject* lookupdev(PyObject*, PyObject*)’: pcapy.cc:32:23: warning: ‘char* pcap_lookupdev(char*)’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 32 | dev = pcap_lookupdev(errbuff); | ~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/include/pcap.h:43, from pcapy.cc:10: /usr/include/pcap/pcap.h:394:18: note: declared here 394 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ pcapy.cc: At global scope: pcapy.cc:242:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 242 | "\nA wrapper for the Packet Capture (PCAP) library\n"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pcapy.cc: In function ‘void initpcapy()’: pcapy.cc:301:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 301 | PcapError = PyErr_NewException("pcapy.PcapError", NULL, NULL ); | ^~~~~~~~~~~~~~~~~ pcapy.cc:302:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 302 | BPFError = PyErr_NewException("pcapy.BPFError", NULL, NULL ); | ^~~~~~~~~~~~~~~~ bpfobj.cc:27:37: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 27 | bpfprog_dealloc(register bpfobject* bpf) | ^~~ bpfobj.cc:39:47: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 39 | static PyObject* p_filter(register bpfobject* bpf, PyObject* args); | ^~~ bpfobj.cc:40:48: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 40 | static PyObject* p_get_bpf(register bpfobject* bpf, PyObject* args); | ^~~ bpfobj.cc:188:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 188 | p_filter(register bpfobject* bpf, PyObject* args) | ^~~ bpfobj.cc:218:31: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 218 | p_get_bpf(register bpfobject* bpf, PyObject* args) | ^~~ pcap_pkthdr.cc:35:31: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 35 | pcap_dealloc(register pkthdr* pp) | ^~ pcap_pkthdr.cc:42:43: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 42 | static PyObject* p_getts(register pkthdr* pp, PyObject* args); | ^~ pcap_pkthdr.cc:43:47: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 43 | static PyObject* p_getcaplen(register pkthdr* pp, PyObject* args); | ^~ pcap_pkthdr.cc:44:44: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 44 | static PyObject* p_getlen(register pkthdr* pp, PyObject* args); | ^~ pcap_pkthdr.cc:147:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 147 | p_getts(register pkthdr* pp, PyObject* args) | ^~ pcap_pkthdr.cc:158:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 158 | p_getcaplen(register pkthdr* pp, PyObject* args) | ^~ pcap_pkthdr.cc:169:27: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 169 | p_getlen(register pkthdr* pp, PyObject* args) | ^~ pcapdumper.cc:23:60: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 23 | static bool validate_pcapdumper(register const pcapdumper* pp); | ^~ pcapdumper.cc:28:35: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 28 | pcap_dealloc(register pcapdumper* pp) | ^~ pcapdumper.cc:40:47: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 40 | static PyObject* p_close(register pcapdumper* pp, PyObject* args); | ^~ pcapdumper.cc:41:46: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 41 | static PyObject* p_dump(register pcapdumper* pp, PyObject* args); | ^~ pcapdumper.cc:139:29: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 139 | p_dump(register pcapdumper* pp, PyObject* args) | ^~ pcapdumper.cc:177:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 177 | p_close(register pcapdumper* pp, PyObject* args) | ^~ pcapdumper.cc:193:48: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 193 | validate_pcapdumper(register const pcapdumper* pp){ | ^~ pcapobj.cc:37:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 37 | p_close(register pcapobject* pp, PyObject*) | ^~ pcapobj.cc:48:35: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 48 | pcap_dealloc(register pcapobject* pp) | ^~ pcapobj.cc:63:48: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 63 | static PyObject* p_getnet(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:64:49: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 64 | static PyObject* p_getmask(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:65:52: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 65 | static PyObject* p_setfilter( register pcapobject* pp, PyObject* args ); | ^~ pcapobj.cc:66:46: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 66 | static PyObject* p_next(register pcapobject* pp, PyObject*); | ^~ pcapobj.cc:67:50: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 67 | static PyObject* p_dispatch(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:68:46: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 68 | static PyObject* p_loop(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:69:50: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 69 | static PyObject* p_datalink(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:70:53: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 70 | static PyObject* p_setnonblock(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:71:53: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 71 | static PyObject* p_getnonblock(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:72:51: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 72 | static PyObject* p_dump_open(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:73:52: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 73 | static PyObject* p_sendpacket(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:74:48: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 74 | static PyObject* p_stats( register pcapobject* pp, PyObject*); | ^~ pcapobj.cc:75:51: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 75 | static PyObject* p__enter__( register pcapobject* pp, PyObject*); | ^~ pcapobj.cc:76:47: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 76 | static PyObject* p_getfd(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:77:53: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 77 | static PyObject* p_set_snaplen(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:78:53: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 78 | static PyObject* p_set_promisc(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:79:53: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 79 | static PyObject* p_set_timeout(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:80:57: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 80 | static PyObject* p_set_buffer_size(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:81:51: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 81 | static PyObject* p_set_rfmon(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:82:50: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 82 | static PyObject* p_activate(register pcapobject* pp, PyObject* args); | ^~ pcapobj.cc:239:31: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 239 | p_getnet(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:256:32: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 256 | p_getmask(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:273:34: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 273 | p_setfilter(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:310:29: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 310 | p_next(register pcapobject* pp, PyObject*) | ^~ In file included from /usr/include/python3.9/Python.h:140, from pcapobj.cc:10: pcapobj.cc: In function ‘void PythonCallBack(u_char*, const pcap_pkthdr*, const u_char*)’: /usr/include/python3.9/ceval.h:24:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations] 24 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pcapobj.cc:408:12: note: in expansion of macro ‘PyEval_CallObject’ 408 | result = PyEval_CallObject(pctx->pyfunc,arglist); | ^~~~~~~~~~~~~~~~~ /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pcapobj.cc: At global scope: pcapobj.cc:423:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 423 | p_dispatch(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:456:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 456 | p_stats(register pcapobject* pp, PyObject*) | ^~ pcapobj.cc:478:34: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 478 | p__enter__( register pcapobject* pp, PyObject*) | ^~ pcapobj.cc:494:34: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 494 | p_dump_open(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:523:29: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 523 | p_loop(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:558:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 558 | p_datalink(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:574:36: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 574 | p_setnonblock(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:601:36: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 601 | p_getnonblock(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:622:36: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 622 | p_set_snaplen(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:642:36: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 642 | p_set_promisc(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:662:36: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 662 | p_set_timeout(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:682:40: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 682 | p_set_buffer_size(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:702:34: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 702 | p_set_rfmon(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:722:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 722 | p_activate(register pcapobject* pp, PyObject*) | ^~ pcapobj.cc:738:35: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 738 | p_sendpacket(register pcapobject* pp, PyObject* args) | ^~ pcapobj.cc:778:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 778 | p_getfd(register pcapobject* pp, PyObject* args) | ^~ pcapy.cc: In function ‘PyObject* lookupdev(PyObject*, PyObject*)’: pcapy.cc:32:23: warning: ‘char* pcap_lookupdev(char*)’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 32 | dev = pcap_lookupdev(errbuff); | ~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/include/pcap.h:43, from pcapy.cc:10: /usr/include/pcap/pcap.h:394:18: note: declared here 394 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ listing git files failed - pretending there aren't any ./ install/ install/slack-desc usr/ usr/doc/ usr/doc/python-pcapy-0.11.4/ usr/doc/python-pcapy-0.11.4/ChangeLog usr/doc/python-pcapy-0.11.4/LICENSE usr/doc/python-pcapy-0.11.4/README usr/doc/python-pcapy-0.11.4/pcapy.html usr/doc/python-pcapy-0.11.4/python-pcapy.SlackBuild usr/lib64/ usr/lib64/python2.7/ usr/lib64/python2.7/site-packages/ usr/lib64/python2.7/site-packages/pcapy-0.11.4-py2.7.egg-info/ usr/lib64/python2.7/site-packages/pcapy-0.11.4-py2.7.egg-info/PKG-INFO usr/lib64/python2.7/site-packages/pcapy-0.11.4-py2.7.egg-info/SOURCES.txt usr/lib64/python2.7/site-packages/pcapy-0.11.4-py2.7.egg-info/dependency_links.txt usr/lib64/python2.7/site-packages/pcapy-0.11.4-py2.7.egg-info/top_level.txt usr/lib64/python2.7/site-packages/pcapy.so usr/lib64/python3.9/ usr/lib64/python3.9/site-packages/ usr/lib64/python3.9/site-packages/pcapy-0.11.4-py3.9.egg-info/ usr/lib64/python3.9/site-packages/pcapy-0.11.4-py3.9.egg-info/PKG-INFO usr/lib64/python3.9/site-packages/pcapy-0.11.4-py3.9.egg-info/SOURCES.txt usr/lib64/python3.9/site-packages/pcapy-0.11.4-py3.9.egg-info/dependency_links.txt usr/lib64/python3.9/site-packages/pcapy-0.11.4-py3.9.egg-info/top_level.txt usr/lib64/python3.9/site-packages/pcapy.cpython-39-x86_64-linux-gnu.so