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... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc accepts -g... yes checking for /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc option to accept ISO C89... none needed checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc... /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-ld checking if the linker (/home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-nm checking the name lister (/home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert powerpc64le-unknown-linux-gnu file names to arc-buildroot-linux-gnu format... func_convert_file_noop checking how to convert powerpc64le-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-ld option to reload object files... -r checking for arc-buildroot-linux-gnu-objdump... /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for arc-buildroot-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arc-buildroot-linux-gnu-ar... /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-ar checking for archiver @FILE support... @ checking for arc-buildroot-linux-gnu-strip... /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-strip checking for arc-buildroot-linux-gnu-ranlib... /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-ranlib checking for gawk... gawk checking command to parse /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-nm output from /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for arc-buildroot-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-cpp 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 dlfcn.h... yes checking for objdir... .libs checking if /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc static flag -static works... yes checking if /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc supports -c -o file.o... yes checking if /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc linker (/home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for a BSD-compatible install... /usr/bin/install -c checking for bison... bison -y checking whether ln -s works... yes checking for dvips... no checking for texi2html... no checking for tex... no checking for texindex... no checking for makeinfo... /usr/bin/makeinfo checking for diff... /usr/bin/diff checking for sed... (cached) /usr/bin/sed checking for emacs... (cached) no checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking linux/input.h usability... yes checking linux/input.h presence... yes checking for linux/input.h... yes checking linux/joystick.h usability... yes checking linux/joystick.h presence... yes checking for linux/joystick.h... yes checking ncurses.h usability... no checking ncurses.h presence... no checking for ncurses.h... no checking ncurses/curses.h usability... no checking ncurses/curses.h presence... no checking for ncurses/curses.h... no checking curses.h usability... no checking curses.h presence... no checking for curses.h... no checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking linux/major.h usability... yes checking linux/major.h presence... yes checking for linux/major.h... yes checking linux/tty.h usability... yes checking linux/tty.h presence... yes checking for linux/tty.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for __u32... yes checking whether system is ELF... yes checking for vsyslog... yes checking for syslog... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes configure: creating ./config.status config.status: creating Makefile.include config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating contrib/Makefile config.status: creating doc/doc.gpm config.status: creating src/headers/config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls >>> gpm 1.20.7 Building PATH="/home/peko/autobuild/instance-0/output/host/bin:/home/peko/autobuild/instance-0/output/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/peko/.local/bin:/home/peko/bin" /usr/bin/make -j16 -C /home/peko/autobuild/instance-0/output/build/gpm-1.20.7/ touch src/.depend # to prevent unecessary warnings /usr/bin/make -C src dep bison -y /home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/prog/gpm-root.y && mv y.tab.c prog/gpm-root.c # make links in srcdir make[3]: [.depend] Error 1 (ignored) # create dependencies for DEPS in `echo *.c */*.c`; do \ /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -I. -I /home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -M -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE $DEPS | \ /usr/bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done # make links in srcdir make[3]: [dep] Error 1 (ignored) # create dependencies for DEPS in `echo *.c */*.c`; do \ /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -I. -I /home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -M -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE $DEPS | \ /usr/bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o mice.o mice.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o twiddler.o twiddler.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o synaptics.o synaptics.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/add_mouse.o daemon/add_mouse.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/init_mice.o daemon/init_mice.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/reset_mice.o daemon/reset_mice.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/build_argv.o daemon/build_argv.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/disable_paste.o daemon/disable_paste.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/do_client.o daemon/do_client.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/do_selection.o daemon/do_selection.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/get_console_size.o daemon/get_console_size.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/get_data.o daemon/get_data.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/getmousedata.o daemon/getmousedata.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/gpm.o daemon/gpm.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/gpm-killed.o daemon/gpm-killed.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/header.o daemon/header.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/main.o daemon/main.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/old_main.o daemon/old_main.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/open_console.o daemon/open_console.c twiddler.c: In function 'twiddler_key': twiddler.c:253:10: warning: variable 'val' set but not used [-Wunused-but-set-variable] char *val; ^~~ daemon/getmousedata.c: In function 'getMouseData': daemon/getmousedata.c:39:16: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *edata=data+type->packetlen; ^~~~ daemon/getmousedata.c:58:17: warning: pointer targets in return differ in signedness [-Wpointer-sign] return data; ^~~~ daemon/getmousedata.c:89:11: warning: pointer targets in return differ in signedness [-Wpointer-sign] return data; ^~~~ mice.c: In function 'option_modem_lines': mice.c:187:37: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"dtr", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR}, ^ mice.c:187:37: note: (near initialization for 'optioninfo[0].u.iptr') mice.c:188:37: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"rts", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_RTS}, ^ mice.c:188:37: note: (near initialization for 'optioninfo[1].u.iptr') mice.c:189:37: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"both", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR | TIOCM_RTS}, ^ mice.c:189:37: note: (near initialization for 'optioninfo[2].u.iptr') mice.c: In function 'M_summa': mice.c:345:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (y<0) y=0; if (y>summamaxy) y=summamaxy; ^~ mice.c:345:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (y<0) y=0; if (y>summamaxy) y=summamaxy; ^~ mice.c: In function 'R_msc': mice.c:537:12: warning: variable 'dy' set but not used [-Wunused-but-set-variable] int dx, dy; ^~ mice.c:537:8: warning: variable 'dx' set but not used [-Wunused-but-set-variable] int dx, dy; ^~ mice.c: In function 'M_wacom': mice.c:897:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (x>wmaxx) x=wmaxx; if (x<0) x=0; ^~ mice.c:897:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (x>wmaxx) x=wmaxx; if (x<0) x=0; ^~ mice.c:898:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (y>wmaxy) y=wmaxy; if (y<0) y=0; ^~ mice.c:898:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (y>wmaxy) y=wmaxy; if (y<0) y=0; ^~ mice.c:907:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( abs(x-ox)>(wmaxx/wcmodell[WacomModell].treshold) ^~ mice.c:908:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' || abs(y-oy)>(wmaxy/wcmodell[WacomModell].treshold) ) ox=x; oy=y; ^~ mice.c: In function 'M_gunze': mice.c:1341:14: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] if(sscanf(data+1, "%d,%d", &x, &y)!= 2) { ^~~~ In file included from mice.c:45:0: /home/peko/autobuild/instance-0/output/host/arc-buildroot-linux-gnu/sysroot/usr/include/stdio.h:385:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int sscanf (const char *__restrict __s, ^~~~~~ mice.c:1356:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; ^~ mice.c:1356:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; ^~ /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/check_kill.o daemon/check_kill.c mice.c:1357:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; ^~ mice.c:1357:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; ^~ mice.c: In function 'M_etouch': mice.c:1452:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; ^~ mice.c:1452:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; ^~ mice.c:1453:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; ^~ mice.c:1453:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; ^~ synaptics.c: In function 'tp_hextoint': synaptics.c:2253:11: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf (bytes, "%x", &result); ^~~~~ In file included from synaptics.c:213:0: /home/peko/autobuild/instance-0/output/host/arc-buildroot-linux-gnu/sysroot/usr/include/stdio.h:385:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int sscanf (const char *__restrict __s, ^~~~~~ daemon/open_console.c: In function 'open_console': daemon/open_console.c:46:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . maj = major(sb.st_rdev); ^~~~~~~~~~~~~~~~~~ synaptics.c: In function 'tp_serial_send_cmd': synaptics.c:2320:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] write (fd, cmd, strlen (cmd)); ^~~ In file included from synaptics.c:216:0: /home/peko/autobuild/instance-0/output/host/arc-buildroot-linux-gnu/sysroot/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ synaptics.c:2321:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] tp_serial_read (fd, junk, strlen (cmd)); ^~~ In file included from synaptics.c:216:0: /home/peko/autobuild/instance-0/output/host/arc-buildroot-linux-gnu/sysroot/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ synaptics.c: In function 'syn_serial_set_mode': synaptics.c:2334:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (bytes, "%%C3B%02X5555", mode); ^~~~~ In file included from synaptics.c:213:0: /home/peko/autobuild/instance-0/output/host/arc-buildroot-linux-gnu/sysroot/usr/include/stdio.h:320:12: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern int sprintf (char *__restrict __s, ^~~~~~~ synaptics.c: In function 'syn_serial_read_ident': synaptics.c:2347:27: warning: pointer targets in passing argument 2 of 'tp_serial_send_cmd' differ in signedness [-Wpointer-sign] tp_serial_send_cmd (fd, "%A"); ^~~~ synaptics.c:2314:13: note: expected 'unsigned char *' but argument is of type 'char *' static void tp_serial_send_cmd(int fd, ^~~~~~~~~~~~~~~~~~ synaptics.c: In function 'syn_serial_read_model_id': synaptics.c:2388:29: warning: pointer targets in passing argument 2 of 'tp_serial_send_cmd' differ in signedness [-Wpointer-sign] tp_serial_send_cmd (fd, "%D"); ^~~~ synaptics.c:2314:13: note: expected 'unsigned char *' but argument is of type 'char *' static void tp_serial_send_cmd(int fd, ^~~~~~~~~~~~~~~~~~ synaptics.c: In function 'syn_serial_read_cap': synaptics.c:2416:27: warning: pointer targets in passing argument 2 of 'tp_serial_send_cmd' differ in signedness [-Wpointer-sign] tp_serial_send_cmd (fd, "%B"); ^~~~ synaptics.c:2314:13: note: expected 'unsigned char *' but argument is of type 'char *' static void tp_serial_send_cmd(int fd, ^~~~~~~~~~~~~~~~~~ daemon/open_console.c:49:21: warning: 'si.line' may be used uninitialized in this function [-Wmaybe-uninitialized] if (si.line > 0) { ~~^~~~~ /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/gpm_exited.o daemon/gpm_exited.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o generic/isodigit.o generic/isodigit.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o generic/getsym.o generic/getsym.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/processspecial.o daemon/processspecial.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/processconn.o daemon/processconn.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/processmouse.o daemon/processmouse.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/processrequest.o daemon/processrequest.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/selection_copy.o daemon/selection_copy.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/selection_paste.o daemon/selection_paste.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/cmdline.o daemon/cmdline.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/loadlut.o daemon/loadlut.c daemon/old_main.c: In function 'old_main': daemon/old_main.c:198:16: warning: value computed is not used [-Wunused-value] || do_selection(&event); ^~ mice.c: In function 'I_wacom': mice.c:1843:10: warning: 'p' is used uninitialized in this function [-Wuninitialized] while(I_wacom_RequestData(NULL, fd, buffer, BUFFER_SIZE, p)) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/find_mouse_by_name.o daemon/find_mouse_by_name.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/usage.o daemon/usage.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/check_uniqueness.o daemon/check_uniqueness.c daemon/processmouse.c: In function 'processMouse': daemon/processmouse.c:82:57: warning: pointer targets in passing argument 2 of 'which_mouse->m_type->fun' differ in signedness [-Wpointer-sign] || ((*((which_mouse->m_type)->fun))(&nEvent,data)==-1) ) { ^~~~ daemon/processmouse.c:82:57: note: expected 'unsigned char *' but argument is of type 'char *' daemon/cmdline.c: In function 'cmdline': daemon/cmdline.c:46:20: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (optarg) ^~ daemon/cmdline.c:47:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' opt_age_limit = atoi(optarg); break; ^~~~~ daemon/cmdline.c:71:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else (which_mouse->opt_scale)=100/(which_mouse->opt_scale); break; ^~~~ daemon/cmdline.c:71:88: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else (which_mouse->opt_scale)=100/(which_mouse->opt_scale); break; ^~~~~ daemon/cmdline.c:75:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else option.repeater_type = "msc"; break; ^~~~ daemon/cmdline.c:75:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else option.repeater_type = "msc"; break; ^~~~~ daemon/cmdline.c:78:20: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else opt_special=""; break; ^~~~ /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/startup.o daemon/startup.c daemon/cmdline.c:78:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else opt_special=""; break; ^~~~~ daemon/loadlut.c: In function 'loadlut': daemon/loadlut.c:53:19: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness [-Wpointer-sign] i += getsym(charset+i, &this); ^~~~~~~ In file included from daemon/loadlut.c:30:0: /home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/daemon.h:201:7: note: expected 'const unsigned char *' but argument is of type 'char *' int getsym(const unsigned char *p0, unsigned char *res); ^~~~~~ daemon/loadlut.c:55:22: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness [-Wpointer-sign] i += getsym(charset+i+1, &next) + 1; ^~~~~~~ In file included from daemon/loadlut.c:30:0: /home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/daemon.h:201:7: note: expected 'const unsigned char *' but argument is of type 'char *' int getsym(const unsigned char *p0, unsigned char *res); ^~~~~~ /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o daemon/wait_text.o daemon/wait_text.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o report.o report.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o tools.o tools.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o lib/liblow.lo lib/liblow.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o lib/libhigh.lo lib/libhigh.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o lib/libxtra.lo lib/libxtra.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o lib/report-lib.lo lib/report-lib.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -DPIC -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o tools.lo tools.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -Iheaders -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o prog/mev.o prog/mev.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -Iheaders -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o prog/hltest.o prog/hltest.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -Iheaders -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o prog/mouse-test.o prog/mouse-test.c lib/report-lib.c: In function 'gpm_report': lib/report-lib.c:51:4: warning: 'log_level' may be used uninitialized in this function [-Wmaybe-uninitialized] vsyslog(log_level, text, ap); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -Iheaders -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o prog/open_console.o prog/open_console.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -Iheaders -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o prog/disable-paste.o prog/disable-paste.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -Iheaders -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o prog/display-buttons.o prog/display-buttons.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -Iheaders -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o prog/display-coords.o prog/display-coords.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -Iheaders -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o prog/get-versions.o prog/get-versions.c prog/mouse-test.c: In function 'main': prog/mouse-test.c:536:42: warning: pointer targets in passing argument 2 of 'cur->this->fun' differ in signedness [-Wpointer-sign] if ((*(cur->this->fun))(&event,buf+i)==-1) { ^~~ prog/mouse-test.c:536:42: note: expected 'unsigned char *' but argument is of type 'char *' prog/mouse-test.c:205:40: warning: value computed is not used [-Wunused-value] #define CHECKFAIL(count) ((count)==0 && noneofthem()) ^ prog/mouse-test.c:569:4: note: in expansion of macro 'CHECKFAIL' CHECKFAIL(typecount); ^~~~~~~~~ prog/mouse-test.c:610:47: warning: pointer targets in passing argument 2 of 'cur->this->fun' differ in signedness [-Wpointer-sign] if ((*(cur->this->fun))(&event,buf+i)==-1) continue; ^~~ prog/mouse-test.c:610:47: note: expected 'unsigned char *' but argument is of type 'char *' prog/mouse-test.c:205:40: warning: value computed is not used [-Wunused-value] #define CHECKFAIL(count) ((count)==0 && noneofthem()) ^ prog/mouse-test.c:622:4: note: in expansion of macro 'CHECKFAIL' CHECKFAIL(typecount); ^~~~~~~~~ prog/mouse-test.c:652:47: warning: pointer targets in passing argument 2 of 'cur->this->fun' differ in signedness [-Wpointer-sign] if ((*(cur->this->fun))(&event,buf+i)==-1) continue; ^~~ prog/mouse-test.c:652:47: note: expected 'unsigned char *' but argument is of type 'char *' prog/mouse-test.c:205:40: warning: value computed is not used [-Wunused-value] #define CHECKFAIL(count) ((count)==0 && noneofthem()) ^ prog/mouse-test.c:671:4: note: in expansion of macro 'CHECKFAIL' CHECKFAIL(typecount); ^~~~~~~~~ prog/display-buttons.c: In function 'display_data': prog/display-buttons.c:53:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'time_t {aka long int}' [-Wformat=] printf("[%d] delta: %ds",now,delta); ~^ %ld prog/display-coords.c: In function 'display_data': prog/display-coords.c:54:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'time_t {aka long int}' [-Wformat=] printf("[%d] delta: %ds",now,delta); ~^ %ld /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -fPIC -shared -Wl,-soname,libgpm.so.2 \ -L/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -o lib/libgpm.so.2.1.0 lib/liblow.lo lib/libhigh.lo lib/libxtra.lo lib/report-lib.lo tools.lo -lc ln -s -f libgpm.so.2.1.0 lib/libgpm.so.2 ln -s -f libgpm.so.2.1.0 lib/libgpm.so /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/headers/ -I/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -c -o prog/gpm-root.o prog/gpm-root.c /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -L/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -o prog/get-versions prog/get-versions.o lib/libgpm.so.2 /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -L/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -o prog/mev prog/mev.o lib/libgpm.so.2 /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -L/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -o prog/disable-paste prog/disable-paste.o lib/libgpm.so.2 /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -L/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -o prog/display-buttons prog/display-buttons.o lib/libgpm.so.2 /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -L/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -o prog/display-coords prog/display-coords.o lib/libgpm.so.2 /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -L/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -o prog/hltest prog/hltest.o lib/libgpm.so.2 /home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/prog/gpm-root.y: In function 'scr_restore': /home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/prog/gpm-root.y:963:10: warning: variable 'y' set but not used [-Wunused-but-set-variable] int x,y, dumpfd; ^ /home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/prog/gpm-root.y:963:8: warning: variable 'x' set but not used [-Wunused-but-set-variable] int x,y, dumpfd; ^ /home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/prog/gpm-root.y: In function 'postmenu': /home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/prog/gpm-root.y:1030:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] #define PUTS(s,f,b) for(curr2=s;*curr2;PUTC(*(curr2++),f,b)) ^ /home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/prog/gpm-root.y:1045:10: note: in expansion of macro 'PUTS' PUTS(draw->title,draw->head,draw->back); ^~~~ /home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/prog/gpm-root.y:1030:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] #define PUTS(s,f,b) for(curr2=s;*curr2;PUTC(*(curr2++),f,b)) ^ /home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/prog/gpm-root.y:1053:10: note: in expansion of macro 'PUTS' PUTS(item->name,draw->fore,draw->back); i+=strlen(item->name); ^~~~ /home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/prog/gpm-root.y: In function 'main': /home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/prog/gpm-root.y:1200:4: warning: implicit declaration of function '__sigemptyset'; did you mean 'sigemptyset'? [-Wimplicit-function-declaration] __sigemptyset(&childaction.sa_mask); ^~~~~~~~~~~~~ sigemptyset At top level: /home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src/prog/gpm-root.y:446:12: warning: 'f_debug_one' defined but not used [-Wunused-function] static int f_debug_one(FILE *f, Draw *draw) ^~~~~~~~~~~ /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -L/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -o gpm mice.o twiddler.o synaptics.o daemon/add_mouse.o daemon/init_mice.o daemon/reset_mice.o daemon/build_argv.o daemon/disable_paste.o daemon/do_client.o daemon/do_selection.o daemon/get_console_size.o daemon/get_data.o daemon/getmousedata.o daemon/gpm.o daemon/gpm-killed.o daemon/header.o daemon/main.o daemon/old_main.o daemon/open_console.o daemon/check_kill.o daemon/gpm_exited.o generic/isodigit.o generic/getsym.o daemon/processspecial.o daemon/processconn.o daemon/processmouse.o daemon/processrequest.o daemon/selection_copy.o daemon/selection_paste.o daemon/cmdline.o daemon/loadlut.o daemon/find_mouse_by_name.o daemon/usage.o daemon/check_uniqueness.o daemon/startup.o daemon/wait_text.o report.o tools.o -lm /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -L/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -o prog/mouse-test prog/mouse-test.o mice.o twiddler.o synaptics.o prog/open_console.o lib/libgpm.so.2 -lm /home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc -L/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/src -o prog/gpm-root prog/gpm-root.o lib/libgpm.so.2 prog/gpm-root.o: In function `main': gpm-root.c:(.text.startup+0x1aa): undefined reference to `__sigemptyset' gpm-root.c:(.text.startup+0x1aa): undefined reference to `__sigemptyset' collect2: error: ld returned 1 exit status make[3]: *** [prog/gpm-root] Error 1 rm prog/display-coords.o prog/hltest.o prog/mev.o prog/display-buttons.o prog/disable-paste.o prog/get-versions.o make[2]: *** [do-all] Error 1 make[1]: *** [/home/peko/autobuild/instance-0/output/build/gpm-1.20.7/.stamp_built] Error 2 make: *** [_all] Error 2 make: Leaving directory `/home/peko/autobuild/instance-0/buildroot'