configure: WARNING: unrecognized options: --disable-ldconfig ADME... 0%100%100%100%100%100%Done Fetching cwiid.SlackBuild... 0%100%100%100%100%100%Done Fetching cwiid.info... 0%100%100%100%100%100%Done Fetching doinst.sh... 0%100%100%100%100%100%Done Fetching python310.patch... 0%100%100%100%100%100%Done Fetching rc.cwiid.conf.new... 0%100%100%100%100%100%Done Fetching rc.cwiid.new... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done cwiid/ cwiid/man/ cwiid/man/man1/ cwiid/man/man1/wmgui.1 cwiid/man/man1/wminput.1 cwiid/man/Makefile.in cwiid/libcwiid/ cwiid/libcwiid/process.c cwiid/libcwiid/cwiid.h cwiid/libcwiid/cwiid.pc.in cwiid/libcwiid/util.c cwiid/libcwiid/command.c cwiid/libcwiid/interface.c cwiid/libcwiid/cwiid_internal.h cwiid/libcwiid/Makefile.in cwiid/libcwiid/bluetooth.c cwiid/libcwiid/thread.c cwiid/libcwiid/connect.c cwiid/libcwiid/state.c cwiid/ChangeLog cwiid/COPYING cwiid/common/ cwiid/common/include/ cwiid/common/include/config.h.in cwiid/common/include/dep.mak cwiid/common/include/plugin.mak cwiid/common/include/app.mak cwiid/common/include/lib.mak.in cwiid/python/ cwiid/python/setup.py cwiid/python/Makefile.in cwiid/python/Wiimote.c cwiid/python/cwiidmodule.c cwiid/wminput/ cwiid/wminput/util.h cwiid/wminput/c_plugin.c cwiid/wminput/configs/ cwiid/wminput/configs/acc_led cwiid/wminput/configs/gamepad cwiid/wminput/configs/buttons cwiid/wminput/configs/nunchuk_acc_ptr cwiid/wminput/configs/nunchuk_stick2btn cwiid/wminput/configs/neverball cwiid/wminput/configs/acc_ptr cwiid/wminput/configs/ir_ptr cwiid/wminput/action_enum.awk cwiid/wminput/conf.h cwiid/wminput/action_enum.txt cwiid/wminput/parser.y cwiid/wminput/py_plugin.c cwiid/wminput/c_plugin.h cwiid/wminput/main.c cwiid/wminput/uinput.c cwiid/wminput/py_plugin.h cwiid/wminput/wmplugin.h cwiid/wminput/README cwiid/wminput/util.c cwiid/wminput/plugins/ cwiid/wminput/plugins/nunchuk_acc/ cwiid/wminput/plugins/nunchuk_acc/nunchuk_acc.c cwiid/wminput/plugins/nunchuk_acc/Makefile.in cwiid/wminput/plugins/acc/ cwiid/wminput/plugins/acc/acc.c cwiid/wminput/plugins/acc/acc.py cwiid/wminput/plugins/acc/Makefile.in cwiid/wminput/plugins/led/ cwiid/wminput/plugins/led/led.c cwiid/wminput/plugins/led/Makefile.in cwiid/wminput/plugins/nunchuk_stick2btn/ cwiid/wminput/plugins/nunchuk_stick2btn/nunchuk_stick2btn.c cwiid/wminput/plugins/nunchuk_stick2btn/Makefile.in cwiid/wminput/plugins/Makefile.in cwiid/wminput/plugins/ir_ptr/ cwiid/wminput/plugins/ir_ptr/ir_ptr.c cwiid/wminput/plugins/ir_ptr/Makefile.in cwiid/wminput/conf.c cwiid/wminput/Makefile.in cwiid/wminput/lexer.l cwiid/defs.mak.in cwiid/NEWS cwiid/README cwiid/configure.ac cwiid/wmgui/ cwiid/wmgui/wmgui.gladep cwiid/wmgui/wmgui.glade cwiid/wmgui/interface.h cwiid/wmgui/callbacks.h cwiid/wmgui/main.c cwiid/wmgui/support.c cwiid/wmgui/callbacks.c cwiid/wmgui/interface.c cwiid/wmgui/support.h cwiid/wmgui/Makefile.in cwiid/AUTHORS cwiid/lswm/ cwiid/lswm/lswm.c cwiid/lswm/Makefile.in cwiid/doc/ cwiid/doc/Xmodmap cwiid/doc/wminput.list cwiid/doc/Makefile.in cwiid/Makefile.in cwiid/configure cwiid/wmdemo/ cwiid/wmdemo/wmdemo.c cwiid/wmdemo/Makefile.in cwiid/wmdemo/wmdemo.py cwiid/.gitignore debian/ debian/changelog debian/control debian/control.in debian/copyright debian/docs debian/icons/ debian/icons/wmgui-16.xpm debian/icons/wmgui-32.xpm debian/icons/wmgui.xpm debian/libcwiid-dev.install debian/libcwiid-dev.lintian-overrides debian/libcwiid1.install debian/libcwiid1.symbols debian/lswm.1 debian/lswm.install debian/lswm.manpages debian/menus/ debian/menus/wmgui.desktop debian/patches/ debian/patches/add_other_plugins_#487498.patch debian/patches/fix_458245.patch debian/patches/fix_link_dependencies.patch debian/patches/fix_man_hyphen.patch debian/patches/fix_wiid_pc.patch debian/patches/python-setup.py.patch debian/patches/series debian/patches/wminput-Makefile.in.patch debian/python3-cwiid.install debian/rules debian/source/ debian/source/format debian/watch debian/wmgui.install debian/wmgui.manpages debian/wminput.docs debian/wminput.install debian/wminput.links debian/wminput.lintian-overrides debian/wminput.manpages checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gawk... gawk checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... bison -y checking for python3... python3 checking for pthread_create in -lpthread... yes checking for hci_devid in -lbluetooth... yes checking for dlopen in -ldl... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdint.h... (cached) yes checking bluetooth/bluetooth.h usability... yes checking bluetooth/bluetooth.h presence... yes checking for bluetooth/bluetooth.h... yes checking for bluetooth/l2cap.h... yes checking for bluetooth/hci.h... yes checking linux/input.h usability... yes checking linux/input.h presence... yes checking for linux/input.h... yes checking for linux/uinput.h... yes checking for library containing strerror... none required checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gtk+-2.0 >= 2.0.0 gthread-2.0... yes configure: creating ./config.status config.status: creating Makefile config.status: creating defs.mak config.status: creating common/include/lib.mak config.status: creating doc/Makefile config.status: creating man/Makefile config.status: creating libcwiid/Makefile config.status: creating libcwiid/cwiid.pc config.status: creating wmdemo/Makefile config.status: creating wmgui/Makefile config.status: creating wminput/Makefile config.status: creating wminput/plugins/Makefile config.status: creating wminput/plugins/ir_ptr/Makefile config.status: creating wminput/plugins/acc/Makefile config.status: creating wminput/plugins/nunchuk_acc/Makefile config.status: creating wminput/plugins/led/Makefile config.status: creating wminput/plugins/nunchuk_stick2btn/Makefile config.status: creating lswm/Makefile config.status: creating python/Makefile config.status: creating common/include/config.h configure: WARNING: unrecognized options: --disable-ldconfig make -C libcwiid make[1]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/libcwiid' gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -fpic -c -o bluetooth.o bluetooth.c gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -fpic -c -o command.o command.c gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -fpic -c -o connect.o connect.c gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -fpic -c -o interface.o interface.c gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -fpic -c -o process.o process.c gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -fpic -c -o state.o state.c gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -fpic -c -o thread.o thread.c gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -fpic -c -o util.o util.c ar rcs libcwiid.a bluetooth.o command.o connect.o interface.o process.o state.o thread.o util.o ln -sf libcwiid.so.1.0 libcwiid.so.1 ln -sf libcwiid.so.1 libcwiid.so gcc -shared -Wl,-soname,libcwiid.so.1 -lbluetooth -lpthread -lrt \ -o libcwiid.so.1.0 bluetooth.o command.o connect.o interface.o process.o state.o thread.o util.o make[1]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/libcwiid' make -C wmgui make[1]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/wmgui' gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../libcwiid -c -o main.o main.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from main.c:70: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:70: /usr/include/glib-2.0/gobject/gtype.h:698:1: note: declared here 698 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from main.c:70: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from main.c:69: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ main.c: In function ‘main’: main.c:214:20: warning: Deprecated pre-processor symbol 214 | if (!g_thread_supported()) { | ^~~~~~~~~~~~~~~~~ main.c:215:17: warning: ‘g_thread_init’ is deprecated [-Wdeprecated-declarations] 215 | g_thread_init(NULL); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from main.c:69: /usr/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here 265 | void g_thread_init (gpointer vtable); | ^~~~~~~~~~~~~ main.c: In function ‘cwiid_callback’: main.c:1036:25: warning: enumeration value ‘CWIID_EXT_BALANCE’ not handled in switch [-Wswitch] 1036 | switch (mesg_array[i].status_mesg.ext_type) { | ^~~~~~ main.c:1061:25: warning: ‘ext_str’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1061 | gtk_statusbar_push(GTK_STATUSBAR(statExtension), 0, ext_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../libcwiid -c -o interface.o interface.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from interface.c:16: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from interface.c:16: /usr/include/glib-2.0/gobject/gtype.h:698:1: note: declared here 698 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from interface.c:16: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from interface.c:16: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../libcwiid -c -o support.o support.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from support.c:15: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from support.c:15: /usr/include/glib-2.0/gobject/gtype.h:698:1: note: declared here 698 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from support.c:15: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from support.c:15: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ gcc -o wmgui main.o interface.o support.o -L../libcwiid -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lharfbuzz -lfontconfig -lfreetype -lgthread-2.0 -pthread -lglib-2.0 -lm -lcwiid -lbluetooth make[1]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/wmgui' make -C wminput make[1]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput' bison -y -d parser.y parser.y:44.1-14: warning: POSIX Yacc does not support %error-verbose [-Wyacc] 44 | %error-verbose | ^~~~~~~~~~~~~~ parser.y:44.1-14: warning: deprecated directive: ‘%error-verbose’, use ‘%define parse.error verbose’ [-Wdeprecated] 44 | %error-verbose | ^~~~~~~~~~~~~~ | %define parse.error verbose parser.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] mv -f y.tab.c parser.c flex -t lexer.l > lexer.c gawk -f action_enum.awk action_enum.txt > action_enum.c gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -fPIC -I../libcwiid -DWMINPUT_CONFIG_DIR=\"/etc/cwiid/wminput\" -DCWIID_PLUGINS_DIR=\"/usr/lib64/cwiid/plugins\" -I/usr/include/python3.9 -c -o main.o main.c main.c: In function ‘process_plugin’: main.c:723:21: warning: ‘flag’ may be used uninitialized in this function [-Wmaybe-uninitialized] 723 | if (plugin->rpt_mode_flags & flag) { | ^~~~~~ gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -fPIC -I../libcwiid -DWMINPUT_CONFIG_DIR=\"/etc/cwiid/wminput\" -DCWIID_PLUGINS_DIR=\"/usr/lib64/cwiid/plugins\" -I/usr/include/python3.9 -c -o conf.o conf.c gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -fPIC -I../libcwiid -DWMINPUT_CONFIG_DIR=\"/etc/cwiid/wminput\" -DCWIID_PLUGINS_DIR=\"/usr/lib64/cwiid/plugins\" -I/usr/include/python3.9 -c -o c_plugin.o c_plugin.c gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -fPIC -I../libcwiid -DWMINPUT_CONFIG_DIR=\"/etc/cwiid/wminput\" -DCWIID_PLUGINS_DIR=\"/usr/lib64/cwiid/plugins\" -I/usr/include/python3.9 -c -o uinput.o uinput.c gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -fPIC -I../libcwiid -DWMINPUT_CONFIG_DIR=\"/etc/cwiid/wminput\" -DCWIID_PLUGINS_DIR=\"/usr/lib64/cwiid/plugins\" -I/usr/include/python3.9 -c -o action_enum.o action_enum.c gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -fPIC -I../libcwiid -DWMINPUT_CONFIG_DIR=\"/etc/cwiid/wminput\" -DCWIID_PLUGINS_DIR=\"/usr/lib64/cwiid/plugins\" -I/usr/include/python3.9 -c -o util.o util.c gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -fPIC -I../libcwiid -DWMINPUT_CONFIG_DIR=\"/etc/cwiid/wminput\" -DCWIID_PLUGINS_DIR=\"/usr/lib64/cwiid/plugins\" -I/usr/include/python3.9 -c -o py_plugin.o py_plugin.c py_plugin.c: In function ‘py_init’: py_plugin.c:114:29: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 114 | if (!(PyCWiidModule = PyImport_ImportModule("cwiid"))) { | ^ py_plugin.c:119:27: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 119 | if (!(PySysModule = PyImport_ImportModule("sys"))) { | ^ py_plugin.c:124:47: warning: passing argument 1 of ‘PyObject_GetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 124 | if (!(PyPath = PyObject_GetAttrString(PySysModule, "path"))) { | ^~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from py_plugin.c:38: /usr/include/python3.9/object.h:247:47: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 247 | PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); | ^~~~~~~~~~ py_plugin.c:124:22: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 124 | if (!(PyPath = PyObject_GetAttrString(PySysModule, "path"))) { | ^ py_plugin.c:129:46: warning: passing argument 1 of ‘PyObject_GetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 129 | if (!(PyObj = PyObject_GetAttrString(PyCWiidModule, | ^~~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from py_plugin.c:38: /usr/include/python3.9/object.h:247:47: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 247 | PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); | ^~~~~~~~~~ py_plugin.c:129:21: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 129 | if (!(PyObj = PyObject_GetAttrString(PyCWiidModule, | ^ py_plugin.c:134:30: warning: passing argument 1 of ‘PyCapsule_GetPointer’ from incompatible pointer type [-Wincompatible-pointer-types] 134 | PyCapsule_GetPointer(PyObj,ConvertMesgArray); | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:112, from py_plugin.c:38: /usr/include/python3.9/pycapsule.h:33:51: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 33 | PyAPI_FUNC(void *) PyCapsule_GetPointer(PyObject *capsule, const char *name); | ~~~~~~~~~~^~~~~~~ py_plugin.c:134:36: warning: passing argument 2 of ‘PyCapsule_GetPointer’ from incompatible pointer type [-Wincompatible-pointer-types] 134 | PyCapsule_GetPointer(PyObj,ConvertMesgArray); | ^~~~~~~~~~~~~~~~ | | | PyVarObject * (*)(int, union cwiid_mesg *) In file included from /usr/include/python3.9/Python.h:112, from py_plugin.c:38: /usr/include/python3.9/pycapsule.h:33:72: note: expected ‘const char *’ but argument is of type ‘PyVarObject * (*)(int, union cwiid_mesg *)’ 33 | PyAPI_FUNC(void *) PyCapsule_GetPointer(PyObject *capsule, const char *name); | ~~~~~~~~~~~~^~~~ py_plugin.c:138:32: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 138 | if (!(PyWmPluginModule = PyModule_Create(&moduledef))) { | ^ py_plugin.c:144:45: warning: passing argument 1 of ‘PyModule_AddIntConstant’ from incompatible pointer type [-Wincompatible-pointer-types] 144 | if (PyModule_AddIntConstant(PyWmPluginModule, | ^~~~~~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from py_plugin.c:38: /usr/include/python3.9/modsupport.h:140:41: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 140 | PyAPI_FUNC(int) PyModule_AddIntConstant(PyObject *, const char *, long); | ^~~~~~~~~~ py_plugin.c: In function ‘py_wiimote’: py_plugin.c:179:54: warning: passing argument 1 of ‘PyObject_GetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 179 | if (!(PyWiimoteType = PyObject_GetAttrString(PyCWiidModule, "Wiimote"))) { | ^~~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from py_plugin.c:38: /usr/include/python3.9/object.h:247:47: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 247 | PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); | ^~~~~~~~~~ py_plugin.c:179:29: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 179 | if (!(PyWiimoteType = PyObject_GetAttrString(PyCWiidModule, "Wiimote"))) { | ^ py_plugin.c:184:25: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 184 | if (!(PyCObject = PyCapsule_New(wiimote, NULL, NULL))) { | ^ py_plugin.c:190:22: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 190 | if (!(PyArgs = Py_BuildValue("(O)", PyCObject))) { | ^ py_plugin.c:199:47: warning: passing argument 1 of ‘PyObject_CallObject’ from incompatible pointer type [-Wincompatible-pointer-types] 199 | if (!(PyWiimote = PyObject_CallObject(PyWiimoteType, PyArgs))) { | ^~~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:169:54: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 169 | PyAPI_FUNC(PyObject *) PyObject_CallObject(PyObject *callable, | ~~~~~~~~~~^~~~~~~~ py_plugin.c:199:62: warning: passing argument 2 of ‘PyObject_CallObject’ from incompatible pointer type [-Wincompatible-pointer-types] 199 | if (!(PyWiimote = PyObject_CallObject(PyWiimoteType, PyArgs))) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:170:54: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 170 | PyObject *args); | ~~~~~~~~~~^~~~ py_plugin.c:199:25: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 199 | if (!(PyWiimote = PyObject_CallObject(PyWiimoteType, PyArgs))) { | ^ py_plugin.c: In function ‘py_plugin_open’: py_plugin.c:231:21: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 231 | if (!(PyStr = PyBytes_FromString(dir))) { | ^ py_plugin.c:236:27: warning: passing argument 1 of ‘PyList_Insert’ from incompatible pointer type [-Wincompatible-pointer-types] 236 | if (PyList_Insert(PyPath, 0, PyStr)) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:102, from py_plugin.c:38: /usr/include/python3.9/listobject.h:33:31: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 33 | PyAPI_FUNC(int) PyList_Insert(PyObject *, Py_ssize_t, PyObject *); | ^~~~~~~~~~ py_plugin.c:236:38: warning: passing argument 3 of ‘PyList_Insert’ from incompatible pointer type [-Wincompatible-pointer-types] 236 | if (PyList_Insert(PyPath, 0, PyStr)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:102, from py_plugin.c:38: /usr/include/python3.9/listobject.h:33:55: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 33 | PyAPI_FUNC(int) PyList_Insert(PyObject *, Py_ssize_t, PyObject *); | ^~~~~~~~~~ py_plugin.c:241:22: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 241 | if (!(handle = PyImport_ImportModule(plugin->name))) { | ^ py_plugin.c:243:29: warning: passing argument 1 of ‘PyErr_Fetch’ from incompatible pointer type [-Wincompatible-pointer-types] 243 | PyErr_Fetch(&PyErrType, &PyErr, &PyTraceback); | ^~~~~~~~~~ | | | PyVarObject ** In file included from /usr/include/python3.9/Python.h:130, from py_plugin.c:38: /usr/include/python3.9/pyerrors.h:19:30: note: expected ‘PyObject **’ {aka ‘struct _object **’} but argument is of type ‘PyVarObject **’ 19 | PyAPI_FUNC(void) PyErr_Fetch(PyObject **, PyObject **, PyObject **); | ^~~~~~~~~~~ py_plugin.c:243:41: warning: passing argument 2 of ‘PyErr_Fetch’ from incompatible pointer type [-Wincompatible-pointer-types] 243 | PyErr_Fetch(&PyErrType, &PyErr, &PyTraceback); | ^~~~~~ | | | PyVarObject ** In file included from /usr/include/python3.9/Python.h:130, from py_plugin.c:38: /usr/include/python3.9/pyerrors.h:19:43: note: expected ‘PyObject **’ {aka ‘struct _object **’} but argument is of type ‘PyVarObject **’ 19 | PyAPI_FUNC(void) PyErr_Fetch(PyObject **, PyObject **, PyObject **); | ^~~~~~~~~~~ py_plugin.c:243:49: warning: passing argument 3 of ‘PyErr_Fetch’ from incompatible pointer type [-Wincompatible-pointer-types] 243 | PyErr_Fetch(&PyErrType, &PyErr, &PyTraceback); | ^~~~~~~~~~~~ | | | PyVarObject ** In file included from /usr/include/python3.9/Python.h:130, from py_plugin.c:38: /usr/include/python3.9/pyerrors.h:19:56: note: expected ‘PyObject **’ {aka ‘struct _object **’} but argument is of type ‘PyVarObject **’ 19 | PyAPI_FUNC(void) PyErr_Fetch(PyObject **, PyObject **, PyObject **); | ^~~~~~~~~~~ py_plugin.c:244:42: warning: passing argument 1 of ‘PyErr_NormalizeException’ from incompatible pointer type [-Wincompatible-pointer-types] 244 | PyErr_NormalizeException(&PyErrType, &PyErr, &PyTraceback); | ^~~~~~~~~~ | | | PyVarObject ** In file included from /usr/include/python3.9/Python.h:130, from py_plugin.c:38: /usr/include/python3.9/pyerrors.h:42:43: note: expected ‘PyObject **’ {aka ‘struct _object **’} but argument is of type ‘PyVarObject **’ 42 | PyAPI_FUNC(void) PyErr_NormalizeException(PyObject**, PyObject**, PyObject**); | ^~~~~~~~~~ py_plugin.c:244:54: warning: passing argument 2 of ‘PyErr_NormalizeException’ from incompatible pointer type [-Wincompatible-pointer-types] 244 | PyErr_NormalizeException(&PyErrType, &PyErr, &PyTraceback); | ^~~~~~ | | | PyVarObject ** In file included from /usr/include/python3.9/Python.h:130, from py_plugin.c:38: /usr/include/python3.9/pyerrors.h:42:55: note: expected ‘PyObject **’ {aka ‘struct _object **’} but argument is of type ‘PyVarObject **’ 42 | PyAPI_FUNC(void) PyErr_NormalizeException(PyObject**, PyObject**, PyObject**); | ^~~~~~~~~~ py_plugin.c:244:62: warning: passing argument 3 of ‘PyErr_NormalizeException’ from incompatible pointer type [-Wincompatible-pointer-types] 244 | PyErr_NormalizeException(&PyErrType, &PyErr, &PyTraceback); | ^~~~~~~~~~~~ | | | PyVarObject ** In file included from /usr/include/python3.9/Python.h:130, from py_plugin.c:38: /usr/include/python3.9/pyerrors.h:42:67: note: expected ‘PyObject **’ {aka ‘struct _object **’} but argument is of type ‘PyVarObject **’ 42 | PyAPI_FUNC(void) PyErr_NormalizeException(PyObject**, PyObject**, PyObject**); | ^~~~~~~~~~ py_plugin.c:245:49: warning: passing argument 1 of ‘PyErr_GivenExceptionMatches’ from incompatible pointer type [-Wincompatible-pointer-types] 245 | if (PyErr_GivenExceptionMatches(PyErr, PyExc_ImportError) && | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:130, from py_plugin.c:38: /usr/include/python3.9/pyerrors.h:40:45: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 40 | PyAPI_FUNC(int) PyErr_GivenExceptionMatches(PyObject *, PyObject *); | ^~~~~~~~~~ py_plugin.c:251:39: warning: passing argument 1 of ‘PyErr_Restore’ from incompatible pointer type [-Wincompatible-pointer-types] 251 | PyErr_Restore(PyErrType, PyErr, PyTraceback); | ^~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:130, from py_plugin.c:38: /usr/include/python3.9/pyerrors.h:20:32: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 20 | PyAPI_FUNC(void) PyErr_Restore(PyObject *, PyObject *, PyObject *); | ^~~~~~~~~~ py_plugin.c:251:50: warning: passing argument 2 of ‘PyErr_Restore’ from incompatible pointer type [-Wincompatible-pointer-types] 251 | PyErr_Restore(PyErrType, PyErr, PyTraceback); | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:130, from py_plugin.c:38: /usr/include/python3.9/pyerrors.h:20:44: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 20 | PyAPI_FUNC(void) PyErr_Restore(PyObject *, PyObject *, PyObject *); | ^~~~~~~~~~ py_plugin.c:251:57: warning: passing argument 3 of ‘PyErr_Restore’ from incompatible pointer type [-Wincompatible-pointer-types] 251 | PyErr_Restore(PyErrType, PyErr, PyTraceback); | ^~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:130, from py_plugin.c:38: /usr/include/python3.9/pyerrors.h:20:56: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 20 | PyAPI_FUNC(void) PyErr_Restore(PyObject *, PyObject *, PyObject *); | ^~~~~~~~~~ py_plugin.c:255:40: warning: passing argument 1 of ‘PySequence_DelItem’ from incompatible pointer type [-Wincompatible-pointer-types] 255 | if (PySequence_DelItem(PyPath, 0)) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:661:46: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 661 | PyAPI_FUNC(int) PySequence_DelItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ py_plugin.c:262:32: warning: passing argument 1 of ‘PySequence_DelItem’ from incompatible pointer type [-Wincompatible-pointer-types] 262 | if (PySequence_DelItem(PyPath, 0)) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:661:46: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 661 | PyAPI_FUNC(int) PySequence_DelItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ py_plugin.c:287:34: warning: passing argument 1 of ‘PyObject_GetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 287 | PyObject_GetAttrString(handle, "wmplugin_init"))) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from py_plugin.c:38: /usr/include/python3.9/object.h:247:47: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 247 | PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); | ^~~~~~~~~~ py_plugin.c:286:53: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 286 | if (!(((struct py_plugin *)plugin->p)->init = | ^ py_plugin.c:291:62: warning: passing argument 1 of ‘PyCallable_Check’ from incompatible pointer type [-Wincompatible-pointer-types] 291 | if (!PyCallable_Check(((struct py_plugin *)plugin->p)->init)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from py_plugin.c:38: /usr/include/python3.9/object.h:263:34: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 263 | PyAPI_FUNC(int) PyCallable_Check(PyObject *); | ^~~~~~~~~~ py_plugin.c:296:34: warning: passing argument 1 of ‘PyObject_GetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 296 | PyObject_GetAttrString(handle, "wmplugin_exec"))) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from py_plugin.c:38: /usr/include/python3.9/object.h:247:47: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 247 | PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); | ^~~~~~~~~~ py_plugin.c:295:53: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 295 | if (!(((struct py_plugin *)plugin->p)->exec = | ^ py_plugin.c:300:62: warning: passing argument 1 of ‘PyCallable_Check’ from incompatible pointer type [-Wincompatible-pointer-types] 300 | if (!PyCallable_Check(((struct py_plugin *)plugin->p)->exec)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from py_plugin.c:38: /usr/include/python3.9/object.h:263:34: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 263 | PyAPI_FUNC(int) PyCallable_Check(PyObject *); | ^~~~~~~~~~ py_plugin.c:304:45: warning: passing argument 1 of ‘PyObject_GetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 304 | if (!(info = PyObject_GetAttrString(handle, "wmplugin_info"))) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from py_plugin.c:38: /usr/include/python3.9/object.h:247:47: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 247 | PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); | ^~~~~~~~~~ py_plugin.c:304:20: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 304 | if (!(info = PyObject_GetAttrString(handle, "wmplugin_info"))) { | ^ py_plugin.c:308:31: warning: passing argument 1 of ‘PyCallable_Check’ from incompatible pointer type [-Wincompatible-pointer-types] 308 | if (!PyCallable_Check(info)) { | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from py_plugin.c:38: /usr/include/python3.9/object.h:263:34: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 263 | PyAPI_FUNC(int) PyCallable_Check(PyObject *); | ^~~~~~~~~~ py_plugin.c: In function ‘py_plugin_info’: py_plugin.c:362:31: warning: passing argument 1 of ‘PyObject_CallObject’ from incompatible pointer type [-Wincompatible-pointer-types] 362 | PyObject_CallObject(info, NULL))) { | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:169:54: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 169 | PyAPI_FUNC(PyObject *) PyObject_CallObject(PyObject *callable, | ~~~~~~~~~~^~~~~~~~ py_plugin.c:361:55: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 361 | if (!(((struct py_plugin *)plugin->p)->PyInfo = | ^ py_plugin.c:367:62: warning: passing argument 1 of ‘PyArg_ParseTuple’ from incompatible pointer type [-Wincompatible-pointer-types] 367 | if (!PyArg_ParseTuple(((struct py_plugin *)plugin->p)->PyInfo, "OOO", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from py_plugin.c:38: /usr/include/python3.9/modsupport.h:40:34: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 40 | PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...); | ^~~~~~~~~~ py_plugin.c:373:32: warning: passing argument 1 of ‘PySequence_Check’ from incompatible pointer type [-Wincompatible-pointer-types] 373 | if (!(PySequence_Check(PyButtonInfo) && PySequence_Check(PyAxisInfo) && | ^~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:620:44: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 620 | PyAPI_FUNC(int) PySequence_Check(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:373:66: warning: passing argument 1 of ‘PySequence_Check’ from incompatible pointer type [-Wincompatible-pointer-types] 373 | if (!(PySequence_Check(PyButtonInfo) && PySequence_Check(PyAxisInfo) && | ^~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:620:44: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 620 | PyAPI_FUNC(int) PySequence_Check(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:374:32: warning: passing argument 1 of ‘PySequence_Check’ from incompatible pointer type [-Wincompatible-pointer-types] 374 | PySequence_Check(PyParamInfo))) { | ^~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:620:44: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 620 | PyAPI_FUNC(int) PySequence_Check(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:379:54: warning: passing argument 1 of ‘PySequence_Size’ from incompatible pointer type [-Wincompatible-pointer-types] 379 | plugin->info->button_count = PySequence_Size(PyButtonInfo); | ^~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:623:50: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 623 | PyAPI_FUNC(Py_ssize_t) PySequence_Size(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:381:50: warning: passing argument 1 of ‘PySequence_GetItem’ from incompatible pointer type [-Wincompatible-pointer-types] 381 | if (!(PyObj = PySequence_GetItem(PyButtonInfo, i))) { | ^~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:645:53: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 645 | PyAPI_FUNC(PyObject *) PySequence_GetItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ py_plugin.c:381:29: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 381 | if (!(PyObj = PySequence_GetItem(PyButtonInfo, i))) { | ^ py_plugin.c:386:76: warning: passing argument 1 of ‘PyBytes_AsString’ from incompatible pointer type [-Wincompatible-pointer-types] 386 | if (!(plugin->info->button_info[i].name = PyBytes_AsString(PyObj))) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:92, from py_plugin.c:38: /usr/include/python3.9/bytesobject.h:45:37: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 45 | PyAPI_FUNC(char *) PyBytes_AsString(PyObject *); | ^~~~~~~~~~ py_plugin.c:395:52: warning: passing argument 1 of ‘PySequence_Size’ from incompatible pointer type [-Wincompatible-pointer-types] 395 | plugin->info->axis_count = PySequence_Size(PyAxisInfo); | ^~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:623:50: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 623 | PyAPI_FUNC(Py_ssize_t) PySequence_Size(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:399:50: warning: passing argument 1 of ‘PySequence_GetItem’ from incompatible pointer type [-Wincompatible-pointer-types] 399 | if (!(PyObj = PySequence_GetItem(PyAxisInfo, i))) { | ^~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:645:53: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 645 | PyAPI_FUNC(PyObject *) PySequence_GetItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ py_plugin.c:399:29: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 399 | if (!(PyObj = PySequence_GetItem(PyAxisInfo, i))) { | ^ py_plugin.c:404:39: warning: passing argument 1 of ‘PyArg_ParseTuple’ from incompatible pointer type [-Wincompatible-pointer-types] 404 | if (!PyArg_ParseTuple(PyObj, "sIiiii", | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from py_plugin.c:38: /usr/include/python3.9/modsupport.h:40:34: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 40 | PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...); | ^~~~~~~~~~ py_plugin.c:421:53: warning: passing argument 1 of ‘PySequence_Size’ from incompatible pointer type [-Wincompatible-pointer-types] 421 | plugin->info->param_count = PySequence_Size(PyParamInfo); | ^~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:623:50: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 623 | PyAPI_FUNC(Py_ssize_t) PySequence_Size(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:423:50: warning: passing argument 1 of ‘PySequence_GetItem’ from incompatible pointer type [-Wincompatible-pointer-types] 423 | if (!(PyObj = PySequence_GetItem(PyParamInfo, i))) { | ^~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:645:53: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 645 | PyAPI_FUNC(PyObject *) PySequence_GetItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ py_plugin.c:423:29: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 423 | if (!(PyObj = PySequence_GetItem(PyParamInfo, i))) { | ^ py_plugin.c:428:39: warning: passing argument 1 of ‘PyArg_ParseTuple’ from incompatible pointer type [-Wincompatible-pointer-types] 428 | if (!PyArg_ParseTuple(PyObj, "siO", &plugin->info->param_info[i].name, | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from py_plugin.c:38: /usr/include/python3.9/modsupport.h:40:34: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 40 | PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...); | ^~~~~~~~~~ py_plugin.c: In function ‘py_plugin_init’: py_plugin.c:453:22: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 453 | if (!(PyArgs = Py_BuildValue("(i,O)", id, PyWiimote))) { | ^ py_plugin.c:458:65: warning: passing argument 1 of ‘PyObject_CallObject’ from incompatible pointer type [-Wincompatible-pointer-types] 458 | if (!PyObject_CallObject(((struct py_plugin *)plugin->p)->init, PyArgs)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:169:54: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 169 | PyAPI_FUNC(PyObject *) PyObject_CallObject(PyObject *callable, | ~~~~~~~~~~^~~~~~~~ py_plugin.c:458:73: warning: passing argument 2 of ‘PyObject_CallObject’ from incompatible pointer type [-Wincompatible-pointer-types] 458 | if (!PyObject_CallObject(((struct py_plugin *)plugin->p)->init, PyArgs)) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:170:54: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 170 | PyObject *args); | ~~~~~~~~~~^~~~ py_plugin.c: In function ‘py_plugin_exec’: py_plugin.c:480:22: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 480 | if (!(PyArgs = Py_BuildValue("(O)", PyMesg))) { | ^ py_plugin.c:488:75: warning: passing argument 1 of ‘PyObject_CallObject’ from incompatible pointer type [-Wincompatible-pointer-types] 488 | if (!(PyData = PyObject_CallObject(((struct py_plugin *)plugin->p)->exec, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:169:54: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 169 | PyAPI_FUNC(PyObject *) PyObject_CallObject(PyObject *callable, | ~~~~~~~~~~^~~~~~~~ py_plugin.c:489:44: warning: passing argument 2 of ‘PyObject_CallObject’ from incompatible pointer type [-Wincompatible-pointer-types] 489 | PyArgs))) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:170:54: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 170 | PyObject *args); | ~~~~~~~~~~^~~~ py_plugin.c:488:22: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 488 | if (!(PyData = PyObject_CallObject(((struct py_plugin *)plugin->p)->exec, | ^ py_plugin.c:497:31: warning: passing argument 1 of ‘PyArg_ParseTuple’ from incompatible pointer type [-Wincompatible-pointer-types] 497 | if (!PyArg_ParseTuple(PyData, "OO", &PyButtonData, &PyAxisData)) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from py_plugin.c:38: /usr/include/python3.9/modsupport.h:40:34: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 40 | PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...); | ^~~~~~~~~~ py_plugin.c:503:32: warning: passing argument 1 of ‘PySequence_Check’ from incompatible pointer type [-Wincompatible-pointer-types] 503 | if (!(PySequence_Check(PyButtonData) && PySequence_Check(PyAxisData))) { | ^~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:620:44: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 620 | PyAPI_FUNC(int) PySequence_Check(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:503:66: warning: passing argument 1 of ‘PySequence_Check’ from incompatible pointer type [-Wincompatible-pointer-types] 503 | if (!(PySequence_Check(PyButtonData) && PySequence_Check(PyAxisData))) { | ^~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:620:44: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 620 | PyAPI_FUNC(int) PySequence_Check(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:509:29: warning: passing argument 1 of ‘PySequence_Size’ from incompatible pointer type [-Wincompatible-pointer-types] 509 | if (PySequence_Size(PyButtonData) != plugin->info->button_count) { | ^~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:623:50: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 623 | PyAPI_FUNC(Py_ssize_t) PySequence_Size(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:516:50: warning: passing argument 1 of ‘PySequence_GetItem’ from incompatible pointer type [-Wincompatible-pointer-types] 516 | if (!(PyObj = PySequence_GetItem(PyButtonData, i))) { | ^~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:645:53: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 645 | PyAPI_FUNC(PyObject *) PySequence_GetItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ py_plugin.c:516:29: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 516 | if (!(PyObj = PySequence_GetItem(PyButtonData, i))) { | ^ py_plugin.c:522:27: warning: comparison of distinct pointer types lacks a cast 522 | if (PyObj == Py_True) { | ^~ py_plugin.c:525:32: warning: comparison of distinct pointer types lacks a cast 525 | else if (PyObj != Py_False) { | ^~ py_plugin.c:535:29: warning: passing argument 1 of ‘PySequence_Size’ from incompatible pointer type [-Wincompatible-pointer-types] 535 | if (PySequence_Size(PyAxisData) != plugin->info->axis_count) { | ^~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:623:50: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 623 | PyAPI_FUNC(Py_ssize_t) PySequence_Size(PyObject *o); | ~~~~~~~~~~^ py_plugin.c:541:50: warning: passing argument 1 of ‘PySequence_GetItem’ from incompatible pointer type [-Wincompatible-pointer-types] 541 | if (!(PyObj = PySequence_GetItem(PyAxisData, i))) { | ^~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:146, from py_plugin.c:38: /usr/include/python3.9/abstract.h:645:53: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 645 | PyAPI_FUNC(PyObject *) PySequence_GetItem(PyObject *o, Py_ssize_t i); | ~~~~~~~~~~^ py_plugin.c:541:29: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 541 | if (!(PyObj = PySequence_GetItem(PyAxisData, i))) { | ^ py_plugin.c:547:27: warning: comparison of distinct pointer types lacks a cast 547 | if (PyObj == Py_None) { | ^~ py_plugin.c:558:69: warning: passing argument 1 of ‘PyLong_AsLong’ from incompatible pointer type [-Wincompatible-pointer-types] 558 | plugin->data->axes[i].value = PyLong_AsLong(PyObj); | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:94, from py_plugin.c:38: /usr/include/python3.9/longobject.h:23:32: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 23 | PyAPI_FUNC(long) PyLong_AsLong(PyObject *); | ^~~~~~~~~~ py_plugin.c: In function ‘py_plugin_param_int’: py_plugin.c:575:23: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 575 | PyObj = PyLong_FromLong(value); | ^ py_plugin.c:576:75: warning: passing argument 1 of ‘PyObject_SetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 576 | if (PyObject_SetAttrString(((struct py_plugin *)plugin->p)->handle, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from py_plugin.c:38: /usr/include/python3.9/object.h:248:40: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 248 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c:578:44: warning: passing argument 3 of ‘PyObject_SetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 578 | PyObj)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from py_plugin.c:38: /usr/include/python3.9/object.h:248:66: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 248 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c:584:23: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 584 | PyObj = PyFloat_FromDouble((double)value); | ^ py_plugin.c:585:75: warning: passing argument 1 of ‘PyObject_SetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 585 | if (PyObject_SetAttrString(((struct py_plugin *)plugin->p)->handle, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from py_plugin.c:38: /usr/include/python3.9/object.h:248:40: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 248 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c:587:44: warning: passing argument 3 of ‘PyObject_SetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 587 | PyObj)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from py_plugin.c:38: /usr/include/python3.9/object.h:248:66: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 248 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c: In function ‘py_plugin_param_float’: py_plugin.c:605:23: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 605 | PyObj = PyLong_FromLong((int)value); | ^ py_plugin.c:606:75: warning: passing argument 1 of ‘PyObject_SetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 606 | if (PyObject_SetAttrString(((struct py_plugin *)plugin->p)->handle, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from py_plugin.c:38: /usr/include/python3.9/object.h:248:40: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 248 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c:608:44: warning: passing argument 3 of ‘PyObject_SetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 608 | PyObj)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from py_plugin.c:38: /usr/include/python3.9/object.h:248:66: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 248 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c:614:23: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 614 | PyObj = PyFloat_FromDouble((double)value); | ^ py_plugin.c:615:75: warning: passing argument 1 of ‘PyObject_SetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 615 | if (PyObject_SetAttrString(((struct py_plugin *)plugin->p)->handle, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from py_plugin.c:38: /usr/include/python3.9/object.h:248:40: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 248 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c:617:44: warning: passing argument 3 of ‘PyObject_SetAttrString’ from incompatible pointer type [-Wincompatible-pointer-types] 617 | PyObj)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from py_plugin.c:38: /usr/include/python3.9/object.h:248:66: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 248 | PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ py_plugin.c: In function ‘set_rpt_mode’: py_plugin.c:632:42: warning: passing argument 1 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 632 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "ii:wmplugin:set_rpt_mode", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from py_plugin.c:38: /usr/include/python3.9/modsupport.h:41:45: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ py_plugin.c:632:48: warning: passing argument 2 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 632 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "ii:wmplugin:set_rpt_mode", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from py_plugin.c:38: /usr/include/python3.9/modsupport.h:41:57: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from py_plugin.c:38: /usr/include/python3.9/object.h:520:49: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 520 | #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None | ^ py_plugin.c:641:9: note: in expansion of macro ‘Py_RETURN_NONE’ 641 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -fPIC -I../libcwiid -DWMINPUT_CONFIG_DIR=\"/etc/cwiid/wminput\" -DCWIID_PLUGINS_DIR=\"/usr/lib64/cwiid/plugins\" -I/usr/include/python3.9 -c -o parser.o parser.c gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -fPIC -I../libcwiid -DWMINPUT_CONFIG_DIR=\"/etc/cwiid/wminput\" -DCWIID_PLUGINS_DIR=\"/usr/lib64/cwiid/plugins\" -I/usr/include/python3.9 -c -o lexer.o lexer.c :1622:16: warning: ‘input’ defined but not used [-Wunused-function] gcc -o wminput main.o conf.o c_plugin.o uinput.o action_enum.o util.o py_plugin.o parser.o lexer.o -L../libcwiid -rdynamic -shared -lcwiid -ldl -lbluetooth -lpython3.9 -lpthread make -C plugins make[2]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins' make -C ir_ptr make[3]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins/ir_ptr' gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -I../../../wminput -I../../../libcwiid -fpic -c -o ir_ptr.o ir_ptr.c ir_ptr.c: In function ‘wmplugin_exec’: ir_ptr.c:110:17: warning: unused variable ‘flag’ [-Wunused-variable] 110 | uint8_t flag; | ^~~~ ir_ptr.c:107:24: warning: unused variable ‘old_flag’ [-Wunused-variable] 107 | static uint8_t old_flag; | ^~~~~~~~ At top level: ir_ptr.c:107:24: warning: ‘old_flag’ defined but not used [-Wunused-variable] gcc -shared -o ir_ptr.so ir_ptr.o make[3]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins/ir_ptr' make -C acc make[3]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins/acc' gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -I../../../wminput -I../../../libcwiid -fpic -c -o acc.o acc.c gcc -shared -lm -o acc.so acc.o make[3]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins/acc' make -C nunchuk_acc make[3]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins/nunchuk_acc' gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -I../../../wminput -I../../../libcwiid -fpic -c -o nunchuk_acc.o nunchuk_acc.c gcc -shared -lm -o nunchuk_acc.so nunchuk_acc.o make[3]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins/nunchuk_acc' make -C led make[3]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins/led' gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -I../../../wminput -I../../../libcwiid -fpic -c -o led.o led.c led.c: In function ‘wmplugin_exec’: led.c:86:42: warning: assignment to ‘struct cwiid_btn_message *’ from incompatible pointer type ‘struct cwiid_btn_mesg *’ [-Wincompatible-pointer-types] 86 | btn_mesg = &mesg[i].btn_mesg; | ^ gcc -shared -o led.so led.o make[3]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins/led' make -C nunchuk_stick2btn make[3]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins/nunchuk_stick2btn' gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -I../../../wminput -I../../../libcwiid -fpic -c -o nunchuk_stick2btn.o nunchuk_stick2btn.c gcc -shared -lm -o nunchuk_stick2btn.so nunchuk_stick2btn.o make[3]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins/nunchuk_stick2btn' make[2]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins' make[1]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput' make -C lswm make[1]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/lswm' gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -I../libcwiid -c -o lswm.o lswm.c gcc -o lswm lswm.o -L../libcwiid -lcwiid -lbluetooth make[1]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/lswm' make -C python make[1]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/python' python3 setup.py build_ext -g -I../libcwiid -L../libcwiid -lcwiid running build_ext building 'cwiid' extension creating build creating build/temp.linux-x86_64-3.9 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -g -I../libcwiid -I/usr/include/python3.9 -c Wiimote.c -o build/temp.linux-x86_64-3.9/Wiimote.o Wiimote.c:151:29: warning: missing braces around initializer [-Wmissing-braces] 151 | PyTypeObject Wiimote_Type = { | ^ Wiimote.c:154:9: warning: initialization of ‘long int’ from ‘char *’ makes integer from pointer without a cast [-Wint-conversion] 154 | "cwiid.Wiimote", /* tp_name */ | ^~~~~~~~~~~~~~~ Wiimote.c:154:9: note: (near initialization for ‘Wiimote_Type.tp_basicsize’) Wiimote.c:157:9: warning: initialization of ‘long int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Wint-conversion] 157 | (destructor)Wiimote_dealloc, /* tp_dealloc */ | ^ Wiimote.c:157:9: note: (near initialization for ‘Wiimote_Type.tp_vectorcall_offset’) In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from Wiimote.c:57: /usr/include/python3.9/object.h:350:29: warning: initialization of ‘const char *’ from ‘long unsigned int’ makes pointer from integer without a cast [-Wint-conversion] 350 | #define Py_TPFLAGS_DEFAULT ( \ | ^ Wiimote.c:172:9: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’ 172 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */ | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/object.h:350:29: note: (near initialization for ‘Wiimote_Type.tp_doc’) 350 | #define Py_TPFLAGS_DEFAULT ( \ | ^ Wiimote.c:172:9: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’ 172 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */ | ^~~~~~~~~~~~~~~~~~ Wiimote.c:173:9: warning: initialization of ‘int (*)(PyObject *, int (*)(PyObject *, void *), void *)’ {aka ‘int (*)(struct _object *, int (*)(struct _object *, void *), void *)’} from incompatible pointer type ‘char *’ [-Wincompatible-pointer-types] 173 | "CWiid Wiimote connection object", /* tp_doc */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Wiimote.c:173:9: note: (near initialization for ‘Wiimote_Type.tp_traverse’) Wiimote.c:180:9: warning: initialization of ‘struct PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Wincompatible-pointer-types] 180 | Wiimote_Methods, /* tp_methods */ | ^~~~~~~~~~~~~~~ Wiimote.c:180:9: note: (near initialization for ‘Wiimote_Type.tp_members’) Wiimote.c:182:9: warning: initialization of ‘struct _typeobject *’ from incompatible pointer type ‘PyGetSetDef *’ [-Wincompatible-pointer-types] 182 | Wiimote_GetSet, /* tp_getset */ | ^~~~~~~~~~~~~~ Wiimote.c:182:9: note: (near initialization for ‘Wiimote_Type.tp_base’) Wiimote.c:188:9: warning: initialization of ‘PyObject * (*)(PyTypeObject *, Py_ssize_t)’ {aka ‘struct _object * (*)(struct _typeobject *, long int)’} from incompatible pointer type ‘int (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘int (*)(struct _object *, struct _object *, struct _object *)’} [-Wincompatible-pointer-types] 188 | (initproc)Wiimote_init, /* tp_init */ | ^ Wiimote.c:188:9: note: (near initialization for ‘Wiimote_Type.tp_alloc’) Wiimote.c:190:9: warning: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘PyVarObject * (*)(PyTypeObject *, PyVarObject *, PyVarObject *)’ {aka ‘PyVarObject * (*)(struct _typeobject *, PyVarObject *, PyVarObject *)’} [-Wincompatible-pointer-types] 190 | Wiimote_new, /* tp_new */ | ^~~~~~~~~~~ Wiimote.c:190:9: note: (near initialization for ‘Wiimote_Type.tp_free’) Wiimote.c:151:29: warning: missing braces around initializer [-Wmissing-braces] 151 | PyTypeObject Wiimote_Type = { | ^ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from Wiimote.c:57: Wiimote.c: In function ‘Wiimote_new’: Wiimote.c:204:34: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 204 | Py_INCREF(self->callback = Py_None); | ^ /usr/include/python3.9/object.h:112:41: note: in definition of macro ‘_PyObject_CAST’ 112 | #define _PyObject_CAST(op) ((PyObject*)(op)) | ^~ Wiimote.c:204:9: note: in expansion of macro ‘Py_INCREF’ 204 | Py_INCREF(self->callback = Py_None); | ^~~~~~~~~ Wiimote.c: In function ‘Wiimote_init’: Wiimote.c:230:26: warning: passing argument 1 of ‘PyTuple_Size’ from incompatible pointer type [-Wincompatible-pointer-types] 230 | if (PyTuple_Size(args) == 1) { | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:101, from Wiimote.c:57: /usr/include/python3.9/tupleobject.h:31:37: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 31 | PyAPI_FUNC(Py_ssize_t) PyTuple_Size(PyObject *); | ^~~~~~~~~~ Wiimote.c:231:23: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 231 | PyObj = PyTuple_GET_ITEM(args, 0); | ^ Wiimote.c:232:21: warning: implicit declaration of function ‘PyCObject_Check’; did you mean ‘PyODict_Check’? [-Wimplicit-function-declaration] 232 | if (PyCObject_Check(PyObj)) { | ^~~~~~~~~~~~~~~ | PyODict_Check Wiimote.c:233:35: warning: implicit declaration of function ‘PyCObject_AsVoidPtr’; did you mean ‘PyLong_AsVoidPtr’? [-Wimplicit-function-declaration] 233 | wiimote = PyCObject_AsVoidPtr(PyObj); | ^~~~~~~~~~~~~~~~~~~ | PyLong_AsVoidPtr Wiimote.c:233:33: warning: assignment to ‘cwiid_wiimote_t *’ {aka ‘struct wiimote *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 233 | wiimote = PyCObject_AsVoidPtr(PyObj); | ^ Wiimote.c:239:50: warning: passing argument 1 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 239 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "|si:cwiid.Wiimote.init", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:45: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ Wiimote.c:239:56: warning: passing argument 2 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 239 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "|si:cwiid.Wiimote.init", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:57: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from Wiimote.c:57: Wiimote.c: In function ‘Wiimote_close’: /usr/include/python3.9/object.h:520:49: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 520 | #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None | ^ Wiimote.c:289:9: note: in expansion of macro ‘Py_RETURN_NONE’ 289 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘Wiimote_enable’: Wiimote.c:302:42: warning: passing argument 1 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 302 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "i:cwiid.Wiimote.enable", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:45: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ Wiimote.c:302:48: warning: passing argument 2 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 302 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "i:cwiid.Wiimote.enable", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:57: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from Wiimote.c:57: /usr/include/python3.9/object.h:520:49: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 520 | #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None | ^ Wiimote.c:312:9: note: in expansion of macro ‘Py_RETURN_NONE’ 312 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘Wiimote_disable’: Wiimote.c:325:42: warning: passing argument 1 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 325 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "i:cwiid.Wiimote.disable", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:45: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ Wiimote.c:325:48: warning: passing argument 2 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 325 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "i:cwiid.Wiimote.disable", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:57: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from Wiimote.c:57: /usr/include/python3.9/object.h:520:49: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 520 | #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None | ^ Wiimote.c:335:9: note: in expansion of macro ‘Py_RETURN_NONE’ 335 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘Wiimote_set_mesg_callback’: Wiimote.c:349:31: warning: passing argument 1 of ‘PyCallable_Check’ from incompatible pointer type [-Wincompatible-pointer-types] 349 | if (!PyCallable_Check(NewCallback)) { | ^~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from Wiimote.c:57: /usr/include/python3.9/object.h:263:34: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 263 | PyAPI_FUNC(int) PyCallable_Check(PyObject *); | ^~~~~~~~~~ Wiimote.c:354:26: warning: comparison of distinct pointer types lacks a cast 354 | if ((OldCallback == Py_None) && (NewCallback != Py_None)) { | ^~ Wiimote.c:354:54: warning: comparison of distinct pointer types lacks a cast 354 | if ((OldCallback == Py_None) && (NewCallback != Py_None)) { | ^~ Wiimote.c:361:31: warning: comparison of distinct pointer types lacks a cast 361 | else if ((OldCallback != Py_None) && (NewCallback == Py_None)) { | ^~ Wiimote.c:361:59: warning: comparison of distinct pointer types lacks a cast 361 | else if ((OldCallback != Py_None) && (NewCallback == Py_None)) { | ^~ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from Wiimote.c:57: Wiimote.c: In function ‘Wiimote_get_mesg’: /usr/include/python3.9/object.h:520:49: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 520 | #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None | ^ Wiimote.c:390:25: note: in expansion of macro ‘Py_RETURN_NONE’ 390 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘Wiimote_get_state’: Wiimote.c:421:17: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 421 | PyState = Py_BuildValue("{s:B,s:B,s:B,s:B,s:i,s:i}", | ^ Wiimote.c:430:38: warning: initialization of ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 430 | PyVarObject *PyBtn = Py_BuildValue("I", state.buttons); | ^~~~~~~~~~~~~ Wiimote.c:435:42: warning: passing argument 1 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 435 | if (PyDict_SetItemString(PyState, "buttons", PyBtn)) { | ^~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:103, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:48: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~ Wiimote.c:435:62: warning: passing argument 3 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 435 | if (PyDict_SetItemString(PyState, "buttons", PyBtn)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:103, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:79: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~~~ Wiimote.c:444:38: warning: initialization of ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 444 | PyVarObject *PyAcc = Py_BuildValue("(B,B,B)", | ^~~~~~~~~~~~~ Wiimote.c:452:42: warning: passing argument 1 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 452 | if (PyDict_SetItemString(PyState, "acc", PyAcc)) { | ^~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:103, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:48: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~ Wiimote.c:452:58: warning: passing argument 3 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 452 | if (PyDict_SetItemString(PyState, "acc", PyAcc)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:103, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:79: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~~~ Wiimote.c:462:37: warning: initialization of ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 462 | PyVarObject *PyIr = PyList_New(CWIID_IR_SRC_COUNT); | ^~~~~~~~~~ Wiimote.c:469:42: warning: passing argument 1 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 469 | if (PyDict_SetItemString(PyState, "ir_src", PyIr)) { | ^~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:103, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:48: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~ Wiimote.c:469:61: warning: passing argument 3 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 469 | if (PyDict_SetItemString(PyState, "ir_src", PyIr)) { | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:103, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:79: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~~~ Wiimote.c:482:41: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 482 | PyIrSrc = Py_BuildValue("{s:(I,I)}", | ^ Wiimote.c:492:56: warning: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Wimplicit-function-declaration] 492 | if (!(PySize = PyInt_FromLong( | ^~~~~~~~~~~~~~ | PyLong_FromLong Wiimote.c:492:54: warning: assignment to ‘PyVarObject *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 492 | if (!(PySize = PyInt_FromLong( | ^ Wiimote.c:498:66: warning: passing argument 1 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 498 | if (PyDict_SetItemString(PyIrSrc, "size", PySize)) { | ^~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:103, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:48: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~ Wiimote.c:498:83: warning: passing argument 3 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 498 | if (PyDict_SetItemString(PyIrSrc, "size", PySize)) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:103, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:79: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~~~ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from Wiimote.c:57: Wiimote.c:509:51: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 509 | Py_INCREF(PyIrSrc = Py_None); | ^ /usr/include/python3.9/object.h:112:41: note: in definition of macro ‘_PyObject_CAST’ 112 | #define _PyObject_CAST(op) ((PyObject*)(op)) | ^~ Wiimote.c:509:33: note: in expansion of macro ‘Py_INCREF’ 509 | Py_INCREF(PyIrSrc = Py_None); | ^~~~~~~~~ In file included from /usr/include/python3.9/listobject.h:45, from /usr/include/python3.9/Python.h:102, from Wiimote.c:57: /usr/include/python3.9/cpython/listobject.h:37:65: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from incompatible pointer type ‘PyVarObject *’ [-Wincompatible-pointer-types] 37 | #define PyList_SET_ITEM(op, i, v) (_PyList_CAST(op)->ob_item[i] = (v)) | ^ Wiimote.c:512:25: note: in expansion of macro ‘PyList_SET_ITEM’ 512 | PyList_SET_ITEM(PyIr, i, PyIrSrc); | ^~~~~~~~~~~~~~~ Wiimote.c:520:31: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 520 | PyExt = Py_BuildValue("{s:(B,B),s:(B,B,B),s:I}", | ^ Wiimote.c:535:50: warning: passing argument 1 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 535 | if (PyDict_SetItemString(PyState, "nunchuk", PyExt)) { | ^~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:103, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:48: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~ Wiimote.c:535:70: warning: passing argument 3 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 535 | if (PyDict_SetItemString(PyState, "nunchuk", PyExt)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:103, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:79: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~~~ Wiimote.c:546:31: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 546 | PyExt = Py_BuildValue("{s:(B,B),s:(B,B),s:B,s:B,s:I}", | ^ Wiimote.c:562:50: warning: passing argument 1 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 562 | if (PyDict_SetItemString(PyState, "classic", PyExt)) { | ^~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:103, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:48: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~ Wiimote.c:562:70: warning: passing argument 3 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 562 | if (PyDict_SetItemString(PyState, "classic", PyExt)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:103, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:79: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~~~ Wiimote.c:573:31: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 573 | PyExt = Py_BuildValue("{s:I,s:I,s:I,s:I}", | ^ Wiimote.c:588:50: warning: passing argument 1 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 588 | if (PyDict_SetItemString(PyState, "balance", PyExt)) { | ^~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:103, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:48: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~ Wiimote.c:588:70: warning: passing argument 3 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 588 | if (PyDict_SetItemString(PyState, "balance", PyExt)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:103, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:79: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~~~ Wiimote.c:599:31: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 599 | PyExt = Py_BuildValue("{s:(I,I,I)}", | ^ Wiimote.c:610:50: warning: passing argument 1 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 610 | if (PyDict_SetItemString(PyState, "motionplus", PyExt)) { | ^~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:103, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:48: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~ Wiimote.c:610:73: warning: passing argument 3 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 610 | if (PyDict_SetItemString(PyState, "motionplus", PyExt)) { | ^~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:103, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:79: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~~~ Wiimote.c: In function ‘Wiimote_get_acc_cal’: Wiimote.c:639:42: warning: passing argument 1 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 639 | if (!PyArg_ParseTupleAndKeywords(args, kwds, | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:45: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ Wiimote.c:639:48: warning: passing argument 2 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 639 | if (!PyArg_ParseTupleAndKeywords(args, kwds, | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:57: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ Wiimote.c:651:24: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 651 | if (!(PyAccCal = Py_BuildValue("([i,i,i],[i,i,i])", acc_cal.zero[0], | ^ Wiimote.c: In function ‘Wiimote_get_balance_cal’: Wiimote.c:672:24: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 672 | if (!(PyBalCal = Py_BuildValue("([i,i,i],[i,i,i],[i,i,i],[i,i,i])", | ^ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from Wiimote.c:57: Wiimote.c: In function ‘Wiimote_request_status’: /usr/include/python3.9/object.h:520:49: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 520 | #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None | ^ Wiimote.c:703:9: note: in expansion of macro ‘Py_RETURN_NONE’ 703 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘Wiimote_set_led’: Wiimote.c:715:21: warning: implicit declaration of function ‘PyInt_AsLong’; did you mean ‘PyLong_AsLong’? [-Wimplicit-function-declaration] 715 | if (((led = PyInt_AsLong(PyLed)) == -1) && PyErr_Occurred()) { | ^~~~~~~~~~~~ | PyLong_AsLong Wiimote.c: In function ‘Wiimote_send_rpt’: Wiimote.c:802:42: warning: passing argument 1 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 802 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "BBt#:cwiid.Wiimote.send_rpt", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:45: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ Wiimote.c:802:48: warning: passing argument 2 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 802 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "BBt#:cwiid.Wiimote.send_rpt", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:57: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from Wiimote.c:57: /usr/include/python3.9/object.h:520:49: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 520 | #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None | ^ Wiimote.c:812:9: note: in expansion of macro ‘Py_RETURN_NONE’ 812 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘Wiimote_read’: Wiimote.c:829:42: warning: passing argument 1 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 829 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "BII:cwiid.Wiimote.read", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:45: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ Wiimote.c:829:48: warning: passing argument 2 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 829 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "BII:cwiid.Wiimote.read", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:57: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ Wiimote.c:834:26: warning: implicit declaration of function ‘PyBuffer_New’; did you mean ‘PyTuple_New’? [-Wimplicit-function-declaration] 834 | if (!(pyRetBuf = PyBuffer_New(len))) { | ^~~~~~~~~~~~ | PyTuple_New Wiimote.c:834:24: warning: assignment to ‘PyVarObject *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 834 | if (!(pyRetBuf = PyBuffer_New(len))) { | ^ Wiimote.c:837:13: warning: implicit declaration of function ‘PyVarObject_AsWriteBuffer’; did you mean ‘PyObject_AsWriteBuffer’? [-Wimplicit-function-declaration] 837 | if (PyVarObject_AsWriteBuffer(pyRetBuf, &buf, &len)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | PyObject_AsWriteBuffer Wiimote.c: In function ‘Wiimote_write’: Wiimote.c:863:42: warning: passing argument 1 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 863 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "BIt#:cwiid.Wiimote.write", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:45: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ Wiimote.c:863:48: warning: passing argument 2 of ‘PyArg_ParseTupleAndKeywords’ from incompatible pointer type [-Wincompatible-pointer-types] 863 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "BIt#:cwiid.Wiimote.write", | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from Wiimote.c:57: /usr/include/python3.9/modsupport.h:41:57: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 41 | PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, | ^~~~~~~~~~ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from Wiimote.c:57: /usr/include/python3.9/object.h:520:49: warning: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyVarObject *’ [-Wincompatible-pointer-types] 520 | #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None | ^ Wiimote.c:873:9: note: in expansion of macro ‘Py_RETURN_NONE’ 873 | Py_RETURN_NONE; | ^~~~~~~~~~~~~~ Wiimote.c: In function ‘CallbackBridge’: Wiimote.c:889:14: warning: implicit declaration of function ‘PyVarObject_CallFunction’; did you mean ‘PyObject_CallFunction’? [-Wimplicit-function-declaration] 889 | if (!PyVarObject_CallFunction(((Wiimote *)PySelf)->callback, "(O, d)", | ^~~~~~~~~~~~~~~~~~~~~~~~ | PyObject_CallFunction Wiimote.c: In function ‘ConvertMesgArray’: Wiimote.c:932:24: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 932 | if (!(mesglist = PyList_New(mesg_count))) { | ^ Wiimote.c:939:33: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 939 | mesgVal = Py_BuildValue("{s:B,s:i}", | ^ Wiimote.c:944:33: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 944 | mesgVal = Py_BuildValue("I", mesg[i].btn_mesg.buttons); | ^ Wiimote.c:947:33: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 947 | mesgVal = Py_BuildValue("(B,B,B)", mesg[i].acc_mesg.acc[CWIID_X], | ^ Wiimote.c:954:40: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 954 | if (!(PyIrList = PyList_New(CWIID_IR_SRC_COUNT))) { | ^ Wiimote.c:963:49: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 963 | PyIrSrc = Py_BuildValue("{s:(I,I)}", | ^ Wiimote.c:975:62: warning: assignment to ‘PyVarObject *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 975 | if (!(PySize = PyInt_FromLong( | ^ Wiimote.c:982:74: warning: passing argument 1 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 982 | if (PyDict_SetItemString(PyIrSrc, "size", PySize)) { | ^~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:103, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:48: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~ Wiimote.c:982:91: warning: passing argument 3 of ‘PyDict_SetItemString’ from incompatible pointer type [-Wincompatible-pointer-types] 982 | if (PyDict_SetItemString(PyIrSrc, "size", PySize)) { | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:103, from Wiimote.c:57: /usr/include/python3.9/dictobject.h:58:79: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 58 | PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); | ~~~~~~~~~~^~~~ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from Wiimote.c:57: Wiimote.c:994:59: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 994 | Py_INCREF(PyIrSrc = Py_None); | ^ /usr/include/python3.9/object.h:112:41: note: in definition of macro ‘_PyObject_CAST’ 112 | #define _PyObject_CAST(op) ((PyObject*)(op)) | ^~ Wiimote.c:994:41: note: in expansion of macro ‘Py_INCREF’ 994 | Py_INCREF(PyIrSrc = Py_None); | ^~~~~~~~~ In file included from /usr/include/python3.9/listobject.h:45, from /usr/include/python3.9/Python.h:102, from Wiimote.c:57: /usr/include/python3.9/cpython/listobject.h:37:65: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from incompatible pointer type ‘PyVarObject *’ [-Wincompatible-pointer-types] 37 | #define PyList_SET_ITEM(op, i, v) (_PyList_CAST(op)->ob_item[i] = (v)) | ^ Wiimote.c:996:33: note: in expansion of macro ‘PyList_SET_ITEM’ 996 | PyList_SET_ITEM(PyIrList, j, PyIrSrc); | ^~~~~~~~~~~~~~~ Wiimote.c:1006:33: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 1006 | mesgVal = Py_BuildValue("{s:(B,B),s:(B,B,B),s:I}", | ^ Wiimote.c:1017:33: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 1017 | mesgVal = Py_BuildValue("{s:(B,B),s:(B,B),s:B,s:B,s:I}", | ^ Wiimote.c:1029:33: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 1029 | mesgVal = Py_BuildValue("{s:I,s:I,s:I,s:I}", | ^ Wiimote.c:1040:33: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 1040 | mesgVal = Py_BuildValue("{s:(I,I,I)}", | ^ Wiimote.c:1047:33: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 1047 | mesgVal = Py_BuildValue("i", mesg[i].error_mesg.error); | ^ In file included from /usr/include/python3.9/pytime.h:6, from /usr/include/python3.9/Python.h:81, from Wiimote.c:57: Wiimote.c:1050:43: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 1050 | Py_INCREF(mesgVal = Py_None); | ^ /usr/include/python3.9/object.h:112:41: note: in definition of macro ‘_PyObject_CAST’ 112 | #define _PyObject_CAST(op) ((PyObject*)(op)) | ^~ Wiimote.c:1050:25: note: in expansion of macro ‘Py_INCREF’ 1050 | Py_INCREF(mesgVal = Py_None); | ^~~~~~~~~ Wiimote.c:1060:29: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 1060 | if (!(amesg = Py_BuildValue("(iO)", mesg[i].type, mesgVal))) { | ^ In file included from /usr/include/python3.9/listobject.h:45, from /usr/include/python3.9/Python.h:102, from Wiimote.c:57: /usr/include/python3.9/cpython/listobject.h:37:65: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from incompatible pointer type ‘PyVarObject *’ [-Wincompatible-pointer-types] 37 | #define PyList_SET_ITEM(op, i, v) (_PyList_CAST(op)->ob_item[i] = (v)) | ^ Wiimote.c:1065:17: note: in expansion of macro ‘PyList_SET_ITEM’ 1065 | PyList_SET_ITEM(mesglist, i, amesg); | ^~~~~~~~~~~~~~~ gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -g -I../libcwiid -I/usr/include/python3.9 -c cwiidmodule.c -o build/temp.linux-x86_64-3.9/cwiidmodule.o cwiidmodule.c: In function ‘init_cwiid’: cwiidmodule.c:203:9: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations] 203 | PyEval_InitThreads(); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:140, from cwiidmodule.c:69: /usr/include/python3.9/ceval.h:130:37: note: declared here 130 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ cwiidmodule.c:206:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 206 | return; | ^~~~~~ cwiidmodule.c:197:16: note: declared here 197 | PyMODINIT_FUNC init_cwiid(void) | ^~~~~~~~~~ cwiidmodule.c:209:22: warning: assignment to ‘PyVarObject *’ from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types] 209 | if (!(Module = PyModule_Create(&moduledef))) { | ^ cwiidmodule.c:210:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 210 | return; | ^~~~~~ cwiidmodule.c:197:16: note: declared here 197 | PyMODINIT_FUNC init_cwiid(void) | ^~~~~~~~~~ cwiidmodule.c:214:28: warning: passing argument 1 of ‘PyModule_AddObject’ from incompatible pointer type [-Wincompatible-pointer-types] 214 | PyModule_AddObject(Module, "Wiimote", (PyVarObject*)&Wiimote_Type); | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from cwiidmodule.c:69: /usr/include/python3.9/modsupport.h:139:36: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 139 | PyAPI_FUNC(int) PyModule_AddObject(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ cwiidmodule.c:214:47: warning: passing argument 3 of ‘PyModule_AddObject’ from incompatible pointer type [-Wincompatible-pointer-types] 214 | PyModule_AddObject(Module, "Wiimote", (PyVarObject*)&Wiimote_Type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from cwiidmodule.c:69: /usr/include/python3.9/modsupport.h:139:62: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 139 | PyAPI_FUNC(int) PyModule_AddObject(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ cwiidmodule.c:219:41: warning: passing argument 1 of ‘PyModule_AddIntConstant’ from incompatible pointer type [-Wincompatible-pointer-types] 219 | PyModule_AddIntConstant(Module, cwiid_constants[i].name, | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from cwiidmodule.c:69: /usr/include/python3.9/modsupport.h:140:41: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 140 | PyAPI_FUNC(int) PyModule_AddIntConstant(PyObject *, const char *, long); | ^~~~~~~~~~ cwiidmodule.c:223:22: warning: implicit declaration of function ‘PyCObject_FromVoidPtr’; did you mean ‘PyLong_FromVoidPtr’? [-Wimplicit-function-declaration] 223 | if (!(CObj = PyCObject_FromVoidPtr(ConvertMesgArray, NULL))) { | ^~~~~~~~~~~~~~~~~~~~~ | PyLong_FromVoidPtr cwiidmodule.c:223:20: warning: assignment to ‘PyVarObject *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 223 | if (!(CObj = PyCObject_FromVoidPtr(ConvertMesgArray, NULL))) { | ^ cwiidmodule.c:224:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 224 | return; | ^~~~~~ cwiidmodule.c:197:16: note: declared here 197 | PyMODINIT_FUNC init_cwiid(void) | ^~~~~~~~~~ cwiidmodule.c:226:28: warning: passing argument 1 of ‘PyModule_AddObject’ from incompatible pointer type [-Wincompatible-pointer-types] 226 | PyModule_AddObject(Module, "ConvertMesgArray", CObj); | ^~~~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from cwiidmodule.c:69: /usr/include/python3.9/modsupport.h:139:36: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 139 | PyAPI_FUNC(int) PyModule_AddObject(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ cwiidmodule.c:226:56: warning: passing argument 3 of ‘PyModule_AddObject’ from incompatible pointer type [-Wincompatible-pointer-types] 226 | PyModule_AddObject(Module, "ConvertMesgArray", CObj); | ^~~~ | | | PyVarObject * In file included from /usr/include/python3.9/Python.h:136, from cwiidmodule.c:69: /usr/include/python3.9/modsupport.h:139:62: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyVarObject *’ 139 | PyAPI_FUNC(int) PyModule_AddObject(PyObject *, const char *, PyObject *); | ^~~~~~~~~~ creating build/lib.linux-x86_64-3.9 gcc -pthread -shared -g build/temp.linux-x86_64-3.9/Wiimote.o build/temp.linux-x86_64-3.9/cwiidmodule.o -L../libcwiid -L/usr/lib64 -lcwiid -o build/lib.linux-x86_64-3.9/cwiid.cpython-39-x86_64-linux-gnu.so make[1]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/python' make -C wmdemo make[1]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/wmdemo' gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/usr/src/slapt-src/misc/cwiid/cwiid/common/include -I../libcwiid -c -o wmdemo.o wmdemo.c gcc -o wmdemo wmdemo.o -L../libcwiid -lcwiid -lbluetooth make[1]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/wmdemo' install -d /usr/src/slapt-src/misc/cwiid/package-cwiid/etc/cwiid install -d /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/lib64/cwiid/plugins make install -C libcwiid make[1]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/libcwiid' install -D cwiid.h /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/include/cwiid.h install -D libcwiid.a /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/lib64/libcwiid.a install -D libcwiid.so.1.0 /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/lib64/libcwiid.so.1.0 ln -sf libcwiid.so.1.0 /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/lib64/libcwiid.so.1 ln -sf libcwiid.so.1 /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/lib64/libcwiid.so install -D -m 644 cwiid.pc /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/lib64/pkgconfig/cwiid.pc make[1]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/libcwiid' make install -C wmgui make[1]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/wmgui' install -D wmgui /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/bin/wmgui make[1]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/wmgui' make install -C wminput make[1]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput' make install -C plugins make[2]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins' make install -C ir_ptr make[3]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins/ir_ptr' install -D ir_ptr.so /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/lib64/cwiid/plugins/ir_ptr.so make[3]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins/ir_ptr' make install -C acc make[3]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins/acc' install -D acc.so /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/lib64/cwiid/plugins/acc.so make[3]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins/acc' make install -C nunchuk_acc make[3]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins/nunchuk_acc' install -D nunchuk_acc.so /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/lib64/cwiid/plugins/nunchuk_acc.so make[3]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins/nunchuk_acc' make install -C led make[3]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins/led' install -D led.so /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/lib64/cwiid/plugins/led.so make[3]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins/led' make install -C nunchuk_stick2btn make[3]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins/nunchuk_stick2btn' install -D nunchuk_stick2btn.so /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/lib64/cwiid/plugins/nunchuk_stick2btn.so make[3]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins/nunchuk_stick2btn' make[2]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput/plugins' install -d /usr/src/slapt-src/misc/cwiid/package-cwiid/etc/cwiid/wminput install configs/* /usr/src/slapt-src/misc/cwiid/package-cwiid/etc/cwiid/wminput ln -sf acc_led /usr/src/slapt-src/misc/cwiid/package-cwiid/etc/cwiid/wminput/default install -D wminput /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/bin/wminput make[1]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/wminput' make install -C lswm make[1]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/lswm' install -D lswm /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/bin/lswm make[1]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/lswm' make install -C python make[1]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/python' python3 setup.py install --install-lib=/usr/lib64/python3.9/site-packages "--root=/usr/src/slapt-src/misc/cwiid/package-cwiid" running install running build running build_ext running install_lib creating /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/lib64/python3.9 creating /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/lib64/python3.9/site-packages copying build/lib.linux-x86_64-3.9/cwiid.cpython-39-x86_64-linux-gnu.so -> /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/lib64/python3.9/site-packages running install_egg_info Writing /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/lib64/python3.9/site-packages/cwiid-0.6.00-py3.9.egg-info make[1]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/python' make install -C man make[1]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/man' for f in `ls man?/*.?`; do \ install -D -m 644 $f /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/man/$f ; \ done make[1]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/man' make install -C doc make[1]: Entering directory '/usr/src/slapt-src/misc/cwiid/cwiid/doc' install -d /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/doc/cwiid-0.6.91_2 install -m 644 Xmodmap wminput.list /usr/src/slapt-src/misc/cwiid/package-cwiid/usr/doc/cwiid-0.6.91_2 make[1]: Leaving directory '/usr/src/slapt-src/misc/cwiid/cwiid/doc' Slackware package maker, version 3.14159265. Searching for symbolic links: etc/cwiid/wminput/default acc_led usr/lib64/libcwiid.so libcwiid.so.1 usr/lib64/libcwiid.so.1 libcwiid.so.1.0 Making symbolic link creation script: ( cd etc/cwiid/wminput ; rm -rf default ) ( cd etc/cwiid/wminput ; ln -sf acc_led default ) ( cd usr/lib64 ; rm -rf libcwiid.so ) ( cd usr/lib64 ; ln -sf libcwiid.so.1 libcwiid.so ) ( cd usr/lib64 ; rm -rf libcwiid.so.1 ) ( cd usr/lib64 ; ln -sf libcwiid.so.1.0 libcwiid.so.1 ) Unless your existing installation script already contains the code to create these links, you should append these lines to your existing install script. Now's your chance. :^) Would you like to add this stuff to the existing install script and remove the symbolic links ([y]es, [n]o)? y Removing symbolic links: removed './usr/lib64/libcwiid.so.1' removed './usr/lib64/libcwiid.so' removed './etc/cwiid/wminput/default' Updating your ./install/doinst.sh... 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/misc/cwiid/cwiid-0.6.91_2-x86_64-2salix15.0.txz ./ etc/ etc/cwiid/ etc/cwiid/wminput/ etc/cwiid/wminput/acc_led etc/cwiid/wminput/acc_ptr etc/cwiid/wminput/buttons etc/cwiid/wminput/gamepad etc/cwiid/wminput/ir_ptr etc/cwiid/wminput/neverball etc/cwiid/wminput/nunchuk_acc_ptr etc/cwiid/wminput/nunchuk_stick2btn etc/rc.d/ etc/rc.d/rc.cwiid.conf.new etc/rc.d/rc.cwiid.new install/ install/doinst.sh install/slack-desc usr/ usr/bin/ usr/bin/lswm usr/bin/wmgui usr/bin/wminput usr/doc/ usr/doc/cwiid-0.6.91_2/ usr/doc/cwiid-0.6.91_2/AUTHORS usr/doc/cwiid-0.6.91_2/COPYING usr/doc/cwiid-0.6.91_2/ChangeLog usr/doc/cwiid-0.6.91_2/NEWS usr/doc/cwiid-0.6.91_2/README usr/doc/cwiid-0.6.91_2/Xmodmap usr/doc/cwiid-0.6.91_2/cwiid.SlackBuild usr/doc/cwiid-0.6.91_2/wminput.list usr/include/ usr/include/cwiid.h usr/lib64/ usr/lib64/cwiid/ usr/lib64/cwiid/plugins/ usr/lib64/cwiid/plugins/acc.so usr/lib64/cwiid/plugins/ir_ptr.so usr/lib64/cwiid/plugins/led.so usr/lib64/cwiid/plugins/nunchuk_acc.so usr/lib64/cwiid/plugins/nunchuk_stick2btn.so usr/lib64/libcwiid.so.1.0 usr/lib64/pkgconfig/ usr/lib64/pkgconfig/cwiid.pc usr/lib64/python3.9/ usr/lib64/python3.9/site-packages/ usr/lib64/python3.9/site-packages/cwiid-0.6.00-py3.9.egg-info usr/lib64/python3.9/site-packages/cwiid.cpython-39-x86_64-linux-gnu.so usr/man/ usr/man/man1/ usr/man/man1/lswm.1.gz usr/man/man1/wmgui.1.gz usr/man/man1/wminput.1.gz usr/share/ usr/share/applications/ usr/share/applications/wmgui.desktop usr/share/pixmaps/ usr/share/pixmaps/wmgui-16.xpm usr/share/pixmaps/wmgui-32.xpm usr/share/pixmaps/wmgui.xpm Slackware package /usr/src/slapt-src/misc/cwiid/cwiid-0.6.91_2-x86_64-2salix15.0.txz created. Installing package cwiid-0.6.91_2-x86_64-2salix15.0... | cwiid (tools for the Nintendo Wii remote) | | CWiid is a collection of Linux tools written in C for | interfacing to the Nintendo Wiimote, including an event | based API, an event/mouse/joystick driver, and a GUI | control panel. | | | | | | |