<86>Aug 10 12:57:20 userdel[121433]: delete user 'rooter' <86>Aug 10 12:57:20 groupadd[121480]: group added to /etc/group: name=rooter, GID=639 <86>Aug 10 12:57:20 groupadd[121480]: group added to /etc/gshadow: name=rooter <86>Aug 10 12:57:20 groupadd[121480]: new group: name=rooter, GID=639 <86>Aug 10 12:57:20 useradd[121493]: new user: name=rooter, UID=639, GID=639, home=/root, shell=/bin/bash <86>Aug 10 12:57:20 userdel[121556]: delete user 'builder' <86>Aug 10 12:57:20 userdel[121556]: removed group 'builder' owned by 'builder' <86>Aug 10 12:57:20 userdel[121556]: removed shadow group 'builder' owned by 'builder' <86>Aug 10 12:57:20 groupadd[121624]: group added to /etc/group: name=builder, GID=640 <86>Aug 10 12:57:20 groupadd[121624]: group added to /etc/gshadow: name=builder <86>Aug 10 12:57:20 groupadd[121624]: new group: name=builder, GID=640 <86>Aug 10 12:57:20 useradd[121642]: new user: name=builder, UID=640, GID=640, home=/usr/src, shell=/bin/bash <13>Aug 10 12:57:25 rpmi: rpm-macros-pam0-1.3.1.0.5.955b-alt2 1530819916 installed <13>Aug 10 12:57:25 rpmi: libpam0-devel-1.3.1.0.5.955b-alt2 1530819925 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/ncpfs-2.2.6-alt9.qa2.nosrc.rpm Installing ncpfs-2.2.6-alt9.qa2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.60499 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ncpfs-2.2.6 + echo 'Source #0 (ncpfs-2.2.6.tar):' Source #0 (ncpfs-2.2.6.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/ncpfs-2.2.6.tar + cd ncpfs-2.2.6 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (ncpfs-2.2.6-alt-makefile.patch):' Patch #0 (ncpfs-2.2.6-alt-makefile.patch): + /usr/bin/patch -p1 patching file sutil/Makefile.in + echo 'Patch #1 (ncpfs-2.2.6-alt-compile.patch):' Patch #1 (ncpfs-2.2.6-alt-compile.patch): + /usr/bin/patch -p1 patching file contrib/pam/pam_ncp_auth.c patching file sutil/ncpm_common.c + echo 'Patch #2 (ncpfs-2.2.6-alt-gcc41-compile.patch):' Patch #2 (ncpfs-2.2.6-alt-gcc41-compile.patch): + /usr/bin/patch -p1 patching file util/pserver.c patching file util/nwpjmv.c patching file lib/ncplib.c + echo 'Patch #3 (ncpfs-2.2.6-alt-warnings.patch):' Patch #3 (ncpfs-2.2.6-alt-warnings.patch): + /usr/bin/patch -p1 patching file include/ncp/ipxlib.h patching file include/ncp/kernel/ncp.h patching file include/ncp/kernel/route.h patching file include/ncp/ncp.h patching file include/ncp/ncplib.h + echo 'Patch #10 (ncpfs-2.2.3-fix.patch):' Patch #10 (ncpfs-2.2.3-fix.patch): + /usr/bin/patch -p1 patching file contrib/pam/pam_ncp_auth.c Hunk #1 succeeded at 2535 (offset 68 lines). + echo 'Patch #11 (ncpfs-2.2.3-array.patch):' Patch #11 (ncpfs-2.2.3-array.patch): + /usr/bin/patch -p1 patching file include/ncp/ncplib.h Hunk #1 succeeded at 485 (offset 30 lines). + echo 'Patch #12 (ncpfs-2.2.4-pie.patch):' Patch #12 (ncpfs-2.2.4-pie.patch): + /usr/bin/patch -p1 patching file sutil/Makefile.in patching file lib/Makefile.in + echo 'Patch #13 (ncpfs-2.2.6-getuid.patch):' Patch #13 (ncpfs-2.2.6-getuid.patch): + /usr/bin/patch -p1 patching file contrib/tcl-utils/ncplist.c patching file contrib/tcl-utils/chgpwd.c patching file contrib/tcl-utils/ncpreadprops.c patching file contrib/tcl-utils/ncpreadprop.c patching file sutil/ncplogin.c patching file lib/nwclient.c + echo 'Patch #15 (ncpfs-2.2.6-align.patch):' Patch #15 (ncpfs-2.2.6-align.patch): + /usr/bin/patch -p1 patching file lib/ndslib.c + echo 'Patch #16 (ncpfs-2.2.6-rh-mount-issue.patch):' Patch #16 (ncpfs-2.2.6-rh-mount-issue.patch): + /usr/bin/patch -p1 patching file sutil/ncpm_common.c patching file sutil/ncpmount.c patching file sutil/ncpumount.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.70868 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ncpfs-2.2.6 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --enable-pam --disable-function-sections --disable-mount-v2 checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking whether make sets $(MAKE)... yes checking for i586-alt-linux-gcc... i586-alt-linux-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 i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /bin/install -c checking whether ln -s works... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking for strerror in -lcposix... no checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking whether integer division by zero raises SIGFPE... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unsigned long long... yes checking for inttypes.h... yes checking whether the inttypes.h PRIxNN macros are broken... no checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for feof_unlocked... yes checking for fgets_unlocked... yes checking for getc_unlocked... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for bison... bison checking version of bison... 3.0.5, ok checking whether NLS is requested... yes checking whether included gettext is requested... no checking for GNU gettext in libc... yes checking for GNU style IPX support... yes checking for working IPX ioctl values... yes checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking for mount constants in sys/mount.h... yes checking net/if.h usability... yes checking net/if.h presence... yes checking for net/if.h... yes checking net/route.h usability... yes checking net/route.h presence... yes checking for net/route.h... yes checking netinet/if_ether.h usability... yes checking netinet/if_ether.h presence... yes checking for netinet/if_ether.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for C9X integer types... yes checking whether sys/select.h and linux/posix_types.h may both be included... yes checking for third parameter to accept... unsigned int checking for wchar_t... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for iconv... (cached) yes checking for iconv declaration... (cached) extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for an ANSI C-conforming const... (cached) yes checking for uid_t in sys/types.h... yes checking for inline... (cached) inline checking for mode_t... yes checking for off_t... (cached) yes checking for pid_t... yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether i586-alt-linux-gcc needs -traditional... no checking for wcslen... yes checking for wcscpy... yes checking for wcsdup... yes checking for wcscmp... yes checking for wcsncmp... yes checking for wcscasecmp... yes checking for wcsncasecmp... yes checking for wcsrev... no checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking for pam modules directory... /lib/security checking for php-config... no checking for mpilib word size... 32 checking for working pthread support... yes checking for working weak symbols... yes checking for working atomic operations... optimized checking for ELF target... yes checking for working versioned link... yes configure: creating ./config.status config.status: creating Make.rules config.status: creating Makefile config.status: creating lib/Makefile config.status: creating man/Makefile config.status: creating util/Makefile config.status: creating sutil/Makefile config.status: creating ipx-1.0/Makefile config.status: creating ipx-1.0/Samples/Makefile config.status: creating ipxdump/Makefile config.status: creating contrib/tknwmsg/Makefile config.status: creating contrib/testing/Makefile config.status: creating contrib/testing/pp/Makefile config.status: creating contrib/tcl-utils/Makefile config.status: creating contrib/tests/Makefile config.status: creating intl/Makefile config.status: creating po/Makefile.in config.status: creating contrib/pam/Makefile config.status: creating contrib/php/Makefile.in config.status: creating include/private/libncp-atomic.h.tmp config.status: include/private/libncp-atomic.h is unchanged config.status: creating include/ncp/nwnet.h.tmp config.status: creating include/ncp/ext/stdint.h.tmp config.status: creating include/ncp/ext/socket.h.tmp config.status: creating include/ncp/kernel/fs.h.tmp config.status: creating include/ncp/kernel/if.h.tmp config.status: creating include/ncp/kernel/ipx.h.tmp config.status: creating include/ncp/kernel/route.h.tmp config.status: include/ncp/kernel/route.h is unchanged config.status: creating include/ncp/kernel/types.h.tmp config.status: creating include/config.h config.status: executing gettext commands config.status: creating po/POTFILES config.status: creating po/Makefile Building ncpfs-2.2.6 and ipx-1.0 with following configuration options: kernel support: yes ncpmount support: linux-2.2, linux-2.4 NCP supported: IPX, UDP, TCP NDS support: yes PAM support: /lib/security (forced, path autodetected) PHP support: no (autodetected) Threading support: enabled (autodetected) Atomic operations: available (optimized i386) Versioned symbols: yes (autodetected) Function sections: no (forced) Compile-time warnings: no NCP trace: no NCP debug: no + make -j8 make: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6' set -e; for i in intl po lib sutil util man ipx-1.0 contrib/pam; do make -C $i all; done make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/intl' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/intl' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/intl' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/intl' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/po' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/po' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/po' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/po' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/lib' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/lib' set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE mpilib.c \ | sed 's,\(mpilib\)\.o[ :]*,\1.o \1.do \1.to mpilib.d : ,g' > mpilib.d; \ [ -s mpilib.d ] || rm -f mpilib.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE ndslib.c \ | sed 's,\(ndslib\)\.o[ :]*,\1.o \1.do \1.to ndslib.d : ,g' > ndslib.d; \ [ -s ndslib.d ] || rm -f ndslib.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE ncpsign.c \ | sed 's,\(ncpsign\)\.o[ :]*,\1.o \1.do \1.to ncpsign.d : ,g' > ncpsign.d; \ [ -s ncpsign.d ] || rm -f ncpsign.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE o_ndslib.c \ | sed 's,\(o_ndslib\)\.o[ :]*,\1.o \1.do \1.to o_ndslib.d : ,g' > o_ndslib.d; \ [ -s o_ndslib.d ] || rm -f o_ndslib.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE ds/dsstream.c \ | sed 's,\(ds/dsstream\)\.o[ :]*,\1.o \1.do \1.to ds/dsstream.d : ,g' > ds/dsstream.d; \ [ -s ds/dsstream.d ] || rm -f ds/dsstream.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE ds/syntaxes.c \ | sed 's,\(ds/syntaxes\)\.o[ :]*,\1.o \1.do \1.to ds/syntaxes.d : ,g' > ds/syntaxes.d; \ [ -s ds/syntaxes.d ] || rm -f ds/syntaxes.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE ds/classes.c \ | sed 's,\(ds/classes\)\.o[ :]*,\1.o \1.do \1.to ds/classes.d : ,g' > ds/classes.d; \ [ -s ds/classes.d ] || rm -f ds/classes.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE ds/bindctx.c \ | sed 's,\(ds/bindctx\)\.o[ :]*,\1.o \1.do \1.to ds/bindctx.d : ,g' > ds/bindctx.d; \ [ -s ds/bindctx.d ] || rm -f ds/bindctx.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE ds/dslist.c \ | sed 's,\(ds/dslist\)\.o[ :]*,\1.o \1.do \1.to ds/dslist.d : ,g' > ds/dslist.d; \ [ -s ds/dslist.d ] || rm -f ds/dslist.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE ds/dsread.c \ | sed 's,\(ds/dsread\)\.o[ :]*,\1.o \1.do \1.to ds/dsread.d : ,g' > ds/dsread.d; \ [ -s ds/dsread.d ] || rm -f ds/dsread.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE ds/effright.c \ | sed 's,\(ds/effright\)\.o[ :]*,\1.o \1.do \1.to ds/effright.d : ,g' > ds/effright.d; \ [ -s ds/effright.d ] || rm -f ds/effright.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE ds/iterhandle.c \ | sed 's,\(ds/iterhandle\)\.o[ :]*,\1.o \1.do \1.to ds/iterhandle.d : ,g' > ds/iterhandle.d; \ [ -s ds/iterhandle.d ] || rm -f ds/iterhandle.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE ds/partops.c \ | sed 's,\(ds/partops\)\.o[ :]*,\1.o \1.do \1.to ds/partops.d : ,g' > ds/partops.d; \ [ -s ds/partops.d ] || rm -f ds/partops.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE ds/dsgetstat.c \ | sed 's,\(ds/dsgetstat\)\.o[ :]*,\1.o \1.do \1.to ds/dsgetstat.d : ,g' > ds/dsgetstat.d; \ [ -s ds/dsgetstat.d ] || rm -f ds/dsgetstat.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE ds/setkeys.c \ | sed 's,\(ds/setkeys\)\.o[ :]*,\1.o \1.do \1.to ds/setkeys.d : ,g' > ds/setkeys.d; \ [ -s ds/setkeys.d ] || rm -f ds/setkeys.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE ds/request.c \ | sed 's,\(ds/request\)\.o[ :]*,\1.o \1.do \1.to ds/request.d : ,g' > ds/request.d; \ [ -s ds/request.d ] || rm -f ds/request.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE ds/search.c \ | sed 's,\(ds/search\)\.o[ :]*,\1.o \1.do \1.to ds/search.d : ,g' > ds/search.d; \ [ -s ds/search.d ] || rm -f ds/search.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE ds/filter.c \ | sed 's,\(ds/filter\)\.o[ :]*,\1.o \1.do \1.to ds/filter.d : ,g' > ds/filter.d; \ [ -s ds/filter.d ] || rm -f ds/filter.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE rdn.c \ | sed 's,\(rdn\)\.o[ :]*,\1.o \1.do \1.to rdn.d : ,g' > rdn.d; \ [ -s rdn.d ] || rm -f rdn.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE wcs.c \ | sed 's,\(wcs\)\.o[ :]*,\1.o \1.do \1.to wcs.d : ,g' > wcs.d; \ [ -s wcs.d ] || rm -f wcs.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE nwnet.c \ | sed 's,\(nwnet\)\.o[ :]*,\1.o \1.do \1.to nwnet.d : ,g' > nwnet.d; \ [ -s nwnet.d ] || rm -f nwnet.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE ndscrypt.c \ | sed 's,\(ndscrypt\)\.o[ :]*,\1.o \1.do \1.to ndscrypt.d : ,g' > ndscrypt.d; \ [ -s ndscrypt.d ] || rm -f ndscrypt.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE stats.c \ | sed 's,\(stats\)\.o[ :]*,\1.o \1.do \1.to stats.d : ,g' > stats.d; \ [ -s stats.d ] || rm -f stats.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE fs/filelock.c \ | sed 's,\(fs/filelock\)\.o[ :]*,\1.o \1.do \1.to fs/filelock.d : ,g' > fs/filelock.d; \ [ -s fs/filelock.d ] || rm -f fs/filelock.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE resolve.c \ | sed 's,\(resolve\)\.o[ :]*,\1.o \1.do \1.to resolve.d : ,g' > resolve.d; \ [ -s resolve.d ] || rm -f resolve.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE nwclient.c \ | sed 's,\(nwclient\)\.o[ :]*,\1.o \1.do \1.to nwclient.d : ,g' > nwclient.d; \ [ -s nwclient.d ] || rm -f nwclient.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE ncpext.c \ | sed 's,\(ncpext\)\.o[ :]*,\1.o \1.do \1.to ncpext.d : ,g' > ncpext.d; \ [ -s ncpext.d ] || rm -f ncpext.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE strops.c \ | sed 's,\(strops\)\.o[ :]*,\1.o \1.do \1.to strops.d : ,g' > strops.d; \ [ -s strops.d ] || rm -f strops.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE fs/eas.c \ | sed 's,\(fs/eas\)\.o[ :]*,\1.o \1.do \1.to fs/eas.d : ,g' > fs/eas.d; \ [ -s fs/eas.d ] || rm -f fs/eas.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DGLOBALCFGFILE=\"/etc/ncpfs.conf\" -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE cfgfile.c \ | sed 's,\(cfgfile\)\.o[ :]*,\1.o \1.do \1.to cfgfile.d : ,g' > cfgfile.d; \ [ -s cfgfile.d ] || rm -f cfgfile.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE nwtime.c \ | sed 's,\(nwtime\)\.o[ :]*,\1.o \1.do \1.to nwtime.d : ,g' > nwtime.d; \ [ -s nwtime.d ] || rm -f nwtime.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE nwcalls.c \ | sed 's,\(nwcalls\)\.o[ :]*,\1.o \1.do \1.to nwcalls.d : ,g' > nwcalls.d; \ [ -s nwcalls.d ] || rm -f nwcalls.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE queue.c \ | sed 's,\(queue\)\.o[ :]*,\1.o \1.do \1.to queue.d : ,g' > queue.d; \ [ -s queue.d ] || rm -f queue.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE filemgmt.c \ | sed 's,\(filemgmt\)\.o[ :]*,\1.o \1.do \1.to filemgmt.d : ,g' > filemgmt.d; \ [ -s filemgmt.d ] || rm -f filemgmt.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DNWSFIND=\"/usr/bin/nwsfind\" -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE ncplib.c \ | sed 's,\(ncplib\)\.o[ :]*,\1.o \1.do \1.to ncplib.d : ,g' > ncplib.d; \ [ -s ncplib.d ] || rm -f ncplib.d make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/lib' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/lib' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DNWSFIND=\"/usr/bin/nwsfind\" -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ncplib.o -c ncplib.c In file included from ../include/ncp/ncplib.h:66, from ncplib_i.h:57, from ncplib.c:132: ncplib.c: In function 'ipx_make_reachable_rip': ../include/ncp/ipxlib.h:97:28: warning: pointer targets in passing argument 2 of 'ipx_assign_node' differ in signedness [-Wpointer-sign] #define IPX_BROADCAST_NODE ("\xff\xff\xff\xff\xff\xff") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ncplib.c:546:34: note: in expansion of macro 'IPX_BROADCAST_NODE' ipx_assign_node(addr.sipx_node, IPX_BROADCAST_NODE); ^~~~~~~~~~~~~~~~~~ ../include/ncp/ipxlib.h:125:2: note: expected 'const u_int8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' ipx_assign_node(IPXNode dest, CIPXNode src); ^~~~~~~~~~~~~~~ ncplib.c: In function 'run_wdog': ncplib.c:659:38: warning: pointer targets in passing argument 6 of 'x_recvfrom' differ in signedness [-Wpointer-sign] (struct sockaddr*)&sender, &sizeofaddr, 120000, &pktsize); ^~~~~~~~~~~ ncplib.c:430:1: note: expected 'socklen_t *' {aka 'unsigned int *'} but argument is of type 'int *' x_recvfrom(int sock, void *buf, int len, unsigned int flags, ^~~~~~~~~~ ncplib.c: In function 'do_ncp_tcp_call': ncplib.c:1007:51: warning: pointer targets in passing argument 2 of 'do_tcp_rcv' differ in signedness [-Wpointer-sign] result = do_tcp_rcv(conn->ncp_sock, conn->packet + 2, ln); ~~~~~~~~~~~~~^~~ ncplib.c:881:12: note: expected 'unsigned char *' but argument is of type 'char *' static int do_tcp_rcv(int fd, unsigned char* data, size_t len) { ^~~~~~~~~~ ncplib.c: In function 'ncp_kernel_request': ncplib.c:1084:23: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] request.request.addr = conn->packet + sizeof(struct ncp_request_header); ^ ncplib.c:1086:21: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] request.reply.addr = conn->packet + sizeof(struct ncp_reply_header); ^ ncplib.c: In function 'ncp_temp_request': ncplib.c:1116:57: warning: pointer targets in passing argument 4 of 'do_ncp_call' differ in signedness [-Wpointer-sign] err = do_ncp_call(conn, NCP_REQUEST, 1, conn->packet + 6, ncp_packet_size(conn)); ~~~~~~~~~~~~~^~~ ncplib.c:800:1: note: expected 'const unsigned char *' but argument is of type 'char *' do_ncp_call(struct ncp_conn *conn, unsigned int cmd, unsigned int task, const unsigned char* request, size_t request_size) ^~~~~~~~~~~ ncplib.c:1119:61: warning: pointer targets in passing argument 4 of 'do_ncp_tcp_call' differ in signedness [-Wpointer-sign] err = do_ncp_tcp_call(conn, NCP_REQUEST, 1, conn->packet + 6, ncp_packet_size(conn)); ~~~~~~~~~~~~~^~~ ncplib.c:930:1: note: expected 'const unsigned char *' but argument is of type 'char *' do_ncp_tcp_call(struct ncp_conn *conn, unsigned int cmd, unsigned int task, const unsigned char *request, size_t request_size) ^~~~~~~~~~~~~~~ In file included from ../include/ncp/ncplib.h:66, from ncplib_i.h:57, from ncplib.c:132: ncplib.c: In function 'ncp_connect_ipx_addr': ../include/ncp/ipxlib.h:98:28: warning: pointer targets in passing argument 2 of 'ipx_assign_node' differ in signedness [-Wpointer-sign] #define IPX_THIS_NODE ("\0\0\0\0\0\0") ^~~~~~~~~~~~~~~~ ncplib.c:1302:34: note: in expansion of macro 'IPX_THIS_NODE' ipx_assign_node(addr.sipx_node, IPX_THIS_NODE); ^~~~~~~~~~~~~ ncplib.c:628:1: note: expected 'const u_int8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' ipx_assign_node(IPXNode dest, CIPXNode src) ^~~~~~~~~~~~~~~ ncplib.c: In function 'ncp_connect_in_addr': ncplib.c:1371:12: warning: variable 'addrlen' set but not used [-Wunused-but-set-variable] socklen_t addrlen; ^~~~~~~ ncplib.c: In function 'ncp_connect_tcp_addr': ncplib.c:1436:12: warning: variable 'addrlen' set but not used [-Wunused-but-set-variable] socklen_t addrlen; ^~~~~~~ ncplib.c: In function 'ncp_login_conn': ncplib.c:1682:34: warning: pointer targets in passing argument 2 of 'ncp_login_object' differ in signedness [-Wpointer-sign] err = ncp_login_object(conn, object_name, object_type, password); ^~~~~~~~~~~ ncplib.c:219:2: note: expected 'const unsigned char *' but argument is of type 'const char *' ncp_login_object(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~ ncplib.c:1682:60: warning: pointer targets in passing argument 4 of 'ncp_login_object' differ in signedness [-Wpointer-sign] err = ncp_login_object(conn, object_name, object_type, password); ^~~~~~~~ ncplib.c:219:2: note: expected 'const unsigned char *' but argument is of type 'const char *' ncp_login_object(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~ ncplib.c:1702:32: warning: pointer targets in passing argument 2 of 'ncp_login_object' differ in signedness [-Wpointer-sign] err = ncp_login_object(conn, object_name, object_type, password); ^~~~~~~~~~~ ncplib.c:219:2: note: expected 'const unsigned char *' but argument is of type 'const char *' ncp_login_object(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~ ncplib.c:1702:58: warning: pointer targets in passing argument 4 of 'ncp_login_object' differ in signedness [-Wpointer-sign] err = ncp_login_object(conn, object_name, object_type, password); ^~~~~~~~ ncplib.c:219:2: note: expected 'const unsigned char *' but argument is of type 'const char *' ncp_login_object(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~ ncplib.c: At top level: ncplib.c:2587:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t year __attribute__((packed)); ^~~~~~~~ ncplib.c:2588:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t month __attribute__((packed)); ^~~~~~~~ ncplib.c:2589:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t day __attribute__((packed)); ^~~~~~~~ ncplib.c:2590:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t hour __attribute__((packed)); ^~~~~~~~ ncplib.c:2591:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t minute __attribute__((packed)); ^~~~~~~~ ncplib.c:2592:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t second __attribute__((packed)); ^~~~~~~~ ncplib.c:2593:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t wday __attribute__((packed)); ^~~~~~~~ ncplib.c: In function 'ncp_scan_bindery_object': ncplib.c:3133:10: warning: pointer targets in passing argument 5 of 'NWScanObject' differ in signedness [-Wpointer-sign] target->object_name, &object_type, &hasProperties, ~~~~~~^~~~~~~~~~~~~ ncplib.c:3080:9: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} NWCCODE NWScanObject(NWCONN_HANDLE conn, const char *searchName, ^~~~~~~~~~~~ ncplib.c: In function 'ncp_keyed_verify_password': ncplib.c:3505:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] shuffle((byte *) & tmpID, passwd, strlen(passwd), buf); ^~~~~~ In file included from ncplib_i.h:64, from ncplib.c:132: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ncplib.c:3511:30: warning: pointer targets in passing argument 2 of 'ncp_add_pstring' differ in signedness [-Wpointer-sign] ncp_add_pstring(conn, object->object_name); ~~~~~~^~~~~~~~~~~~~ ncplib.c:2615:6: note: expected 'const char *' but argument is of type 'const u_int8_t *' {aka 'const unsigned char *'} void ncp_add_pstring(struct ncp_conn *conn, const char *s) { ^~~~~~~~~~~~~~~ ncplib.c: In function 'NWVerifyObjectPassword': ncplib.c:3526:45: warning: pointer targets in passing argument 2 of 'ncp_get_encryption_key' differ in signedness [-Wpointer-sign] if ((result = ncp_get_encryption_key(conn, ncp_key)) != 0) { ^~~~~~~ ncplib.c:3001:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} ncp_get_encryption_key(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~~~~~~~ ncplib.c:3537:57: warning: pointer targets in passing argument 4 of 'ncp_keyed_verify_password' differ in signedness [-Wpointer-sign] return ncp_keyed_verify_password(conn, &user, ncp_key, objPassword); ^~~~~~~~~~~ ncplib.c:3492:1: note: expected 'const unsigned char *' but argument is of type 'const char *' ncp_keyed_verify_password(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~~~~~~~~~~ ncplib.c: In function 'ncp_login_encrypted': ncplib.c:3577:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] shuffle((byte *) & tmpID, passwd, strlen(passwd), buf); ^~~~~~ In file included from ncplib_i.h:64, from ncplib.c:132: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ncplib.c:3583:30: warning: pointer targets in passing argument 2 of 'ncp_add_pstring' differ in signedness [-Wpointer-sign] ncp_add_pstring(conn, object->object_name); ~~~~~~^~~~~~~~~~~~~ ncplib.c:2615:6: note: expected 'const char *' but argument is of type 'const u_int8_t *' {aka 'const unsigned char *'} void ncp_add_pstring(struct ncp_conn *conn, const char *s) { ^~~~~~~~~~~~~~~ ncplib.c:3597:34: warning: pointer targets in passing argument 2 of 'ncp_sign_start' differ in signedness [-Wpointer-sign] result2 = ncp_sign_start(conn, buf); ^~~ In file included from ncplib.c:132: ncplib_i.h:295:6: note: expected 'const char *' but argument is of type 'unsigned char *' long ncp_sign_start(struct ncp_conn *conn, const char *sign_root); ^~~~~~~~~~~~~~ ncplib.c: In function 'ncp_login_unencrypted': ncplib.c:3619:24: warning: pointer targets in passing argument 2 of 'ncp_add_pstring' differ in signedness [-Wpointer-sign] ncp_add_pstring(conn, passwd); ^~~~~~ ncplib.c:2615:6: note: expected 'const char *' but argument is of type 'const unsigned char *' void ncp_add_pstring(struct ncp_conn *conn, const char *s) { ^~~~~~~~~~~~~~~ ncplib.c: In function 'ncp_change_login_passwd': ncplib.c:3650:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] shuffle((byte *) & id, oldpasswd, strlen(oldpasswd), oldpwd); ^~~~~~~~~ In file included from ncplib_i.h:64, from ncplib.c:132: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ncplib.c:3651:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] shuffle((byte *) & id, newpasswd, strlen(newpasswd), newpwd); ^~~~~~~~~ In file included from ncplib_i.h:64, from ncplib.c:132: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ncplib.c:3653:17: warning: pointer targets in passing argument 1 of 'newpassencrypt' differ in signedness [-Wpointer-sign] newpassencrypt(oldpwd, newpwd, newpwd); ^~~~~~ In file included from ncplib.c:310: nwcrypt.c:306:1: note: expected 'char *' but argument is of type 'unsigned char *' newpassencrypt(char *old, char *new, char *out) ^~~~~~~~~~~~~~ ncplib.c:3653:25: warning: pointer targets in passing argument 2 of 'newpassencrypt' differ in signedness [-Wpointer-sign] newpassencrypt(oldpwd, newpwd, newpwd); ^~~~~~ In file included from ncplib.c:310: nwcrypt.c:306:1: note: expected 'char *' but argument is of type 'unsigned char *' newpassencrypt(char *old, char *new, char *out) ^~~~~~~~~~~~~~ ncplib.c:3653:33: warning: pointer targets in passing argument 3 of 'newpassencrypt' differ in signedness [-Wpointer-sign] newpassencrypt(oldpwd, newpwd, newpwd); ^~~~~~ In file included from ncplib.c:310: nwcrypt.c:306:1: note: expected 'char *' but argument is of type 'unsigned char *' newpassencrypt(char *old, char *new, char *out) ^~~~~~~~~~~~~~ ncplib.c:3654:24: warning: pointer targets in passing argument 1 of 'newpassencrypt' differ in signedness [-Wpointer-sign] newpassencrypt(oldpwd + 8, newpwd + 8, newpwd + 8); ~~~~~~~^~~ In file included from ncplib.c:310: nwcrypt.c:306:1: note: expected 'char *' but argument is of type 'unsigned char *' newpassencrypt(char *old, char *new, char *out) ^~~~~~~~~~~~~~ ncplib.c:3654:36: warning: pointer targets in passing argument 2 of 'newpassencrypt' differ in signedness [-Wpointer-sign] newpassencrypt(oldpwd + 8, newpwd + 8, newpwd + 8); ~~~~~~~^~~ In file included from ncplib.c:310: nwcrypt.c:306:1: note: expected 'char *' but argument is of type 'unsigned char *' newpassencrypt(char *old, char *new, char *out) ^~~~~~~~~~~~~~ ncplib.c:3654:48: warning: pointer targets in passing argument 3 of 'newpassencrypt' differ in signedness [-Wpointer-sign] newpassencrypt(oldpwd + 8, newpwd + 8, newpwd + 8); ~~~~~~~^~~ In file included from ncplib.c:310: nwcrypt.c:306:1: note: expected 'char *' but argument is of type 'unsigned char *' newpassencrypt(char *old, char *new, char *out) ^~~~~~~~~~~~~~ ncplib.c:3655:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((len = strlen(newpasswd)) > 63) { ^~~~~~~~~ In file included from ncplib_i.h:64, from ncplib.c:132: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ncplib.c:3663:30: warning: pointer targets in passing argument 2 of 'ncp_add_pstring' differ in signedness [-Wpointer-sign] ncp_add_pstring(conn, object->object_name); ~~~~~~^~~~~~~~~~~~~ ncplib.c:2615:6: note: expected 'const char *' but argument is of type 'const u_int8_t *' {aka 'const unsigned char *'} void ncp_add_pstring(struct ncp_conn *conn, const char *s) { ^~~~~~~~~~~~~~~ ncplib.c: In function 'ncp_login_object': ncplib.c:3689:45: warning: pointer targets in passing argument 2 of 'ncp_get_encryption_key' differ in signedness [-Wpointer-sign] if ((result = ncp_get_encryption_key(conn, ncp_key)) != 0) { ^~~~~~~ ncplib.c:3001:1: note: expected 'char *' but argument is of type 'unsigned char *' ncp_get_encryption_key(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~~~~~~~ ncplib.c:3690:50: warning: pointer targets in passing argument 3 of 'ncp_login_unencrypted' differ in signedness [-Wpointer-sign] return ncp_login_unencrypted(conn, login_type, username, ^~~~~~~~ ncplib.c:3606:1: note: expected 'const char *' but argument is of type 'const unsigned char *' ncp_login_unencrypted(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~~~~~~ ncplib.c:3694:7: warning: pointer targets in passing argument 3 of 'ncp_get_bindery_object_id' differ in signedness [-Wpointer-sign] username, &user)) != 0) { ^~~~~~~~ ncplib.c:3020:1: note: expected 'const char *' but argument is of type 'const unsigned char *' ncp_get_bindery_object_id(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~~~~~~~~~~ ncplib.c:3710:13: warning: pointer targets in passing argument 3 of 'ncp_read_property_value' differ in signedness [-Wpointer-sign] username, 1, ^~~~~~~~ ncplib.c:3249:1: note: expected 'const char *' but argument is of type 'const unsigned char *' ncp_read_property_value(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~~~~~~~~ ncplib.c: In function 'ncp_get_conn_number': ncplib.c:4044:6: warning: variable 'type' set but not used [-Wunused-but-set-variable] int type; ^~~~ ncplib.c: In function 'ncp_user_disconnect': ncplib.c:1991:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(conn->wdog_pipe, dummy, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ncplib.c: In function 'install_wdog': ncplib.c:746:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o filemgmt.o -c filemgmt.c filemgmt.c: In function 'ncp_add_handle_path2': filemgmt.c:798:35: warning: pointer targets in passing argument 1 of 'ncp_path_to_NW_format2' differ in signedness [-Wpointer-sign] int p = ncp_path_to_NW_format2(encpath, dir_style, conn->current_point, conn->packet + sizeof(conn->packet) - conn->current_point); ^~~~~~~ filemgmt.c:720:1: note: expected 'const char *' but argument is of type 'const unsigned char *' ncp_path_to_NW_format2(const char* path, int dirstyle, unsigned char* buff, int buffsize) ^~~~~~~~~~~~~~~~~~~~~~ filemgmt.c:798:59: warning: pointer targets in passing argument 3 of 'ncp_path_to_NW_format2' differ in signedness [-Wpointer-sign] int p = ncp_path_to_NW_format2(encpath, dir_style, conn->current_point, conn->packet + sizeof(conn->packet) - conn->current_point); ~~~~^~~~~~~~~~~~~~~ filemgmt.c:720:1: note: expected 'unsigned char *' but argument is of type 'char *' ncp_path_to_NW_format2(const char* path, int dirstyle, unsigned char* buff, int buffsize) ^~~~~~~~~~~~~~~~~~~~~~ filemgmt.c: In function 'ncp_extract_file_info': filemgmt.c:822:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(target->entryName, name_len + 1, *name_len); ~~~~~~^~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from filemgmt.c:78: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ filemgmt.c:822:39: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(target->entryName, name_len + 1, *name_len); ~~~~~~~~~^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from filemgmt.c:78: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ filemgmt.c: In function 'ncp_open_create_file_or_subdir': filemgmt.c:1069:57: warning: pointer targets in passing argument 2 of 'ConvertToNWfromDWORD' differ in signedness [-Wpointer-sign] ConvertToNWfromDWORD(target->server_file_handle, target->file_handle); ~~~~~~^~~~~~~~~~~~~ In file included from filemgmt.c:82: ncplib_i.h:283:20: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} static inline void ConvertToNWfromDWORD(u_int32_t sfd, char nwhandle[6]) { ^~~~~~~~~~~~~~~~~~~~ filemgmt.c: In function 'ncp_ns_get_full_name_int': filemgmt.c:1804:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] getpos = ncp_reply_data(conn, 14); ^ filemgmt.c: In function 'ncp_ns_obtain_entry_info': filemgmt.c:2834:4: warning: pointer targets in passing argument 3 of 'ncp_ns_extract_file_info' differ in signedness [-Wpointer-sign] ncp_reply_data(conn, 0), conn->ncp_reply_size, ^~~~~~~~~~~~~~~~~~~~~~~ filemgmt.c:2500:16: note: expected 'const u_int8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' static NWCCODE ncp_ns_extract_file_info( ^~~~~~~~~~~~~~~~~~~~~~~~ filemgmt.c: In function 'ncp_ns_open_create_entry': filemgmt.c:2912:3: warning: pointer targets in passing argument 3 of 'ncp_ns_extract_file_info' differ in signedness [-Wpointer-sign] ncp_reply_data(conn, 6), conn->ncp_reply_size - 6, ^~~~~~~~~~~~~~~~~~~~~~~ filemgmt.c:2500:16: note: expected 'const u_int8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' static NWCCODE ncp_ns_extract_file_info( ^~~~~~~~~~~~~~~~~~~~~~~~ filemgmt.c: In function 'ncp_get_mount_volume_list_compat': filemgmt.c:3430:49: warning: pointer targets in passing argument 3 of 'ncp_get_volume_name' differ in signedness [-Wpointer-sign] err = ncp_get_volume_name(conn, vol, buffer+5, 17); ~~~~~~^~ filemgmt.c:213:1: note: expected 'char *' but argument is of type 'unsigned char *' ncp_get_volume_name(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~~~~ filemgmt.c:3432:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] real = strlen(buffer+5); ~~~~~~^~ In file included from filemgmt.c:78: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ filemgmt.c: In function 'ncp_volume_list_next': filemgmt.c:3623:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] h->bufpos = h->buffer = b; ^ filemgmt.c:3624:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] h->bufend = b + blen; ^ filemgmt.c: In function 'NWScanOpenFilesByConn2': filemgmt.c:4088:20: warning: pointer targets in initialization of 'u_int8_t *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] u_int8_t* maxf = ncp_reply_data(conn, 0) + conn->ncp_reply_size; ^~~~~~~~~~~~~~ filemgmt.c:4090:39: warning: pointer targets in passing argument 2 of '__ncp_openfile_fetch' differ in signedness [-Wpointer-sign] np = __ncp_openfile_fetch(openFile, ncp_reply_data(conn, 4), maxf); ^~~~~~~~~~~~~~~~~~~~~~~ filemgmt.c:4007:1: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' __ncp_openfile_fetch(OPEN_FILE_CONN *openFile, u_int8_t* finfo, u_int8_t* end) { ^~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o queue.o -c queue.c queue.c: In function 'ncp_reply_queue_job': queue.c:67:48: warning: pointer targets in passing argument 2 of 'ConvertToNWfromDWORD' differ in signedness [-Wpointer-sign] ConvertToNWfromDWORD(job->j.JobFileHandle, job->file_handle); ~~~^~~~~~~~~~~~~ In file included from queue.c:33: ncplib_i.h:283:20: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} static inline void ConvertToNWfromDWORD(u_int32_t sfd, char nwhandle[6]) { ^~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o nwcalls.o -c nwcalls.c nwcalls.c: In function 'NWRequest': nwcalls.c:140:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] ptr = ncp_reply_data(conn, 0); ^ nwcalls.c: In function 'NWGetObjectName': nwcalls.c:455:29: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] if (name) strncpy(name, spc.object_name, NCP_BINDERY_NAME_LEN); ~~~^~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/errno.h:25, from nwcalls.c:94: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ nwcalls.c: In function '__NWReadFileServerInfo': nwcalls.c:1053:21: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] sn = strdup(target.ServerName); ~~~~~~^~~~~~~~~~~ In file included from nwcalls.c:95: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} extern char *strdup (const char *__s) ^~~~~~ nwcalls.c: In function 'NWCCGetConnInfo': nwcalls.c:1234:30: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] conn->user = strdup(obj.object_name); ~~~^~~~~~~~~~~~ In file included from nwcalls.c:95: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} extern char *strdup (const char *__s) ^~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o nwtime.o -c nwtime.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DGLOBALCFGFILE=\"/etc/ncpfs.conf\" -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o cfgfile.o -c cfgfile.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o fs/eas.o -c fs/eas.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o strops.o -c strops.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ncpext.o -c ncpext.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o nwclient.o -c nwclient.c nwclient.c: In function 'NWCXAttachToTreeByName': nwclient.c:726:76: warning: pointer targets in passing argument 4 of 'NWDSScanForAvailableTrees' differ in signedness [-Wpointer-sign] while (!found && (err=NWDSScanForAvailableTrees(ctx,connInit,"*",&scanIndex,myTreeName)==0)){ ^~~~~~~~~~ In file included from nwclient.c:82: ../include/ncp/nwnet.h:940:11: note: expected 'nint32 *' {aka 'int *'} but argument is of type 'nuint32 *' {aka 'unsigned int *'} NWDSCCODE NWDSScanForAvailableTrees(NWDSContextHandle context, ^~~~~~~~~~~~~~~~~~~~~~~~~ nwclient.c:747:42: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp ("AXIS",obj.object_name,4)) { ~~~^~~~~~~~~~~~ In file included from nwclient.c:74: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ nwclient.c:750:53: warning: pointer targets in passing argument 2 of 'NWCCOpenConnByName' differ in signedness [-Wpointer-sign] err=NWCCOpenConnByName(connInit,obj.object_name,NWCC_NAME_FORMAT_BIND, ~~~^~~~~~~~~~~~ In file included from nwclient.c:81: ../include/ncp/nwcalls.h:509:9: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} NWCCODE NWCCOpenConnByName(NWCONN_HANDLE startConn, const char *serverName, ^~~~~~~~~~~~~~~~~~ nwclient.c: In function 'docopy_login_script': nwclient.c:1534:72: warning: pointer targets in passing argument 6 of '__NWDSOpenStream' differ in signedness [-Wpointer-sign] err= __NWDSOpenStream(ctx, lsi->user, attrName, 0, &fileConn, hndl, &fileSize); ^~~~ In file included from nwclient.c:82: ../include/ncp/nwnet.h:662:11: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} NWDSCCODE __NWDSOpenStream(NWDSContextHandle ctx, const NWDSChar* objectName, ^~~~~~~~~~~~~~~~ nwclient.c:1536:52: warning: pointer targets in passing argument 2 of 'ncp_read' differ in signedness [-Wpointer-sign] lsi->bytesRead=ncp_read ( fileConn,hndl,0, lsi->max-1,lsi->buffer); ^~~~ In file included from ../include/ncp/nwcalls.h:83, from nwclient.c:81: ../include/ncp/ncplib.h:886:2: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} ncp_read(NWCONN_HANDLE conn, const char fileHandle[6], ^~~~~~~~ nwclient.c:1542:41: warning: pointer targets in passing argument 2 of 'ncp_close_file' differ in signedness [-Wpointer-sign] ncp_close_file(fileConn,hndl); ^~~~ In file included from ../include/ncp/nwcalls.h:83, from nwclient.c:81: ../include/ncp/ncplib.h:806:6: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} long ncp_close_file(NWCONN_HANDLE conn, const char fileHandle[6]); ^~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o resolve.o -c resolve.c resolve.c: In function 'sap_name_cmp': resolve.c:438:16: warning: pointer targets in passing argument 1 of 'strnlen' differ in signedness [-Wpointer-sign] ln = strnlen(my, cmplen); ^~ In file included from resolve.c:28: /usr/include/string.h:390:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strnlen (const char *__string, size_t __maxlen) ^~~~~~~ In file included from ../include/ncp/ncplib.h:66, from ../include/ncp/nwcalls.h:83, from resolve.c:39: resolve.c: In function 'sap_process': ../include/ncp/ipxlib.h:97:28: warning: pointer targets in passing argument 2 of 'ipx_assign_node' differ in signedness [-Wpointer-sign] #define IPX_BROADCAST_NODE ("\xff\xff\xff\xff\xff\xff") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolve.c:490:34: note: in expansion of macro 'IPX_BROADCAST_NODE' ipx_assign_node(addr.sipx_node, IPX_BROADCAST_NODE); ^~~~~~~~~~~~~~~~~~ ../include/ncp/ipxlib.h:125:2: note: expected 'const u_int8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' ipx_assign_node(IPXNode dest, CIPXNode src); ^~~~~~~~~~~~~~~ resolve.c:539:43: warning: pointer targets in passing argument 2 of 'sap_name_cmp' differ in signedness [-Wpointer-sign] if (sap_name_cmp(sap_request + 4, ident->server_name, cmplen)) ~~~~~^~~~~~~~~~~~~ resolve.c:432:12: note: expected 'const unsigned char *' but argument is of type 'char *' static int sap_name_cmp(const unsigned char *my, const unsigned char *net, size_t cmplen) { ^~~~~~~~~~~~ resolve.c:592:45: warning: pointer targets in passing argument 2 of 'sap_name_cmp' differ in signedness [-Wpointer-sign] if (sap_name_cmp(sap_request + 4, ident->server_name, cmplen)) ~~~~~^~~~~~~~~~~~~ resolve.c:432:12: note: expected 'const unsigned char *' but argument is of type 'char *' static int sap_name_cmp(const unsigned char *my, const unsigned char *net, size_t cmplen) { ^~~~~~~~~~~~ resolve.c: In function 'sap_start': resolve.c:638:31: warning: pointer targets in passing argument 1 of 'memcpy_toupper' differ in signedness [-Wpointer-sign] memcpy_toupper(sap_request + 4, name, ln); ~~~~~~~~~~~~^~~ resolve.c:83:13: note: expected 'char *' but argument is of type 'unsigned char *' static void memcpy_toupper(char* dst, const char* src, size_t ln) { ^~~~~~~~~~~~~~ resolve.c:653:31: warning: pointer targets in passing argument 1 of 'memcpy_toupper' differ in signedness [-Wpointer-sign] memcpy_toupper(sap_request + 4, name, ln); ~~~~~~~~~~~~^~~ resolve.c:83:13: note: expected 'char *' but argument is of type 'unsigned char *' static void memcpy_toupper(char* dst, const char* src, size_t ln) { ^~~~~~~~~~~~~~ resolve.c:707:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fds[1], "R", 1); ^~~~~~~~~~~~~~~~~~~~~ resolve.c: In function 'sap_process': resolve.c:607:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &u32, sizeof(u32)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o fs/filelock.o -c fs/filelock.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o stats.o -c stats.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ndscrypt.o -c ndscrypt.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o nwnet.o -c nwnet.c nwnet.c: In function 'NWDSCreateContextHandle': nwnet.c:1218:55: warning: passing argument 3 of 'NWDSSetTransport' from incompatible pointer type [-Wincompatible-pointer-types] err = NWDSSetTransport(tmp, sizeof(t)/sizeof(t[0]), t); ^ nwnet.c:1129:87: note: expected 'const NET_ADDRESS_TYPE *' {aka 'const enum NET_ADDRESS_TYPE *'} but argument is of type 'const nuint32 *' {aka 'const unsigned int *'} NWDSCCODE NWDSSetTransport(NWDSContextHandle ctx, size_t len, const NET_ADDRESS_TYPE* transports) { ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ nwnet.c: In function 'NWDSSetupBuf': nwnet.c:1585:31: warning: pointer targets in assignment from 'char *' to 'nuint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] buf->dataend = buf->allocend = (char*)ptr + len; ^ nwnet.c: In function 'NWDSGetDSIRaw': nwnet.c:1877:53: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(conn, DSV_READ_ENTRY_INFO, x, 16, rpl, ^ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'unsigned char *' ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c:1877:60: warning: pointer targets in passing argument 5 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(conn, DSV_READ_ENTRY_INFO, x, 16, rpl, ^~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'char *' but argument is of type 'unsigned char *' ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function 'NWDSXlateCtxToUni': nwnet.c:1965:72: warning: pointer targets in passing argument 5 of '__NWULocalToInternal' differ in signedness [-Wpointer-sign] err2 = __NWULocalToInternal(ctx->xlate.from, tbuff, tbuff+128, src, srcEnd, NULL, &tEnd, (const char**)(const char*)&src); ^~~~~~ nwnet.c:661:12: note: expected 'const char *' but argument is of type 'const nuint8 *' {aka 'const unsigned char *'} static int __NWULocalToInternal(my_iconv_t h, wchar_t* dest, wchar_t* destEnd, ^~~~~~~~~~~~~~~~~~~~ nwnet.c: In function 'NWDSGetAttrSize_PO_ADDRESS': nwnet.c:3205:10: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] nuint32 cnt; ^~~ nwnet.c: In function 'NWDSGetObjectNameAndInfo': nwnet.c:3763:9: warning: pointer targets in assignment from 'nuint8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] *info = buffer->curPos; ^ nwnet.c: In function '__NWDSResolveNameInt': nwnet.c:4510:6: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] rq->data, rq->curPos-rq->data, ~~^~~~~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function 'NWDSGetServerNameAddress': nwnet.c:5033:56: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(conn, DSV_GET_SERVER_ADDRESS, rq, sizeof(rq), rpl, ^~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'unsigned char *' ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function '__NWDSCompare': nwnet.c:5213:45: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(conn, DSV_COMPARE, rq, pos, rpl, sizeof(rpl), &rpl_len); ^~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'unsigned char *' ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c:5213:54: warning: pointer targets in passing argument 5 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(conn, DSV_COMPARE, rq, pos, rpl, sizeof(rpl), &rpl_len); ^~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'char *' but argument is of type 'unsigned char *' ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function '__NWDSCloseIterationV0': nwnet.c:5339:54: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] return ncp_send_nds_frag(conn, DSV_CLOSE_ITERATION, rq, sizeof(rq), rpl, sizeof(rpl), &rpl_len); ^~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'unsigned char *' ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c:5339:70: warning: pointer targets in passing argument 5 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] return ncp_send_nds_frag(conn, DSV_CLOSE_ITERATION, rq, sizeof(rq), rpl, sizeof(rpl), &rpl_len); ^~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'char *' but argument is of type 'unsigned char *' ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function '__NWDSAddObjectV0': nwnet.c:5388:49: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(conn, DSV_ADD_ENTRY, rq.data, rq.curPos - rq.data, ~~^~~~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function '__NWDSAddObjectV2': nwnet.c:5420:49: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(conn, DSV_ADD_ENTRY, rq.data, rq.curPos - rq.data, ~~^~~~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function '__NWDSModifyObjectV0': nwnet.c:5516:52: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(conn, DSV_MODIFY_ENTRY, rq.data, rq.curPos - rq.data, ~~^~~~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function '__NWDSModifyObjectV2': nwnet.c:5544:52: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(conn, DSV_MODIFY_ENTRY, rq.data, rq.curPos - rq.data, ~~^~~~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function '__NWDSModifyRDNV0': nwnet.c:5621:50: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(conn, DSV_MODIFY_RDN, rq.data, rq.curPos - rq.data, ~~^~~~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function '__NWDSBeginMoveEntryV0': nwnet.c:5731:59: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(dstConn, DSV_BEGIN_MOVE_ENTRY, rq.data, rq.curPos - rq.data, ~~^~~~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function '__NWDSFinishMoveEntryV0': nwnet.c:5761:60: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(srcConn, DSV_FINISH_MOVE_ENTRY, rq.data, rq.curPos - rq.data, ~~^~~~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function '__fillTree': nwnet.c:6376:13: warning: pointer targets in initialization of 'char *' from 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] char* p = obj.object_name; ^~~ nwnet.c: In function 'NWDSFindConnection': nwnet.c:1715:26: warning: 'conndata' may be used uninitialized in this function [-Wmaybe-uninitialized] !memcmp(conndata + 12, data, len)) { ~~~~~~~~~^~~~ nwnet.c:1698:12: note: 'conndata' was declared here nuint8* conndata; ^~~~~~~~ nwnet.c:1712:10: warning: 'connaddresses' may be used uninitialized in this function [-Wmaybe-uninitialized] while (connaddresses--) { ^ nwnet.c:1697:18: note: 'connaddresses' was declared here NWObjectCount connaddresses; ^~~~~~~~~~~~~ nwnet.c: In function 'NWDSGetAttrVal_OBJECT_ACL': nwnet.c:2811:19: warning: 'priv' may be used uninitialized in this function [-Wmaybe-uninitialized] oacl->privileges = priv; ~~~~~~~~~~~~~~~~~^~~~~~ nwnet.c: In function 'NWDSGetServerName': nwnet.c:4153:14: warning: 'le32' may be used uninitialized in this function [-Wmaybe-uninitialized] *partcount = le32; ~~~~~~~~~~~^~~~~~ nwnet.c: In function 'NWDSSpyConns': nwnet.c:6627:51: warning: '%s' directive writing up to 255 bytes into a region of size between 207 and 228 [-Wformat-overflow=] sprintf (buffer,"state= %x,uid= %x,uid2=%x,serv=%s,usr=%s\t",conn->connState,conn->user_id,myID,fsn,me); ^~ ~~~ In file included from /usr/include/stdio.h:862, from ../include/ncp/ncplib.h:63, from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 35 and 566 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o wcs.o -c wcs.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o rdn.o -c rdn.c rdn.c: In function 'NWDSAbbreviateNameW': rdn.c:606:9: warning: variable 'oldDepth' set but not used [-Wunused-but-set-variable] size_t oldDepth; ^~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/filter.o -c ds/filter.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/search.o -c ds/search.c ds/search.c: In function 'GetCurrentName': ds/search.c:286:10: warning: pointer targets in assignment from 'char *' to 'nuint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] curPos = namePtr->data; ^ ds/search.c: In function 'NWDSExtSyncSearch': ds/search.c:504:3: warning: 'lowlevelIH' may be used uninitialized in this function [-Wmaybe-uninitialized] __NWDSIHUpdate(currIH, err, lowlevelIH, iterHandle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/request.o -c ds/request.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/setkeys.o -c ds/setkeys.c ds/setkeys.c: In function '__NWDSGenerateObjectKeyPair': ds/setkeys.c:272:26: warning: pointer targets in passing argument 1 of '__NWDSHashPasswordUpper' differ in signedness [-Wpointer-sign] __NWDSHashPasswordUpper(objectPassword, pseudoID, pwdLen, pwdHash); ^~~~~~~~~~~~~~ ds/setkeys.c:222:13: note: expected 'const nuint8 *' {aka 'const unsigned char *'} but argument is of type 'const char *' static void __NWDSHashPasswordUpper(const nuint8* objectPassword, ^~~~~~~~~~~~~~~~~~~~~~~ ds/setkeys.c: In function 'NWDSVerifyObjectPassword': ds/setkeys.c:378:21: warning: pointer targets in passing argument 1 of '__NWDSHashPassword' differ in signedness [-Wpointer-sign] __NWDSHashPassword(objectPassword, pseudoID, pwdLen, pwdHash); ^~~~~~~~~~~~~~ ds/setkeys.c:239:13: note: expected 'const nuint8 *' {aka 'const unsigned char *'} but argument is of type 'const char *' static void __NWDSHashPassword(const nuint8* objectPassword, ^~~~~~~~~~~~~~~~~~ ds/setkeys.c: In function '__NWDSChangeObjectPasswordStep2': ds/setkeys.c:409:17: warning: pointer targets in passing argument 2 of 'shuffle' differ in signedness [-Wpointer-sign] shuffle(tmpID, oldPassword, strlen(oldPassword), oldPwdHash); ^~~~~~~~~~~ In file included from ds/setkeys.c:45: ./ncplib_i.h:297:6: note: expected 'const unsigned char *' but argument is of type 'const char *' void shuffle(const unsigned char *objid, const unsigned char *pwd, int buflen, unsigned char *out); ^~~~~~~ ds/setkeys.c:410:17: warning: pointer targets in passing argument 2 of 'shuffle' differ in signedness [-Wpointer-sign] shuffle(tmpID, newPassword, strlen(newPassword), newPwdHash); ^~~~~~~~~~~ In file included from ds/setkeys.c:45: ./ncplib_i.h:297:6: note: expected 'const unsigned char *' but argument is of type 'const char *' void shuffle(const unsigned char *objid, const unsigned char *pwd, int buflen, unsigned char *out); ^~~~~~~ ds/setkeys.c: In function 'nds_login': ds/setkeys.c:539:26: warning: pointer targets in passing argument 1 of '__NWDSHashPasswordUpper' differ in signedness [-Wpointer-sign] __NWDSHashPasswordUpper(objectPassword, pseudoID, pwdLen, pwdHash); ^~~~~~~~~~~~~~ ds/setkeys.c:222:13: note: expected 'const nuint8 *' {aka 'const unsigned char *'} but argument is of type 'const char *' static void __NWDSHashPasswordUpper(const nuint8* objectPassword, ^~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/dsgetstat.o -c ds/dsgetstat.c ds/dsgetstat.c: In function 'NWDSGetDSVerInfo': ds/dsgetstat.c:265:27: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] unsigned char* src = asciiName; ^~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/partops.o -c ds/partops.c ds/partops.c: In function 'NWDSGetPartitionExtInfoPtr': ds/partops.c:342:12: warning: pointer targets in assignment from 'nuint8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] *infoPtr = partitions->curPos; ^ ds/partops.c:347:12: warning: pointer targets in assignment from 'nuint8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] *infoPtr = partitions->curPos - 4; ^ ds/partops.c:375:14: warning: pointer targets in assignment from 'nuint8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] *infoPtrEnd = partitions->curPos; ^ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/iterhandle.o -c ds/iterhandle.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/effright.o -c ds/effright.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/dsread.o -c ds/dsread.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/dslist.o -c ds/dslist.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/bindctx.o -c ds/bindctx.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/classes.o -c ds/classes.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/syntaxes.o -c ds/syntaxes.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/dsstream.o -c ds/dsstream.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o o_ndslib.o -c o_ndslib.c o_ndslib.c: In function 'nds_resolve_name': o_ndslib.c:159:30: warning: pointer targets in passing argument 2 of 'NWDSBufGetLE32' differ in signedness [-Wpointer-sign] err = NWDSBufGetLE32(rp, &flags); ^~~~~~ In file included from o_ndslib.c:39: nwnet_i.h:218:25: note: expected 'nuint32 *' {aka 'unsigned int *'} but argument is of type 'int *' static inline NWDSCCODE NWDSBufGetLE32(Buf_T* buf, nuint32* val) { ^~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ncpsign.o -c ncpsign.c ncpsign.c: In function 'nwsign': ncpsign.c:52:22: warning: pointer targets in initialization of 'unsigned int *' from 'int *' differ in signedness [-Wpointer-sign] unsigned int *data2=(int *)r_data2; ^ ncpsign.c: In function 'sign_init': ncpsign.c:95:41: warning: pointer targets in initialization of 'const unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] static const unsigned char *initdata = "Authorized NetWare Client"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ncpsign.c:102:10: warning: pointer targets in passing argument 1 of 'nwsign' differ in signedness [-Wpointer-sign] nwsign(initlast, msg, hash); ^~~~~~~~ ncpsign.c:47:13: note: expected 'const char *' but argument is of type 'const unsigned char *' static void nwsign(const char r_data1[16], char r_data2[64], char outdata[16]) { ^~~~~~ ncpsign.c:102:20: warning: pointer targets in passing argument 2 of 'nwsign' differ in signedness [-Wpointer-sign] nwsign(initlast, msg, hash); ^~~ ncpsign.c:47:13: note: expected 'char *' but argument is of type 'unsigned char *' static void nwsign(const char r_data1[16], char r_data2[64], char outdata[16]) { ^~~~~~ ncpsign.c:102:25: warning: pointer targets in passing argument 3 of 'nwsign' differ in signedness [-Wpointer-sign] nwsign(initlast, msg, hash); ^~~~ ncpsign.c:47:13: note: expected 'char *' but argument is of type 'unsigned char *' static void nwsign(const char r_data1[16], char r_data2[64], char outdata[16]) { ^~~~~~ ncpsign.c: In function '__sign_packet': ncpsign.c:121:36: warning: pointer targets in passing argument 2 of 'nwsign' differ in signedness [-Wpointer-sign] nwsign(conn->sign_data.sign_last, data, conn->sign_data.sign_last); ^~~~ ncpsign.c:47:13: note: expected 'char *' but argument is of type 'unsigned char *' static void nwsign(const char r_data1[16], char r_data2[64], char outdata[16]) { ^~~~~~ ncpsign.c: In function 'sign_verify_reply': ncpsign.c:137:36: warning: pointer targets in passing argument 2 of 'nwsign' differ in signedness [-Wpointer-sign] nwsign(conn->sign_data.sign_last, data, hash); ^~~~ ncpsign.c:47:13: note: expected 'char *' but argument is of type 'unsigned char *' static void nwsign(const char r_data1[16], char r_data2[64], char outdata[16]) { ^~~~~~ ncpsign.c:137:42: warning: pointer targets in passing argument 3 of 'nwsign' differ in signedness [-Wpointer-sign] nwsign(conn->sign_data.sign_last, data, hash); ^~~~ ncpsign.c:47:13: note: expected 'char *' but argument is of type 'unsigned char *' static void nwsign(const char r_data1[16], char r_data2[64], char outdata[16]) { ^~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -DPORTABLE -DUPTON -o ndslib.o -c ndslib.c ndslib.c: In function 'get_public_key': ndslib.c:410:9: warning: pointer targets in assignment from 'u_int8_t *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] keybuf = ost->data; ^ ndslib.c:425:8: warning: pointer targets in assignment from 'char *' to 'nuint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] *key = kptr; ^ ndslib.c: In function '__AlignAndEncryptBlockWithSK': ndslib.c:449:17: warning: pointer targets in passing argument 1 of 'nwencryptblock' differ in signedness [-Wpointer-sign] nwencryptblock(hash, odata, ilen, odata); ^~~~ In file included from ndslib.c:69: ndscrypt.h:28:6: note: expected 'const char *' but argument is of type 'const nuint8 *' {aka 'const unsigned char *'} void nwencryptblock(const char *cryptkey, const char *buf, int buflen, ^~~~~~~~~~~~~~ ndslib.c: In function '__NWEncryptWithSK': ndslib.c:473:11: warning: pointer targets in passing argument 1 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(hash, 8, hashsrc, hashsrclen); ^~~~ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c: In function 'rsa_crypt2': ndslib.c:515:18: warning: pointer targets in passing argument 1 of 'modexpkey' differ in signedness [-Wpointer-sign] err = modexpkey(s_key, buf2, buf2, 56); ^~~~~ ndslib.c:349:13: note: expected 'const char *' but argument is of type 'const nuint8 *' {aka 'const unsigned char *'} static long modexpkey(const char *s_key, char *buf, char *outbuf, int bufsize) { ^~~~~~~~~ ndslib.c: In function '__NWDSGetPrivateKey': ndslib.c:792:13: warning: pointer targets in passing argument 1 of 'fillrandom' differ in signedness [-Wpointer-sign] fillrandom(p, 4); ^ ndslib.c:191:13: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} static void fillrandom(char *buf, int buflen) { ^~~~~~~~~~ ndslib.c:795:13: warning: pointer targets in passing argument 1 of 'fillrandom' differ in signedness [-Wpointer-sign] fillrandom(p, 1024); ^ ndslib.c:191:13: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} static void fillrandom(char *buf, int buflen) { ^~~~~~~~~~ ndslib.c:848:11: warning: pointer targets in passing argument 1 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(temp, 8, crypt1strc, 28); ^~~~ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c:848:20: warning: pointer targets in passing argument 3 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(temp, 8, crypt1strc, 28); ^~~~~~~~~~ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c:849:17: warning: pointer targets in passing argument 1 of 'nwdecryptblock' differ in signedness [-Wpointer-sign] nwdecryptblock(temp, p, n3, p); ^~~~ In file included from ndslib.c:69: ndscrypt.h:30:6: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwdecryptblock(const char *cryptkey, const char *buf, int buflen, ^~~~~~~~~~~~~~ ndslib.c:849:23: warning: pointer targets in passing argument 2 of 'nwdecryptblock' differ in signedness [-Wpointer-sign] nwdecryptblock(temp, p, n3, p); ^ In file included from ndslib.c:69: ndscrypt.h:30:6: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwdecryptblock(const char *cryptkey, const char *buf, int buflen, ^~~~~~~~~~~~~~ ndslib.c:849:30: warning: pointer targets in passing argument 4 of 'nwdecryptblock' differ in signedness [-Wpointer-sign] nwdecryptblock(temp, p, n3, p); ^ In file included from ndslib.c:69: ndscrypt.h:30:6: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwdecryptblock(const char *cryptkey, const char *buf, int buflen, ^~~~~~~~~~~~~~ ndslib.c:852:10: warning: pointer targets in passing argument 1 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(temp, 5, p, n3 - 5); ^~~~ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c:852:19: warning: pointer targets in passing argument 3 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(temp, 5, p, n3 - 5); ^ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c:889:11: warning: pointer targets in passing argument 1 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(hashshuf, 8, pwd, 16); ^~~~~~~~ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c:889:24: warning: pointer targets in passing argument 3 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(hashshuf, 8, pwd, 16); ^~~ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'const char *' but argument is of type 'const nuint8 *' {aka 'const unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c:891:17: warning: pointer targets in passing argument 1 of 'nwdecryptblock' differ in signedness [-Wpointer-sign] nwdecryptblock(hashshuf, p, n3, p); ^~~~~~~~ In file included from ndslib.c:69: ndscrypt.h:30:6: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwdecryptblock(const char *cryptkey, const char *buf, int buflen, ^~~~~~~~~~~~~~ ndslib.c:891:27: warning: pointer targets in passing argument 2 of 'nwdecryptblock' differ in signedness [-Wpointer-sign] nwdecryptblock(hashshuf, p, n3, p); ^ In file included from ndslib.c:69: ndscrypt.h:30:6: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwdecryptblock(const char *cryptkey, const char *buf, int buflen, ^~~~~~~~~~~~~~ ndslib.c:891:34: warning: pointer targets in passing argument 4 of 'nwdecryptblock' differ in signedness [-Wpointer-sign] nwdecryptblock(hashshuf, p, n3, p); ^ In file included from ndslib.c:69: ndscrypt.h:30:6: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwdecryptblock(const char *cryptkey, const char *buf, int buflen, ^~~~~~~~~~~~~~ ndslib.c:931:16: warning: pointer targets in assignment from 'char *' to 'nuint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] *privateKey = tb; ^ ndslib.c: In function 'nds_beginauth2': ndslib.c:968:51: warning: pointer targets in passing argument 3 of '__NWDSBeginAuthenticationV0' differ in signedness [-Wpointer-sign] err = __NWDSBeginAuthenticationV0(conn, user_id, randno, authid, &rpb); ^~~~~~ In file included from ndslib.c:70: nwnet_i.h:550:11: note: expected 'const nuint8 *' {aka 'const unsigned char *'} but argument is of type 'char *' NWDSCCODE __NWDSBeginAuthenticationV0( ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ndslib.c:972:4: warning: pointer targets in assignment from 'nuint8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] p = rpb.curPos; ^ ndslib.c:973:7: warning: pointer targets in assignment from 'nuint8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] pend = rpb.dataend; ^ ndslib.c: In function 'nds_beginauth': ndslib.c:1096:46: warning: pointer targets in passing argument 4 of 'nds_beginauth2' differ in signedness [-Wpointer-sign] err = nds_beginauth2(conn, user_id, authid, s_key); ^~~~~ ndslib.c:950:18: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} static NWDSCCODE nds_beginauth2( ^~~~~~~~~~~~~~ ndslib.c: In function 'NWDSAuthenticateConn': ndslib.c:1334:36: warning: pointer targets in passing argument 2 of 'gen_auth_data' differ in signedness [-Wpointer-sign] if ((err = gen_auth_data(&keybuf, u_key, u_priv_key, ^~~~~ ndslib.c:1101:18: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} static NWDSCCODE gen_auth_data( ^~~~~~~~~~~~~ ndslib.c:1334:43: warning: pointer targets in passing argument 3 of 'gen_auth_data' differ in signedness [-Wpointer-sign] if ((err = gen_auth_data(&keybuf, u_key, u_priv_key, ^~~~~~~~~~ ndslib.c:1101:18: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} static NWDSCCODE gen_auth_data( ^~~~~~~~~~~~~ ndslib.c: In function 'CreatePublicKey': ndslib.c:1568:10: warning: pointer targets in passing argument 1 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(hash, sizeof(hash), pubkey, ptr - pubkey); ^~~~ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c:1568:30: warning: pointer targets in passing argument 3 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(hash, sizeof(hash), pubkey, ptr - pubkey); ^~~~~~ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c: In function 'CreatePrivateKey': ndslib.c:1615:10: warning: pointer targets in passing argument 1 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(hash, sizeof(hash), privkey, ptr - privkey); ^~~~ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c:1615:30: warning: pointer targets in passing argument 3 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(hash, sizeof(hash), privkey, ptr - privkey); ^~~~~~~ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c: In function 'fillrandom': ndslib.c:200:17: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, global_randbuf, RANDBUFSIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -DPORTABLE -DUPTON -o mpilib.o -c mpilib.c ar r libncp.a ncplib.o filemgmt.o queue.o nwcalls.o nwtime.o cfgfile.o fs/eas.o strops.o ncpext.o nwclient.o resolve.o fs/filelock.o stats.o ndscrypt.o nwnet.o wcs.o rdn.o ds/filter.o ds/search.o ds/request.o ds/setkeys.o ds/dsgetstat.o ds/partops.o ds/iterhandle.o ds/effright.o ds/dsread.o ds/dslist.o ds/bindctx.o ds/classes.o ds/syntaxes.o ds/dsstream.o o_ndslib.o ncpsign.o ndslib.o mpilib.o ar: creating libncp.a i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DNWSFIND=\"/usr/bin/nwsfind\" -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ncplib.do -c ncplib.c In file included from ../include/ncp/ncplib.h:66, from ncplib_i.h:57, from ncplib.c:132: ncplib.c: In function 'ipx_make_reachable_rip': ../include/ncp/ipxlib.h:97:28: warning: pointer targets in passing argument 2 of 'ipx_assign_node' differ in signedness [-Wpointer-sign] #define IPX_BROADCAST_NODE ("\xff\xff\xff\xff\xff\xff") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ncplib.c:546:34: note: in expansion of macro 'IPX_BROADCAST_NODE' ipx_assign_node(addr.sipx_node, IPX_BROADCAST_NODE); ^~~~~~~~~~~~~~~~~~ ../include/ncp/ipxlib.h:125:2: note: expected 'const u_int8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' ipx_assign_node(IPXNode dest, CIPXNode src); ^~~~~~~~~~~~~~~ ncplib.c: In function 'run_wdog': ncplib.c:659:38: warning: pointer targets in passing argument 6 of 'x_recvfrom' differ in signedness [-Wpointer-sign] (struct sockaddr*)&sender, &sizeofaddr, 120000, &pktsize); ^~~~~~~~~~~ ncplib.c:430:1: note: expected 'socklen_t *' {aka 'unsigned int *'} but argument is of type 'int *' x_recvfrom(int sock, void *buf, int len, unsigned int flags, ^~~~~~~~~~ ncplib.c: In function 'do_ncp_tcp_call': ncplib.c:1007:51: warning: pointer targets in passing argument 2 of 'do_tcp_rcv' differ in signedness [-Wpointer-sign] result = do_tcp_rcv(conn->ncp_sock, conn->packet + 2, ln); ~~~~~~~~~~~~~^~~ ncplib.c:881:12: note: expected 'unsigned char *' but argument is of type 'char *' static int do_tcp_rcv(int fd, unsigned char* data, size_t len) { ^~~~~~~~~~ ncplib.c: In function 'ncp_kernel_request': ncplib.c:1084:23: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] request.request.addr = conn->packet + sizeof(struct ncp_request_header); ^ ncplib.c:1086:21: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] request.reply.addr = conn->packet + sizeof(struct ncp_reply_header); ^ ncplib.c: In function 'ncp_temp_request': ncplib.c:1116:57: warning: pointer targets in passing argument 4 of 'do_ncp_call' differ in signedness [-Wpointer-sign] err = do_ncp_call(conn, NCP_REQUEST, 1, conn->packet + 6, ncp_packet_size(conn)); ~~~~~~~~~~~~~^~~ ncplib.c:800:1: note: expected 'const unsigned char *' but argument is of type 'char *' do_ncp_call(struct ncp_conn *conn, unsigned int cmd, unsigned int task, const unsigned char* request, size_t request_size) ^~~~~~~~~~~ ncplib.c:1119:61: warning: pointer targets in passing argument 4 of 'do_ncp_tcp_call' differ in signedness [-Wpointer-sign] err = do_ncp_tcp_call(conn, NCP_REQUEST, 1, conn->packet + 6, ncp_packet_size(conn)); ~~~~~~~~~~~~~^~~ ncplib.c:930:1: note: expected 'const unsigned char *' but argument is of type 'char *' do_ncp_tcp_call(struct ncp_conn *conn, unsigned int cmd, unsigned int task, const unsigned char *request, size_t request_size) ^~~~~~~~~~~~~~~ In file included from ../include/ncp/ncplib.h:66, from ncplib_i.h:57, from ncplib.c:132: ncplib.c: In function 'ncp_connect_ipx_addr': ../include/ncp/ipxlib.h:98:28: warning: pointer targets in passing argument 2 of 'ipx_assign_node' differ in signedness [-Wpointer-sign] #define IPX_THIS_NODE ("\0\0\0\0\0\0") ^~~~~~~~~~~~~~~~ ncplib.c:1302:34: note: in expansion of macro 'IPX_THIS_NODE' ipx_assign_node(addr.sipx_node, IPX_THIS_NODE); ^~~~~~~~~~~~~ ncplib.c:628:1: note: expected 'const u_int8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' ipx_assign_node(IPXNode dest, CIPXNode src) ^~~~~~~~~~~~~~~ ncplib.c: In function 'ncp_connect_in_addr': ncplib.c:1371:12: warning: variable 'addrlen' set but not used [-Wunused-but-set-variable] socklen_t addrlen; ^~~~~~~ ncplib.c: In function 'ncp_connect_tcp_addr': ncplib.c:1436:12: warning: variable 'addrlen' set but not used [-Wunused-but-set-variable] socklen_t addrlen; ^~~~~~~ ncplib.c: In function 'ncp_login_conn': ncplib.c:1682:34: warning: pointer targets in passing argument 2 of 'ncp_login_object' differ in signedness [-Wpointer-sign] err = ncp_login_object(conn, object_name, object_type, password); ^~~~~~~~~~~ ncplib.c:219:2: note: expected 'const unsigned char *' but argument is of type 'const char *' ncp_login_object(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~ ncplib.c:1682:60: warning: pointer targets in passing argument 4 of 'ncp_login_object' differ in signedness [-Wpointer-sign] err = ncp_login_object(conn, object_name, object_type, password); ^~~~~~~~ ncplib.c:219:2: note: expected 'const unsigned char *' but argument is of type 'const char *' ncp_login_object(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~ ncplib.c:1702:32: warning: pointer targets in passing argument 2 of 'ncp_login_object' differ in signedness [-Wpointer-sign] err = ncp_login_object(conn, object_name, object_type, password); ^~~~~~~~~~~ ncplib.c:219:2: note: expected 'const unsigned char *' but argument is of type 'const char *' ncp_login_object(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~ ncplib.c:1702:58: warning: pointer targets in passing argument 4 of 'ncp_login_object' differ in signedness [-Wpointer-sign] err = ncp_login_object(conn, object_name, object_type, password); ^~~~~~~~ ncplib.c:219:2: note: expected 'const unsigned char *' but argument is of type 'const char *' ncp_login_object(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~ ncplib.c: At top level: ncplib.c:2587:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t year __attribute__((packed)); ^~~~~~~~ ncplib.c:2588:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t month __attribute__((packed)); ^~~~~~~~ ncplib.c:2589:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t day __attribute__((packed)); ^~~~~~~~ ncplib.c:2590:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t hour __attribute__((packed)); ^~~~~~~~ ncplib.c:2591:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t minute __attribute__((packed)); ^~~~~~~~ ncplib.c:2592:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t second __attribute__((packed)); ^~~~~~~~ ncplib.c:2593:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t wday __attribute__((packed)); ^~~~~~~~ ncplib.c: In function 'ncp_scan_bindery_object': ncplib.c:3133:10: warning: pointer targets in passing argument 5 of 'NWScanObject' differ in signedness [-Wpointer-sign] target->object_name, &object_type, &hasProperties, ~~~~~~^~~~~~~~~~~~~ ncplib.c:3080:9: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} NWCCODE NWScanObject(NWCONN_HANDLE conn, const char *searchName, ^~~~~~~~~~~~ ncplib.c: In function 'ncp_keyed_verify_password': ncplib.c:3505:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] shuffle((byte *) & tmpID, passwd, strlen(passwd), buf); ^~~~~~ In file included from ncplib_i.h:64, from ncplib.c:132: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ncplib.c:3511:30: warning: pointer targets in passing argument 2 of 'ncp_add_pstring' differ in signedness [-Wpointer-sign] ncp_add_pstring(conn, object->object_name); ~~~~~~^~~~~~~~~~~~~ ncplib.c:2615:6: note: expected 'const char *' but argument is of type 'const u_int8_t *' {aka 'const unsigned char *'} void ncp_add_pstring(struct ncp_conn *conn, const char *s) { ^~~~~~~~~~~~~~~ ncplib.c: In function 'NWVerifyObjectPassword': ncplib.c:3526:45: warning: pointer targets in passing argument 2 of 'ncp_get_encryption_key' differ in signedness [-Wpointer-sign] if ((result = ncp_get_encryption_key(conn, ncp_key)) != 0) { ^~~~~~~ ncplib.c:3001:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} ncp_get_encryption_key(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~~~~~~~ ncplib.c:3537:57: warning: pointer targets in passing argument 4 of 'ncp_keyed_verify_password' differ in signedness [-Wpointer-sign] return ncp_keyed_verify_password(conn, &user, ncp_key, objPassword); ^~~~~~~~~~~ ncplib.c:3492:1: note: expected 'const unsigned char *' but argument is of type 'const char *' ncp_keyed_verify_password(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~~~~~~~~~~ ncplib.c: In function 'ncp_login_encrypted': ncplib.c:3577:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] shuffle((byte *) & tmpID, passwd, strlen(passwd), buf); ^~~~~~ In file included from ncplib_i.h:64, from ncplib.c:132: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ncplib.c:3583:30: warning: pointer targets in passing argument 2 of 'ncp_add_pstring' differ in signedness [-Wpointer-sign] ncp_add_pstring(conn, object->object_name); ~~~~~~^~~~~~~~~~~~~ ncplib.c:2615:6: note: expected 'const char *' but argument is of type 'const u_int8_t *' {aka 'const unsigned char *'} void ncp_add_pstring(struct ncp_conn *conn, const char *s) { ^~~~~~~~~~~~~~~ ncplib.c:3597:34: warning: pointer targets in passing argument 2 of 'ncp_sign_start' differ in signedness [-Wpointer-sign] result2 = ncp_sign_start(conn, buf); ^~~ In file included from ncplib.c:132: ncplib_i.h:295:6: note: expected 'const char *' but argument is of type 'unsigned char *' long ncp_sign_start(struct ncp_conn *conn, const char *sign_root); ^~~~~~~~~~~~~~ ncplib.c: In function 'ncp_login_unencrypted': ncplib.c:3619:24: warning: pointer targets in passing argument 2 of 'ncp_add_pstring' differ in signedness [-Wpointer-sign] ncp_add_pstring(conn, passwd); ^~~~~~ ncplib.c:2615:6: note: expected 'const char *' but argument is of type 'const unsigned char *' void ncp_add_pstring(struct ncp_conn *conn, const char *s) { ^~~~~~~~~~~~~~~ ncplib.c: In function 'ncp_change_login_passwd': ncplib.c:3650:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] shuffle((byte *) & id, oldpasswd, strlen(oldpasswd), oldpwd); ^~~~~~~~~ In file included from ncplib_i.h:64, from ncplib.c:132: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ncplib.c:3651:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] shuffle((byte *) & id, newpasswd, strlen(newpasswd), newpwd); ^~~~~~~~~ In file included from ncplib_i.h:64, from ncplib.c:132: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ncplib.c:3653:17: warning: pointer targets in passing argument 1 of 'newpassencrypt' differ in signedness [-Wpointer-sign] newpassencrypt(oldpwd, newpwd, newpwd); ^~~~~~ In file included from ncplib.c:310: nwcrypt.c:306:1: note: expected 'char *' but argument is of type 'unsigned char *' newpassencrypt(char *old, char *new, char *out) ^~~~~~~~~~~~~~ ncplib.c:3653:25: warning: pointer targets in passing argument 2 of 'newpassencrypt' differ in signedness [-Wpointer-sign] newpassencrypt(oldpwd, newpwd, newpwd); ^~~~~~ In file included from ncplib.c:310: nwcrypt.c:306:1: note: expected 'char *' but argument is of type 'unsigned char *' newpassencrypt(char *old, char *new, char *out) ^~~~~~~~~~~~~~ ncplib.c:3653:33: warning: pointer targets in passing argument 3 of 'newpassencrypt' differ in signedness [-Wpointer-sign] newpassencrypt(oldpwd, newpwd, newpwd); ^~~~~~ In file included from ncplib.c:310: nwcrypt.c:306:1: note: expected 'char *' but argument is of type 'unsigned char *' newpassencrypt(char *old, char *new, char *out) ^~~~~~~~~~~~~~ ncplib.c:3654:24: warning: pointer targets in passing argument 1 of 'newpassencrypt' differ in signedness [-Wpointer-sign] newpassencrypt(oldpwd + 8, newpwd + 8, newpwd + 8); ~~~~~~~^~~ In file included from ncplib.c:310: nwcrypt.c:306:1: note: expected 'char *' but argument is of type 'unsigned char *' newpassencrypt(char *old, char *new, char *out) ^~~~~~~~~~~~~~ ncplib.c:3654:36: warning: pointer targets in passing argument 2 of 'newpassencrypt' differ in signedness [-Wpointer-sign] newpassencrypt(oldpwd + 8, newpwd + 8, newpwd + 8); ~~~~~~~^~~ In file included from ncplib.c:310: nwcrypt.c:306:1: note: expected 'char *' but argument is of type 'unsigned char *' newpassencrypt(char *old, char *new, char *out) ^~~~~~~~~~~~~~ ncplib.c:3654:48: warning: pointer targets in passing argument 3 of 'newpassencrypt' differ in signedness [-Wpointer-sign] newpassencrypt(oldpwd + 8, newpwd + 8, newpwd + 8); ~~~~~~~^~~ In file included from ncplib.c:310: nwcrypt.c:306:1: note: expected 'char *' but argument is of type 'unsigned char *' newpassencrypt(char *old, char *new, char *out) ^~~~~~~~~~~~~~ ncplib.c:3655:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((len = strlen(newpasswd)) > 63) { ^~~~~~~~~ In file included from ncplib_i.h:64, from ncplib.c:132: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ncplib.c:3663:30: warning: pointer targets in passing argument 2 of 'ncp_add_pstring' differ in signedness [-Wpointer-sign] ncp_add_pstring(conn, object->object_name); ~~~~~~^~~~~~~~~~~~~ ncplib.c:2615:6: note: expected 'const char *' but argument is of type 'const u_int8_t *' {aka 'const unsigned char *'} void ncp_add_pstring(struct ncp_conn *conn, const char *s) { ^~~~~~~~~~~~~~~ ncplib.c: In function 'ncp_login_object': ncplib.c:3689:45: warning: pointer targets in passing argument 2 of 'ncp_get_encryption_key' differ in signedness [-Wpointer-sign] if ((result = ncp_get_encryption_key(conn, ncp_key)) != 0) { ^~~~~~~ ncplib.c:3001:1: note: expected 'char *' but argument is of type 'unsigned char *' ncp_get_encryption_key(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~~~~~~~ ncplib.c:3690:50: warning: pointer targets in passing argument 3 of 'ncp_login_unencrypted' differ in signedness [-Wpointer-sign] return ncp_login_unencrypted(conn, login_type, username, ^~~~~~~~ ncplib.c:3606:1: note: expected 'const char *' but argument is of type 'const unsigned char *' ncp_login_unencrypted(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~~~~~~ ncplib.c:3694:7: warning: pointer targets in passing argument 3 of 'ncp_get_bindery_object_id' differ in signedness [-Wpointer-sign] username, &user)) != 0) { ^~~~~~~~ ncplib.c:3020:1: note: expected 'const char *' but argument is of type 'const unsigned char *' ncp_get_bindery_object_id(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~~~~~~~~~~ ncplib.c:3710:13: warning: pointer targets in passing argument 3 of 'ncp_read_property_value' differ in signedness [-Wpointer-sign] username, 1, ^~~~~~~~ ncplib.c:3249:1: note: expected 'const char *' but argument is of type 'const unsigned char *' ncp_read_property_value(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~~~~~~~~ ncplib.c: In function 'ncp_get_conn_number': ncplib.c:4044:6: warning: variable 'type' set but not used [-Wunused-but-set-variable] int type; ^~~~ ncplib.c: In function 'ncp_user_disconnect': ncplib.c:1991:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(conn->wdog_pipe, dummy, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ncplib.c: In function 'install_wdog': ncplib.c:746:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o filemgmt.do -c filemgmt.c filemgmt.c: In function 'ncp_add_handle_path2': filemgmt.c:798:35: warning: pointer targets in passing argument 1 of 'ncp_path_to_NW_format2' differ in signedness [-Wpointer-sign] int p = ncp_path_to_NW_format2(encpath, dir_style, conn->current_point, conn->packet + sizeof(conn->packet) - conn->current_point); ^~~~~~~ filemgmt.c:720:1: note: expected 'const char *' but argument is of type 'const unsigned char *' ncp_path_to_NW_format2(const char* path, int dirstyle, unsigned char* buff, int buffsize) ^~~~~~~~~~~~~~~~~~~~~~ filemgmt.c:798:59: warning: pointer targets in passing argument 3 of 'ncp_path_to_NW_format2' differ in signedness [-Wpointer-sign] int p = ncp_path_to_NW_format2(encpath, dir_style, conn->current_point, conn->packet + sizeof(conn->packet) - conn->current_point); ~~~~^~~~~~~~~~~~~~~ filemgmt.c:720:1: note: expected 'unsigned char *' but argument is of type 'char *' ncp_path_to_NW_format2(const char* path, int dirstyle, unsigned char* buff, int buffsize) ^~~~~~~~~~~~~~~~~~~~~~ filemgmt.c: In function 'ncp_extract_file_info': filemgmt.c:822:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(target->entryName, name_len + 1, *name_len); ~~~~~~^~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from filemgmt.c:78: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ filemgmt.c:822:39: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(target->entryName, name_len + 1, *name_len); ~~~~~~~~~^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from filemgmt.c:78: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ filemgmt.c: In function 'ncp_open_create_file_or_subdir': filemgmt.c:1069:57: warning: pointer targets in passing argument 2 of 'ConvertToNWfromDWORD' differ in signedness [-Wpointer-sign] ConvertToNWfromDWORD(target->server_file_handle, target->file_handle); ~~~~~~^~~~~~~~~~~~~ In file included from filemgmt.c:82: ncplib_i.h:283:20: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} static inline void ConvertToNWfromDWORD(u_int32_t sfd, char nwhandle[6]) { ^~~~~~~~~~~~~~~~~~~~ filemgmt.c: In function 'ncp_ns_get_full_name_int': filemgmt.c:1804:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] getpos = ncp_reply_data(conn, 14); ^ filemgmt.c: In function 'ncp_ns_obtain_entry_info': filemgmt.c:2834:4: warning: pointer targets in passing argument 3 of 'ncp_ns_extract_file_info' differ in signedness [-Wpointer-sign] ncp_reply_data(conn, 0), conn->ncp_reply_size, ^~~~~~~~~~~~~~~~~~~~~~~ filemgmt.c:2500:16: note: expected 'const u_int8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' static NWCCODE ncp_ns_extract_file_info( ^~~~~~~~~~~~~~~~~~~~~~~~ filemgmt.c: In function 'ncp_ns_open_create_entry': filemgmt.c:2912:3: warning: pointer targets in passing argument 3 of 'ncp_ns_extract_file_info' differ in signedness [-Wpointer-sign] ncp_reply_data(conn, 6), conn->ncp_reply_size - 6, ^~~~~~~~~~~~~~~~~~~~~~~ filemgmt.c:2500:16: note: expected 'const u_int8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' static NWCCODE ncp_ns_extract_file_info( ^~~~~~~~~~~~~~~~~~~~~~~~ filemgmt.c: In function 'ncp_get_mount_volume_list_compat': filemgmt.c:3430:49: warning: pointer targets in passing argument 3 of 'ncp_get_volume_name' differ in signedness [-Wpointer-sign] err = ncp_get_volume_name(conn, vol, buffer+5, 17); ~~~~~~^~ filemgmt.c:213:1: note: expected 'char *' but argument is of type 'unsigned char *' ncp_get_volume_name(struct ncp_conn *conn, ^~~~~~~~~~~~~~~~~~~ filemgmt.c:3432:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] real = strlen(buffer+5); ~~~~~~^~ In file included from filemgmt.c:78: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ filemgmt.c: In function 'ncp_volume_list_next': filemgmt.c:3623:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] h->bufpos = h->buffer = b; ^ filemgmt.c:3624:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] h->bufend = b + blen; ^ filemgmt.c: In function 'NWScanOpenFilesByConn2': filemgmt.c:4088:20: warning: pointer targets in initialization of 'u_int8_t *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] u_int8_t* maxf = ncp_reply_data(conn, 0) + conn->ncp_reply_size; ^~~~~~~~~~~~~~ filemgmt.c:4090:39: warning: pointer targets in passing argument 2 of '__ncp_openfile_fetch' differ in signedness [-Wpointer-sign] np = __ncp_openfile_fetch(openFile, ncp_reply_data(conn, 4), maxf); ^~~~~~~~~~~~~~~~~~~~~~~ filemgmt.c:4007:1: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' __ncp_openfile_fetch(OPEN_FILE_CONN *openFile, u_int8_t* finfo, u_int8_t* end) { ^~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o queue.do -c queue.c queue.c: In function 'ncp_reply_queue_job': queue.c:67:48: warning: pointer targets in passing argument 2 of 'ConvertToNWfromDWORD' differ in signedness [-Wpointer-sign] ConvertToNWfromDWORD(job->j.JobFileHandle, job->file_handle); ~~~^~~~~~~~~~~~~ In file included from queue.c:33: ncplib_i.h:283:20: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} static inline void ConvertToNWfromDWORD(u_int32_t sfd, char nwhandle[6]) { ^~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o nwcalls.do -c nwcalls.c nwcalls.c: In function 'NWRequest': nwcalls.c:140:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] ptr = ncp_reply_data(conn, 0); ^ nwcalls.c: In function 'NWGetObjectName': nwcalls.c:455:29: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] if (name) strncpy(name, spc.object_name, NCP_BINDERY_NAME_LEN); ~~~^~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/errno.h:25, from nwcalls.c:94: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ nwcalls.c: In function '__NWReadFileServerInfo': nwcalls.c:1053:21: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] sn = strdup(target.ServerName); ~~~~~~^~~~~~~~~~~ In file included from nwcalls.c:95: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} extern char *strdup (const char *__s) ^~~~~~ nwcalls.c: In function 'NWCCGetConnInfo': nwcalls.c:1234:30: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] conn->user = strdup(obj.object_name); ~~~^~~~~~~~~~~~ In file included from nwcalls.c:95: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} extern char *strdup (const char *__s) ^~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o nwtime.do -c nwtime.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DGLOBALCFGFILE=\"/etc/ncpfs.conf\" -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o cfgfile.do -c cfgfile.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o fs/eas.do -c fs/eas.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o strops.do -c strops.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ncpext.do -c ncpext.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o nwclient.do -c nwclient.c nwclient.c: In function 'NWCXAttachToTreeByName': nwclient.c:726:76: warning: pointer targets in passing argument 4 of 'NWDSScanForAvailableTrees' differ in signedness [-Wpointer-sign] while (!found && (err=NWDSScanForAvailableTrees(ctx,connInit,"*",&scanIndex,myTreeName)==0)){ ^~~~~~~~~~ In file included from nwclient.c:82: ../include/ncp/nwnet.h:940:11: note: expected 'nint32 *' {aka 'int *'} but argument is of type 'nuint32 *' {aka 'unsigned int *'} NWDSCCODE NWDSScanForAvailableTrees(NWDSContextHandle context, ^~~~~~~~~~~~~~~~~~~~~~~~~ nwclient.c:747:42: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp ("AXIS",obj.object_name,4)) { ~~~^~~~~~~~~~~~ In file included from nwclient.c:74: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ nwclient.c:750:53: warning: pointer targets in passing argument 2 of 'NWCCOpenConnByName' differ in signedness [-Wpointer-sign] err=NWCCOpenConnByName(connInit,obj.object_name,NWCC_NAME_FORMAT_BIND, ~~~^~~~~~~~~~~~ In file included from nwclient.c:81: ../include/ncp/nwcalls.h:509:9: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} NWCCODE NWCCOpenConnByName(NWCONN_HANDLE startConn, const char *serverName, ^~~~~~~~~~~~~~~~~~ nwclient.c: In function 'docopy_login_script': nwclient.c:1534:72: warning: pointer targets in passing argument 6 of '__NWDSOpenStream' differ in signedness [-Wpointer-sign] err= __NWDSOpenStream(ctx, lsi->user, attrName, 0, &fileConn, hndl, &fileSize); ^~~~ In file included from nwclient.c:82: ../include/ncp/nwnet.h:662:11: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} NWDSCCODE __NWDSOpenStream(NWDSContextHandle ctx, const NWDSChar* objectName, ^~~~~~~~~~~~~~~~ nwclient.c:1536:52: warning: pointer targets in passing argument 2 of 'ncp_read' differ in signedness [-Wpointer-sign] lsi->bytesRead=ncp_read ( fileConn,hndl,0, lsi->max-1,lsi->buffer); ^~~~ In file included from ../include/ncp/nwcalls.h:83, from nwclient.c:81: ../include/ncp/ncplib.h:886:2: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} ncp_read(NWCONN_HANDLE conn, const char fileHandle[6], ^~~~~~~~ nwclient.c:1542:41: warning: pointer targets in passing argument 2 of 'ncp_close_file' differ in signedness [-Wpointer-sign] ncp_close_file(fileConn,hndl); ^~~~ In file included from ../include/ncp/nwcalls.h:83, from nwclient.c:81: ../include/ncp/ncplib.h:806:6: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} long ncp_close_file(NWCONN_HANDLE conn, const char fileHandle[6]); ^~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o resolve.do -c resolve.c resolve.c: In function 'sap_name_cmp': resolve.c:438:16: warning: pointer targets in passing argument 1 of 'strnlen' differ in signedness [-Wpointer-sign] ln = strnlen(my, cmplen); ^~ In file included from resolve.c:28: /usr/include/string.h:390:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strnlen (const char *__string, size_t __maxlen) ^~~~~~~ In file included from ../include/ncp/ncplib.h:66, from ../include/ncp/nwcalls.h:83, from resolve.c:39: resolve.c: In function 'sap_process': ../include/ncp/ipxlib.h:97:28: warning: pointer targets in passing argument 2 of 'ipx_assign_node' differ in signedness [-Wpointer-sign] #define IPX_BROADCAST_NODE ("\xff\xff\xff\xff\xff\xff") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolve.c:490:34: note: in expansion of macro 'IPX_BROADCAST_NODE' ipx_assign_node(addr.sipx_node, IPX_BROADCAST_NODE); ^~~~~~~~~~~~~~~~~~ ../include/ncp/ipxlib.h:125:2: note: expected 'const u_int8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' ipx_assign_node(IPXNode dest, CIPXNode src); ^~~~~~~~~~~~~~~ resolve.c:539:43: warning: pointer targets in passing argument 2 of 'sap_name_cmp' differ in signedness [-Wpointer-sign] if (sap_name_cmp(sap_request + 4, ident->server_name, cmplen)) ~~~~~^~~~~~~~~~~~~ resolve.c:432:12: note: expected 'const unsigned char *' but argument is of type 'char *' static int sap_name_cmp(const unsigned char *my, const unsigned char *net, size_t cmplen) { ^~~~~~~~~~~~ resolve.c:592:45: warning: pointer targets in passing argument 2 of 'sap_name_cmp' differ in signedness [-Wpointer-sign] if (sap_name_cmp(sap_request + 4, ident->server_name, cmplen)) ~~~~~^~~~~~~~~~~~~ resolve.c:432:12: note: expected 'const unsigned char *' but argument is of type 'char *' static int sap_name_cmp(const unsigned char *my, const unsigned char *net, size_t cmplen) { ^~~~~~~~~~~~ resolve.c: In function 'sap_start': resolve.c:638:31: warning: pointer targets in passing argument 1 of 'memcpy_toupper' differ in signedness [-Wpointer-sign] memcpy_toupper(sap_request + 4, name, ln); ~~~~~~~~~~~~^~~ resolve.c:83:13: note: expected 'char *' but argument is of type 'unsigned char *' static void memcpy_toupper(char* dst, const char* src, size_t ln) { ^~~~~~~~~~~~~~ resolve.c:653:31: warning: pointer targets in passing argument 1 of 'memcpy_toupper' differ in signedness [-Wpointer-sign] memcpy_toupper(sap_request + 4, name, ln); ~~~~~~~~~~~~^~~ resolve.c:83:13: note: expected 'char *' but argument is of type 'unsigned char *' static void memcpy_toupper(char* dst, const char* src, size_t ln) { ^~~~~~~~~~~~~~ resolve.c:707:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fds[1], "R", 1); ^~~~~~~~~~~~~~~~~~~~~ resolve.c: In function 'sap_process': resolve.c:607:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &u32, sizeof(u32)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o fs/filelock.do -c fs/filelock.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o stats.do -c stats.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ndscrypt.do -c ndscrypt.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o nwnet.do -c nwnet.c nwnet.c: In function 'NWDSCreateContextHandle': nwnet.c:1218:55: warning: passing argument 3 of 'NWDSSetTransport' from incompatible pointer type [-Wincompatible-pointer-types] err = NWDSSetTransport(tmp, sizeof(t)/sizeof(t[0]), t); ^ nwnet.c:1129:87: note: expected 'const NET_ADDRESS_TYPE *' {aka 'const enum NET_ADDRESS_TYPE *'} but argument is of type 'const nuint32 *' {aka 'const unsigned int *'} NWDSCCODE NWDSSetTransport(NWDSContextHandle ctx, size_t len, const NET_ADDRESS_TYPE* transports) { ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ nwnet.c: In function 'NWDSSetupBuf': nwnet.c:1585:31: warning: pointer targets in assignment from 'char *' to 'nuint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] buf->dataend = buf->allocend = (char*)ptr + len; ^ nwnet.c: In function 'NWDSGetDSIRaw': nwnet.c:1877:53: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(conn, DSV_READ_ENTRY_INFO, x, 16, rpl, ^ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'unsigned char *' ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c:1877:60: warning: pointer targets in passing argument 5 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(conn, DSV_READ_ENTRY_INFO, x, 16, rpl, ^~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'char *' but argument is of type 'unsigned char *' ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function 'NWDSXlateCtxToUni': nwnet.c:1965:72: warning: pointer targets in passing argument 5 of '__NWULocalToInternal' differ in signedness [-Wpointer-sign] err2 = __NWULocalToInternal(ctx->xlate.from, tbuff, tbuff+128, src, srcEnd, NULL, &tEnd, (const char**)(const char*)&src); ^~~~~~ nwnet.c:661:12: note: expected 'const char *' but argument is of type 'const nuint8 *' {aka 'const unsigned char *'} static int __NWULocalToInternal(my_iconv_t h, wchar_t* dest, wchar_t* destEnd, ^~~~~~~~~~~~~~~~~~~~ nwnet.c: In function 'NWDSGetAttrSize_PO_ADDRESS': nwnet.c:3205:10: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] nuint32 cnt; ^~~ nwnet.c: In function 'NWDSGetObjectNameAndInfo': nwnet.c:3763:9: warning: pointer targets in assignment from 'nuint8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] *info = buffer->curPos; ^ nwnet.c: In function '__NWDSResolveNameInt': nwnet.c:4510:6: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] rq->data, rq->curPos-rq->data, ~~^~~~~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function 'NWDSGetServerNameAddress': nwnet.c:5033:56: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(conn, DSV_GET_SERVER_ADDRESS, rq, sizeof(rq), rpl, ^~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'unsigned char *' ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function '__NWDSCompare': nwnet.c:5213:45: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(conn, DSV_COMPARE, rq, pos, rpl, sizeof(rpl), &rpl_len); ^~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'unsigned char *' ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c:5213:54: warning: pointer targets in passing argument 5 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(conn, DSV_COMPARE, rq, pos, rpl, sizeof(rpl), &rpl_len); ^~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'char *' but argument is of type 'unsigned char *' ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function '__NWDSCloseIterationV0': nwnet.c:5339:54: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] return ncp_send_nds_frag(conn, DSV_CLOSE_ITERATION, rq, sizeof(rq), rpl, sizeof(rpl), &rpl_len); ^~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'unsigned char *' ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c:5339:70: warning: pointer targets in passing argument 5 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] return ncp_send_nds_frag(conn, DSV_CLOSE_ITERATION, rq, sizeof(rq), rpl, sizeof(rpl), &rpl_len); ^~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'char *' but argument is of type 'unsigned char *' ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function '__NWDSAddObjectV0': nwnet.c:5388:49: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(conn, DSV_ADD_ENTRY, rq.data, rq.curPos - rq.data, ~~^~~~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function '__NWDSAddObjectV2': nwnet.c:5420:49: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(conn, DSV_ADD_ENTRY, rq.data, rq.curPos - rq.data, ~~^~~~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function '__NWDSModifyObjectV0': nwnet.c:5516:52: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(conn, DSV_MODIFY_ENTRY, rq.data, rq.curPos - rq.data, ~~^~~~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function '__NWDSModifyObjectV2': nwnet.c:5544:52: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(conn, DSV_MODIFY_ENTRY, rq.data, rq.curPos - rq.data, ~~^~~~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function '__NWDSModifyRDNV0': nwnet.c:5621:50: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(conn, DSV_MODIFY_RDN, rq.data, rq.curPos - rq.data, ~~^~~~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function '__NWDSBeginMoveEntryV0': nwnet.c:5731:59: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(dstConn, DSV_BEGIN_MOVE_ENTRY, rq.data, rq.curPos - rq.data, ~~^~~~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function '__NWDSFinishMoveEntryV0': nwnet.c:5761:60: warning: pointer targets in passing argument 3 of 'ncp_send_nds_frag' differ in signedness [-Wpointer-sign] err = ncp_send_nds_frag(srcConn, DSV_FINISH_MOVE_ENTRY, rq.data, rq.curPos - rq.data, ~~^~~~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: ../include/ncp/ncplib.h:1152:1: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} ncp_send_nds_frag(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ nwnet.c: In function '__fillTree': nwnet.c:6376:13: warning: pointer targets in initialization of 'char *' from 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] char* p = obj.object_name; ^~~ nwnet.c: In function 'NWDSFindConnection': nwnet.c:1715:26: warning: 'conndata' may be used uninitialized in this function [-Wmaybe-uninitialized] !memcmp(conndata + 12, data, len)) { ~~~~~~~~~^~~~ nwnet.c:1698:12: note: 'conndata' was declared here nuint8* conndata; ^~~~~~~~ nwnet.c:1712:10: warning: 'connaddresses' may be used uninitialized in this function [-Wmaybe-uninitialized] while (connaddresses--) { ^ nwnet.c:1697:18: note: 'connaddresses' was declared here NWObjectCount connaddresses; ^~~~~~~~~~~~~ nwnet.c: In function 'NWDSGetAttrVal_OBJECT_ACL': nwnet.c:2811:19: warning: 'priv' may be used uninitialized in this function [-Wmaybe-uninitialized] oacl->privileges = priv; ~~~~~~~~~~~~~~~~~^~~~~~ nwnet.c: In function 'NWDSGetServerName': nwnet.c:4153:14: warning: 'le32' may be used uninitialized in this function [-Wmaybe-uninitialized] *partcount = le32; ~~~~~~~~~~~^~~~~~ nwnet.c: In function 'NWDSSpyConns': nwnet.c:6627:51: warning: '%s' directive writing up to 255 bytes into a region of size between 207 and 228 [-Wformat-overflow=] sprintf (buffer,"state= %x,uid= %x,uid2=%x,serv=%s,usr=%s\t",conn->connState,conn->user_id,myID,fsn,me); ^~ ~~~ In file included from /usr/include/stdio.h:862, from ../include/ncp/ncplib.h:63, from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nwnet_i.h:36, from nwnet.c:132: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 35 and 566 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o wcs.do -c wcs.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o rdn.do -c rdn.c rdn.c: In function 'NWDSAbbreviateNameW': rdn.c:606:9: warning: variable 'oldDepth' set but not used [-Wunused-but-set-variable] size_t oldDepth; ^~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/filter.do -c ds/filter.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/search.do -c ds/search.c ds/search.c: In function 'GetCurrentName': ds/search.c:286:10: warning: pointer targets in assignment from 'char *' to 'nuint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] curPos = namePtr->data; ^ ds/search.c: In function 'NWDSExtSyncSearch': ds/search.c:504:3: warning: 'lowlevelIH' may be used uninitialized in this function [-Wmaybe-uninitialized] __NWDSIHUpdate(currIH, err, lowlevelIH, iterHandle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/request.do -c ds/request.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/setkeys.do -c ds/setkeys.c ds/setkeys.c: In function '__NWDSGenerateObjectKeyPair': ds/setkeys.c:272:26: warning: pointer targets in passing argument 1 of '__NWDSHashPasswordUpper' differ in signedness [-Wpointer-sign] __NWDSHashPasswordUpper(objectPassword, pseudoID, pwdLen, pwdHash); ^~~~~~~~~~~~~~ ds/setkeys.c:222:13: note: expected 'const nuint8 *' {aka 'const unsigned char *'} but argument is of type 'const char *' static void __NWDSHashPasswordUpper(const nuint8* objectPassword, ^~~~~~~~~~~~~~~~~~~~~~~ ds/setkeys.c: In function 'NWDSVerifyObjectPassword': ds/setkeys.c:378:21: warning: pointer targets in passing argument 1 of '__NWDSHashPassword' differ in signedness [-Wpointer-sign] __NWDSHashPassword(objectPassword, pseudoID, pwdLen, pwdHash); ^~~~~~~~~~~~~~ ds/setkeys.c:239:13: note: expected 'const nuint8 *' {aka 'const unsigned char *'} but argument is of type 'const char *' static void __NWDSHashPassword(const nuint8* objectPassword, ^~~~~~~~~~~~~~~~~~ ds/setkeys.c: In function '__NWDSChangeObjectPasswordStep2': ds/setkeys.c:409:17: warning: pointer targets in passing argument 2 of 'shuffle' differ in signedness [-Wpointer-sign] shuffle(tmpID, oldPassword, strlen(oldPassword), oldPwdHash); ^~~~~~~~~~~ In file included from ds/setkeys.c:45: ./ncplib_i.h:297:6: note: expected 'const unsigned char *' but argument is of type 'const char *' void shuffle(const unsigned char *objid, const unsigned char *pwd, int buflen, unsigned char *out); ^~~~~~~ ds/setkeys.c:410:17: warning: pointer targets in passing argument 2 of 'shuffle' differ in signedness [-Wpointer-sign] shuffle(tmpID, newPassword, strlen(newPassword), newPwdHash); ^~~~~~~~~~~ In file included from ds/setkeys.c:45: ./ncplib_i.h:297:6: note: expected 'const unsigned char *' but argument is of type 'const char *' void shuffle(const unsigned char *objid, const unsigned char *pwd, int buflen, unsigned char *out); ^~~~~~~ ds/setkeys.c: In function 'nds_login': ds/setkeys.c:539:26: warning: pointer targets in passing argument 1 of '__NWDSHashPasswordUpper' differ in signedness [-Wpointer-sign] __NWDSHashPasswordUpper(objectPassword, pseudoID, pwdLen, pwdHash); ^~~~~~~~~~~~~~ ds/setkeys.c:222:13: note: expected 'const nuint8 *' {aka 'const unsigned char *'} but argument is of type 'const char *' static void __NWDSHashPasswordUpper(const nuint8* objectPassword, ^~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/dsgetstat.do -c ds/dsgetstat.c ds/dsgetstat.c: In function 'NWDSGetDSVerInfo': ds/dsgetstat.c:265:27: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] unsigned char* src = asciiName; ^~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/partops.do -c ds/partops.c ds/partops.c: In function 'NWDSGetPartitionExtInfoPtr': ds/partops.c:342:12: warning: pointer targets in assignment from 'nuint8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] *infoPtr = partitions->curPos; ^ ds/partops.c:347:12: warning: pointer targets in assignment from 'nuint8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] *infoPtr = partitions->curPos - 4; ^ ds/partops.c:375:14: warning: pointer targets in assignment from 'nuint8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] *infoPtrEnd = partitions->curPos; ^ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/iterhandle.do -c ds/iterhandle.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/effright.do -c ds/effright.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/dsread.do -c ds/dsread.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/dslist.do -c ds/dslist.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/bindctx.do -c ds/bindctx.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/classes.do -c ds/classes.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/syntaxes.do -c ds/syntaxes.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ds/dsstream.do -c ds/dsstream.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o o_ndslib.do -c o_ndslib.c o_ndslib.c: In function 'nds_resolve_name': o_ndslib.c:159:30: warning: pointer targets in passing argument 2 of 'NWDSBufGetLE32' differ in signedness [-Wpointer-sign] err = NWDSBufGetLE32(rp, &flags); ^~~~~~ In file included from o_ndslib.c:39: nwnet_i.h:218:25: note: expected 'nuint32 *' {aka 'unsigned int *'} but argument is of type 'int *' static inline NWDSCCODE NWDSBufGetLE32(Buf_T* buf, nuint32* val) { ^~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -o ncpsign.do -c ncpsign.c ncpsign.c: In function 'nwsign': ncpsign.c:52:22: warning: pointer targets in initialization of 'unsigned int *' from 'int *' differ in signedness [-Wpointer-sign] unsigned int *data2=(int *)r_data2; ^ ncpsign.c: In function 'sign_init': ncpsign.c:95:41: warning: pointer targets in initialization of 'const unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] static const unsigned char *initdata = "Authorized NetWare Client"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ncpsign.c:102:10: warning: pointer targets in passing argument 1 of 'nwsign' differ in signedness [-Wpointer-sign] nwsign(initlast, msg, hash); ^~~~~~~~ ncpsign.c:47:13: note: expected 'const char *' but argument is of type 'const unsigned char *' static void nwsign(const char r_data1[16], char r_data2[64], char outdata[16]) { ^~~~~~ ncpsign.c:102:20: warning: pointer targets in passing argument 2 of 'nwsign' differ in signedness [-Wpointer-sign] nwsign(initlast, msg, hash); ^~~ ncpsign.c:47:13: note: expected 'char *' but argument is of type 'unsigned char *' static void nwsign(const char r_data1[16], char r_data2[64], char outdata[16]) { ^~~~~~ ncpsign.c:102:25: warning: pointer targets in passing argument 3 of 'nwsign' differ in signedness [-Wpointer-sign] nwsign(initlast, msg, hash); ^~~~ ncpsign.c:47:13: note: expected 'char *' but argument is of type 'unsigned char *' static void nwsign(const char r_data1[16], char r_data2[64], char outdata[16]) { ^~~~~~ ncpsign.c: In function '__sign_packet': ncpsign.c:121:36: warning: pointer targets in passing argument 2 of 'nwsign' differ in signedness [-Wpointer-sign] nwsign(conn->sign_data.sign_last, data, conn->sign_data.sign_last); ^~~~ ncpsign.c:47:13: note: expected 'char *' but argument is of type 'unsigned char *' static void nwsign(const char r_data1[16], char r_data2[64], char outdata[16]) { ^~~~~~ ncpsign.c: In function 'sign_verify_reply': ncpsign.c:137:36: warning: pointer targets in passing argument 2 of 'nwsign' differ in signedness [-Wpointer-sign] nwsign(conn->sign_data.sign_last, data, hash); ^~~~ ncpsign.c:47:13: note: expected 'char *' but argument is of type 'unsigned char *' static void nwsign(const char r_data1[16], char r_data2[64], char outdata[16]) { ^~~~~~ ncpsign.c:137:42: warning: pointer targets in passing argument 3 of 'nwsign' differ in signedness [-Wpointer-sign] nwsign(conn->sign_data.sign_last, data, hash); ^~~~ ncpsign.c:47:13: note: expected 'char *' but argument is of type 'unsigned char *' static void nwsign(const char r_data1[16], char r_data2[64], char outdata[16]) { ^~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -DPORTABLE -DUPTON -o ndslib.do -c ndslib.c ndslib.c: In function 'get_public_key': ndslib.c:410:9: warning: pointer targets in assignment from 'u_int8_t *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] keybuf = ost->data; ^ ndslib.c:425:8: warning: pointer targets in assignment from 'char *' to 'nuint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] *key = kptr; ^ ndslib.c: In function '__AlignAndEncryptBlockWithSK': ndslib.c:449:17: warning: pointer targets in passing argument 1 of 'nwencryptblock' differ in signedness [-Wpointer-sign] nwencryptblock(hash, odata, ilen, odata); ^~~~ In file included from ndslib.c:69: ndscrypt.h:28:6: note: expected 'const char *' but argument is of type 'const nuint8 *' {aka 'const unsigned char *'} void nwencryptblock(const char *cryptkey, const char *buf, int buflen, ^~~~~~~~~~~~~~ ndslib.c: In function '__NWEncryptWithSK': ndslib.c:473:11: warning: pointer targets in passing argument 1 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(hash, 8, hashsrc, hashsrclen); ^~~~ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c: In function 'rsa_crypt2': ndslib.c:515:18: warning: pointer targets in passing argument 1 of 'modexpkey' differ in signedness [-Wpointer-sign] err = modexpkey(s_key, buf2, buf2, 56); ^~~~~ ndslib.c:349:13: note: expected 'const char *' but argument is of type 'const nuint8 *' {aka 'const unsigned char *'} static long modexpkey(const char *s_key, char *buf, char *outbuf, int bufsize) { ^~~~~~~~~ ndslib.c: In function '__NWDSGetPrivateKey': ndslib.c:792:13: warning: pointer targets in passing argument 1 of 'fillrandom' differ in signedness [-Wpointer-sign] fillrandom(p, 4); ^ ndslib.c:191:13: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} static void fillrandom(char *buf, int buflen) { ^~~~~~~~~~ ndslib.c:795:13: warning: pointer targets in passing argument 1 of 'fillrandom' differ in signedness [-Wpointer-sign] fillrandom(p, 1024); ^ ndslib.c:191:13: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} static void fillrandom(char *buf, int buflen) { ^~~~~~~~~~ ndslib.c:848:11: warning: pointer targets in passing argument 1 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(temp, 8, crypt1strc, 28); ^~~~ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c:848:20: warning: pointer targets in passing argument 3 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(temp, 8, crypt1strc, 28); ^~~~~~~~~~ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c:849:17: warning: pointer targets in passing argument 1 of 'nwdecryptblock' differ in signedness [-Wpointer-sign] nwdecryptblock(temp, p, n3, p); ^~~~ In file included from ndslib.c:69: ndscrypt.h:30:6: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwdecryptblock(const char *cryptkey, const char *buf, int buflen, ^~~~~~~~~~~~~~ ndslib.c:849:23: warning: pointer targets in passing argument 2 of 'nwdecryptblock' differ in signedness [-Wpointer-sign] nwdecryptblock(temp, p, n3, p); ^ In file included from ndslib.c:69: ndscrypt.h:30:6: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwdecryptblock(const char *cryptkey, const char *buf, int buflen, ^~~~~~~~~~~~~~ ndslib.c:849:30: warning: pointer targets in passing argument 4 of 'nwdecryptblock' differ in signedness [-Wpointer-sign] nwdecryptblock(temp, p, n3, p); ^ In file included from ndslib.c:69: ndscrypt.h:30:6: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwdecryptblock(const char *cryptkey, const char *buf, int buflen, ^~~~~~~~~~~~~~ ndslib.c:852:10: warning: pointer targets in passing argument 1 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(temp, 5, p, n3 - 5); ^~~~ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c:852:19: warning: pointer targets in passing argument 3 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(temp, 5, p, n3 - 5); ^ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c:889:11: warning: pointer targets in passing argument 1 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(hashshuf, 8, pwd, 16); ^~~~~~~~ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c:889:24: warning: pointer targets in passing argument 3 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(hashshuf, 8, pwd, 16); ^~~ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'const char *' but argument is of type 'const nuint8 *' {aka 'const unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c:891:17: warning: pointer targets in passing argument 1 of 'nwdecryptblock' differ in signedness [-Wpointer-sign] nwdecryptblock(hashshuf, p, n3, p); ^~~~~~~~ In file included from ndslib.c:69: ndscrypt.h:30:6: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwdecryptblock(const char *cryptkey, const char *buf, int buflen, ^~~~~~~~~~~~~~ ndslib.c:891:27: warning: pointer targets in passing argument 2 of 'nwdecryptblock' differ in signedness [-Wpointer-sign] nwdecryptblock(hashshuf, p, n3, p); ^ In file included from ndslib.c:69: ndscrypt.h:30:6: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwdecryptblock(const char *cryptkey, const char *buf, int buflen, ^~~~~~~~~~~~~~ ndslib.c:891:34: warning: pointer targets in passing argument 4 of 'nwdecryptblock' differ in signedness [-Wpointer-sign] nwdecryptblock(hashshuf, p, n3, p); ^ In file included from ndslib.c:69: ndscrypt.h:30:6: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwdecryptblock(const char *cryptkey, const char *buf, int buflen, ^~~~~~~~~~~~~~ ndslib.c:931:16: warning: pointer targets in assignment from 'char *' to 'nuint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] *privateKey = tb; ^ ndslib.c: In function 'nds_beginauth2': ndslib.c:968:51: warning: pointer targets in passing argument 3 of '__NWDSBeginAuthenticationV0' differ in signedness [-Wpointer-sign] err = __NWDSBeginAuthenticationV0(conn, user_id, randno, authid, &rpb); ^~~~~~ In file included from ndslib.c:70: nwnet_i.h:550:11: note: expected 'const nuint8 *' {aka 'const unsigned char *'} but argument is of type 'char *' NWDSCCODE __NWDSBeginAuthenticationV0( ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ndslib.c:972:4: warning: pointer targets in assignment from 'nuint8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] p = rpb.curPos; ^ ndslib.c:973:7: warning: pointer targets in assignment from 'nuint8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] pend = rpb.dataend; ^ ndslib.c: In function 'nds_beginauth': ndslib.c:1096:46: warning: pointer targets in passing argument 4 of 'nds_beginauth2' differ in signedness [-Wpointer-sign] err = nds_beginauth2(conn, user_id, authid, s_key); ^~~~~ ndslib.c:950:18: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} static NWDSCCODE nds_beginauth2( ^~~~~~~~~~~~~~ ndslib.c: In function 'NWDSAuthenticateConn': ndslib.c:1334:36: warning: pointer targets in passing argument 2 of 'gen_auth_data' differ in signedness [-Wpointer-sign] if ((err = gen_auth_data(&keybuf, u_key, u_priv_key, ^~~~~ ndslib.c:1101:18: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} static NWDSCCODE gen_auth_data( ^~~~~~~~~~~~~ ndslib.c:1334:43: warning: pointer targets in passing argument 3 of 'gen_auth_data' differ in signedness [-Wpointer-sign] if ((err = gen_auth_data(&keybuf, u_key, u_priv_key, ^~~~~~~~~~ ndslib.c:1101:18: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} static NWDSCCODE gen_auth_data( ^~~~~~~~~~~~~ ndslib.c: In function 'CreatePublicKey': ndslib.c:1568:10: warning: pointer targets in passing argument 1 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(hash, sizeof(hash), pubkey, ptr - pubkey); ^~~~ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c:1568:30: warning: pointer targets in passing argument 3 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(hash, sizeof(hash), pubkey, ptr - pubkey); ^~~~~~ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c: In function 'CreatePrivateKey': ndslib.c:1615:10: warning: pointer targets in passing argument 1 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(hash, sizeof(hash), privkey, ptr - privkey); ^~~~ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c:1615:30: warning: pointer targets in passing argument 3 of 'nwhash1' differ in signedness [-Wpointer-sign] nwhash1(hash, sizeof(hash), privkey, ptr - privkey); ^~~~~~~ In file included from ndslib.c:69: ndscrypt.h:34:6: note: expected 'const char *' but argument is of type 'nuint8 *' {aka 'unsigned char *'} void nwhash1(char *hash, int hashlen, const char *data, int datalen); ^~~~~~~ ndslib.c: In function 'fillrandom': ndslib.c:200:17: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fh, global_randbuf, RANDBUFSIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -I. -D_REENTRANT -fPIC -DMULTIVERSION -DHAVE_CONFIG_H -DMAKE_NCPLIB -D_GNU_SOURCE -DPORTABLE -DUPTON -o mpilib.do -c mpilib.c i586-alt-linux-gcc -shared -o libncp.so.2.3.0 -Wl,-soname=libncp.so.2.3 -Wl,-version-script=../lib/libncp.vers ncplib.do filemgmt.do queue.do nwcalls.do nwtime.do cfgfile.do fs/eas.do strops.do ncpext.do nwclient.do resolve.do fs/filelock.do stats.do ndscrypt.do nwnet.do wcs.do rdn.do ds/filter.do ds/search.do ds/request.do ds/setkeys.do ds/dsgetstat.do ds/partops.do ds/iterhandle.do ds/effright.do ds/dsread.do ds/dslist.do ds/bindctx.do ds/classes.do ds/syntaxes.do ds/dsstream.do o_ndslib.do ncpsign.do ndslib.do mpilib.do -lc rm -f libncp.so ln -sf libncp.so.2.3.0 libncp.so make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/sutil' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/sutil' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/sutil' set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -D_GNU_SOURCE -fPIC -DNWMSG=\"/usr/sbin/nwmsg\" ncpm_common.c \ | sed 's,\(ncpm_common\)\.o[ :]*,\1.o \1.do \1.to ncpm_common.d : ,g' > ncpm_common.d; \ [ -s ncpm_common.d ] || rm -f ncpm_common.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -D_GNU_SOURCE -fPIC -DNCPMAP=1 -DMAKE_NCPLIB ncplogin.c \ | sed 's,\(ncpmap\)\.o[ :]*,\1.o \1.do \1.to ncpmap.d : ,g' > ncpmap.d; \ [ -s ncpmap.d ] || rm -f ncpmap.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -D_GNU_SOURCE -fPIC -DMAKE_NCPLIB ncplogin.c \ | sed 's,\(ncplogin\)\.o[ :]*,\1.o \1.do \1.to ncplogin.d : ,g' > ncplogin.d; \ [ -s ncplogin.d ] || rm -f ncplogin.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -D_GNU_SOURCE -fPIC ncpumount.c \ | sed 's,\(ncpumount\)\.o[ :]*,\1.o \1.do \1.to ncpumount.d : ,g' > ncpumount.d; \ [ -s ncpumount.d ] || rm -f ncpumount.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -D_GNU_SOURCE -fPIC -DNCPMOUNT=1 -DMAKE_NCPLIB ncpmount.c \ | sed 's,\(ncpmount\)\.o[ :]*,\1.o \1.do \1.to ncpmount.d : ,g' > ncpmount.d; \ [ -s ncpmount.d ] || rm -f ncpmount.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -D_GNU_SOURCE -fPIC nwsfind.c \ | sed 's,\(nwsfind\)\.o[ :]*,\1.o \1.do \1.to nwsfind.d : ,g' > nwsfind.d; \ [ -s nwsfind.d ] || rm -f nwsfind.d make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/sutil' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/sutil' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -D_GNU_SOURCE -fPIC -o nwsfind.o -c nwsfind.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -D_GNU_SOURCE -fPIC -DNWMSG=\"/usr/sbin/nwmsg\" -o ncpm_common.o -c ncpm_common.c ncpm_common.c: In function 'ncp_mount_v3': ncpm_common.c:476:16: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(datav3.mounted_vol, data->mounted_vol, sizeof(datav3.mounted_vol)); ~~~~~~^~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ../include/ncp/kernel/types.h:4, from ../include/ncp/kernel/ncp.h:45, from ncpm_common.h:8, from ncpm_common.c:83: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ ncpm_common.c:476:34: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(datav3.mounted_vol, data->mounted_vol, sizeof(datav3.mounted_vol)); ~~~~^~~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ../include/ncp/kernel/types.h:4, from ../include/ncp/kernel/ncp.h:45, from ncpm_common.h:8, from ncpm_common.c:83: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'const unsigned char * const' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ ncpm_common.c: In function 'init_mount_info': ncpm_common.c:638:26: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] info->mdata.mounted_vol = ""; ^ ncpm_common.c: In function 'process_connection': ncpm_common.c:1229:15: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (!stat(mnt->mount_point, &stb)) { ~~~^~~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ../include/ncp/kernel/types.h:4, from ../include/ncp/kernel/ncp.h:45, from ncpm_common.h:8, from ncpm_common.c:83: /usr/include/sys/stat.h:449:1: note: expected 'const char *' but argument is of type 'unsigned char * const' __NTH (stat (const char *__path, struct stat *__statbuf)) ^~~~~ ncpm_common.c:1234:19: warning: pointer targets in assignment from 'unsigned char * const' to 'const char *' differ in signedness [-Wpointer-sign] nwcc_mount_point = mnt->mount_point; ^ ncpm_common.c:1240:27: warning: pointer targets in passing argument 1 of 'ncp_open_mount' differ in signedness [-Wpointer-sign] err = ncp_open_mount(mnt->mount_point, &conn); ~~~^~~~~~~~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncpm_common.h:10, from ncpm_common.c:83: ../include/ncp/ncplib.h:362:5: note: expected 'const char *' but argument is of type 'unsigned char * const' int ncp_open_mount(const char *mount_point, NWCONN_HANDLE * conn); ^~~~~~~~~~~~~~ ncpm_common.c: In function 'opt_set_iocharset': ncpm_common.c:1640:21: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(info->nls_cs.iocharset, param); ~~~~~~~~~~~~^~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ../include/ncp/kernel/types.h:4, from ../include/ncp/kernel/ncp.h:45, from ncpm_common.h:8, from ncpm_common.c:83: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ ncpm_common.c: In function 'opt_set_codepage': ncpm_common.c:1647:21: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(info->nls_cs.codepage, param); ~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ../include/ncp/kernel/types.h:4, from ../include/ncp/kernel/ncp.h:45, from ncpm_common.h:8, from ncpm_common.c:83: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ ncpm_common.c: In function 'proc_aftermount': ncpm_common.c:1728:39: warning: pointer targets in passing argument 1 of 'ncp_open_mount' differ in signedness [-Wpointer-sign] if ((err = ncp_open_mount(info->mdata.mount_point, &conn)) != 0) { ~~~~~~~~~~~^~~~~~~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncpm_common.h:10, from ncpm_common.c:83: ../include/ncp/ncplib.h:362:5: note: expected 'const char *' but argument is of type 'unsigned char * const' int ncp_open_mount(const char *mount_point, NWCONN_HANDLE * conn); ^~~~~~~~~~~~~~ ncpm_common.c:1743:20: warning: pointer targets in initialization of 'const char *' from 'const unsigned char *' differ in signedness [-Wpointer-sign] const char* p = info->nls_cs.codepage; ^~~~ ncpm_common.c:1748:18: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(old_nls.iocharset, info->nls_cs.iocharset); ~~~~~~~^~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ../include/ncp/kernel/types.h:4, from ../include/ncp/kernel/ncp.h:45, from ncpm_common.h:8, from ncpm_common.c:83: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ ncpm_common.c:1748:42: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(old_nls.iocharset, info->nls_cs.iocharset); ~~~~~~~~~~~~^~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ../include/ncp/kernel/types.h:4, from ../include/ncp/kernel/ncp.h:45, from ncpm_common.h:8, from ncpm_common.c:83: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ ncpm_common.c: In function 'process_connection': ncpm_common.c:1196:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ ncpm_common.c: In function 'notify_slave': ncpm_common.c:465:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(info_fd, p, 12); ^~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -D_GNU_SOURCE -fPIC -o mount_login.o -c mount_login.c i586-alt-linux-gcc -o nwsfind nwsfind.o -pie ../lib/libncp.a i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -D_GNU_SOURCE -fPIC -DNCPMOUNT=1 -DMAKE_NCPLIB -o ncpmount.o -c ncpmount.c ncpmount.c: In function 'main': ncpmount.c:434:22: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(info.NWpath + 2, vol); ~~~~~~~~~~~~^~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ../include/ncp/kernel/types.h:4, from ../include/ncp/kernel/ncp.h:45, from ncpm_common.h:8, from ncpmount.c:95: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ ncpmount.c:451:28: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] info.mdata.mounted_vol = ""; ^ ncpmount.c:454:28: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] info.mdata.mounted_vol = "dummy"; ^ ncpmount.c:458:28: warning: pointer targets in assignment from 'const char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] info.mdata.mounted_vol = info.volume; ^ ncpmount.c:502:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] info.mdata.server_name = spec.server; ^ ncpmount.c:601:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] info.mdata.mount_point = mount_point; ^ ncpmount.c:624:30: warning: pointer targets in passing argument 1 of 'proc_ncpm_umount' differ in signedness [-Wpointer-sign] proc_ncpm_umount(info.mdata.mount_point); ~~~~~~~~~~^~~~~~~~~~~~ In file included from ncpmount.c:95: ncpm_common.h:122:5: note: expected 'const char *' but argument is of type 'unsigned char *' int proc_ncpm_umount(const char* dir); ^~~~~~~~~~~~~~~~ ncpmount.c:636:31: warning: pointer targets in passing argument 1 of 'proc_ncpm_umount' differ in signedness [-Wpointer-sign] proc_ncpm_umount(info.mdata.mount_point); ~~~~~~~~~~^~~~~~~~~~~~ In file included from ncpmount.c:95: ncpm_common.h:122:5: note: expected 'const char *' but argument is of type 'unsigned char *' int proc_ncpm_umount(const char* dir); ^~~~~~~~~~~~~~~~ ncpmount.c:667:38: warning: pointer targets in passing argument 2 of 'ncp_login_user' differ in signedness [-Wpointer-sign] if ((err = ncp_login_user(conn, spec.user, spec.password)) != 0) ~~~~^~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncpm_common.h:10, from ncpmount.c:95: ../include/ncp/ncplib.h:772:2: note: expected 'const unsigned char *' but argument is of type 'char *' ncp_login_user(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~ ncpmount.c:667:49: warning: pointer targets in passing argument 3 of 'ncp_login_user' differ in signedness [-Wpointer-sign] if ((err = ncp_login_user(conn, spec.user, spec.password)) != 0) ~~~~^~~~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncpm_common.h:10, from ncpmount.c:95: ../include/ncp/ncplib.h:772:2: note: expected 'const unsigned char *' but argument is of type 'char *' ncp_login_user(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~ ncpmount.c:363:2: warning: ignoring return value of 'realpath', declared with attribute warn_unused_result [-Wunused-result] realpath(argv[optind], mount_point); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -o ncpmount ncpmount.o ncpm_common.o mount_login.o ../lib/libncp.a i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -D_GNU_SOURCE -fPIC -o ncpumount.o -c ncpumount.c ncpumount.c: In function '__clearMtab': ncpumount.c:181:6: warning: implicit declaration of function 'fchmod'; did you mean 'wcstod'? [-Wimplicit-function-declaration] if (fchmod(fileno(new_mtab), S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) < 0){ ^~~~~~ wcstod ncpumount.c: In function 'check_is_mount': ncpumount.c:317:6: warning: implicit declaration of function 'waitpid'; did you mean 'getpid'? [-Wimplicit-function-declaration] p = waitpid(pid, &status, __WCLONE); ^~~~~~~ getpid ncpumount.c: In function 'unmount_ncp': ncpumount.c:410:3: warning: ignoring return value of 'fchdir', declared with attribute warn_unused_result [-Wunused-result] fchdir(currdir_fd); ^~~~~~~~~~~~~~~~~~ ncpumount.c: In function 'clearMtab': ncpumount.c:228:2: warning: ignoring return value of 'lockf', declared with attribute warn_unused_result [-Wunused-result] lockf(fd, F_LOCK, 0); ^~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -o ncpumount ncpumount.o ../lib/libncp.a i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -D_GNU_SOURCE -fPIC -DMAKE_NCPLIB -o ncplogin.o -c ncplogin.c ncplogin.c: In function 'opt_set_volume_after_parsing_all_options': ncplogin.c:183:35: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] info->mdata.mounted_vol = ""; ^ ncplogin.c:187:35: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] info->mdata.mounted_vol = "dummy"; ^ ncplogin.c:192:35: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] info->mdata.mounted_vol = path; ^ ncplogin.c: In function 'main': ncplogin.c:744:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] info.mdata.server_name = spec.server; ^ ncplogin.c:815:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] info.mdata.mount_point = mount_point; ^ ncplogin.c:885:39: warning: pointer targets in passing argument 2 of 'ncp_login_user' differ in signedness [-Wpointer-sign] if ((err = ncp_login_user(conn, spec.user, spec.password)) != 0) { ~~~~^~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncpm_common.h:10, from ncplogin.c:92: ../include/ncp/ncplib.h:772:2: note: expected 'const unsigned char *' but argument is of type 'char *' ncp_login_user(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~ ncplogin.c:885:50: warning: pointer targets in passing argument 3 of 'ncp_login_user' differ in signedness [-Wpointer-sign] if ((err = ncp_login_user(conn, spec.user, spec.password)) != 0) { ~~~~^~~~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncpm_common.h:10, from ncplogin.c:92: ../include/ncp/ncplib.h:772:2: note: expected 'const unsigned char *' but argument is of type 'char *' ncp_login_user(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~ i586-alt-linux-gcc -o ncplogin ncplogin.o -pie ncpm_common.o mount_login.o ../lib/libncp.a i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -D_GNU_SOURCE -fPIC -DNCPMAP=1 -DMAKE_NCPLIB -o ncpmap.o -c ncplogin.c ncplogin.c: In function 'opt_set_volume_after_parsing_all_options': ncplogin.c:183:35: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] info->mdata.mounted_vol = ""; ^ ncplogin.c:187:35: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] info->mdata.mounted_vol = "dummy"; ^ ncplogin.c:192:35: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] info->mdata.mounted_vol = path; ^ ncplogin.c: In function 'main': ncplogin.c:815:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] info.mdata.mount_point = mount_point; ^ ncplogin.c:518:3: warning: ignoring return value of 'realpath', declared with attribute warn_unused_result [-Wunused-result] realpath(argv[optind], mount_point); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -o ncpmap ncpmap.o -pie ncpm_common.o ../lib/libncp.a make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/sutil' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/util' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/util' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/util' set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include ncptest.c \ | sed 's,\(ncptest\)\.o[ :]*,\1.o \1.do \1.to ncptest.d : ,g' > ncptest.d; \ [ -s ncptest.d ] || rm -f ncptest.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwmsg.c \ | sed 's,\(nwmsg\)\.o[ :]*,\1.o \1.do \1.to nwmsg.d : ,g' > nwmsg.d; \ [ -s nwmsg.d ] || rm -f nwmsg.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwdpvalues.c \ | sed 's,\(nwdpvalues\)\.o[ :]*,\1.o \1.do \1.to nwdpvalues.d : ,g' > nwdpvalues.d; \ [ -s nwdpvalues.d ] || rm -f nwdpvalues.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwrights.c \ | sed 's,\(nwrights\)\.o[ :]*,\1.o \1.do \1.to nwrights.d : ,g' > nwrights.d; \ [ -s nwrights.d ] || rm -f nwrights.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwpurge.c \ | sed 's,\(nwpurge\)\.o[ :]*,\1.o \1.do \1.to nwpurge.d : ,g' > nwpurge.d; \ [ -s nwpurge.d ] || rm -f nwpurge.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwtrustee2.c \ | sed 's,\(nwtrustee2\)\.o[ :]*,\1.o \1.do \1.to nwtrustee2.d : ,g' > nwtrustee2.d; \ [ -s nwtrustee2.d ] || rm -f nwtrustee2.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -D_GNU_SOURCE ncopy.c \ | sed 's,\(ncopy\)\.o[ :]*,\1.o \1.do \1.to ncopy.d : ,g' > ncopy.d; \ [ -s ncopy.d ] || rm -f ncopy.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwpjmv.c \ | sed 's,\(nwpjmv\)\.o[ :]*,\1.o \1.do \1.to nwpjmv.d : ,g' > nwpjmv.d; \ [ -s nwpjmv.d ] || rm -f nwpjmv.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwfsctrl.c \ | sed 's,\(nwfsctrl\)\.o[ :]*,\1.o \1.do \1.to nwfsctrl.d : ,g' > nwfsctrl.d; \ [ -s nwfsctrl.d ] || rm -f nwfsctrl.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwdir.c \ | sed 's,\(nwdir\)\.o[ :]*,\1.o \1.do \1.to nwdir.d : ,g' > nwdir.d; \ [ -s nwdir.d ] || rm -f nwdir.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwtrustee.c \ | sed 's,\(nwtrustee\)\.o[ :]*,\1.o \1.do \1.to nwtrustee.d : ,g' > nwtrustee.d; \ [ -s nwtrustee.d ] || rm -f nwtrustee.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwvolinfo.c \ | sed 's,\(nwvolinfo\)\.o[ :]*,\1.o \1.do \1.to nwvolinfo.d : ,g' > nwvolinfo.d; \ [ -s nwvolinfo.d ] || rm -f nwvolinfo.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwfstime.c \ | sed 's,\(nwfstime\)\.o[ :]*,\1.o \1.do \1.to nwfstime.d : ,g' > nwfstime.d; \ [ -s nwfstime.d ] || rm -f nwfstime.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwauth.c \ | sed 's,\(nwauth\)\.o[ :]*,\1.o \1.do \1.to nwauth.d : ,g' > nwauth.d; \ [ -s nwauth.d ] || rm -f nwauth.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwuserlist.c \ | sed 's,\(nwuserlist\)\.o[ :]*,\1.o \1.do \1.to nwuserlist.d : ,g' > nwuserlist.d; \ [ -s nwuserlist.d ] || rm -f nwuserlist.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwrevoke.c \ | sed 's,\(nwrevoke\)\.o[ :]*,\1.o \1.do \1.to nwrevoke.d : ,g' > nwrevoke.d; \ [ -s nwrevoke.d ] || rm -f nwrevoke.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwgrant.c \ | sed 's,\(nwgrant\)\.o[ :]*,\1.o \1.do \1.to nwgrant.d : ,g' > nwgrant.d; \ [ -s nwgrant.d ] || rm -f nwgrant.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwbpset.c \ | sed 's,\(nwbpset\)\.o[ :]*,\1.o \1.do \1.to nwbpset.d : ,g' > nwbpset.d; \ [ -s nwbpset.d ] || rm -f nwbpset.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwbpadd.c \ | sed 's,\(nwbpadd\)\.o[ :]*,\1.o \1.do \1.to nwbpadd.d : ,g' > nwbpadd.d; \ [ -s nwbpadd.d ] || rm -f nwbpadd.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwbpvalues.c \ | sed 's,\(nwbpvalues\)\.o[ :]*,\1.o \1.do \1.to nwbpvalues.d : ,g' > nwbpvalues.d; \ [ -s nwbpvalues.d ] || rm -f nwbpvalues.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwbprm.c \ | sed 's,\(nwbprm\)\.o[ :]*,\1.o \1.do \1.to nwbprm.d : ,g' > nwbprm.d; \ [ -s nwbprm.d ] || rm -f nwbprm.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwbpcreate.c \ | sed 's,\(nwbpcreate\)\.o[ :]*,\1.o \1.do \1.to nwbpcreate.d : ,g' > nwbpcreate.d; \ [ -s nwbpcreate.d ] || rm -f nwbpcreate.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwpqjob.c \ | sed 's,\(nwpqjob\)\.o[ :]*,\1.o \1.do \1.to nwpqjob.d : ,g' > nwpqjob.d; \ [ -s nwpqjob.d ] || rm -f nwpqjob.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include pqstat.c \ | sed 's,\(pqstat\)\.o[ :]*,\1.o \1.do \1.to pqstat.d : ,g' > pqstat.d; \ [ -s pqstat.d ] || rm -f pqstat.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwboprops.c \ | sed 's,\(nwboprops\)\.o[ :]*,\1.o \1.do \1.to nwboprops.d : ,g' > nwboprops.d; \ [ -s nwboprops.d ] || rm -f nwboprops.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwborm.c \ | sed 's,\(nwborm\)\.o[ :]*,\1.o \1.do \1.to nwborm.d : ,g' > nwborm.d; \ [ -s nwborm.d ] || rm -f nwborm.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwbocreate.c \ | sed 's,\(nwbocreate\)\.o[ :]*,\1.o \1.do \1.to nwbocreate.d : ,g' > nwbocreate.d; \ [ -s nwbocreate.d ] || rm -f nwbocreate.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwbols.c \ | sed 's,\(nwbols\)\.o[ :]*,\1.o \1.do \1.to nwbols.d : ,g' > nwbols.d; \ [ -s nwbols.d ] || rm -f nwbols.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwpasswd.c \ | sed 's,\(nwpasswd\)\.o[ :]*,\1.o \1.do \1.to nwpasswd.d : ,g' > nwpasswd.d; \ [ -s nwpasswd.d ] || rm -f nwpasswd.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nsend.c \ | sed 's,\(nsend\)\.o[ :]*,\1.o \1.do \1.to nsend.d : ,g' > nsend.d; \ [ -s nsend.d ] || rm -f nsend.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nprint.c \ | sed 's,\(nprint\)\.o[ :]*,\1.o \1.do \1.to nprint.d : ,g' > nprint.d; \ [ -s nprint.d ] || rm -f nprint.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include pserver.c \ | sed 's,\(pserver\)\.o[ :]*,\1.o \1.do \1.to pserver.d : ,g' > pserver.d; \ [ -s pserver.d ] || rm -f pserver.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include nwfsinfo.c \ | sed 's,\(nwfsinfo\)\.o[ :]*,\1.o \1.do \1.to nwfsinfo.d : ,g' > nwfsinfo.d; \ [ -s nwfsinfo.d ] || rm -f nwfsinfo.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include pqlist.c \ | sed 's,\(pqlist\)\.o[ :]*,\1.o \1.do \1.to pqlist.d : ,g' > pqlist.d; \ [ -s pqlist.d ] || rm -f pqlist.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include slist.c \ | sed 's,\(slist\)\.o[ :]*,\1.o \1.do \1.to slist.d : ,g' > slist.d; \ [ -s slist.d ] || rm -f slist.d make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/util' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/util' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o slist.o -c slist.c slist.c: In function 'main': slist.c:95:13: warning: pointer targets in passing argument 3 of 'ncp_read_property_value' differ in signedness [-Wpointer-sign] obj.object_name, 1, "NET_ADDRESS", ~~~^~~~~~~~~~~~ In file included from slist.c:32: ../include/ncp/ncplib.h:639:2: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} ncp_read_property_value(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o slist slist.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o pqlist.o -c pqlist.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o pqlist pqlist.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwfsinfo.o -c nwfsinfo.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwfsinfo nwfsinfo.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o pserver.o -c pserver.c pserver.c: In function 'poll_queue': pserver.c:261:41: warning: pointer targets in passing argument 2 of 'ncp_read' differ in signedness [-Wpointer-sign] while ((result = ncp_read(q->conn, job.file_handle, offset, ~~~^~~~~~~~~~~~ In file included from pserver.c:37: ../include/ncp/ncplib.h:886:2: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} ncp_read(NWCONN_HANDLE conn, const char fileHandle[6], ^~~~~~~~ pserver.c: In function 'daemon_init': pserver.c:109:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o pserver pserver.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nprint.o -c nprint.c nprint.c: In function 'main': nprint.c:293:24: warning: pointer targets in passing argument 2 of 'ncp_write' differ in signedness [-Wpointer-sign] if (ncp_write(conn, j.file_handle, ~^~~~~~~~~~~~ In file included from ../include/ncp/ndslib.h:23, from ../include/ncp/nwnet.h:108, from nprint.c:44: ../include/ncp/ncplib.h:890:2: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} ncp_write(NWCONN_HANDLE conn, const char fileHandle[6], ^~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o dsqueue.o -c dsqueue.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nprint nprint.o dsqueue.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nsend.o -c nsend.c nsend.c: In function 'main': nsend.c:291:72: warning: pointer targets in passing argument 3 of 'ncp_read_property_value' differ in signedness [-Wpointer-sign] if ((err = ncp_read_property_value(conn, object.object_type, object.object_name, ~~~~~~^~~~~~~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from nsend.c:42: ../include/ncp/ncplib.h:639:2: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} ncp_read_property_value(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~~~~~ nsend.c:304:40: warning: pointer targets in passing argument 3 of 'perform_send' differ in signedness [-Wpointer-sign] perform_send(conn, message, user.object_name, user.object_type); ~~~~^~~~~~~~~~~~ nsend.c:89:13: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} static void perform_send(NWCONN_HANDLE conn, const char* message, ^~~~~~~~~~~~ nsend.c:316:38: warning: pointer targets in passing argument 3 of 'perform_send' differ in signedness [-Wpointer-sign] perform_send(conn, message, object.object_name, object.object_type); ~~~~~~^~~~~~~~~~~~ nsend.c:89:13: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} static void perform_send(NWCONN_HANDLE conn, const char* message, ^~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nsend nsend.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwpasswd.o -c nwpasswd.c nwpasswd.c: In function 'main': nwpasswd.c:121:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(buf_obj_name, object_name); ^~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/unistd.h:25, from nwpasswd.c:26: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ nwpasswd.c:122:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] object_name = buf_obj_name; ^ nwpasswd.c:182:43: warning: pointer targets in passing argument 2 of 'ncp_login_user' differ in signedness [-Wpointer-sign] && !(err = ncp_login_user(conn, spec.user, oldpass))) ~~~~^~~~~ In file included from nwpasswd.c:29: ../include/ncp/ncplib.h:772:2: note: expected 'const unsigned char *' but argument is of type 'char *' ncp_login_user(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~ nwpasswd.c:182:50: warning: pointer targets in passing argument 3 of 'ncp_login_user' differ in signedness [-Wpointer-sign] && !(err = ncp_login_user(conn, spec.user, oldpass))) ^~~~~~~ In file included from nwpasswd.c:29: ../include/ncp/ncplib.h:772:2: note: expected 'const unsigned char *' but argument is of type 'char *' ncp_login_user(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~ nwpasswd.c:190:43: warning: pointer targets in passing argument 2 of 'ncp_get_encryption_key' differ in signedness [-Wpointer-sign] if (((err = ncp_get_encryption_key(conn, ncp_key)) != 0) ^~~~~~~ In file included from nwpasswd.c:29: ../include/ncp/ncplib.h:550:2: note: expected 'char *' but argument is of type 'unsigned char *' ncp_get_encryption_key(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~~~~ nwpasswd.c:194:13: warning: pointer targets in passing argument 4 of 'ncp_change_login_passwd' differ in signedness [-Wpointer-sign] oldpass, newpass1)) != 0)) ^~~~~~~ In file included from nwpasswd.c:29: ../include/ncp/ncplib.h:709:2: note: expected 'const unsigned char *' but argument is of type 'char *' ncp_change_login_passwd(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~~~~~ nwpasswd.c:194:22: warning: pointer targets in passing argument 5 of 'ncp_change_login_passwd' differ in signedness [-Wpointer-sign] oldpass, newpass1)) != 0)) ^~~~~~~~ In file included from nwpasswd.c:29: ../include/ncp/ncplib.h:709:2: note: expected 'const unsigned char *' but argument is of type 'char *' ncp_change_login_passwd(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwpasswd nwpasswd.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwbols.o -c nwbols.c nwbols.c: In function 'main': nwbols.c:71:6: warning: variable 'found' set but not used [-Wunused-but-set-variable] int found = 0; ^~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwbols nwbols.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwbocreate.o -c nwbocreate.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwbocreate nwbocreate.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwborm.o -c nwborm.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwborm nwborm.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwboprops.o -c nwboprops.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwboprops nwboprops.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o pqstat.o -c pqstat.c pqstat.c: In function 'main': pqstat.c:175:16: warning: variable 'sptr' set but not used [-Wunused-but-set-variable] const char* sptr = server; ^~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o pqstat pqstat.o dsqueue.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwpqjob.o -c nwpqjob.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwpqjob nwpqjob.o dsqueue.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwbpcreate.o -c nwbpcreate.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwbpcreate nwbpcreate.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwbprm.o -c nwbprm.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwbprm nwbprm.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwbpvalues.o -c nwbpvalues.c nwbpvalues.c: In function 'print_string': nwbpvalues.c:297:7: warning: pointer targets in passing argument 1 of 'puts' differ in signedness [-Wpointer-sign] puts(val); ^~~ In file included from ../include/ncp/ncplib.h:63, from ../include/ncp/nwcalls.h:83, from nwbpvalues.c:33: /usr/include/stdio.h:632:12: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} extern int puts (const char *__s); ^~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwbpvalues nwbpvalues.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwbpadd.o -c nwbpadd.c nwbpadd.c: In function 'main': nwbpadd.c:194:24: warning: pointer targets in passing argument 6 of 'ncp_add_object_to_set' differ in signedness [-Wpointer-sign] o.object_type, o.object_name) != 0) ~^~~~~~~~~~~~ In file included from nwbpadd.c:33: ../include/ncp/ncplib.h:649:2: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} ncp_add_object_to_set(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwbpadd nwbpadd.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwbpset.o -c nwbpset.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwbpset nwbpset.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwgrant.o -c nwgrant.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwgrant nwgrant.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwrevoke.o -c nwrevoke.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwrevoke nwrevoke.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwuserlist.o -c nwuserlist.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwuserlist nwuserlist.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwauth.o -c nwauth.c nwauth.c: In function 'main': nwauth.c:165:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(spec.password, sizeof(spec.password), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwauth nwauth.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwfstime.o -c nwfstime.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwfstime nwfstime.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwvolinfo.o -c nwvolinfo.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwvolinfo nwvolinfo.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwtrustee.o -c nwtrustee.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwtrustee nwtrustee.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwdir.o -c nwdir.c nwdir.c: In function 'listdir': nwdir.c:793:6: warning: pointer targets in passing argument 10 of 'ncp_ns_search_init' differ in signedness [-Wpointer-sign] 0, mask, maskl, img, &h); ^~~~ In file included from ../include/ncp/nwcalls.h:83, from nwdir.c:61: ../include/ncp/ncplib.h:1535:1: note: expected 'const unsigned char *' but argument is of type 'char *' ncp_ns_search_init(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~ nwdir.c: In function 'main': nwdir.c:955:4: warning: pointer targets in passing argument 7 of 'ncp_ns_obtain_entry_info' differ in signedness [-Wpointer-sign] fullpath, NCP_PATH_STD, NW_NS_DOS, RIM_ATTRIBUTES | RIM_DIRECTORY, ^~~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from nwdir.c:61: ../include/ncp/ncplib.h:1403:1: note: expected 'const unsigned char *' but argument is of type 'char *' ncp_ns_obtain_entry_info(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~~~~~~ nwdir.c: In function 'dumpit': nwdir.c:524:11: warning: 'eff' may be used uninitialized in this function [-Wmaybe-uninitialized] eff32 = eff; ~~~~~~^~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwdir nwdir.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwfsctrl.o -c nwfsctrl.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwfsctrl nwfsctrl.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwpjmv.o -c nwpjmv.c nwpjmv.c: In function 'move_job': nwpjmv.c:250:41: warning: pointer targets in passing argument 2 of 'ncp_read' differ in signedness [-Wpointer-sign] while ((result = ncp_read(q->conn, job.file_handle, offset, ~~~^~~~~~~~~~~~ In file included from nwpjmv.c:39: ../include/ncp/ncplib.h:886:2: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} ncp_read(NWCONN_HANDLE conn, const char fileHandle[6], ^~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwpjmv nwpjmv.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -D_GNU_SOURCE -o ncopy.o -c ncopy.c ncopy.c: In function 'copyNWNW': ncopy.c:308:33: warning: pointer targets in passing argument 2 of 'ncp_get_file_size' differ in signedness [-Wpointer-sign] err = ncp_get_file_size(scon, sfhandle, &totalSize); ^~~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncopy.c:61: ../include/ncp/ncplib.h:1634:1: note: expected 'const char *' but argument is of type 'const u_int8_t *' {aka 'const unsigned char *'} ncp_get_file_size(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~ ncopy.c:346:30: warning: pointer targets in passing argument 2 of 'ncp_copy_file' differ in signedness [-Wpointer-sign] err = ncp_copy_file(dcon, sfhandle, ^~~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncopy.c:61: ../include/ncp/ncplib.h:900:2: note: expected 'const char *' but argument is of type 'const u_int8_t *' {aka 'const unsigned char *'} ncp_copy_file(NWCONN_HANDLE conn, ^~~~~~~~~~~~~ ncopy.c:347:10: warning: pointer targets in passing argument 3 of 'ncp_copy_file' differ in signedness [-Wpointer-sign] dfhandle, sourceOff, ^~~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncopy.c:61: ../include/ncp/ncplib.h:900:2: note: expected 'const char *' but argument is of type 'const u_int8_t *' {aka 'const unsigned char *'} ncp_copy_file(NWCONN_HANDLE conn, ^~~~~~~~~~~~~ ncopy.c:369:28: warning: pointer targets in passing argument 2 of 'ncp_read' differ in signedness [-Wpointer-sign] bytes = ncp_read(scon, sfhandle, sourceOff, sizeof(buffer), buffer); ^~~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncopy.c:61: ../include/ncp/ncplib.h:886:2: note: expected 'const char *' but argument is of type 'const u_int8_t *' {aka 'const unsigned char *'} ncp_read(NWCONN_HANDLE conn, const char fileHandle[6], ^~~~~~~~ ncopy.c:369:65: warning: pointer targets in passing argument 5 of 'ncp_read' differ in signedness [-Wpointer-sign] bytes = ncp_read(scon, sfhandle, sourceOff, sizeof(buffer), buffer); ^~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncopy.c:61: ../include/ncp/ncplib.h:886:2: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} ncp_read(NWCONN_HANDLE conn, const char fileHandle[6], ^~~~~~~~ ncopy.c:391:32: warning: pointer targets in passing argument 2 of 'ncp_write' differ in signedness [-Wpointer-sign] written = ncp_write(dcon, dfhandle, sourceOff, bytes, buffer); ^~~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncopy.c:61: ../include/ncp/ncplib.h:890:2: note: expected 'const char *' but argument is of type 'const u_int8_t *' {aka 'const unsigned char *'} ncp_write(NWCONN_HANDLE conn, const char fileHandle[6], ^~~~~~~~~ ncopy.c:391:60: warning: pointer targets in passing argument 5 of 'ncp_write' differ in signedness [-Wpointer-sign] written = ncp_write(dcon, dfhandle, sourceOff, bytes, buffer); ^~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncopy.c:61: ../include/ncp/ncplib.h:890:2: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} ncp_write(NWCONN_HANDLE conn, const char fileHandle[6], ^~~~~~~~~ ncopy.c: In function 'netwareCopyFile': ncopy.c:461:35: warning: pointer targets in passing argument 18 of 'ncp_ns_open_create_entry' differ in signedness [-Wpointer-sign] &sfi, sizeof(sfi), NULL, NULL, sfhandle); ^~~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncopy.c:61: ../include/ncp/ncplib.h:1380:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} ncp_ns_open_create_entry(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~~~~~~ ncopy.c:504:35: warning: pointer targets in passing argument 18 of 'ncp_ns_open_create_entry' differ in signedness [-Wpointer-sign] &dfi, sizeof(dfi), NULL, NULL, dfhandle); ^~~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncopy.c:61: ../include/ncp/ncplib.h:1380:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} ncp_ns_open_create_entry(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~~~~~~ ncopy.c:538:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] ncopy = !strcmp(saddr, daddr); ^~~~~ In file included from ncopy.c:52: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ncopy.c:538:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] ncopy = !strcmp(saddr, daddr); ^~~~~ In file included from ncopy.c:52: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ncopy.c:556:29: warning: pointer targets in passing argument 2 of 'ncp_close_file' differ in signedness [-Wpointer-sign] if (ncp_close_file(dcon, dfhandle) != 0) ^~~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncopy.c:61: ../include/ncp/ncplib.h:806:6: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} long ncp_close_file(NWCONN_HANDLE conn, const char fileHandle[6]); ^~~~~~~~~~~~~~ ncopy.c:564:29: warning: pointer targets in passing argument 2 of 'ncp_close_file' differ in signedness [-Wpointer-sign] if (ncp_close_file(scon, sfhandle) != 0) ^~~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncopy.c:61: ../include/ncp/ncplib.h:806:6: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} long ncp_close_file(NWCONN_HANDLE conn, const char fileHandle[6]); ^~~~~~~~~~~~~~ ncopy.c:597:28: warning: pointer targets in passing argument 18 of 'ncp_ns_open_create_entry' differ in signedness [-Wpointer-sign] NULL, 0, NULL, NULL, sfhandle); ^~~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncopy.c:61: ../include/ncp/ncplib.h:1380:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} ncp_ns_open_create_entry(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~~~~~~ ncopy.c:648:28: warning: pointer targets in passing argument 18 of 'ncp_ns_open_create_entry' differ in signedness [-Wpointer-sign] NULL, 0, NULL, NULL, dfhandle); ^~~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncopy.c:61: ../include/ncp/ncplib.h:1380:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} ncp_ns_open_create_entry(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~~~~~~ ncopy.c:705:26: warning: pointer targets in passing argument 2 of 'ncp_close_file' differ in signedness [-Wpointer-sign] ncp_close_file(dMAC, dfhandle); ^~~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncopy.c:61: ../include/ncp/ncplib.h:806:6: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} long ncp_close_file(NWCONN_HANDLE conn, const char fileHandle[6]); ^~~~~~~~~~~~~~ ncopy.c:709:26: warning: pointer targets in passing argument 2 of 'ncp_close_file' differ in signedness [-Wpointer-sign] ncp_close_file(sMAC, sfhandle); ^~~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncopy.c:61: ../include/ncp/ncplib.h:806:6: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} long ncp_close_file(NWCONN_HANDLE conn, const char fileHandle[6]); ^~~~~~~~~~~~~~ ncopy.c: In function 'handleSignals': ncopy.c:1083:35: warning: pointer targets in passing argument 2 of 'ncp_close_file' differ in signedness [-Wpointer-sign] if (ncp_close_file(CurrentConn, CurrentFile) != 0) ^~~~~~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncopy.c:61: ../include/ncp/ncplib.h:806:6: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} long ncp_close_file(NWCONN_HANDLE conn, const char fileHandle[6]); ^~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o ncopy ncopy.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwtrustee2.o -c nwtrustee2.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwtrustee2 nwtrustee2.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwpurge.o -c nwpurge.c nwpurge.c: In function 'processpurge': nwpurge.c:92:17: warning: pointer targets in passing argument 10 of 'ncp_ns_search_init' differ in signedness [-Wpointer-sign] NULL, 0, 0, "\xFF*", 2, RIM_DIRECTORY, &dh)) { ^~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from nwpurge.c:30: ../include/ncp/ncplib.h:1535:1: note: expected 'const unsigned char *' but argument is of type 'char *' ncp_ns_search_init(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwpurge nwpurge.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwrights.o -c nwrights.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwrights nwrights.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwdpvalues.o -c nwdpvalues.c nwdpvalues.c: In function 'main': nwdpvalues.c:76:6: warning: variable 'verbose' set but not used [-Wunused-but-set-variable] int verbose = 0; ^~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwdpvalues nwdpvalues.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o nwmsg.o -c nwmsg.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o nwmsg nwmsg.o -L../lib -lncp i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o ncptest.o -c ncptest.c ncptest.c: In function 'test_change': ncptest.c:147:45: warning: pointer targets in passing argument 2 of 'ncp_get_encryption_key' differ in signedness [-Wpointer-sign] if ((result = ncp_get_encryption_key(conn, ncp_key)) != 0) ^~~~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncptest.c:59: ../include/ncp/ncplib.h:550:2: note: expected 'char *' but argument is of type 'unsigned char *' ncp_get_encryption_key(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~~~~ ncptest.c:157:12: warning: pointer targets in passing argument 4 of 'ncp_change_login_passwd' differ in signedness [-Wpointer-sign] "MEE", "ME")) != 0) ^~~~~ In file included from ../include/ncp/nwcalls.h:83, from ncptest.c:59: ../include/ncp/ncplib.h:709:2: note: expected 'const unsigned char *' but argument is of type 'char *' ncp_change_login_passwd(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~~~~~ ncptest.c:157:19: warning: pointer targets in passing argument 5 of 'ncp_change_login_passwd' differ in signedness [-Wpointer-sign] "MEE", "ME")) != 0) ^~~~ In file included from ../include/ncp/nwcalls.h:83, from ncptest.c:59: ../include/ncp/ncplib.h:709:2: note: expected 'const unsigned char *' but argument is of type 'char *' ncp_change_login_passwd(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o ncptest ncptest.o -L../lib -lncp make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/util' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/man' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/man' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/man' gzip -9 -c nprint.1 >nprint.1.gz gzip -9 -c nsend.1 >nsend.1.gz gzip -9 -c nwauth.1 >nwauth.1.gz gzip -9 -c nwbols.1 >nwbols.1.gz gzip -9 -c nwboprops.1 >nwboprops.1.gz gzip -9 -c nwbpset.1 >nwbpset.1.gz gzip -9 -c nwbpvalues.1 >nwbpvalues.1.gz gzip -9 -c nwdir.1 >nwdir.1.gz gzip -9 -c nwfsinfo.1 >nwfsinfo.1.gz gzip -9 -c nwfstime.1 >nwfstime.1.gz gzip -9 -c nwpasswd.1 >nwpasswd.1.gz gzip -9 -c nwpurge.1 >nwpurge.1.gz gzip -9 -c nwrights.1 >nwrights.1.gz gzip -9 -c nwsfind.1 >nwsfind.1.gz gzip -9 -c nwtrustee.1 >nwtrustee.1.gz gzip -9 -c nwuserlist.1 >nwuserlist.1.gz gzip -9 -c nwvolinfo.1 >nwvolinfo.1.gz gzip -9 -c pqlist.1 >pqlist.1.gz gzip -9 -c nwpqjob.1 >nwpqjob.1.gz gzip -9 -c pqstat.1 >pqstat.1.gz gzip -9 -c pserver.1 >pserver.1.gz gzip -9 -c slist.1 >slist.1.gz gzip -9 -c nwpjmv.1 >nwpjmv.1.gz gzip -9 -c ncopy.1 >ncopy.1.gz gzip -9 -c NWGetConnListFromObject.3ncp >NWGetConnListFromObject.3ncp.gz gzip -9 -c NWCallsInit.3ncp >NWCallsInit.3ncp.gz gzip -9 -c NWGetObjectConnectionNumbers.3ncp >NWGetObjectConnectionNumbers.3ncp.gz gzip -9 -c nwerrors.3ncp >nwerrors.3ncp.gz gzip -9 -c NWClearConnectionNumber.3ncp >NWClearConnectionNumber.3ncp.gz gzip -9 -c nwclient.5 >nwclient.5.gz gzip -9 -c nwbocreate.8 >nwbocreate.8.gz gzip -9 -c nwborm.8 >nwborm.8.gz gzip -9 -c nwbpadd.8 >nwbpadd.8.gz gzip -9 -c nwbpcreate.8 >nwbpcreate.8.gz gzip -9 -c nwbprm.8 >nwbprm.8.gz gzip -9 -c nwfsctrl.8 >nwfsctrl.8.gz gzip -9 -c nwgrant.8 >nwgrant.8.gz gzip -9 -c nwrevoke.8 >nwrevoke.8.gz gzip -9 -c ncpmount.8 >ncpmount.8.gz gzip -9 -c ncpumount.8 >ncpumount.8.gz gzip -9 -c nwmsg.8 >nwmsg.8.gz make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/man' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipx-1.0' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipx-1.0' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipx-1.0' set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include ipxutil.c \ | sed 's,\(ipxutil\)\.o[ :]*,\1.o \1.do \1.to ipxutil.d : ,g' > ipxutil.d; \ [ -s ipxutil.d ] || rm -f ipxutil.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include ipx_cmd.c \ | sed 's,\(ipx_cmd\)\.o[ :]*,\1.o \1.do \1.to ipx_cmd.d : ,g' > ipx_cmd.d; \ [ -s ipx_cmd.d ] || rm -f ipx_cmd.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include ipx_configure.c \ | sed 's,\(ipx_configure\)\.o[ :]*,\1.o \1.do \1.to ipx_configure.d : ,g' > ipx_configure.d; \ [ -s ipx_configure.d ] || rm -f ipx_configure.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include ipx_route.c \ | sed 's,\(ipx_route\)\.o[ :]*,\1.o \1.do \1.to ipx_route.d : ,g' > ipx_route.d; \ [ -s ipx_route.d ] || rm -f ipx_route.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include ipx_internal_net.c \ | sed 's,\(ipx_internal_net\)\.o[ :]*,\1.o \1.do \1.to ipx_internal_net.d : ,g' > ipx_internal_net.d; \ [ -s ipx_internal_net.d ] || rm -f ipx_internal_net.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include ipx_interface.c \ | sed 's,\(ipx_interface\)\.o[ :]*,\1.o \1.do \1.to ipx_interface.d : ,g' > ipx_interface.d; \ [ -s ipx_interface.d ] || rm -f ipx_interface.d make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipx-1.0' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipx-1.0' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o ipx_configure.o -c ipx_configure.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o ipx_configure ipx_configure.o i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o ipx_cmd.o -c ipx_cmd.c ipx_cmd.c:66:2: warning: 'packed' attribute ignored for field of type 'u_int8_t[6]' {aka 'unsigned char[6]'} [-Wattributes] u_int8_t dst[6] __attribute__((packed)); ^~~~~~~~ ipx_cmd.c:67:2: warning: 'packed' attribute ignored for field of type 'u_int8_t[6]' {aka 'unsigned char[6]'} [-Wattributes] u_int8_t src[6] __attribute__((packed)); ^~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o ipx_cmd ipx_cmd.o i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o ipx_interface.o -c ipx_interface.c ipx_interface.c: In function 'ipx_delall_interface': ipx_interface.c:250:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, 80, fp); ^~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o ipxutil.o -c ipxutil.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o ipx_interface ipx_interface.o ipxutil.o i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o ipx_internal_net.o -c ipx_internal_net.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o ipx_internal_net ipx_internal_net.o ipxutil.o i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o ipx_route.o -c ipx_route.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o ipx_route ipx_route.o ipxutil.o gzip -9 -c ipx_configure.8 >ipx_configure.8.gz gzip -9 -c ipx_cmd.8 >ipx_cmd.8.gz gzip -9 -c ipx_interface.8 >ipx_interface.8.gz gzip -9 -c ipx_internal_net.8 >ipx_internal_net.8.gz gzip -9 -c ipx_route.8 >ipx_route.8.gz make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipx-1.0' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/contrib/pam' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/contrib/pam' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/contrib/pam' set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../../include -I../../intl -I../../include support.c \ | sed 's,\(support\)\.o[ :]*,\1.o \1.do \1.to support.d : ,g' > support.d; \ [ -s support.d ] || rm -f support.d set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../../include -I../../intl -I../../include -DNCPMOUNT_PATH=\"/usr/bin/ncpmount\" -DNCPUMOUNT_PATH=\"/usr/bin/ncpumount\" pam_ncp_auth.c \ | sed 's,\(pam_ncp_auth\)\.o[ :]*,\1.o \1.do \1.to pam_ncp_auth.d : ,g' > pam_ncp_auth.d; \ [ -s pam_ncp_auth.d ] || rm -f pam_ncp_auth.d make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/contrib/pam' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/contrib/pam' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../../include -I../../intl -I../../include -DNCPMOUNT_PATH=\"/usr/bin/ncpmount\" -DNCPUMOUNT_PATH=\"/usr/bin/ncpumount\" -fPIC -o pam_ncp_auth.do -c pam_ncp_auth.c In file included from /usr/include/sys/types.h:25, from ../../include/ncp/kernel/types.h:4, from ../../include/ncp/ncp.h:36, from ../../include/ncp/ncplib.h:60, from ../../include/ncp/nwcalls.h:83, from pam_ncp_auth.c:251: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pam_ncp_auth.c: In function 'nw_create_conn_to_server': pam_ncp_auth.c:740:36: warning: pointer targets in passing argument 2 of 'ncp_get_encryption_key' differ in signedness [-Wpointer-sign] err = ncp_get_encryption_key(cn, ncp_key); ^~~~~~~ In file included from ../../include/ncp/nwcalls.h:83, from pam_ncp_auth.c:251: ../../include/ncp/ncplib.h:550:2: note: expected 'char *' but argument is of type 'unsigned char *' ncp_get_encryption_key(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~~~~ pam_ncp_auth.c:743:60: warning: pointer targets in passing argument 4 of 'ncp_login_unencrypted' differ in signedness [-Wpointer-sign] err = ncp_login_unencrypted(cn, NCP_BINDERY_USER, user, pwd2); ^~~~ In file included from ../../include/ncp/nwcalls.h:83, from pam_ncp_auth.c:251: ../../include/ncp/ncplib.h:704:2: note: expected 'const unsigned char *' but argument is of type 'char *' ncp_login_unencrypted(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~~~ pam_ncp_auth.c:751:51: warning: pointer targets in passing argument 4 of 'ncp_login_encrypted' differ in signedness [-Wpointer-sign] err = ncp_login_encrypted(cn, &uinfo, ncp_key, pwd2); ^~~~ In file included from ../../include/ncp/nwcalls.h:83, from pam_ncp_auth.c:251: ../../include/ncp/ncplib.h:698:2: note: expected 'const unsigned char *' but argument is of type 'char *' ncp_login_encrypted(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~ pam_ncp_auth.c: In function 'nw_ctx_search': pam_ncp_auth.c:1010:8: warning: pointer targets in passing argument 11 of 'NWDSSearch' differ in signedness [-Wpointer-sign] &countObjectsSearched, retBuf); ^~~~~~~~~~~~~~~~~~~~~ In file included from pam_ncp_auth.c:252: ../../include/ncp/nwnet.h:734:11: note: expected 'NWObjectCount *' {aka 'unsigned int *'} but argument is of type 'nint32 *' {aka 'int *'} NWDSCCODE NWDSSearch(NWDSContextHandle ctx, const NWDSChar* objectName, ^~~~~~~~~~ pam_ncp_auth.c: In function 'nw_retrieve_bindery_user_info': pam_ncp_auth.c:1476:15: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] v = strdup(p.value); ~^~~~~~ In file included from pam_ncp_auth.c:259: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} extern char *strdup (const char *__s) ^~~~~~ pam_ncp_auth.c:1494:24: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] char *mark = strchr(p.value, ':'); ~^~~~~~ In file included from pam_ncp_auth.c:259: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} extern char *strchr (const char *__s, int __c) ^~~~~~ pam_ncp_auth.c:1500:16: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] v = strdup(p.value); ~^~~~~~ In file included from pam_ncp_auth.c:259: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} extern char *strdup (const char *__s) ^~~~~~ pam_ncp_auth.c: In function 'nds_group_name': pam_ncp_auth.c:1797:4: warning: pointer targets in assignment from 'const NWDSChar *' {aka 'const char *'} to 'const unsigned char *' differ in signedness [-Wpointer-sign] f = objname; ^ pam_ncp_auth.c: In function 'nw_attempt_passwd_post': pam_ncp_auth.c:4435:38: warning: pointer targets in passing argument 2 of 'ncp_get_encryption_key' differ in signedness [-Wpointer-sign] err = ncp_get_encryption_key(conn, ncp_key); ^~~~~~~ In file included from ../../include/ncp/nwcalls.h:83, from pam_ncp_auth.c:251: ../../include/ncp/ncplib.h:550:2: note: expected 'char *' but argument is of type 'unsigned char *' ncp_get_encryption_key(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~~~~ pam_ncp_auth.c:4441:60: warning: pointer targets in passing argument 3 of 'ncp_get_bindery_object_id' differ in signedness [-Wpointer-sign] err = ncp_get_bindery_object_id(conn, u0.object_type, u0.object_name, &uinfo); ~~^~~~~~~~~~~~ In file included from ../../include/ncp/nwcalls.h:83, from pam_ncp_auth.c:251: ../../include/ncp/ncplib.h:553:2: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} ncp_get_bindery_object_id(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~~~~~~~ pam_ncp_auth.c:4447:57: warning: pointer targets in passing argument 4 of 'ncp_change_login_passwd' differ in signedness [-Wpointer-sign] err = ncp_change_login_passwd(conn, &uinfo, ncp_key, oldpwdup, pwdup); ^~~~~~~~ In file included from ../../include/ncp/nwcalls.h:83, from pam_ncp_auth.c:251: ../../include/ncp/ncplib.h:709:2: note: expected 'const unsigned char *' but argument is of type 'char *' ncp_change_login_passwd(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~~~~~ pam_ncp_auth.c:4447:67: warning: pointer targets in passing argument 5 of 'ncp_change_login_passwd' differ in signedness [-Wpointer-sign] err = ncp_change_login_passwd(conn, &uinfo, ncp_key, oldpwdup, pwdup); ^~~~~ In file included from ../../include/ncp/nwcalls.h:83, from pam_ncp_auth.c:251: ../../include/ncp/ncplib.h:709:2: note: expected 'const unsigned char *' but argument is of type 'char *' ncp_change_login_passwd(NWCONN_HANDLE conn, ^~~~~~~~~~~~~~~~~~~~~~~ pam_ncp_auth.c: In function 'nw_process_nwinfos_file': pam_ncp_auth.c:4739:3: warning: switch condition has boolean value [-Wswitch-bool] switch (ui->zenFlag && (ZF_BROADCAST_ALL + ZF_BROADCAST_CONSOLE)) { ^~~~~~ pam_ncp_auth.c: In function 'nw_process_forward_file': pam_ncp_auth.c:3826:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(currentUID); ^~~~~~~~~~~~~~~~~~~ pam_ncp_auth.c:3832:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(currentUID); ^~~~~~~~~~~~~~~~~~~ pam_ncp_auth.c: In function 'nw_create_nwclient': pam_ncp_auth.c:3766:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(currentUID); ^~~~~~~~~~~~~~~~~~~ pam_ncp_auth.c:3777:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(currentUID); ^~~~~~~~~~~~~~~~~~~ pam_ncp_auth.c: In function 'nw_process_nwinfos_file': pam_ncp_auth.c:4753:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(currentUID); ^~~~~~~~~~~~~~~~~~~ pam_ncp_auth.c:4760:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(currentUID); ^~~~~~~~~~~~~~~~~~~ At top level: pam_ncp_auth.c:273:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: pam_ncp_auth.c,v 1.9 2001/21/26 16:52:07 PP Exp $ pam_ncp authentication functions. Dave@imladris.demon.co.uk,vandrove@vc.cvut.cz,patrick.pollet@insa-lyon.fr "; ^~~~~ i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../../include -I../../intl -I../../include -fPIC -o support.do -c support.c i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -shared -o pam_ncp_auth.so pam_ncp_auth.do support.do -L../../lib -lncp -lpam make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/contrib/pam' Please add '/usr/src/RPM/BUILD/ncpfs-2.2.6/lib' to the environment variable LD_LIBRARY_PATH by executing export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/src/RPM/BUILD/ncpfs-2.2.6/lib" or do a 'make install'. make: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6' + make -j8 -C ipxdump make: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipxdump' set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include ipxparse.c \ | sed 's,\(ipxparse\)\.o[ :]*,\1.o \1.do \1.to ipxparse.d : ,g' > ipxparse.d; \ [ -s ipxparse.d ] || rm -f ipxparse.d make: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipxdump' make: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipxdump' set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include ipxutil.c \ | sed 's,\(ipxutil\)\.o[ :]*,\1.o \1.do \1.to ipxutil.d : ,g' > ipxutil.d; \ [ -s ipxutil.d ] || rm -f ipxutil.d make: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipxdump' make: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipxdump' set -e; i586-alt-linux-gcc -M -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include ipxdump.c \ | sed 's,\(ipxdump\)\.o[ :]*,\1.o \1.do \1.to ipxdump.d : ,g' > ipxdump.d; \ [ -s ipxdump.d ] || rm -f ipxdump.d make: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipxdump' make: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipxdump' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o ipxutil.o -c ipxutil.c make: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipxdump' make: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipxdump' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o ipxdump.o -c ipxdump.c ipxdump.c:61:2: warning: 'packed' attribute ignored for field of type 'IPXNode' {aka 'unsigned char[6]'} [-Wattributes] IPXNode node __attribute__((packed)); ^~~~~~~ ipxdump.c:70:2: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes] unsigned char ipx_tctrl __attribute__((packed)); ^~~~~~~~ ipxdump.c:71:2: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes] unsigned char ipx_type __attribute__((packed)); ^~~~~~~~ ipxdump.c:78:9: warning: 'packed' attribute ignored for field of type 'struct ipx_address' [-Wattributes] struct ipx_address ipx_dest __attribute__((packed)); ^~~~~~~~~~~ ipxdump.c:79:9: warning: 'packed' attribute ignored for field of type 'struct ipx_address' [-Wattributes] struct ipx_address ipx_source __attribute__((packed)); ^~~~~~~~~~~ ipxdump.c: In function 'main': ipxdump.c:184:15: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] &saddr, &sizeaddr); ^~~~~~~~~ In file included from /usr/include/sys/socket.h:269, from ../include/ncp/ext/socket.h:4, from ipxdump.c:36: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipxdump' make: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipxdump' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o ipxdump ipxdump.o ipxutil.o make: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipxdump' make: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipxdump' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../intl -I../include -o ipxparse.o -c ipxparse.c ipxparse.c:61:2: warning: 'packed' attribute ignored for field of type 'IPXNode' {aka 'unsigned char[6]'} [-Wattributes] IPXNode node __attribute__((packed)); ^~~~~~~ ipxparse.c:70:2: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes] unsigned char ipx_tctrl __attribute__((packed)); ^~~~~~~~ ipxparse.c:71:2: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes] unsigned char ipx_type __attribute__((packed)); ^~~~~~~~ ipxparse.c:78:9: warning: 'packed' attribute ignored for field of type 'struct ipx_address' [-Wattributes] struct ipx_address ipx_dest __attribute__((packed)); ^~~~~~~~~~~ ipxparse.c:79:9: warning: 'packed' attribute ignored for field of type 'struct ipx_address' [-Wattributes] struct ipx_address ipx_source __attribute__((packed)); ^~~~~~~~~~~ ipxparse.c:89:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t sequence __attribute__((packed)); ^~~~~~~~ ipxparse.c:90:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t conn_low __attribute__((packed)); ^~~~~~~~ ipxparse.c:91:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t task __attribute__((packed)); ^~~~~~~~ ipxparse.c:92:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t conn_high __attribute__((packed)); ^~~~~~~~ ipxparse.c:93:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t function __attribute__((packed)); ^~~~~~~~ ipxparse.c:94:2: warning: 'packed' attribute ignored for field of type 'u_int8_t[]' [-Wattributes] u_int8_t data[0] __attribute__((packed)); ^~~~~~~~ ipxparse.c:103:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t sequence __attribute__((packed)); ^~~~~~~~ ipxparse.c:104:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t conn_low __attribute__((packed)); ^~~~~~~~ ipxparse.c:105:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t task __attribute__((packed)); ^~~~~~~~ ipxparse.c:106:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t conn_high __attribute__((packed)); ^~~~~~~~ ipxparse.c:107:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t completion_code __attribute__((packed)); ^~~~~~~~ ipxparse.c:108:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t connection_state __attribute__((packed)); ^~~~~~~~ ipxparse.c:109:2: warning: 'packed' attribute ignored for field of type 'u_int8_t[]' [-Wattributes] u_int8_t data[0] __attribute__((packed)); ^~~~~~~~ ipxparse.c:117:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t system_flags __attribute__((packed)); ^~~~~~~~ ipxparse.c:118:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t stream_type __attribute__((packed)); ^~~~~~~~ ipxparse.c:149:2: warning: 'packed' attribute ignored for field of type 'u_int8_t[48]' {aka 'unsigned char[48]'} [-Wattributes] u_int8_t serverName[SAP_MAX_SERVER_NAME_LENGTH] __attribute__((packed)); ^~~~~~~~ ipxparse.c:150:9: warning: 'packed' attribute ignored for field of type 'struct ipx_address' [-Wattributes] struct ipx_address serverAddress __attribute__((packed)); ^~~~~~~~~~~ ipxparse.c:169:3: warning: 'packed' attribute ignored for field of type 'SAPS[7]' {aka 'struct saps[7]'} [-Wattributes] SAPS sap[SAP_MAX_SAPS_PER_PACKET] __attribute__((packed)); ^~~~ ipxparse.c: In function 'handle_burst': ipxparse.c:353:11: warning: 'packed' attribute ignored for field of type 'struct ncp_burst_header' [-Wattributes] struct ncp_burst_header h __attribute__((packed)); ^~~~~~~~~~~~~~~~ ipxparse.c:356:4: warning: 'packed' attribute ignored for field of type 'u_int8_t[8]' {aka 'unsigned char[8]'} [-Wattributes] u_int8_t reserved[8] __attribute__((packed)); ^~~~~~~~ ipxparse.c: In function 'main': ipxparse.c:1107:15: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while (fgets(buf, sizeof(buf), stdin) != NULL) ^~~ In file included from /usr/include/stdio.h:862, from ipxparse.c:50: /usr/include/bits/stdio2.h:252:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ ipxparse.c:1109:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(buf) == sizeof(buf) - 1) ^~~ In file included from ipxparse.c:41: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ipxparse.c:1114:14: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] b = strchr(buf, ' '); ^~~ In file included from ipxparse.c:41: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ ipxparse.c:1114:5: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] b = strchr(buf, ' '); ^ ipxparse.c:1127:15: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] if (sscanf(b, "%2x", &value) != 1) ^ In file included from /usr/include/features.h:428, from /usr/include/unistd.h:25, from ipxparse.c:31: /usr/include/stdio.h:400:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^~~~~~~~~~~~~~ ipxparse.c:1136:27: warning: pointer targets in passing argument 3 of 'handle_ipx' differ in signedness [-Wpointer-sign] handle_ipx(packet, len, buf, i); ^~~ ipxparse.c:190:1: note: expected 'char *' but argument is of type 'unsigned char *' handle_ipx(unsigned char *buf, int length, char *frame, int no) ^~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipxdump' make: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipxdump' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o ipxparse ipxparse.o ipxutil.o make: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipxdump' + cp -p ipxdump/README README.ipxdump + cp -p contrib/pam/README README.pam_ncp + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.48963 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/ncpfs-buildroot + : + /bin/rm -rf -- /usr/src/tmp/ncpfs-buildroot + cd ncpfs-2.2.6 + mkdir -p /usr/src/tmp/ncpfs-buildroot/sbin /usr/src/tmp/ncpfs-buildroot/usr/sbin /usr/src/tmp/ncpfs-buildroot/lib/security + /usr/bin/make 'INSTALL=/bin/install -p' prefix=/usr/src/tmp/ncpfs-buildroot/usr exec_prefix=/usr/src/tmp/ncpfs-buildroot/usr bindir=/usr/src/tmp/ncpfs-buildroot/usr/bin sbindir=/usr/src/tmp/ncpfs-buildroot/usr/sbin sysconfdir=/usr/src/tmp/ncpfs-buildroot/etc datadir=/usr/src/tmp/ncpfs-buildroot/usr/share includedir=/usr/src/tmp/ncpfs-buildroot/usr/include libdir=/usr/src/tmp/ncpfs-buildroot/usr/lib libexecdir=/usr/src/tmp/ncpfs-buildroot/usr/lib localstatedir=/usr/src/tmp/ncpfs-buildroot/var/lib sharedstatedir=/usr/src/tmp/ncpfs-buildroot/var/lib mandir=/usr/src/tmp/ncpfs-buildroot/usr/share/man infodir=/usr/src/tmp/ncpfs-buildroot/usr/share/info install install-dev libsodir=/usr/src/tmp/ncpfs-buildroot//usr/lib libadir=/usr/src/tmp/ncpfs-buildroot//usr/lib LIB_PAM_SECURITY=/usr/src/tmp/ncpfs-buildroot/lib/security make: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6' for i in intl po lib sutil util man ipx-1.0 contrib/pam; do make -C $i install; done make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/intl' if test "ncpfs" = "gettext" \ && test '' = 'intl-compat.o'; then \ /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /usr/src/tmp/ncpfs-buildroot/usr/lib /usr/src/tmp/ncpfs-buildroot/usr/include; \ /bin/install -p -m 644 libintl.h /usr/src/tmp/ncpfs-buildroot/usr/include/libintl.h; \ @LIBTOOL@ --mode=install \ /bin/install -p -m 644 libintl.a /usr/src/tmp/ncpfs-buildroot/usr/lib/libintl.a; \ else \ : ; \ fi if test 'no' = yes; then \ test yes != no || /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /usr/src/tmp/ncpfs-buildroot/usr/lib; \ temp=/usr/src/tmp/ncpfs-buildroot/usr/lib/t-charset.alias; \ dest=/usr/src/tmp/ncpfs-buildroot/usr/lib/charset.alias; \ if test -f /usr/src/tmp/ncpfs-buildroot/usr/lib/charset.alias; then \ orig=/usr/src/tmp/ncpfs-buildroot/usr/lib/charset.alias; \ sed -f ref-add.sed $orig > $temp; \ /bin/install -p -m 644 $temp $dest; \ rm -f $temp; \ else \ if test yes = no; then \ orig=charset.alias; \ sed -f ref-add.sed $orig > $temp; \ /bin/install -p -m 644 $temp $dest; \ rm -f $temp; \ fi; \ fi; \ /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /usr/src/tmp/ncpfs-buildroot/usr/share/locale; \ test -f /usr/src/tmp/ncpfs-buildroot/usr/share/locale/locale.alias \ && orig=/usr/src/tmp/ncpfs-buildroot/usr/share/locale/locale.alias \ || orig=./locale.alias; \ temp=/usr/src/tmp/ncpfs-buildroot/usr/share/locale/t-locale.alias; \ dest=/usr/src/tmp/ncpfs-buildroot/usr/share/locale/locale.alias; \ sed -f ref-add.sed $orig > $temp; \ /bin/install -p -m 644 $temp $dest; \ rm -f $temp; \ else \ : ; \ fi if test "ncpfs" = "gettext"; then \ /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /usr/src/tmp/ncpfs-buildroot/usr/share/gettext/intl; \ /bin/install -p -m 644 VERSION /usr/src/tmp/ncpfs-buildroot/usr/share/gettext/intl/VERSION; \ /bin/install -p -m 644 ChangeLog.inst /usr/src/tmp/ncpfs-buildroot/usr/share/gettext/intl/ChangeLog; \ dists="COPYING.LIB-2.0 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gmo.h gettextP.h hash-string.h plural-exp.h eval-plural.h os2compat.h libgnuintl.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y plural-exp.c localcharset.c localename.c osdep.c os2compat.c intl-compat.c"; \ for file in $dists; do \ /bin/install -p -m 644 ./$file \ /usr/src/tmp/ncpfs-buildroot/usr/share/gettext/intl/$file; \ done; \ chmod a+x /usr/src/tmp/ncpfs-buildroot/usr/share/gettext/intl/config.charset; \ dists="plural.c"; \ for file in $dists; do \ if test -f $file; then dir=.; else dir=.; fi; \ /bin/install -p -m 644 $dir/$file \ /usr/src/tmp/ncpfs-buildroot/usr/share/gettext/intl/$file; \ done; \ dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c COPYING.LIB-2 gettext.h libgettext.h plural-eval.c"; \ for file in $dists; do \ rm -f /usr/src/tmp/ncpfs-buildroot/usr/share/gettext/intl/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/intl' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/po' /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /usr/src/tmp/ncpfs-buildroot/usr/share mkdir /usr/src/tmp/ncpfs-buildroot/usr/share mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale/cs mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale/cs/LC_MESSAGES installing cs.gmo as /usr/src/tmp/ncpfs-buildroot/usr/share/locale/cs/LC_MESSAGES/ncpfs.mo mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale/de mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale/de/LC_MESSAGES installing de.gmo as /usr/src/tmp/ncpfs-buildroot/usr/share/locale/de/LC_MESSAGES/ncpfs.mo mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale/es mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale/es/LC_MESSAGES installing es.gmo as /usr/src/tmp/ncpfs-buildroot/usr/share/locale/es/LC_MESSAGES/ncpfs.mo mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale/fr mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale/fr/LC_MESSAGES installing fr.gmo as /usr/src/tmp/ncpfs-buildroot/usr/share/locale/fr/LC_MESSAGES/ncpfs.mo mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale/hu mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale/hu/LC_MESSAGES installing hu.gmo as /usr/src/tmp/ncpfs-buildroot/usr/share/locale/hu/LC_MESSAGES/ncpfs.mo mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale/it mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale/it/LC_MESSAGES installing it.gmo as /usr/src/tmp/ncpfs-buildroot/usr/share/locale/it/LC_MESSAGES/ncpfs.mo mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale/ja mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale/ja/LC_MESSAGES installing ja.gmo as /usr/src/tmp/ncpfs-buildroot/usr/share/locale/ja/LC_MESSAGES/ncpfs.mo mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale/pt_BR mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale/pt_BR/LC_MESSAGES installing pt_BR.gmo as /usr/src/tmp/ncpfs-buildroot/usr/share/locale/pt_BR/LC_MESSAGES/ncpfs.mo mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale/zh_CN mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale/zh_CN/LC_MESSAGES installing zh_CN.gmo as /usr/src/tmp/ncpfs-buildroot/usr/share/locale/zh_CN/LC_MESSAGES/ncpfs.mo mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale/zh_TW mkdir /usr/src/tmp/ncpfs-buildroot/usr/share/locale/zh_TW/LC_MESSAGES installing zh_TW.gmo as /usr/src/tmp/ncpfs-buildroot/usr/share/locale/zh_TW/LC_MESSAGES/ncpfs.mo if test "ncpfs" = "gettext"; then \ /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /usr/src/tmp/ncpfs-buildroot/usr/share/gettext/po; \ for file in Makefile.in.in Makevars remove-potcdate.sin ; do \ /bin/install -p -m 644 ./$file \ /usr/src/tmp/ncpfs-buildroot/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/po' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/lib' /bin/install -p -d /usr/src/tmp/ncpfs-buildroot//usr/lib /bin/install -p libncp.so.2.3.0 /usr/src/tmp/ncpfs-buildroot//usr/lib ldconfig make[1]: ldconfig: Command not found make[1]: [Makefile:101: install_shared] Error 127 (ignored) make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/sutil' /bin/install -p -d /usr/src/tmp/ncpfs-buildroot/usr/bin /bin/install -p nwsfind ncpmount ncpumount ncplogin ncpmap /usr/src/tmp/ncpfs-buildroot/usr/bin ln -sf ../usr/src/tmp/ncpfs-buildroot/usr/bin/ncpmount /sbin/mount.ncp ln: failed to create symbolic link '/sbin/mount.ncp': Permission denied make[1]: *** [Makefile:55: install] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/sutil' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/util' /bin/install -p -d /usr/src/tmp/ncpfs-buildroot/usr/bin /bin/install -p slist pqlist nwfsinfo pserver nprint nsend nwpasswd nwbols nwbocreate nwborm nwboprops pqstat nwpqjob nwbpcreate nwbprm nwbpvalues nwbpadd nwbpset nwgrant nwrevoke nwuserlist nwauth nwfstime nwvolinfo nwtrustee nwdir nwfsctrl nwpjmv ncopy nwtrustee2 nwpurge nwrights nwdpvalues /usr/src/tmp/ncpfs-buildroot/usr/bin ln -sf nwpqjob /usr/src/tmp/ncpfs-buildroot/usr/bin/pqrm /bin/install -p -d /usr/src/tmp/ncpfs-buildroot/usr/sbin /bin/install -p nwmsg /usr/src/tmp/ncpfs-buildroot/usr/sbin make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/util' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/man' /bin/install -p -d /usr/src/tmp/ncpfs-buildroot/usr/share/man/man1 /usr/src/tmp/ncpfs-buildroot/usr/share/man/man5 /usr/src/tmp/ncpfs-buildroot/usr/share/man/man8 /bin/install -p -m 644 nprint.1.gz nsend.1.gz nwauth.1.gz nwbols.1.gz nwboprops.1.gz nwbpset.1.gz nwbpvalues.1.gz nwdir.1.gz nwfsinfo.1.gz nwfstime.1.gz nwpasswd.1.gz nwpurge.1.gz nwrights.1.gz nwsfind.1.gz nwtrustee.1.gz nwuserlist.1.gz nwvolinfo.1.gz pqlist.1.gz nwpqjob.1.gz pqstat.1.gz pserver.1.gz slist.1.gz nwpjmv.1.gz ncopy.1.gz /usr/src/tmp/ncpfs-buildroot/usr/share/man/man1 /bin/install -p -m 644 nwclient.5.gz /usr/src/tmp/ncpfs-buildroot/usr/share/man/man5 /bin/install -p -m 644 nwbocreate.8.gz nwborm.8.gz nwbpadd.8.gz nwbpcreate.8.gz nwbprm.8.gz nwfsctrl.8.gz nwgrant.8.gz nwrevoke.8.gz ncpmount.8.gz ncpumount.8.gz nwmsg.8.gz /usr/src/tmp/ncpfs-buildroot/usr/share/man/man8 ln -sf nwpqjob.1.gz /usr/src/tmp/ncpfs-buildroot/usr/share/man/man1/pqrm.1.gz ln -sf ncpmount.8.gz /usr/src/tmp/ncpfs-buildroot/usr/share/man/man8/mount.ncp.8.gz make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/man' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipx-1.0' /bin/install -p -d /usr/src/tmp/ncpfs-buildroot/usr/bin /bin/install -p ipx_configure ipx_cmd ipx_interface ipx_internal_net ipx_route /usr/src/tmp/ncpfs-buildroot/usr/bin /bin/install -p -d /usr/src/tmp/ncpfs-buildroot/usr/share/man/man8 /bin/install -p -m 644 ipx_configure.8.gz ipx_cmd.8.gz ipx_interface.8.gz ipx_internal_net.8.gz ipx_route.8.gz /usr/src/tmp/ncpfs-buildroot/usr/share/man/man8 make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipx-1.0' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/contrib/pam' /bin/install -p -d /usr/src/tmp/ncpfs-buildroot/lib/security /bin/install -p -m 755 pam_ncp_auth.so /usr/src/tmp/ncpfs-buildroot/lib/security make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/contrib/pam' for i in lib sutil util man ipx-1.0 contrib/pam; do make -C $i install-dev; done make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/lib' /bin/install -p -d /usr/src/tmp/ncpfs-buildroot//usr/lib /bin/install -p libncp.so.2.3.0 /usr/src/tmp/ncpfs-buildroot//usr/lib ldconfig make[1]: ldconfig: Command not found make[1]: [Makefile:101: install_shared] Error 127 (ignored) /bin/install -p -d /usr/src/tmp/ncpfs-buildroot//usr/lib /bin/install -p -m 644 libncp.a /usr/src/tmp/ncpfs-buildroot//usr/lib ln -sf libncp.so.2.3 /usr/src/tmp/ncpfs-buildroot//usr/lib/libncp.so /bin/install -p -d /usr/src/tmp/ncpfs-buildroot/usr/include/ncp /bin/install -p -d /usr/src/tmp/ncpfs-buildroot/usr/include/ncp/ext /bin/install -p -d /usr/src/tmp/ncpfs-buildroot/usr/include/ncp/kernel /bin/install -p -d /usr/src/tmp/ncpfs-buildroot/usr/include/ncp/obsolete /bin/install -p -m 644 ../include/ncp/*.h /usr/src/tmp/ncpfs-buildroot/usr/include/ncp /bin/install -p -m 644 ../include/ncp/ext/*.h /usr/src/tmp/ncpfs-buildroot/usr/include/ncp/ext /bin/install -p -m 644 ../include/ncp/kernel/*.h /usr/src/tmp/ncpfs-buildroot/usr/include/ncp/kernel /bin/install -p -m 644 ../include/ncp/obsolete/*.h /usr/src/tmp/ncpfs-buildroot/usr/include/ncp/obsolete make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/sutil' make[1]: Nothing to be done for 'install-dev'. make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/sutil' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/util' make[1]: Nothing to be done for 'install-dev'. make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/util' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/man' /bin/install -p -d /usr/src/tmp/ncpfs-buildroot/usr/share/man/man3 /bin/install -p -m 644 NWClearConnectionNumber.3ncp.gz NWGetConnListFromObject.3ncp.gz NWCallsInit.3ncp.gz NWGetObjectConnectionNumbers.3ncp.gz nwerrors.3ncp.gz /usr/src/tmp/ncpfs-buildroot/usr/share/man/man3 make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/man' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipx-1.0' make[1]: Nothing to be done for 'install-dev'. make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/ipx-1.0' make[1]: Entering directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/contrib/pam' make[1]: Nothing to be done for 'install-dev'. make[1]: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6/contrib/pam' make: Leaving directory '/usr/src/RPM/BUILD/ncpfs-2.2.6' + for f in ipx_{configure,internal_net,interface} + mv /usr/src/tmp/ncpfs-buildroot//usr/bin/ipx_configure /usr/src/tmp/ncpfs-buildroot/sbin/ipx_configure + for f in ipx_{configure,internal_net,interface} + mv /usr/src/tmp/ncpfs-buildroot//usr/bin/ipx_internal_net /usr/src/tmp/ncpfs-buildroot/sbin/ipx_internal_net + for f in ipx_{configure,internal_net,interface} + mv /usr/src/tmp/ncpfs-buildroot//usr/bin/ipx_interface /usr/src/tmp/ncpfs-buildroot/sbin/ipx_interface + install -p -m755 ipxdump/ipxdump ipxdump/ipxparse /usr/src/tmp/ncpfs-buildroot//usr/bin + ln -s ../usr/bin/ncpmount /usr/src/tmp/ncpfs-buildroot/sbin/mount.ncp + ln -s mount.ncp /usr/src/tmp/ncpfs-buildroot/sbin/mount.ncpfs + chmod a-s /usr/src/tmp/ncpfs-buildroot//usr/bin/ipx_cmd /usr/src/tmp/ncpfs-buildroot//usr/bin/ipx_route /usr/src/tmp/ncpfs-buildroot//usr/bin/ipxdump /usr/src/tmp/ncpfs-buildroot//usr/bin/ipxparse /usr/src/tmp/ncpfs-buildroot//usr/bin/ncopy /usr/src/tmp/ncpfs-buildroot//usr/bin/ncplogin /usr/src/tmp/ncpfs-buildroot//usr/bin/ncpmap /usr/src/tmp/ncpfs-buildroot//usr/bin/ncpmount /usr/src/tmp/ncpfs-buildroot//usr/bin/ncpumount /usr/src/tmp/ncpfs-buildroot//usr/bin/nprint /usr/src/tmp/ncpfs-buildroot//usr/bin/nsend /usr/src/tmp/ncpfs-buildroot//usr/bin/nwauth /usr/src/tmp/ncpfs-buildroot//usr/bin/nwbocreate /usr/src/tmp/ncpfs-buildroot//usr/bin/nwbols /usr/src/tmp/ncpfs-buildroot//usr/bin/nwboprops /usr/src/tmp/ncpfs-buildroot//usr/bin/nwborm /usr/src/tmp/ncpfs-buildroot//usr/bin/nwbpadd /usr/src/tmp/ncpfs-buildroot//usr/bin/nwbpcreate /usr/src/tmp/ncpfs-buildroot//usr/bin/nwbprm /usr/src/tmp/ncpfs-buildroot//usr/bin/nwbpset /usr/src/tmp/ncpfs-buildroot//usr/bin/nwbpvalues /usr/src/tmp/ncpfs-buildroot//usr/bin/nwdir /usr/src/tmp/ncpfs-buildroot//usr/bin/nwdpvalues /usr/src/tmp/ncpfs-buildroot//usr/bin/nwfsctrl /usr/src/tmp/ncpfs-buildroot//usr/bin/nwfsinfo /usr/src/tmp/ncpfs-buildroot//usr/bin/nwfstime /usr/src/tmp/ncpfs-buildroot//usr/bin/nwgrant /usr/src/tmp/ncpfs-buildroot//usr/bin/nwpasswd /usr/src/tmp/ncpfs-buildroot//usr/bin/nwpjmv /usr/src/tmp/ncpfs-buildroot//usr/bin/nwpqjob /usr/src/tmp/ncpfs-buildroot//usr/bin/nwpurge /usr/src/tmp/ncpfs-buildroot//usr/bin/nwrevoke /usr/src/tmp/ncpfs-buildroot//usr/bin/nwrights /usr/src/tmp/ncpfs-buildroot//usr/bin/nwsfind /usr/src/tmp/ncpfs-buildroot//usr/bin/nwtrustee /usr/src/tmp/ncpfs-buildroot//usr/bin/nwtrustee2 /usr/src/tmp/ncpfs-buildroot//usr/bin/nwuserlist /usr/src/tmp/ncpfs-buildroot//usr/bin/nwvolinfo /usr/src/tmp/ncpfs-buildroot//usr/bin/pqlist /usr/src/tmp/ncpfs-buildroot//usr/bin/pqrm /usr/src/tmp/ncpfs-buildroot//usr/bin/pqstat /usr/src/tmp/ncpfs-buildroot//usr/bin/pserver /usr/src/tmp/ncpfs-buildroot//usr/bin/slist + for n in ncpmount ncpumount slist + install -pD -m755 /usr/src/RPM/SOURCES/ncpfs.control /usr/src/tmp/ncpfs-buildroot/etc/control.d/facilities/ncpmount + subst -p s/@NAME@/ncpmount/ /usr/src/tmp/ncpfs-buildroot/etc/control.d/facilities/ncpmount + for n in ncpmount ncpumount slist + install -pD -m755 /usr/src/RPM/SOURCES/ncpfs.control /usr/src/tmp/ncpfs-buildroot/etc/control.d/facilities/ncpumount + subst -p s/@NAME@/ncpumount/ /usr/src/tmp/ncpfs-buildroot/etc/control.d/facilities/ncpumount + for n in ncpmount ncpumount slist + install -pD -m755 /usr/src/RPM/SOURCES/ncpfs.control /usr/src/tmp/ncpfs-buildroot/etc/control.d/facilities/slist + subst -p s/@NAME@/slist/ /usr/src/tmp/ncpfs-buildroot/etc/control.d/facilities/slist + /usr/lib/rpm/find-lang ncpfs + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/ncpfs-buildroot (auto) mode of './lib/security/pam_ncp_auth.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/libncp.so.2.3.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/ncpfs-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/ncpfs-buildroot/ (default) Compressing files in /usr/src/tmp/ncpfs-buildroot (auto) removed '/usr/src/tmp/ncpfs-buildroot/usr/share/man/man8/mount.ncp.8.gz' '/usr/src/tmp/ncpfs-buildroot/usr/share/man/man8/mount.ncp.8.xz' -> 'ncpmount.8.xz' removed '/usr/src/tmp/ncpfs-buildroot/usr/share/man/man1/pqrm.1.gz' '/usr/src/tmp/ncpfs-buildroot/usr/share/man/man1/pqrm.1.xz' -> 'nwpqjob.1.xz' Adjusting library links in /usr/src/tmp/ncpfs-buildroot ./lib: ./usr/lib: /sbin/ldconfig: Cannot stat ./usr/lib/libncp.so: No such file or directory libncp.so.2.3 -> libncp.so.2.3.0 (changed) Verifying ELF objects in /usr/src/tmp/ncpfs-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./lib/security/pam_ncp_auth.so: uses non-LFS functions: __lxstat __xstat fopen open verify-elf: WARNING: ./usr/bin/ncopy: uses non-LFS functions: __fxstat __xstat alphasort open scandir verify-elf: WARNING: ./usr/bin/nprint: uses non-LFS functions: open verify-elf: WARNING: ./usr/bin/ncpmap: uses non-LFS functions: __fxstat __xstat fopen open verify-elf: WARNING: ./usr/bin/ncplogin: uses non-LFS functions: __fxstat __xstat fopen open verify-elf: WARNING: ./usr/bin/ncpumount: uses non-LFS functions: __fxstat __xstat fopen lockf open verify-elf: WARNING: ./usr/bin/ncpmount: uses non-LFS functions: __fxstat __xstat fopen open verify-elf: WARNING: ./usr/bin/nwsfind: uses non-LFS functions: __fxstat __xstat fopen open verify-elf: WARNING: ./usr/lib/libncp.so.2.3.0: uses non-LFS functions: __fxstat __xstat fopen open verify-elf: WARNING: ./usr/sbin/nwmsg: uses non-LFS functions: __xstat fopen open verify-elf: WARNING: ./sbin/ipx_interface: uses non-LFS functions: fopen Hardlinking identical .pyc and .pyo files Processing files: ncpfs-2.2.6-alt9.qa2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.62953 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ncpfs-2.2.6 + DOCDIR=/usr/src/tmp/ncpfs-buildroot/usr/share/doc/ncpfs-2.2.6 + export DOCDIR + rm -rf /usr/src/tmp/ncpfs-buildroot/usr/share/doc/ncpfs-2.2.6 + /bin/mkdir -p /usr/src/tmp/ncpfs-buildroot/usr/share/doc/ncpfs-2.2.6 + cp -prL BUGS Changes ConfigFile INSTALL FAQ README README.pam_ncp /usr/src/tmp/ncpfs-buildroot/usr/share/doc/ncpfs-2.2.6 + chmod -R go-w /usr/src/tmp/ncpfs-buildroot/usr/share/doc/ncpfs-2.2.6 + chmod -R a+rX /usr/src/tmp/ncpfs-buildroot/usr/share/doc/ncpfs-2.2.6 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5jMQ9B find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nSCrep find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Finding Requires(pre) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XujOvu Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TxnY8R Provides: PAM(pam_ncp_auth.so) Requires: libncp = 2.2.6-alt9.qa2, /bin/sh, /etc/control.d/facilities(control_fmode), /etc/control.d/facilities(new_fmode), /etc/control.d/facilities(new_help), /etc/control.d/functions, /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.8), libncp.so.2.3 >= set:me38OfciqH8fmHsQQqeJPKeiOWi0H0kpFjC0ni3MIyXewUGSIiwC6ULabKwtwAuKx0CtWfkOxLQd4wem9pgxeVdTrJQZgukM7jriHpZGZd2E7wCeCxAXjp50StOE0KEeMinupKg4CuhkYc1pcokGeBxgxQdaJg1KhF11rZwm5XkEADHQs1P1nP1CVQvXq2vG14T0JxI29A6FoimSXAkj7xuvGHfxmfnGhGHhxo9RSymXzmgSg2GWl4on3CyyJfH1DOR7u5eBkc7A3Yem8lb297c9W1sYMLwgrSy9QonTs7SHaTVXFLN7GVHZsTH0J9qzqwAthV8dDUUcbHsORswH4YZbMvuB4, libncp.so.2.3(NCPFS.2.2.0.17), libncp.so.2.3(NCPFS.2.2.0.18), libncp.so.2.3(NCPFS.INTERNAL), libncp.so.2.3(NCPFS_2.2.0.19), libncp.so.2.3(NCPFS_2.2.1), libncp.so.2.3(NCPFS_2.2.4), libpam.so.0 >= set:jgKVTnEj3nR59P0, libpam.so.0(LIBPAM_1.0), rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(pre): /bin/sh, /usr/sbin/control-dump, /usr/sbin/groupadd Requires(post): /bin/sh, /usr/sbin/control, /usr/sbin/control-restore Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.sji3YA Creating ncpfs-debuginfo package Processing files: libncp-2.2.6-alt9.qa2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.akeMYz find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) lib.prov: /usr/src/tmp/ncpfs-buildroot/usr/lib/libncp.so.2.3: 450 symbols, 19 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2ABnXI find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Provides: libncp.so.2.3 = set:md38OfkKZhrN7tGya1oGIRawd3bMM46kf1WgstiOLEnMVULNGpbqDPYsrVBZ8jgcecprlsaAeZDZFg6E3ny4as4s0kBO8bbpkfKMT9AzgW9X8OtNQoGif037DSMj8XiC0aIJXHUQPm5gUVVZ9G4QQQsNYmsRaquk3eAjv5c34qIVNgycUg0CtZ7sjZeNzKROCw5X6WqdcBzwY7clo0Sg6OrfxC0PT0K99kWwI3CoEhTezGD6POZ0zASZ0xdMcTwsk8clMSJJ9JCJnaatdxZoE3cAYK8hzJH9snWTd7eZaGCdXjclpZIwUbA34dp9TbMFVGOJyphZx0sbAzYs9SbSVzC4m8LAcWiur3Z4BWpjHeKrqyFHBhpW2hqdvuhaujLw0zxhFWAMip2ZxbBZ4IDtcqkDy3DZ17GRXpc8UpQM1ZBvfZF6mqzYKb5tGaJQQT4b513i8ljBDHjKwVgaMHkwheRTSZqSzPSoKtbzenItAr0Bv8Kki7vjnfMs0uet4ajt21wAUZwzz9yGUKHMMUvhaPU7TQS3XZKuPGQPAR4rZBdbhIThidtLcszqgiFGMAq8gGPasIsu55FNzRzBqTRcX4ksEZgZaJBjiNikrjGRlG0Z1ngrEwqL2TH5BqwkAsqtbzaINJCRwzmo9xQeiveClwURE15jnAlWG1cHYimQvvG9LVvtDKgGmsXU707cfb95sZqIZesiFmKZ6YMLMmyzSZiD01AwO1w0ltQGtjhnN2cmtkJGa1vZfC2HkBWLLQ6Pcs0osvPdpUyRTQ2jRbJ0EARcNMV6o7ZmFqImz0T5wD3fhXwijZE98rx6og8TgUPINkk8Mdahc0w7zvwGNRzgukzmlmKsWNHsm6CevS8EfmVipvkIvhUOsbMjHEiOc7, libncp.so.2.3(NCPFS.2.2.0.17), libncp.so.2.3(NCPFS.2.2.0.18), libncp.so.2.3(NCPFS.INTERNAL), libncp.so.2.3(NCPFS.MPILIB), libncp.so.2.3(NCPFS_2.2.0.19), libncp.so.2.3(NCPFS_2.2.1), libncp.so.2.3(NCPFS_2.2.4) Requires: libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5xBjJi Creating libncp-debuginfo package Processing files: libncp-devel-2.2.6-alt9.qa2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jfK7dc find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GzybJi find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) /usr/src/tmp/ncpfs-buildroot/usr/include/ncp/obsolete/o_ncplib.h:26:2: error: #error "Do not include this file directly, compile your project with -DNCP_OBSOLETE instead" #error "Do not include this file directly, compile your project with -DNCP_OBSOLETE instead" ^~~~~ cpp.req: /usr/src/tmp/ncpfs-buildroot/usr/include/ncp/obsolete/o_ncplib.h: cpp failed, trying c++ mode i586-alt-linux-cpp: error trying to exec 'cc1plus': execvp: No such file or directory cpp.req: WARNING: /usr/src/tmp/ncpfs-buildroot/usr/include/ncp/obsolete/o_ncplib.h: cpp failed Requires: libncp = 2.2.6-alt9.qa2, /usr/lib/libncp.so.2.3, glibc-kernheaders-generic Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.D9UBCw Processing files: ipxutils-2.2.6-alt9.qa2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.4091 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ncpfs-2.2.6 + DOCDIR=/usr/src/tmp/ncpfs-buildroot/usr/share/doc/ipxutils-2.2.6 + export DOCDIR + rm -rf /usr/src/tmp/ncpfs-buildroot/usr/share/doc/ipxutils-2.2.6 + /bin/mkdir -p /usr/src/tmp/ncpfs-buildroot/usr/share/doc/ipxutils-2.2.6 + cp -prL ipx-1.0/COPYING ipx-1.0/README README.ipxdump /usr/src/tmp/ncpfs-buildroot/usr/share/doc/ipxutils-2.2.6 + chmod -R go-w /usr/src/tmp/ncpfs-buildroot/usr/share/doc/ipxutils-2.2.6 + chmod -R a+rX /usr/src/tmp/ncpfs-buildroot/usr/share/doc/ipxutils-2.2.6 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tSRf7d find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.eTaxt9 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zhWPL9 Creating ipxutils-debuginfo package Processing files: ncpfs-debuginfo-2.2.6-alt9.qa2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.n1a6Lu find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qF4VM6 find-requires: running scripts (debuginfo) Requires: ncpfs = 2.2.6-alt9.qa2, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libncp.so.2.3), debug(libpam.so.0) Processing files: libncp-debuginfo-2.2.6-alt9.qa2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YwipA2 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lDK9Lc find-requires: running scripts (debuginfo) Provides: debug(libncp.so.2.3) Requires: libncp = 2.2.6-alt9.qa2, debug(libc.so.6) Processing files: ipxutils-debuginfo-2.2.6-alt9.qa2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6O85Zs find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CNzFeW find-requires: running scripts (debuginfo) Requires: ipxutils = 2.2.6-alt9.qa2, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6) Adding to ncpfs-debuginfo a strict dependency on libncp-debuginfo Removing from ncpfs-debuginfo 47 sources provided by libncp-debuginfo also prunning dir /usr/src/debug/ncpfs-2.2.6/include/ncp/kernel also prunning dir /usr/src/debug/ncpfs-2.2.6/include/private/asm-i386 also prunning dir /usr/src/debug/ncpfs-2.2.6/lib/ds also prunning dir /usr/src/debug/ncpfs-2.2.6/include/ncp also prunning dir /usr/src/debug/ncpfs-2.2.6/include/private also prunning dir /usr/src/debug/ncpfs-2.2.6/lib also prunning dir /usr/src/debug/ncpfs-2.2.6/include Removing 7 extra deps from ncpfs due to dependency on libncp Removing 1 extra deps from libncp-devel due to dependency on libncp Removing 1 extra deps from ncpfs-debuginfo due to dependency on libncp-debuginfo Removing 8 extra deps from ncpfs due to repentancy on libncp Removing 1 extra deps from ncpfs-debuginfo due to repentancy on libncp-debuginfo Wrote: /usr/src/RPM/RPMS/i586/ncpfs-2.2.6-alt9.qa2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libncp-2.2.6-alt9.qa2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libncp-devel-2.2.6-alt9.qa2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/ipxutils-2.2.6-alt9.qa2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/ncpfs-debuginfo-2.2.6-alt9.qa2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libncp-debuginfo-2.2.6-alt9.qa2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/ipxutils-debuginfo-2.2.6-alt9.qa2.i586.rpm 51.48user 10.11system 1:57.68elapsed 52%CPU (0avgtext+0avgdata 57460maxresident)k 0inputs+0outputs (0major+4555087minor)pagefaults 0swaps 55.61user 12.36system 2:09.32elapsed 52%CPU (0avgtext+0avgdata 112324maxresident)k 0inputs+0outputs (0major+4934915minor)pagefaults 0swaps --- ncpfs-2.2.6-alt9.qa2.i586.rpm.repo 2018-03-15 15:13:05.000000000 +0000 +++ ncpfs-2.2.6-alt9.qa2.i586.rpm.hasher 2019-08-10 12:59:27.409210478 +0000 @@ -105,3 +105,2 @@ Requires: /bin/sh -Requires: /bin/sh Requires: /etc/control.d/facilities(control_fmode)