* Package: sys-libs/gpm-1.20.6 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: amd64 elibc_glibc kernel_linux multilib test userland_GNU * FEATURES: sandbox suidctl test userpriv usersandbox * Applying gpm-1.20.5-abi.patch ... [ ok ] * Applying 0001-daemon-use-sys-ioctl.h-for-ioctl.patch ... [ ok ] * Applying 0001-fixup-make-warnings.patch ... [ ok ] checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... clang checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib 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... /usr/bin/texindex checking for makeinfo... /usr/bin/makeinfo checking for diff... /usr/bin/diff checking for sed... /bin/sed checking for emacs... /bin/false checking where to install Emacs Lisp files... ${datadir}/emacs/site-lisp checking how to run the C preprocessor... clang -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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 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... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/curses.h usability... no checking ncurses/curses.h presence... no checking for ncurses/curses.h... no checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes 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 working alloca.h... yes checking for alloca... yes checking for tputs in -ltinfo... no checking for tputs in -lncurses... yes checking for wgetch in -lncurses... 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 No git available, not updating version touch src/.depend # to prevent unecessary warnings make -C src dep make[1]: Entering directory `/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src' bison -y /var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src/prog/gpm-root.y && mv y.tab.c prog/gpm-root.c # make links in srcdir make[1]: [.depend] Errore 1 (ignorato) # create dependencies for DEPS in `echo *.c */*.c`; do \ clang -I. -I /var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src -M -I/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE $DEPS | \ /bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done gpm2/become_daemon.c:29:10: fatal error: 'gpm2-messages.h' file not found #include "gpm2-messages.h" /* GPM2_MESS_* */  ^ 1 error generated. make[1]: Leaving directory `/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src' make[1]: Entering directory `/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src' # make links in srcdir make[1]: [dep] Errore 1 (ignorato) # create dependencies for DEPS in `echo *.c */*.c`; do \ clang -I. -I /var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src -M -I/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE $DEPS | \ /bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done gpm2/become_daemon.c:29:10: fatal error: 'gpm2-messages.h' file not found #include "gpm2-messages.h" /* GPM2_MESS_* */  ^ 1 error generated. make[1]: Leaving directory `/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src' make[1]: Entering directory `/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src' rm -f gpm lib/libgpm.a lib/libgpm.so.* rm -f core *~ 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 lib/liblow.o lib/libhigh.o lib/libxtra.o lib/report-lib.o tools.o lib/libcurses.o prog/mev.o prog/hltest.o prog/mouse-test.o prog/disable-paste.o prog/display-buttons.o prog/display-coords.o prog/get-versions.o prog/gpm-root.o lib/liblow.lo lib/libhigh.lo lib/libxtra.lo lib/report-lib.lo tools.lo lib/libcurses.lo gpm-root.c .depend rm -f prog/mev prog/hltest prog/mouse-test prog/disable-paste prog/display-buttons prog/display-coords prog/get-versions prog/gpm-root prog/mev.o prog/hltest.o prog/mouse-test.o prog/disable-paste.o prog/display-buttons.o prog/display-coords.o prog/get-versions.o prog/gpm-root.o prog/gpm-root.c prog/open_console.o make[1]: Leaving directory `/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src' make[1]: Entering directory `/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/doc' rm -f gpmdoc.ps gpmdoc.txt gpm.8 mev.1 gpm-root.1 gpm-types.7 mouse-test.1 *~ rm -f gpm.?? gpm.??? rm -f gpm.texinfo make[1]: Leaving directory `/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/doc' make[1]: Entering directory `/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/contrib' rm -f /var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/contrib/emacs/*.elc Makefile make[1]: Leaving directory `/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/contrib' rm -f config.status.lineno No git available, not updating version touch src/.depend # to prevent unecessary warnings make -C src dep make[1]: Entering directory `/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src' bison -y /var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src/prog/gpm-root.y && mv y.tab.c prog/gpm-root.c # make links in srcdir make[1]: [.depend] Errore 1 (ignorato) # create dependencies for DEPS in `echo *.c */*.c`; do \ clang -I. -I /var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src -M -I/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE $DEPS | \ /bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done gpm2/become_daemon.c:29:10: fatal error: 'gpm2-messages.h' file not found #include "gpm2-messages.h" /* GPM2_MESS_* */  ^ 1 error generated. make[1]: Leaving directory `/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src' make[1]: Entering directory `/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src' # make links in srcdir make[1]: [dep] Errore 1 (ignorato) # create dependencies for DEPS in `echo *.c */*.c`; do \ clang -I. -I /var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src -M -I/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE $DEPS | \ /bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done gpm2/become_daemon.c:29:10: fatal error: 'gpm2-messages.h' file not found #include "gpm2-messages.h" /* GPM2_MESS_* */  ^ 1 error generated. make[1]: Leaving directory `/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src' make[1]: Entering directory `/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src' clang -I/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -march=native -pipe -O2 -march=native -pipe -c -o mice.o mice.c clang -I/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -march=native -pipe -O2 -march=native -pipe -c -o twiddler.o twiddler.c clang -I/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -march=native -pipe -O2 -march=native -pipe -c -o synaptics.o synaptics.c mice.c:187:27: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"dtr", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR},  ^~  .u = mice.c:187:31: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"dtr", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR},  ^~~~~  .iptr = mice.c:187:46: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"dtr", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR},  ^~~~~~  .value = mice.c:188:27: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"rts", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_RTS},  ^~  .u = mice.c:188:31: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"rts", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_RTS},  ^~~~~  .iptr = mice.c:188:46: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"rts", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_RTS},  ^~~~~~  .value = mice.c:189:27: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"both", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR | TIOCM_RTS},  ^~  .u = mice.c:189:31: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"both", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR | TIOCM_RTS},  ^~~~~  .iptr = mice.c:189:46: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"both", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR | TIOCM_RTS},  ^~~~~~  .value = clang -I/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -march=native -pipe -O2 -march=native -pipe -c -o daemon/add_mouse.o daemon/add_mouse.c mice.c:187:37: warning: initializing 'int *' with an expression of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] {"dtr", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR},  ^~~~~~ mice.c:188:37: warning: initializing 'int *' with an expression of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] {"rts", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_RTS},  ^~~~~~ mice.c:189:37: warning: initializing 'int *' with an expression of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] {"both", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR | TIOCM_RTS},  ^~~~~~ clang -I/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -march=native -pipe -O2 -march=native -pipe -c -o daemon/init_mice.o daemon/init_mice.c mice.c:1341:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(sscanf(data+1, "%d,%d", &x, &y)!= 2) {  ^~~~~~ /usr/include/stdio.h:439:45: note: passing argument to parameter '__s' here extern int sscanf (__const char *__restrict __s,  ^ synaptics.c:2253:11: warning: passing 'unsigned char [3]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sscanf (bytes, "%x", &result);  ^~~~~ /usr/include/stdio.h:439:45: note: passing argument to parameter '__s' here extern int sscanf (__const char *__restrict __s,  ^ synaptics.c:2320:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] write (fd, cmd, strlen (cmd));  ^~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s)  ^ mice.c:1763:22: error: expected ';' at end of declaration void reset_wacom()  ^  ; synaptics.c:2321:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] tp_serial_read (fd, junk, strlen (cmd));  ^~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s)  ^ synaptics.c:2334:12: warning: passing 'unsigned char [15]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (bytes, "%%C3B%02X5555", mode);  ^~~~~ /usr/include/stdio.h:365:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s,  ^ mice.c:1801:30: error: expected ';' at end of declaration int RequestData(char *cmd)  ^  ; synaptics.c:2347:27: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] tp_serial_send_cmd (fd, "%A");  ^~~~ synaptics.c:2315:26: note: passing argument to parameter 'cmd' here unsigned char *cmd)  ^ synaptics.c:2388:29: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] tp_serial_send_cmd (fd, "%D");  ^~~~ synaptics.c:2315:26: note: passing argument to parametermice.c:1836:15: clang: warning: 'cmd' hereerror: use of undeclared identifier 'optioninfo' parse_argv(optioninfo, argc, argv); unsigned char *cmd)  ^  ^ mice.c:1850:20: error: use of undeclared identifier 'buffer' if (!strncmp(buffer+2,wcmodell[WacomModell].magic, 2)) {  ^ /usr/include/bits/string2.h:922:32: note: expanded from macro 'strncmp' && ((__builtin_constant_p (s1) \  ^ synaptics.c:2416:27: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] tp_serial_send_cmd (fd, "%B");  ^~~~ synaptics.c:2315:26: note: passing argument to parameter 'cmd' here unsigned char *cmd)  ^ mice.c:1850:20: error: use of undeclared identifier 'buffer' if (!strncmp(buffer+2,wcmodell[WacomModell].magic, 2)) {  ^ /usr/include/bits/string2.h:923:21: note: expanded from macro 'strncmp' && strlen (s1) < ((size_t) (n))) \  ^ mice.c:1850:20: error: use of undeclared identifier 'buffer' if (!strncmp(buffer+2,wcmodell[WacomModell].magic, 2)) {  ^ /usr/include/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n)))  ^ /usr/include/bits/string2.h:803:29: note: expanded from macro 'strcmp' (__builtin_constant_p (s1) && __builtin_constant_p (s2) \  ^ mice.c:1850:20: error: use of undeclared identifier 'buffer' if (!strncmp(buffer+2,wcmodell[WacomModell].magic, 2)) {  ^ /usr/include/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n)))  ^ /usr/include/bits/string2.h:804:30: note: expanded from macro 'strcmp' && (__s1_len = strlen (s1), __s2_len = strlen (s2), \  ^ mice.c:1850:20: error: use of undeclared identifier 'buffer' if (!strncmp(buffer+2,wcmodell[WacomModell].magic, 2)) {  ^ /usr/include/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n)))  ^ /usr/include/bits/string2.h:805:25: note: expanded from macro 'strcmp' (!__string2_1bptr_p (s1) || __s1_len >= 4) \  ^ /usr/include/bits/string2.h:94:28: note: expanded from macro '__string2_1bptr_p' ((size_t)(const void *)((__x) + 1) - (size_t)(const void *)(__x) == 1)  ^ mice.c:1850:20: error: use of undeclared identifier 'buffer' if (!strncmp(buffer+2,wcmodell[WacomModell].magic, 2)) {  ^ /usr/include/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n)))  ^ /usr/include/bits/string2.h:805:25: note: expanded from macro 'strcmp' (!__string2_1bptr_p (s1) || __s1_len >= 4) \  ^ /usr/include/bits/string2.h:94:63: note: expanded from macro '__string2_1bptr_p' ((size_t)(const void *)((__x) + 1) - (size_t)(const void *)(__x) == 1)  ^ mice.c:1850:20: error: use of undeclared identifier 'buffer' if (!strncmp(buffer+2,wcmodell[WacomModell].magic, 2)) {  ^ /usr/include/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n)))  ^ /usr/include/bits/string2.h:807:27: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \  ^ mice.c:1850:20: error: use of undeclared identifier 'buffer' if (!strncmp(buffer+2,wcmodell[WacomModell].magic, 2)) {  ^ /usr/include/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n)))  ^ /usr/include/bits/string2.h:808:32: note: expanded from macro 'strcmp' : (__builtin_constant_p (s1) && __string2_1bptr_p (s1) \  ^ mice.c:1850:20: error: use of undeclared identifier 'buffer' if (!strncmp(buffer+2,wcmodell[WacomModell].magic, 2)) {  ^ /usr/include/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n)))  ^ /usr/include/bits/string2.h:808:58: note: expanded from macro 'strcmp' : (__builtin_constant_p (s1) && __string2_1bptr_p (s1) \  ^ /usr/include/bits/string2.h:94:28: note: expanded from macro '__string2_1bptr_p' ((size_t)(const void *)((__x) + 1) - (size_t)(const void *)(__x) == 1)  ^ mice.c:1850:20: error: use of undeclared identifier 'buffer' if (!strncmp(buffer+2,wcmodell[WacomModell].magic, 2)) {  ^ /usr/include/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n)))  ^ /usr/include/bits/string2.h:808:58: note: expanded from macro 'strcmp' : (__builtin_constant_p (s1) && __string2_1bptr_p (s1) \  ^ /usr/include/bits/string2.h:94:63: note: expanded from macro '__string2_1bptr_p' ((size_t)(const void *)((__x) + 1) - (size_t)(const void *)(__x) == 1)  ^ mice.c:1850:20: error: use of undeclared identifier 'buffer' if (!strncmp(buffer+2,wcmodell[WacomModell].magic, 2)) {  ^ /usr/include/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n)))  ^ /usr/include/bits/string2.h:809:26: note: expanded from macro 'strcmp' && (__s1_len = strlen (s1), __s1_len < 4) \  ^ mice.c:1850:20: error: use of undeclared identifier 'buffer' if (!strncmp(buffer+2,wcmodell[WacomModell].magic, 2)) {  ^ /usr/include/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n)))  ^ /usr/include/bits/string2.h:811:26: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \  ^ mice.c:1850:20: error: use of undeclared identifier 'buffer' if (!strncmp(buffer+2,wcmodell[WacomModell].magic, 2)) {  ^ /usr/include/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n)))  ^ /usr/include/bits/string2.h:812:21: note: expanded from macro 'strcmp' : __strcmp_cg (s1, s2, __s1_len)) \  ^ /usr/include/bits/string2.h:873:55: note: expanded from macro '__strcmp_cg' (((__const unsigned char *) (__const char *) (s1))[0] \  ^ mice.c:1850:20: error: use of undeclared identifier 'buffer' if (!strncmp(buffer+2,wcmodell[WacomModell].magic, 2)) {  ^ /usr/include/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n)))  ^ /usr/include/bits/string2.h:812:21: note: expanded from macro 'strcmp' : __strcmp_cg (s1, s2, __s1_len)) \  ^ /usr/include/bits/string2.h:878:28: note: expanded from macro '__strcmp_cg' (__const char *) (s1))[1] - __s2[1]); \  ^ mice.c:1850:20: error: use of undeclared identifier 'buffer' if (!strncmp(buffer+2,wcmodell[WacomModell].magic, 2)) {  ^ /usr/include/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n)))  ^ /usr/include/bits/string2.h:812:21: note: expanded from macro 'strcmp' : __strcmp_cg (s1, s2, __s1_len)) \  ^ /usr/include/bits/string2.h:882:25: note: expanded from macro '__strcmp_cg' (__const char *) (s1))[2] - __s2[2]);\  ^ mice.c:1850:20: error: use of undeclared identifier 'buffer' if (!strncmp(buffer+2,wcmodell[WacomModell].magic, 2)) {  ^ /usr/include/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n)))  ^ /usr/include/bits/string2.h:812:21: note: expanded from macro 'strcmp' : __strcmp_cg (s1, s2, __s1_len)) \  ^ /usr/include/bits/string2.h:885:27: note: expanded from macro '__strcmp_cg' (__const char *) (s1))[3] \  ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] clang -I/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -O2 -march=native -pipe -O2 -march=native -pipe -c -o daemon/reset_mice.o daemon/reset_mice.c 13 warnings and 20 errors generated. *** [mice.o] Errore 1clang make[1]: *** Attesa dei processi non terminati.... 7 warnings generated. make[1]: Leaving directory `/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6/src' make: *** [do-all] Errore 1 emake failed * ERROR: sys-libs/gpm-1.20.6 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 2000: Called die * The specific snippet of code: * emake EMACS=: || die * * If you need support, post the output of `emerge --info '=sys-libs/gpm-1.20.6'`, * the complete build log and the output of `emerge -pqv '=sys-libs/gpm-1.20.6'`. * The complete build log is located at '/var/log/portage/sys-libs:gpm-1.20.6:20120720-094508.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-libs/gpm-1.20.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/gpm-1.20.6/temp/environment'. * Working directory: '/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6' * S: '/var/tmp/portage/sys-libs/gpm-1.20.6/work/gpm-1.20.6'