>>> Unpacking source... >>> Unpacking scsirastools-1.5.6.tar.gz to /var/tmp/portage/sys-block/scsirastools-1.5.6/work * Running eautoreconf in '/var/tmp/portage/sys-block/scsirastools-1.5.6/work/scsirastools-1.5.6' ... * Running aclocal ...  [ ok ] * Running autoconf ...  [ ok ] * Running autoheader ...  [ ok ] * Running automake --add-missing --copy ...  [ ok ] >>> Source unpacked in /var/tmp/portage/sys-block/scsirastools-1.5.6/work >>> Compiling source in /var/tmp/portage/sys-block/scsirastools-1.5.6/work/scsirastools-1.5.6 ... ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --sbindir=/usr/sbin configure: loading site script /usr/share/config.site configure: loading site script /usr/share/crossdev/include/site/linux checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /var/tmp/portage/sys-block/scsirastools-1.5.6/work/scsirastools-1.5.6/missing: Unknown `--run' option Try `/var/tmp/portage/sys-block/scsirastools-1.5.6/work/scsirastools-1.5.6/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc 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 i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking whether make sets $(MAKE)... (cached) yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether i686-pc-linux-gnu-gcc needs -traditional... no checking for working memcmp... yes checking for strcspn... yes checking for strspn... yes checking for uname... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating files/Makefile config.status: creating mdadm.d/Makefile config.status: creating config.h config.status: executing depfiles commands make -j14 make all-recursive make[1]: Entering directory `/var/tmp/portage/sys-block/scsirastools-1.5.6/work/scsirastools-1.5.6' Making all in src make[2]: Entering directory `/var/tmp/portage/sys-block/scsirastools-1.5.6/work/scsirastools-1.5.6/src' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -O2 -pipe -Wall -MT getmd.o -MD -MP -MF .deps/getmd.Tpo -c -o getmd.o getmd.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -O2 -pipe -Wall -MT sgdefects.o -MD -MP -MF .deps/sgdefects.Tpo -c -o sgdefects.o sgdefects.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -O2 -pipe -Wall -MT sgsub.o -MD -MP -MF .deps/sgsub.Tpo -c -o sgsub.o sgsub.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -O2 -pipe -Wall -MT sgerr.o -MD -MP -MF .deps/sgerr.Tpo -c -o sgerr.o sgerr.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -O2 -pipe -Wall -MT sgcommon.o -MD -MP -MF .deps/sgcommon.Tpo -c -o sgcommon.o sgcommon.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -O2 -pipe -Wall -MT sgdiag.o -MD -MP -MF .deps/sgdiag.Tpo -c -o sgdiag.o sgdiag.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -O2 -pipe -Wall -MT sgdskfl.o -MD -MP -MF .deps/sgdskfl.Tpo -c -o sgdskfl.o sgdskfl.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -O2 -pipe -Wall -MT sgmode.o -MD -MP -MF .deps/sgmode.Tpo -c -o sgmode.o sgmode.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -O2 -pipe -Wall -MT sgraidmon.o -MD -MP -MF .deps/sgraidmon.Tpo -c -o sgraidmon.o sgraidmon.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -O2 -pipe -Wall -MT sgsubmon.o -MD -MP -MF .deps/sgsubmon.Tpo -c -o sgsubmon.o sgsubmon.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -O2 -pipe -Wall -MT sgsafte.o -MD -MP -MF .deps/sgsafte.Tpo -c -o sgsafte.o sgsafte.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -O2 -pipe -Wall -MT sgdiskmon.o -MD -MP -MF .deps/sgdiskmon.Tpo -c -o sgdiskmon.o sgdiskmon.c getmd.c:84: error: conflicting types for 'getline' /usr/include/stdio.h:651: note: previous declaration of 'getline' was here make[2]: *** [getmd.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from sgsafte.c:58: sgsubmon.h:127: error: conflicting types for 'getline' /usr/include/stdio.h:651: note: previous declaration of 'getline' was here sgsafte.c: In function 'showit': sgsafte.c:177: warning: format not a string literal and no format arguments sgsafte.c:179: warning: format not a string literal and no format arguments sgsafte.c: In function 'add_scsi_dev': sgsafte.c:387: warning: format not a string literal and no format arguments sgsafte.c: In function 'device_there': sgsafte.c:405: warning: pointer targets in passing argument 1 of 'open' differ in signedness /usr/include/bits/fcntl2.h:42: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c: In function 'scandev': sgsafte.c:750: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgsafte.c:751: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgsafte.c:848: warning: pointer targets in passing argument 1 of 'fillstr' differ in signedness sgsubmon.h:129: note: expected 'char *' but argument is of type 'unsigned char *' sgsafte.c:881: warning: pointer targets in passing argument 1 of 'fillstr' differ in signedness sgsubmon.h:129: note: expected 'char *' but argument is of type 'unsigned char *' sgsafte.c:882: warning: pointer targets in passing argument 1 of 'fillstr' differ in signedness sgsubmon.h:129: note: expected 'char *' but argument is of type 'unsigned char *' sgsafte.c:883: warning: pointer targets in passing argument 1 of 'fillstr' differ in signedness sgsubmon.h:129: note: expected 'char *' but argument is of type 'unsigned char *' sgsafte.c:886: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:886: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:886: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:886: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:886: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:886: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:886: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:886: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:886: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:886: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:886: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:886: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness /usr/include/string.h:145: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:894: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness /usr/include/bits/string3.h:119: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgsafte.c:894: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness /usr/include/bits/string3.h:119: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgsafte.c:898: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness /usr/include/bits/string3.h:119: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgsafte.c:898: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness /usr/include/bits/string3.h:119: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgsafte.c:908: warning: pointer targets in passing argument 1 of 'getmd' differ in signedness sgsafte.c:196: note: expected 'char *' but argument is of type 'unsigned char *' sgsafte.c:910: warning: pointer targets in passing argument 1 of 'mdstat' differ in signedness sgsafte.c:306: note: expected 'char *' but argument is of type 'unsigned char *' sgsafte.c:932: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgsafte.c: In function 'mkdaemon': sgsafte.c:957: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result sgsafte.c:962: warning: ignoring return value of 'dup', declared with attribute warn_unused_result sgsafte.c:962: warning: ignoring return value of 'dup', declared with attribute warn_unused_result sgsafte.c: In function 'do_insert': sgsafte.c:1005: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1005: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1005: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1005: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1005: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1005: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1005: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1005: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1005: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1005: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1005: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1005: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1005: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1005: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1005: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1005: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1005: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1005: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1005: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1005: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c: In function 'check_devstatus': sgsafte.c:1088: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1088: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1088: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1088: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1088: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1088: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1088: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1088: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1088: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1088: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1088: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1088: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1088: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1088: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1088: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1088: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1088: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1088: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1088: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1088: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1129: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1129: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1129: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1129: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1129: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1129: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1129: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1129: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1129: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1129: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1129: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1129: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1129: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1129: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1129: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1129: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1129: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1129: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1129: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1129: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1130: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1130: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1130: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1130: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1130: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1130: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1130: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1130: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1130: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1130: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1130: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1130: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1130: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1130: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1130: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1130: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1130: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1130: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1130: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1130: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1146: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1146: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1146: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1146: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1146: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1146: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1146: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1146: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1146: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1146: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1146: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1146: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1146: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1146: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1146: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1146: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1146: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1146: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1146: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1146: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1148: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1148: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1148: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1148: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1148: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1148: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1148: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1148: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1148: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1148: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1148: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1148: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1148: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1148: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1148: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1148: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1148: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsafte.c:1148: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c:1148: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgsafte.c:1148: note: expected 'const char *' but argument is of type 'unsigned char *' sgsafte.c: In function 'main': sgsafte.c:1264: warning: format not a string literal and no format arguments sgsafte.c:1276: warning: format not a string literal and no format arguments sgsafte.c:1299: warning: format not a string literal and no format arguments sgsafte.c:1338: warning: pointer targets in assignment differ in signedness sgsafte.c:1340: warning: pointer targets in assignment differ in signedness sgsafte.c:1342: warning: pointer targets in assignment differ in signedness sgsafte.c:1344: warning: pointer targets in assignment differ in signedness sgsafte.c:1347: warning: pointer targets in assignment differ in signedness sgsafte.c:1418: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgsafte.c:1418: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgsafte.c:1419: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgsafte.c:1419: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgsafte.c:1420: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgsafte.c:1420: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgsafte.c:1421: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgsafte.c:1421: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' make[2]: *** [sgsafte.o] Error 1 In file included from sgsubmon.c:53: sgsubmon.h:127: error: conflicting types for 'getline' /usr/include/stdio.h:651: note: previous declaration of 'getline' was here sgsubmon.c:162: error: conflicting types for 'getline' /usr/include/stdio.h:651: note: previous declaration of 'getline' was here sgsubmon.c: In function 'IsSATA': sgsubmon.c:184: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:184: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:184: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsubmon.c:184: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:184: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:184: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsubmon.c:184: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:184: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsubmon.c:184: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:184: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsubmon.c:184: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:184: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness /usr/include/string.h:145: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c: In function 'ses_write_slots': sgsubmon.c:343: warning: pointer targets in passing argument 1 of 'open' differ in signedness /usr/include/bits/fcntl2.h:42: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c: In function 'read_safte': sgsubmon.c:680: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:680: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:680: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsubmon.c:680: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:680: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:680: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsubmon.c:680: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:680: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsubmon.c:680: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:680: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsubmon.c:680: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:680: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness /usr/include/string.h:145: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c: In function 'write_safte': sgsubmon.c:809: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:809: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:809: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsubmon.c:809: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:809: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:809: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsubmon.c:809: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:809: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsubmon.c:809: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:809: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgsubmon.c:809: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c:809: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness /usr/include/string.h:145: note: expected 'const char *' but argument is of type 'unsigned char *' sgsubmon.c: In function 'write_slots': sgsubmon.c:892: warning: pointer targets in passing argument 1 of 'open' differ in signedness /usr/include/bits/fcntl2.h:42: note: expected 'const char *' but argument is of type 'unsigned char *' In file included from sgraidmon.c:149: sgsubmon.h:127: error: conflicting types for 'getline' /usr/include/stdio.h:651: note: previous declaration of 'getline' was here sgraidmon.c: In function 'showit': sgraidmon.c:272: warning: format not a string literal and no format arguments sgraidmon.c:274: warning: format not a string literal and no format arguments sgraidmon.c: In function 'add_scsi_dev': sgraidmon.c:566: warning: format not a string literal and no format arguments sgraidmon.c: In function 'device_there': sgraidmon.c:589: warning: pointer targets in passing argument 1 of 'open' differ in signedness /usr/include/bits/fcntl2.h:42: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c: In function 'scandev': sgraidmon.c:939: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c:979: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c:1051: warning: pointer targets in passing argument 1 of 'fillstr' differ in signedness sgsubmon.h:129: note: expected 'char *' but argument is of type 'unsigned char *' sgraidmon.c:1084: warning: pointer targets in passing argument 1 of 'fillstr' differ in signedness sgsubmon.h:129: note: expected 'char *' but argument is of type 'unsigned char *' sgraidmon.c:1085: warning: pointer targets in passing argument 1 of 'fillstr' differ in signedness sgsubmon.h:129: note: expected 'char *' but argument is of type 'unsigned char *' sgraidmon.c:1086: warning: pointer targets in passing argument 1 of 'fillstr' differ in signedness sgsubmon.h:129: note: expected 'char *' but argument is of type 'unsigned char *' sgraidmon.c:1089: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1089: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1089: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1089: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1089: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1089: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1089: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1089: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1089: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1089: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1089: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1089: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness /usr/include/string.h:145: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1096: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness /usr/include/bits/string3.h:119: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c:1096: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness /usr/include/bits/string3.h:119: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c:1100: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness /usr/include/bits/string3.h:119: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c:1100: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness /usr/include/bits/string3.h:119: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c:1115: warning: pointer targets in passing argument 1 of 'getmd' differ in signedness sgraidmon.c:291: note: expected 'char *' but argument is of type 'unsigned char *' sgraidmon.c:1117: warning: pointer targets in passing argument 1 of 'mdstat' differ in signedness sgraidmon.c:449: note: expected 'char *' but argument is of type 'unsigned char *' sgraidmon.c:1139: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c: In function 'mkdaemon': sgraidmon.c:1164: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result sgraidmon.c:1169: warning: ignoring return value of 'dup', declared with attribute warn_unused_result sgraidmon.c:1169: warning: ignoring return value of 'dup', declared with attribute warn_unused_result sgraidmon.c: In function 'do_insert': sgraidmon.c:1213: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1213: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1213: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1213: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1213: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1213: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1213: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1213: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1213: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1213: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1213: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1213: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1213: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1213: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1213: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1213: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1213: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1213: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1213: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1213: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1264: warning: pointer targets in passing argument 1 of 'getmd' differ in signedness sgraidmon.c:291: note: expected 'char *' but argument is of type 'unsigned char *' sgraidmon.c: In function 'do_remove': sgraidmon.c:1340: warning: pointer targets in passing argument 1 of 'getmd' differ in signedness sgraidmon.c:291: note: expected 'char *' but argument is of type 'unsigned char *' sgraidmon.c: In function 'check_devstatus': sgraidmon.c:1388: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1388: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1388: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1388: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1388: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1388: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1388: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1388: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1388: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1388: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1388: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1388: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1388: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1388: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1388: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1388: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1388: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1388: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1388: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1388: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1439: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1439: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1439: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1439: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1439: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1439: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1439: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1439: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1439: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1439: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1439: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1439: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1439: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1439: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1439: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1439: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1439: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1439: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1439: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1439: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1440: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1440: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1440: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1440: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1440: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1440: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1440: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1440: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1440: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1440: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1440: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1440: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1440: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1440: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1440: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1440: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1440: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1440: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1440: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1440: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1457: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1457: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1457: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1457: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1457: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1457: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1457: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1457: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1457: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1457: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1457: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1457: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1457: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1457: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1457: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1457: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1457: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1457: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1457: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1457: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1459: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1459: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1459: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1459: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1459: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1459: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1459: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1459: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1459: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1459: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1459: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1459: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1459: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1459: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1459: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1459: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1459: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgraidmon.c:1459: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1459: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgraidmon.c:1459: note: expected 'const char *' but argument is of type 'unsigned char *' sgraidmon.c:1475: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c:1475: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c:1476: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c:1476: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c:1477: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c:1477: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c:1478: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c:1478: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c: In function 'main': sgraidmon.c:1588: warning: format not a string literal and no format arguments sgraidmon.c:1601: warning: format not a string literal and no format arguments sgraidmon.c:1642: warning: format not a string literal and no format arguments sgraidmon.c:1694: warning: pointer targets in assignment differ in signedness sgraidmon.c:1696: warning: pointer targets in assignment differ in signedness sgraidmon.c:1698: warning: pointer targets in assignment differ in signedness sgraidmon.c:1700: warning: pointer targets in assignment differ in signedness sgraidmon.c:1703: warning: pointer targets in assignment differ in signedness sgraidmon.c:1776: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c:1776: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c:1777: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c:1777: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c:1778: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c:1778: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c:1779: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgraidmon.c:1779: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' mv -f .deps/sgerr.Tpo .deps/sgerr.Po In file included from sgdiskmon.c:77: sgsubmon.h:127: error: conflicting types for 'getline' /usr/include/stdio.h:651: note: previous declaration of 'getline' was here sgdiskmon.c: In function 'showit': sgdiskmon.c:200: warning: format not a string literal and no format arguments sgdiskmon.c:202: warning: format not a string literal and no format arguments sgdiskmon.c: In function 'rem_scsi_dev': sgdiskmon.c:238: warning: format not a string literal and no format arguments sgdiskmon.c: In function 'add_scsi_dev': sgdiskmon.c:259: warning: format not a string literal and no format arguments sgdiskmon.c: In function 'device_there': sgdiskmon.c:284: warning: pointer targets in passing argument 1 of 'open' differ in signedness /usr/include/bits/fcntl2.h:42: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c: In function 'scandev': sgdiskmon.c:643: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c:682: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c:754: warning: pointer targets in passing argument 1 of 'fillstr' differ in signedness sgsubmon.h:129: note: expected 'char *' but argument is of type 'unsigned char *' sgdiskmon.c:787: warning: pointer targets in passing argument 1 of 'fillstr' differ in signedness sgsubmon.h:129: note: expected 'char *' but argument is of type 'unsigned char *' sgdiskmon.c:788: warning: pointer targets in passing argument 1 of 'fillstr' differ in signedness sgsubmon.h:129: note: expected 'char *' but argument is of type 'unsigned char *' sgdiskmon.c:789: warning: pointer targets in passing argument 1 of 'fillstr' differ in signedness sgsubmon.h:129: note: expected 'char *' but argument is of type 'unsigned char *' sgdiskmon.c:792: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:792: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:792: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:792: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:792: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:792: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:792: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:792: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:792: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:792: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:792: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:792: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness /usr/include/string.h:145: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:800: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness /usr/include/bits/string3.h:119: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c:800: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness /usr/include/bits/string3.h:119: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c:804: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness /usr/include/bits/string3.h:119: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c:804: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness /usr/include/bits/string3.h:119: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c:817: warning: pointer targets in passing argument 1 of 'sdstat' differ in signedness sgdiskmon.c:220: note: expected 'char *' but argument is of type 'unsigned char *' sgdiskmon.c:836: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c: In function 'mkdaemon': sgdiskmon.c:861: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result sgdiskmon.c:866: warning: ignoring return value of 'dup', declared with attribute warn_unused_result sgdiskmon.c:866: warning: ignoring return value of 'dup', declared with attribute warn_unused_result sgdiskmon.c: In function 'do_insert': sgdiskmon.c:910: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:910: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:910: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:910: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:910: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:910: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:910: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:910: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:910: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:910: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:910: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:910: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:910: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:910: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:910: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:910: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:910: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:910: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:910: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:910: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:934: warning: pointer targets in assignment differ in signedness sgdiskmon.c: In function 'do_remove': sgdiskmon.c:999: warning: pointer targets in assignment differ in signedness sgdiskmon.c: In function 'check_devstatus': sgdiskmon.c:1042: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1042: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1042: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1042: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1042: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1042: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1042: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1042: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1042: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1042: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1042: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1042: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1042: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1042: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1042: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1042: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1042: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1042: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1042: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1042: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1093: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1093: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1093: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1093: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1093: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1093: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1093: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1093: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1093: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1093: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1093: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1093: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1093: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1093: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1093: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1093: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1093: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1093: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1093: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1093: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1094: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1094: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1094: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1094: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1094: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1094: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1094: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1094: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1094: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1094: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1094: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1094: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1094: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1094: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1094: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1094: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1094: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1094: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1094: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1094: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1109: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1109: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1109: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1109: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1109: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1109: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1109: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1109: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1109: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1109: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1109: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1109: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1109: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1109: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1109: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1109: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1109: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1109: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1109: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1109: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1111: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1111: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1111: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1111: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1111: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1111: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1111: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1111: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1111: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1111: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1111: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1111: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1111: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1111: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1111: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1111: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1111: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1111: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1111: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness sgdiskmon.c:1111: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiskmon.c:1120: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c:1120: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c:1121: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c:1121: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c:1122: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c:1122: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c:1123: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c:1123: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c: In function 'main': sgdiskmon.c:1231: warning: format not a string literal and no format arguments sgdiskmon.c:1244: warning: format not a string literal and no format arguments sgdiskmon.c:1274: warning: format not a string literal and no format arguments sgdiskmon.c:1326: warning: pointer targets in assignment differ in signedness sgdiskmon.c:1328: warning: pointer targets in assignment differ in signedness sgdiskmon.c:1330: warning: pointer targets in assignment differ in signedness sgdiskmon.c:1332: warning: pointer targets in assignment differ in signedness sgdiskmon.c:1335: warning: pointer targets in assignment differ in signedness sgdiskmon.c:1408: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c:1408: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c:1409: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c:1409: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c:1410: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c:1410: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c:1411: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' sgdiskmon.c:1411: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' sgdefects.c: In function 'main': sgdefects.c:222: warning: format not a string literal and no format arguments sgdefects.c: In function 'beforegd': sgdefects.c:499: warning: pointer targets in assignment differ in signedness sgdefects.c:507: warning: dereferencing pointer 'scsi_inq' does break strict-aliasing rules sgdefects.c:506: note: initialized from here make[2]: *** [sgraidmon.o] Error 1 make[2]: *** [sgsubmon.o] Error 1 make[2]: *** [sgdiskmon.o] Error 1 mv -f .deps/sgdefects.Tpo .deps/sgdefects.Po sgcommon.c: In function 'showit': sgcommon.c:293: warning: format not a string literal and no format arguments sgcommon.c:294: warning: format not a string literal and no format arguments sgcommon.c: In function 'get_scsi_info': sgcommon.c:816: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' mv -f .deps/sgcommon.Tpo .deps/sgcommon.Po sgdiag.c: In function 'main': sgdiag.c:239: warning: format not a string literal and no format arguments sgdiag.c:340: warning: format not a string literal and no format arguments sgdiag.c:345: warning: format not a string literal and no format arguments sgdiag.c:402: warning: pointer targets in passing argument 1 of 'open' differ in signedness /usr/include/bits/fcntl2.h:42: note: expected 'const char *' but argument is of type 'unsigned char *' sgdiag.c:421: warning: pointer targets in assignment differ in signedness sgdiag.c:436: warning: pointer targets in assignment differ in signedness sgdiag.c:487: warning: pointer targets in assignment differ in signedness sgdiag.c: In function 'do_reset': sgdiag.c:543: warning: pointer targets in assignment differ in signedness sgdiag.c: In function 'do_sninquiry': sgdiag.c:585: warning: pointer targets in assignment differ in signedness sgdiag.c:598: warning: pointer targets in passing argument 2 of 'scsi_inquiry' differ in signedness sgsub.h:91: note: expected 'unsigned char *' but argument is of type 'char *' sgdiag.c:609: warning: pointer targets in passing argument 3 of 'sn_inquiry' differ in signedness sgsub.h:102: note: expected 'unsigned char *' but argument is of type 'char *' sgdiag.c:617: warning: pointer targets in passing argument 2 of 'dumpbufr' differ in signedness sgcommon.h:128: note: expected 'unsigned char *' but argument is of type 'char *' sgdiag.c:619: warning: pointer targets in passing argument 2 of 'dumpbufr' differ in signedness sgcommon.h:128: note: expected 'unsigned char *' but argument is of type 'char *' sgdiag.c: In function 'do_format': sgdiag.c:651: warning: pointer targets in assignment differ in signedness sgdiag.c:668: warning: pointer targets in passing argument 1 of 'time' differ in signedness /usr/include/time.h:186: note: expected 'time_t *' but argument is of type 'long unsigned int *' sgdiag.c:670: warning: pointer targets in passing argument 1 of 'ctime' differ in signedness /usr/include/time.h:258: note: expected 'const time_t *' but argument is of type 'long unsigned int *' sgdiag.c:704: warning: pointer targets in passing argument 1 of 'time' differ in signedness /usr/include/time.h:186: note: expected 'time_t *' but argument is of type 'long unsigned int *' sgdiag.c: In function 'do_sendcdb': sgdiag.c:786: warning: pointer targets in assignment differ in signedness sgdiag.c:833: warning: pointer targets in assignment differ in signedness sgdiag.c:847: warning: pointer targets in passing argument 2 of 'dumpbufr' differ in signedness sgcommon.h:128: note: expected 'unsigned char *' but argument is of type 'char *' sgdiag.c:848: warning: pointer targets in passing argument 2 of 'dumpbufr' differ in signedness sgcommon.h:128: note: expected 'unsigned char *' but argument is of type 'char *' sgdiag.c:849: warning: pointer targets in passing argument 2 of 'send_scsicdb' differ in signedness sgsub.h:105: note: expected 'unsigned char *' but argument is of type 'char *' sgdiag.c:849: warning: pointer targets in passing argument 4 of 'send_scsicdb' differ in signedness sgsub.h:105: note: expected 'unsigned char *' but argument is of type 'char *' sgdiag.c:860: warning: pointer targets in passing argument 2 of 'dumpbufr' differ in signedness sgcommon.h:128: note: expected 'unsigned char *' but argument is of type 'char *' sgdiag.c:862: warning: pointer targets in passing argument 2 of 'dumpbufr' differ in signedness sgcommon.h:128: note: expected 'unsigned char *' but argument is of type 'char *' sgdiag.c: In function 'beforegd': sgdiag.c:904: warning: pointer targets in assignment differ in signedness sgdiag.c:919: warning: dereferencing pointer 'scsi_inq' does break strict-aliasing rules sgdiag.c:918: note: initialized from here mv -f .deps/sgdiag.Tpo .deps/sgdiag.Po sgdskfl.c: In function 'msgbuf_add': sgdskfl.c:165: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *' sgdskfl.c: In function 'getimage': sgdskfl.c:610: warning: pointer targets in assignment differ in signedness sgdskfl.c: In function 'beforedl': sgdskfl.c:916: warning: pointer targets in assignment differ in signedness mv -f .deps/sgdskfl.Tpo .deps/sgdskfl.Po sgsub.c: In function 'sn_inquiry': sgsub.c:989: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true mv -f .deps/sgsub.Tpo .deps/sgsub.Po sgmode.c: In function 'main': sgmode.c:277: warning: format not a string literal and no format arguments sgmode.c: In function 'do_modeselect': sgmode.c:552: warning: format not a string literal and no format arguments sgmode.c:554: warning: format not a string literal and no format arguments sgmode.c: In function 'beforemd': sgmode.c:954: warning: pointer targets in assignment differ in signedness mv -f .deps/sgmode.Tpo .deps/sgmode.Po make[2]: Leaving directory `/var/tmp/portage/sys-block/scsirastools-1.5.6/work/scsirastools-1.5.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-block/scsirastools-1.5.6/work/scsirastools-1.5.6' make: *** [all] Error 2 * * ERROR: sys-block/scsirastools-1.5.6 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2842: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/sys-block/scsirastools-1.5.6:20090717-124235.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-block/scsirastools-1.5.6/temp/environment'. *