pcap_interface.c: In function ‘lookupdev’: pcap_interface.c:386:3: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 386 | dev = pcap_lookupdev(ebuf); | ^~~ In file included from /usr/include/pcap.h:43, from pcap_interface.c:19: /usr/include/pcap/pcap.h:394:18: note: declared here 394 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ In file included from /usr/include/python2.7/Python.h:8, from exception.c:19: /usr/include/python2.7/pyconfig.h:1223: warning: "_POSIX_C_SOURCE" redefined 1223 | #define _POSIX_C_SOURCE 200112L | In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from exception.c:17: /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 error.c:18: /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 error.c:17: /usr/include/features.h:281: note: this is the location of the previous definition 281 | # define _POSIX_C_SOURCE 200809L | ./ install/ install/slack-desc usr/ usr/doc/ usr/doc/pylibpcap-0.6.2/ usr/doc/pylibpcap-0.6.2/COPYING usr/doc/pylibpcap-0.6.2/ChangeLog usr/doc/pylibpcap-0.6.2/README usr/doc/pylibpcap-0.6.2/examples/ usr/doc/pylibpcap-0.6.2/examples/findalldevs.py usr/doc/pylibpcap-0.6.2/examples/sniff.py usr/doc/pylibpcap-0.6.2/pylibpcap.SlackBuild usr/lib/ usr/lib/python2.7/ usr/lib/python2.7/site-packages/ usr/lib/python2.7/site-packages/_pcapmodule.so usr/lib/python2.7/site-packages/pcap.py usr/lib/python2.7/site-packages/pcap.pyc usr/lib/python2.7/site-packages/pylibpcap-0.6.2-py2.7.egg-info -lpython2.7 -o build/lib.linux-i686-2.7/_pcapmodule.so running build_py copying pcap.py -> build/lib.linux-i686-2.7 running install_lib creating /usr/src/slapt-src/libraries/pylibpcap/package-pylibpcap/usr creating /usr/src/slapt-src/libraries/pylibpcap/package-pylibpcap/usr/lib creating /usr/src/slapt-src/libraries/pylibpcap/package-pylibpcap/usr/lib/python2.7 creating /usr/src/slapt-src/libraries/pylibpcap/package-pylibpcap/usr/lib/python2.7/site-packages copying build/lib.linux-i686-2.7/_pcapmodule.so -> /usr/src/slapt-src/libraries/pylibpcap/package-pylibpcap/usr/lib/python2.7/site-packages copying build/lib.linux-i686-2.7/pcap.py -> /usr/src/slapt-src/libraries/pylibpcap/package-pylibpcap/usr/lib/python2.7/site-packages byte-compiling /usr/src/slapt-src/libraries/pylibpcap/package-pylibpcap/usr/lib/python2.7/site-packages/pcap.py to pcap.pyc running install_egg_info Writing /usr/src/slapt-src/libraries/pylibpcap/package-pylibpcap/usr/lib/python2.7/site-packages/pylibpcap-0.6.2-py2.7.egg-info 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/libraries/pylibpcap/pylibpcap-0.6.2-i486-1salix15.0.txz Slackware package /usr/src/slapt-src/libraries/pylibpcap/pylibpcap-0.6.2-i486-1salix15.0.txz created. Installing package pylibpcap-0.6.2-i486-1salix15.0... | pylibpcap (python libcap library) | | Python module for the libpcap packet capture library, based on | the original python libpcap module by Aaron Rhodes. | | Homepage: http://pylibpcap.sourceforge.net/ | | | | | | |