Mock Version: 1.2.20 Mock Version: 1.2.20 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/medusa.spec'], shell=Falseuid=1000printOutput=FalsechrootPath='/var/lib/mock/epel7-archbootstrap-6655388-651899/root'env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8'}user='mockbuild'gid=425logger=timeout=172800) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/medusa.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8'} and shell False warning: bogus date in %changelog: Thu Mar 20 2009 Jan F. Chadima - 1.5-4 warning: bogus date in %changelog: Thu Mar 20 2009 Jan F. Chadima - 1.5-3 warning: Could not canonicalize hostname: buildvm-aarch64-04.arm.fedoraproject.org Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/medusa-2.1.1-5.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/medusa.spec'], shell=Falseuid=1000printOutput=Falseprivate_network=TruechrootPath='/var/lib/mock/epel7-archbootstrap-6655388-651899/root'env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8'}user='mockbuild'gid=425logger=timeout=172800) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/medusa.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8'} and shell False warning: bogus date in %changelog: Thu Mar 20 2009 Jan F. Chadima - 1.5-4 warning: bogus date in %changelog: Thu Mar 20 2009 Jan F. Chadima - 1.5-3 Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GYDKI3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf medusa-2.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/medusa-2.1.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd medusa-2.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (medusa-configure.patch):' Patch #1 (medusa-configure.patch): + /usr/bin/cat /builddir/build/SOURCES/medusa-configure.patch + /usr/bin/patch -p1 -b --suffix .configure --fuzz=0 patching file configure.in + echo 'Patch #2 (medusa-trace-overflow.patch):' Patch #2 (medusa-trace-overflow.patch): + /usr/bin/cat /builddir/build/SOURCES/medusa-trace-overflow.patch + /usr/bin/patch -p1 -b --suffix .trace --fuzz=0 patching file src/medusa-trace.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.URUilZ + umask 022 + cd /builddir/build/BUILD + cd medusa-2.1.1 + autoreconf -vif autoreconf: Entering directory `.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: configure.in: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:9: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:9: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation src/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/modsrc/Makefile.am:140: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') autoreconf: Leaving directory `.' + export 'CPPFLAGS=-Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + CPPFLAGS='-Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + export 'CFLAGS=-Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + CFLAGS='-Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + CFLAGS='-Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' aarch64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-module-afp=yes checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking target system type... aarch64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for aarch64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of short... 2 checking whether to enable debugging... yes configure: checking for pthread support... checking for main in -lpthread... yes configure: checking for dlopen/dlclose... checking for dlclose in -ldl... yes checking for library containing clock_gettime... none required checking for clock_gettime... yes configure: checking for OpenSSL Library and Header files... checking for CRYPTO_lock in -lcrypto... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking for main in -lssl... yes configure: *** Checking module dependencies and enabling accordingly *** configure: checking for AFPFS-NG Library and Header files... checking afpfs-ng/afp_protocol.h usability... yes checking afpfs-ng/afp_protocol.h presence... yes checking for afpfs-ng/afp_protocol.h... yes checking for main in -lafpclient... yes checking whether to enable AFP module... yes checking whether to enable CVS module... yes checking whether to enable FTP module... yes checking whether to enable HTTP module... yes checking whether to enable IMAP module... yes checking whether to enable MSSQL module... yes checking whether to enable MYSQL module... yes configure: checking for NCPFS Library and Header files... checking ncp/nwcalls.h usability... no checking ncp/nwcalls.h presence... no checking for ncp/nwcalls.h... no configure: WARNING: *** NCPFS header files required for NCP module. *** The NCPFS package must be installed for the NCP module to function. This includes both the library and header files. If your distribution does not include these files or offer a ncpfs-devel package, the files can be manually installed using "make install-dev" within the NCPFS source. The NCP module will NOT be built. checking whether to enable NCP module... no checking whether to enable NNTP module... yes checking whether to enable PCANYWHERE module... yes checking whether to enable POP3 module... yes configure: checking for PostgreSQL Library and Header files... checking libpq-fe.h usability... yes checking libpq-fe.h presence... yes checking for libpq-fe.h... yes checking for main in -lpq... yes checking whether to enable POSTGRES module... yes checking whether to enable REXEC module... yes checking whether to enable RLOGIN module... yes checking whether to enable RSH module... yes checking whether to enable SMBNT module... yes checking whether to enable SMTP module... yes checking whether to enable SMTP-VRFY module... yes checking whether to enable SNMP module... yes configure: checking for Libssh2 Library files... checking for main in -lssh2... yes configure: WARNING: LIBSSH2 path not found. Assuming it was... ldd: missing file arguments Try `ldd --help' for more information. checking whether to enable SSH module... yes configure: checking for Subversion Library and Header files... checking for apr-1-config... /usr/bin/apr-1-config checking /usr/include/apr-1/apr_tables.h usability... yes checking /usr/include/apr-1/apr_tables.h presence... yes checking for /usr/include/apr-1/apr_tables.h... yes checking subversion-1/svn_client.h usability... yes checking subversion-1/svn_client.h presence... yes checking for subversion-1/svn_client.h... yes checking for main in -lsvn_client-1... yes checking whether to enable SVN module... yes checking whether to enable TELNET module... yes checking whether to enable VMAUTHD module... yes checking whether to enable VNC module... yes checking whether to enable WRAPPER module... yes checking whether to enable WEB-FORM module... yes configure: configure: ******************************************************* configure: Medusa Module Build Summary configure: configure: AFP Enabled configure: CVS Enabled configure: FTP Enabled configure: HTTP Enabled configure: IMAP Enabled configure: MSSQL Enabled configure: MYSQL Enabled configure: NCP ** Disabled ** configure: NNTP Enabled configure: PCANYWHERE Enabled configure: POP3 Enabled configure: POSTGRES Enabled configure: REXEC Enabled configure: RLOGIN Enabled configure: RSH Enabled configure: SMBNT Enabled configure: SMTP Enabled configure: SMTP-VRFY Enabled configure: SNMP Enabled configure: SSH Enabled configure: SVN Enabled configure: TELNET Enabled configure: VMAUTHD Enabled configure: VNC Enabled configure: WRAPPER Enabled configure: WEB-FORM Enabled configure: configure: If a module is unexpectedly marked as disabled, check configure: above output and verify dependancies were satisfied. configure: configure: It should also be noted that, by default, not all of configure: the modules are built. Incomplete modules or modules configure: which have not been sufficiently tested may be configure: disabled. To enable non-default modules, use the configure: "--enable-module-MODULE_NAME" configure option. configure: ******************************************************* configure: checking for strcasestr... yes checking for asprintf... yes checking for vasprintf... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/modsrc/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 V=1 make all-recursive make[1]: Entering directory `/builddir/build/BUILD/medusa-2.1.1' Making all in src make[2]: Entering directory `/builddir/build/BUILD/medusa-2.1.1/src' Making all in modsrc make[3]: Entering directory `/builddir/build/BUILD/medusa-2.1.1/src/modsrc' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c afp.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o medusa-trace.o `test -f '../medusa-trace.c' || echo './'`../medusa-trace.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c cvs.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c ftp.c afp.c:28:34: warning: "/*" within comment [-Wcomment] ** copy afpfs-ng-0.8.1/include/* to /usr/include/afpfs-ng ^ ftp.c: In function 'summaryUsage': ftp.c:92:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ ftp.c: In function 'showUsage': ftp.c:99:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ ftp.c: In function 'go': ftp.c:140:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 3) ) ^ ftp.c: In function 'initModule': ftp.c:198:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ ftp.c:277:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(bufReceive, "220", 3) == 0) ^ In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:277:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(bufReceive, "220", 3) == 0) ^ In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:277:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(bufReceive, "220", 3) == 0) ^ ftp.c:277:9: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:277:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:277:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(bufReceive, "220", 3) == 0) ^ ftp.c:277:9: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:277:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ftp.c:277:9: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:277:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ftp.c:277:9: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:277:9: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ftp.c:32:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ ftp.c:282:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "421", 3) == 0) ^ In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:282:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "421", 3) == 0) ^ In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:282:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "421", 3) == 0) ^ ftp.c:282:9: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:282:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:282:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "421", 3) == 0) ^ ftp.c:282:9: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:282:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ftp.c:282:9: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:282:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ftp.c:282:9: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:282:9: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ftp.c:32:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ ftp.c:312:9: warning: implicit declaration of function 'medusaCheckSocket' [-Wimplicit-function-declaration] if ( medusaCheckSocket(hSocket, psLogin->psServer->psAudit->iSocketWait) ) ^ ftp.c:193:18: warning: unused variable 'params' [-Wunused-variable] sConnectParams params; ^ ftp.c: In function 'initAuthSSL': ftp.c:382:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "AUTH TLS\r\n"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ftp.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ ftp.c:383:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:383:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from ftp.c:34: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ ftp.c:398:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(bufReceive, "234 ", 4) == 0) ^ In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:398:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(bufReceive, "234 ", 4) == 0) ^ In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:398:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(bufReceive, "234 ", 4) == 0) ^ ftp.c:398:3: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:398:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:398:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(bufReceive, "234 ", 4) == 0) ^ ftp.c:398:3: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:398:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ftp.c:398:3: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:398:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ftp.c:398:3: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:398:3: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ftp.c:32:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ ftp.c: In function 'tryLogin': ftp.c:426:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "USER %.250s\r\n", szLogin); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ftp.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ ftp.c:428:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:428:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from ftp.c:34: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ ftp.c:441:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if ( (strstr(bufReceive, "530 Non-anonymous sessions must use encryption.") != NULL) || ^ In file included from ftp.c:32:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ ftp.c:442:8: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] (strstr(bufReceive, "331 Non-anonymous sessions must use encryption.") != NULL) || ^ In file included from ftp.c:32:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ ftp.c:443:8: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] (strstr(bufReceive, "331 Rejected--secure connection required") != NULL) ) ^ In file included from ftp.c:32:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ ftp.c:464:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "USER %.250s\r\n", szLogin); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ftp.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ ftp.c:466:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:466:5: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from ftp.c:34: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ ftp.c:481:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(bufReceive, "530 ", 4) == 0) ^ In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:481:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(bufReceive, "530 ", 4) == 0) ^ In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:481:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(bufReceive, "530 ", 4) == 0) ^ ftp.c:481:3: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:481:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:481:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(bufReceive, "530 ", 4) == 0) ^ ftp.c:481:3: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:481:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ftp.c:481:3: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:481:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ftp.c:481:3: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:481:3: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ftp.c:32:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ ftp.c:488:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "421 ", 4) == 0) ^ In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:488:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "421 ", 4) == 0) ^ In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:488:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "421 ", 4) == 0) ^ ftp.c:488:3: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:488:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:488:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "421 ", 4) == 0) ^ ftp.c:488:3: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:488:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ftp.c:488:3: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:488:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ftp.c:488:3: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:488:3: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ftp.c:32:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ ftp.c:495:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "331 ", 4) != 0) ^ In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:495:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "331 ", 4) != 0) ^ In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:495:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "331 ", 4) != 0) ^ ftp.c:495:3: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:495:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:495:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "331 ", 4) != 0) ^ ftp.c:495:3: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:495:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ftp.c:495:3: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:495:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ftp.c:495:3: note: expected 'const char *' but argument is of type 'unsigned char *' ftp.c:495:3: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ftp.c:32:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ ftp.c:506:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "PASS %.250s\r\n", szPassword); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ftp.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ ftp.c:508:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from ftp.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftp.c:508:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from ftp.c:34: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ ftp.c:535:3: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult((*psLogin), szPassword); ^ cvs.c: In function 'summaryUsage': cvs.c:84:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ cvs.c: In function 'showUsage': cvs.c:92:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ cvs.c: In function 'go': cvs.c:111:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 3) ) ^ cvs.c: In function 'initModule': cvs.c:165:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ cvs.c: In function 'tryLogin': cvs.c:360:3: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult((*psLogin), szPassword); ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c http.c afp.c: In function 'summaryUsage': afp.c:97:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ afp.c: In function 'showUsage': afp.c:104:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ afp.c: In function 'go': afp.c:116:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 2) ) ^ afp.c: In function 'initModule': afp.c:154:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ afp.c: In function 'tryLogin': afp.c:336:3: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult((*psLogin), szPassword); ^ afp.c:310:7: warning: unused variable 'nSendBufferSize' [-Wunused-variable] int nSendBufferSize = 0; ^ afp.c:309:18: warning: unused variable 'szEncodedAuth' [-Wunused-variable] unsigned char* szEncodedAuth = NULL; ^ afp.c:308:18: warning: unused variable 'szTmp' [-Wunused-variable] unsigned char* szTmp = NULL; ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c ntlm.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c http-digest.c http-digest.c: In function 'DigestCalcHA1': http-digest.c:57:7: warning: pointer targets in passing argument 1 of 'MD5_Final' differ in signedness [-Wpointer-sign] MD5_Final(HA1, &Md5Ctx); ^ In file included from http-digest.h:6:0, from http-digest.c:12: /usr/include/openssl/md5.h:113:5: note: expected 'unsigned char *' but argument is of type 'char *' int MD5_Final(unsigned char *md, MD5_CTX *c); ^ http-digest.c:66:13: warning: pointer targets in passing argument 1 of 'MD5_Final' differ in signedness [-Wpointer-sign] MD5_Final(HA1, &Md5Ctx); ^ In file included from http-digest.h:6:0, from http-digest.c:12: /usr/include/openssl/md5.h:113:5: note: expected 'unsigned char *' but argument is of type 'char *' int MD5_Final(unsigned char *md, MD5_CTX *c); ^ http-digest.c: In function 'DigestCalcResponse': http-digest.c:98:7: warning: pointer targets in passing argument 1 of 'MD5_Final' differ in signedness [-Wpointer-sign] MD5_Final(HA2, &Md5Ctx); ^ In file included from http-digest.h:6:0, from http-digest.c:12: /usr/include/openssl/md5.h:113:5: note: expected 'unsigned char *' but argument is of type 'char *' int MD5_Final(unsigned char *md, MD5_CTX *c); ^ http-digest.c:117:7: warning: pointer targets in passing argument 1 of 'MD5_Final' differ in signedness [-Wpointer-sign] MD5_Final(RespHash, &Md5Ctx); ^ In file included from http-digest.h:6:0, from http-digest.c:12: /usr/include/openssl/md5.h:113:5: note: expected 'unsigned char *' but argument is of type 'char *' int MD5_Final(unsigned char *md, MD5_CTX *c); ^ http.c: In function 'summaryUsage': http.c:106:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ http.c: In function 'showUsage': http.c:113:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ http.c: In function 'go': http.c:133:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !( 0 <= argc <= 2) ) ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c imap.c http.c: In function 'initModule': http.c:239:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(_psLogin, psCredSet) == FAILURE) ^ http.c: In function 'getAuthType': http.c:383:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] _psSessionData->szDir, _psSessionData->szHostHeader, _psSessionData->szUserAgent); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ../medusa-net.h:26, from module.h:35, from http.c:38: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ http.c:386:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0) ^ In file included from module.h:35:0, from http.c:38: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ http.c:402:3: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] if ((strcasestr(bufReceive, "WWW-Authenticate: Basic")) || (strcasestr(bufReceive, "WWW-Authenticate:Basic"))) ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:369:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strcasestr (const char *__haystack, const char *__needle) ^ http.c:402:3: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] if ((strcasestr(bufReceive, "WWW-Authenticate: Basic")) || (strcasestr(bufReceive, "WWW-Authenticate:Basic"))) ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:369:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strcasestr (const char *__haystack, const char *__needle) ^ http.c:407:3: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] else if ((strcasestr(bufReceive, "WWW-Authenticate: NTLM")) || (strcasestr(bufReceive, "WWW-Authenticate:NTLM"))) ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:369:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strcasestr (const char *__haystack, const char *__needle) ^ http.c:407:3: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] else if ((strcasestr(bufReceive, "WWW-Authenticate: NTLM")) || (strcasestr(bufReceive, "WWW-Authenticate:NTLM"))) ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:369:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strcasestr (const char *__haystack, const char *__needle) ^ http.c:412:3: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] else if ((strcasestr(bufReceive, "WWW-Authenticate: Digest")) || strcasestr(bufReceive, "WWW-Authenticate:Digest")) ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:369:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strcasestr (const char *__haystack, const char *__needle) ^ http.c:412:3: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] else if ((strcasestr(bufReceive, "WWW-Authenticate: Digest")) || strcasestr(bufReceive, "WWW-Authenticate:Digest")) ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:369:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strcasestr (const char *__haystack, const char *__needle) ^ http.c:417:3: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] else if (strcasestr(bufReceive, "WWW-Authenticate:")) ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:369:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strcasestr (const char *__haystack, const char *__needle) ^ http.c: In function 'sendAuthBasic': http.c:445:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(szLoginDomain, "%s\\%s", _psSessionData->szDomain, szLogin); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ../medusa-net.h:26, from module.h:35, from http.c:38: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ http.c:448:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szLoginDomain = szLogin; ^ http.c:451:3: warning: pointer targets in passing argument 1 of 'basic_authentication_encode' differ in signedness [-Wpointer-sign] szEncodedAuth = basic_authentication_encode(szLoginDomain, szPassword); ^ In file included from module.h:38:0, from http.c:38: ../medusa-utils.h:31:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *basic_authentication_encode(const char *user, const char *passwd); ^ http.c:451:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szEncodedAuth = basic_authentication_encode(szLoginDomain, szPassword); ^ http.c:458:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 14 + strlen(_psSessionData->szUserAgent) + 23 + strlen(szEncodedAuth) + 4; ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ http.c:464:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] _psSessionData->szDir, _psSessionData->szHostHeader, _psSessionData->szUserAgent, szEncodedAuth); ^ ntlm.c: In function 'buildAuthResponse': ntlm.c:1218:32: warning: the address of 'lmRespData' will always evaluate as 'true' [-Waddress] AddBytes(response,lmResponse,lmRespData,24); ^ ntlm.c:1057:5: note: in definition of macro 'AddBytes' if (buf && count) \ ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ../medusa-net.h:26, from module.h:35, from http.c:38: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ http.c:466:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0) ^ In file included from module.h:35:0, from http.c:38: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ http.c: In function 'sendAuthNTLM': http.c:496:3: warning: pointer targets in passing argument 3 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode((char *)&sTmpReq, SmbLength(&sTmpReq), szTmpBuf64); ^ In file included from module.h:38:0, from http.c:38: ../medusa-utils.h:29:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int base64_encode(const char *str, int length, char *b64store); ^ http.c:500:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 14 + strlen(_psSessionData->szUserAgent) + 22 + strlen(szTmpBuf64) + 28; ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ http.c:506:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] _psSessionData->szDir, _psSessionData->szHostHeader, _psSessionData->szUserAgent, szTmpBuf64); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ../medusa-net.h:26, from module.h:35, from http.c:38: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ http.c:508:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0) ^ In file included from module.h:35:0, from http.c:38: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ http.c:532:3: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] szTmpBuf64 = (char *)strcasestr(bufReceive, "WWW-Authenticate: NTLM "); ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:369:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strcasestr (const char *__haystack, const char *__needle) ^ http.c:532:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szTmpBuf64 = (char *)strcasestr(bufReceive, "WWW-Authenticate: NTLM "); ^ http.c:539:3: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] szTmpBuf = ((char*)index(szTmpBuf64, '\r')); ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ http.c:539:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szTmpBuf = ((char*)index(szTmpBuf64, '\r')); ^ http.c:543:3: warning: pointer targets in passing argument 1 of 'base64_decode' differ in signedness [-Wpointer-sign] base64_decode(szTmpBuf64 + 23, (char *)&sTmpChall); ^ In file included from module.h:38:0, from http.c:38: ../medusa-utils.h:30:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int base64_decode(const char *base64, char *to); ^ http.c:554:3: warning: pointer targets in passing argument 3 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode((char *)&sTmpResp, SmbLength(&sTmpResp), szTmpBuf64); ^ In file included from module.h:38:0, from http.c:38: ../medusa-utils.h:29:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int base64_encode(const char *str, int length, char *b64store); ^ http.c:558:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 14 + strlen(_psSessionData->szUserAgent) + 22 + strlen(szTmpBuf64) + 23; ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ http.c:564:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] _psSessionData->szDir, _psSessionData->szHostHeader, _psSessionData->szUserAgent, szTmpBuf64); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ../medusa-net.h:26, from module.h:35, from http.c:38: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ http.c:566:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0) ^ In file included from module.h:35:0, from http.c:38: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ ntlm.c:1219:32: warning: the address of 'ntRespData' will always evaluate as 'true' [-Waddress] AddBytes(response,ntResponse,ntRespData,24); ^ ntlm.c:1057:5: note: in definition of macro 'AddBytes' if (buf && count) \ ^ http.c: In function 'sendAuthDigest': http.c:629:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] _psSessionData->szDir, _psSessionData->szHostHeader, _psSessionData->szUserAgent); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ../medusa-net.h:26, from module.h:35, from http.c:38: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ http.c:631:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0) ^ In file included from module.h:35:0, from http.c:38: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ http.c:640:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveLine(hSocket, &nReceiveBufferSize); ^ http.c:655:3: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate: Digest ") ) ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:369:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strcasestr (const char *__haystack, const char *__needle) ^ http.c:655:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate: Digest ") ) ^ http.c:655:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate: Digest ") ) ^ http.c:659:3: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] else if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate:Digest ") ) ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:369:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strcasestr (const char *__haystack, const char *__needle) ^ http.c:659:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate:Digest ") ) ^ http.c:659:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate:Digest ") ) ^ http.c:668:3: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] szTmp1 = ((char*)index(szTmp, '\r')); ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ http.c:668:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szTmp1 = ((char*)index(szTmp, '\r')); ^ http.c:672:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(szAuthenticate, szTmp, szTmp1 - szTmp); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ../medusa-net.h:26, from module.h:35, from http.c:38: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ http.c:672:3: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(szAuthenticate, szTmp, szTmp1 - szTmp); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ../medusa-net.h:26, from module.h:35, from http.c:38: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ http.c:680:3: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] if ( strcasestr(szAuthenticate, "algorithm=MD5-sess") || strcasestr(szAuthenticate, "algorithm=\"MD5-sess\"") ) ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:369:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strcasestr (const char *__haystack, const char *__needle) ^ http.c:680:3: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] if ( strcasestr(szAuthenticate, "algorithm=MD5-sess") || strcasestr(szAuthenticate, "algorithm=\"MD5-sess\"") ) ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:369:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strcasestr (const char *__haystack, const char *__needle) ^ http.c:687:3: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] else if ( strcasestr(szAuthenticate, "algorithm=MD5") || strcasestr(szAuthenticate, "algorithm=\"MD5\"")) ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:369:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strcasestr (const char *__haystack, const char *__needle) ^ http.c:687:3: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] else if ( strcasestr(szAuthenticate, "algorithm=MD5") || strcasestr(szAuthenticate, "algorithm=\"MD5\"")) ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:369:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strcasestr (const char *__haystack, const char *__needle) ^ http.c:694:3: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] else if ( strcasestr(szAuthenticate, "algorithm=") ) ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:369:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strcasestr (const char *__haystack, const char *__needle) ^ http.c:708:3: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] szTmp = (char *)strcasestr(szAuthenticate, "realm=\""); ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:369:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strcasestr (const char *__haystack, const char *__needle) ^ http.c:708:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szTmp = (char *)strcasestr(szAuthenticate, "realm=\""); ^ http.c:712:5: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] szTmp1 = ((char*)index(szTmp, '"')); ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ http.c:712:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szTmp1 = ((char*)index(szTmp, '"')); ^ http.c:716:5: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(szRealm, szTmp, szTmp1 - szTmp); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ../medusa-net.h:26, from module.h:35, from http.c:38: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ http.c:727:3: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] szTmp = (char *)strcasestr(szAuthenticate, "nonce=\""); ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:369:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strcasestr (const char *__haystack, const char *__needle) ^ http.c:727:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szTmp = (char *)strcasestr(szAuthenticate, "nonce=\""); ^ http.c:731:5: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] szTmp1 = ((char*)index(szTmp, '"')); ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ http.c:731:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szTmp1 = ((char*)index(szTmp, '"')); ^ http.c:735:5: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(szNonce, szTmp, szTmp1 - szTmp); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ../medusa-net.h:26, from module.h:35, from http.c:38: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ http.c:746:3: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] szTmp = (char *)strcasestr(szAuthenticate, "qop=\""); ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:369:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strcasestr (const char *__haystack, const char *__needle) ^ http.c:746:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szTmp = (char *)strcasestr(szAuthenticate, "qop=\""); ^ http.c:750:5: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] szTmp1 = ((char*)index(szTmp, '"')); ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ http.c:750:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szTmp1 = ((char*)index(szTmp, '"')); ^ http.c:754:5: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(szQop, szTmp, szTmp1 - szTmp); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ../medusa-net.h:26, from module.h:35, from http.c:38: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ http.c:764:3: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] szTmp = (char *)strcasestr(szAuthenticate, "opaque=\""); ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:369:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strcasestr (const char *__haystack, const char *__needle) ^ http.c:764:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szTmp = (char *)strcasestr(szAuthenticate, "opaque=\""); ^ http.c:768:5: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] szTmp1 = ((char*)index(szTmp, '"')); ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ http.c:768:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szTmp1 = ((char*)index(szTmp, '"')); ^ http.c:772:5: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(szOpaque, szTmp, szTmp1 - szTmp); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ../medusa-net.h:26, from module.h:35, from http.c:38: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ http.c:833:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] szLogin, szRealm, szNonce, szURI, szAlg, Response, szQop, szCNonce, szOpaque); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ../medusa-net.h:26, from module.h:35, from http.c:38: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ http.c:836:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] szLogin, szRealm, szNonce, szURI, szAlg, Response, szQop, szCNonce); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ../medusa-net.h:26, from module.h:35, from http.c:38: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ http.c:839:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] szLogin, szRealm, szNonce, szURI, szAlg, Response, szOpaque); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ../medusa-net.h:26, from module.h:35, from http.c:38: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ http.c:842:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] szLogin, szRealm, szNonce, szURI, szAlg, Response); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ../medusa-net.h:26, from module.h:35, from http.c:38: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ http.c:852:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 14 + strlen(_psSessionData->szUserAgent) + 17 + strlen(szAuthorization) + 28; ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ http.c:858:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] _psSessionData->szDir, _psSessionData->szHostHeader, _psSessionData->szUserAgent, szAuthorization); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ../medusa-net.h:26, from module.h:35, from http.c:38: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ http.c:860:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0) ^ In file included from module.h:35:0, from http.c:38: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ http.c:585:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ http.c: In function 'tryLogin': http.c:882:7: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult(*login, szPassword); ^ http.c:917:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] pTemp = strstr(pReceiveBuffer, "HTTP/1."); ^ In file included from ../medusa-net.h:27:0, from module.h:35, from http.c:38: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c mssql.c http.c: In function 'sendAuthDigest': http.c:868:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ imap.c: In function 'summaryUsage': imap.c:102:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ imap.c: In function 'showUsage': imap.c:109:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ imap.c: In function 'go': imap.c:143:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 2) ) ^ imap.c: In function 'initModule': imap.c:232:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ imap.c:301:9: warning: implicit declaration of function 'medusaCheckSocket' [-Wimplicit-function-declaration] if ( medusaCheckSocket(hSocket, psLogin->psServer->psAudit->iSocketWait) ) ^ imap.c:225:17: warning: unused variable 'bufSend' [-Wunused-variable] unsigned char bufSend[BUF_SIZE]; ^ imap.c: In function 'initConnection': imap.c:374:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if ((strstr(bufReceive,"* OK ") != NULL)) ^ In file included from imap.c:36:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ imap.c:379:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if ((strstr(bufReceive,"* BYE Connection refused") != NULL)) ^ In file included from imap.c:36:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ imap.c:397:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "%s CAPABILITY\r\n", _psSessionData->szTag); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from imap.c:33: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imap.c:399:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from imap.c:36:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap.c:399:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from imap.c:38: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ imap.c:415:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if ((params->nUseSSL == 0) && (strstr(bufReceive, "STARTTLS") != NULL)) ^ In file included from imap.c:36:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ imap.c:423:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "%s STARTTLS\r\n", _psSessionData->szTag); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from imap.c:33: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imap.c:424:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from imap.c:36:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap.c:424:5: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from imap.c:38: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ imap.c:455:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "%s CAPABILITY\r\n", _psSessionData->szTag); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from imap.c:33: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imap.c:457:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from imap.c:36:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap.c:457:7: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from imap.c:38: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ imap.c:479:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if ((strstr(bufReceive,"AUTH=LOGIN") != NULL)) ^ In file included from imap.c:36:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ imap.c:484:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if ((strstr(bufReceive,"AUTH=PLAIN") != NULL)) ^ In file included from imap.c:36:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ imap.c:489:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if ((strstr(bufReceive,"AUTH=NTLM") != NULL)) ^ In file included from imap.c:36:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ imap.c: In function 'sendAuthLogin': imap.c:519:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "%s LOGIN \"%s\\\\%s\" \"%s\"\r\n", _psSessionData->szTag, _psSessionData->szDomain, szLogin, szPassword); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from imap.c:33: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imap.c:524:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "%s LOGIN \"%s\" \"%s\"\r\n", _psSessionData->szTag, szLogin, szPassword); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from imap.c:33: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imap.c:527:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from imap.c:36:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap.c:527:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from imap.c:38: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ imap.c:508:18: warning: unused variable 'szEncodedAuth' [-Wunused-variable] unsigned char* szEncodedAuth = NULL; ^ imap.c: In function 'sendAuthPlain': imap.c:551:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "%s AUTHENTICATE PLAIN\r\n", _psSessionData->szTag); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from imap.c:33: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imap.c:553:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from imap.c:36:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap.c:553:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from imap.c:38: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ imap.c:580:3: warning: pointer targets in passing argument 1 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode(szTmp, nSendBufferSize, szEncodedAuth); ^ In file included from module.h:38:0, from imap.c:38: ../medusa-utils.h:29:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int base64_encode(const char *str, int length, char *b64store); ^ imap.c:580:3: warning: pointer targets in passing argument 3 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode(szTmp, nSendBufferSize, szEncodedAuth); ^ In file included from module.h:38:0, from imap.c:38: ../medusa-utils.h:29:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int base64_encode(const char *str, int length, char *b64store); ^ imap.c:584:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] nSendBufferSize = strlen(szEncodedAuth) + 2; ^ In file included from imap.c:36:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap.c:587:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "%s\r\n", szEncodedAuth); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from imap.c:33: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imap.c:590:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from imap.c:36:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap.c:590:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from imap.c:38: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ imap.c: In function 'sendAuthNTLM': imap.c:624:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "%s AUTHENTICATE NTLM\r\n", _psSessionData->szTag); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from imap.c:33: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imap.c:626:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from imap.c:36:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap.c:626:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from imap.c:38: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ imap.c:648:3: warning: pointer targets in passing argument 3 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode((char *)&sTmpReq, SmbLength(&sTmpReq), szTmpBuf64); ^ In file included from module.h:38:0, from imap.c:38: ../medusa-utils.h:29:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int base64_encode(const char *str, int length, char *b64store); ^ imap.c:651:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] nSendBufferSize = strlen(szTmpBuf64) + 2; ^ In file included from imap.c:36:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap.c:654:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "%s\r\n", szTmpBuf64); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from imap.c:33: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imap.c:658:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from imap.c:36:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap.c:658:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from imap.c:38: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ imap.c:674:3: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] szTmpBuf = ((char*)index(bufReceive, '\r')); ^ In file included from imap.c:36:0: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ imap.c:674:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szTmpBuf = ((char*)index(bufReceive, '\r')); ^ imap.c:678:3: warning: pointer targets in passing argument 1 of 'base64_decode' differ in signedness [-Wpointer-sign] base64_decode(bufReceive + 2, (char *)&sTmpChall); ^ In file included from module.h:38:0, from imap.c:38: ../medusa-utils.h:30:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int base64_decode(const char *base64, char *to); ^ imap.c:689:3: warning: pointer targets in passing argument 3 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode((char *)&sTmpResp, SmbLength(&sTmpResp), szTmpBuf64); ^ In file included from module.h:38:0, from imap.c:38: ../medusa-utils.h:29:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int base64_encode(const char *str, int length, char *b64store); ^ imap.c:692:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] nSendBufferSize = strlen(szTmpBuf64) + 2; ^ In file included from imap.c:36:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap.c:695:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "%s\r\n", szTmpBuf64); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from imap.c:33: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imap.c:697:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0) ^ In file included from module.h:35:0, from imap.c:38: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ imap.c: In function 'tryLogin': imap.c:740:5: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult(*psLogin, szPassword); ^ imap.c:778:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"OK") != NULL) ^ In file included from imap.c:36:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ imap.c:784:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"NO Clear text passwords have been disabled for this protocol.") != NULL) ^ In file included from imap.c:36:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ imap.c:790:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"NO Cleartext login on this server requires the use of transport level security (SSL/TLS)") != NULL) ^ In file included from imap.c:36:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ imap.c:796:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"NO The specified authentication package is not supported.") != NULL) ^ In file included from imap.c:36:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ imap.c:802:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"NO") != NULL) ^ In file included from imap.c:36:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ imap.c:809:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (strstr(bufReceive,"* BYE ") != NULL) ^ In file included from imap.c:36:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ imap.c:815:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"BAD") != NULL) ^ In file included from imap.c:36:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ mssql.c: In function 'summaryUsage': mssql.c:103:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ mssql.c: In function 'showUsage': mssql.c:110:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ mssql.c: In function 'go': mssql.c:126:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 3) ) ^ mssql.c:120:29: warning: unused variable 'pOptTmp' [-Wunused-variable] char *strtok_ptr, *pOpt, *pOptTmp; ^ mssql.c:120:22: warning: unused variable 'pOpt' [-Wunused-variable] char *strtok_ptr, *pOpt, *pOptTmp; ^ mssql.c:120:9: warning: unused variable 'strtok_ptr' [-Wunused-variable] char *strtok_ptr, *pOpt, *pOptTmp; ^ mssql.c:118:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ mssql.c: In function 'initModule': mssql.c:154:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ mssql.c:146:9: warning: unused variable 'bufReceive' [-Wunused-variable] char* bufReceive = NULL; ^ mssql.c: In function 'connectMSSQL': mssql.c:300:5: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, pkt_sqlping, 1, 0) < 0) ^ In file included from module.h:35:0, from mssql.c:44: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ mssql.c:324:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (szTmp = strstr(szTmp, "ServerName;")) ^ mssql.c: In function 'tryLogin': mssql.c:506:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, MSLEN + 1 + 39 + MSLEN + 1 + 110 + 1 + MSLEN + 270, 0) < 0) ^ In file included from module.h:35:0, from mssql.c:44: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ mssql.c:511:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, pkt_langp, 71, 0) < 0) ^ In file included from module.h:35:0, from mssql.c:44: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ mssql.c:517:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ mssql.c:536:3: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult((*psLogin), szPassword); ^ imap.c:736:6: warning: 'nRet' may be used uninitialized in this function [-Wmaybe-uninitialized] if (nRet == FAILURE) ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c mysql.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c sha1.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c nntp.c mysql.c: In function 'summaryUsage': mysql.c:99:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ mysql.c: In function 'showUsage': mysql.c:107:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ mysql.c: In function 'go': mysql.c:135:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 3) ) ^ mysql.c: In function 'initModule': mysql.c:188:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ mysql.c: In function 'scramble': mysql.c:433:3: warning: implicit declaration of function 'sha1_reset' [-Wimplicit-function-declaration] sha1_reset(&sha1_context); ^ mysql.c:445:3: warning: implicit declaration of function 'sha1_input' [-Wimplicit-function-declaration] sha1_input(&sha1_context, (uint8 *) password, strlen(password)); ^ mysql.c:446:3: warning: implicit declaration of function 'sha1_result' [-Wimplicit-function-declaration] sha1_result(&sha1_context, hash_stage1); ^ mysql.c: In function 'MySQLPrepareAuthOld': mysql.c:490:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(response + 9, szLogin, login_len); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from mysql.c:38: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ mysql.c: In function 'MySQLPrepareAuthNewOld': mysql.c:512:7: warning: unused variable 'login_len' [-Wunused-variable] int login_len = strlen(szLogin) > 16 ? 16 : strlen(szLogin); ^ mysql.c: In function 'MySQLPrepareAuth': mysql.c:569:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(response + 36, szLogin, login_len); /* NULL terminated username */ ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from mysql.c:38: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ mysql.c: In function 'MySQLSessionInit': mysql.c:595:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ mysql.c:605:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (strstr(bufReceive + 7, "is not allowed to connect to this MySQL server")) ^ In file included from mysql.c:41:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ mysql.c:633:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (!(strstr(szServerVersion, "3.") || strstr(szServerVersion, "4.") || strstr(szServerVersion, "5.") )) ^ In file included from mysql.c:41:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ mysql.c:633:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (!(strstr(szServerVersion, "3.") || strstr(szServerVersion, "4.") || strstr(szServerVersion, "5.") )) ^ In file included from mysql.c:41:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ mysql.c:633:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (!(strstr(szServerVersion, "3.") || strstr(szServerVersion, "4.") || strstr(szServerVersion, "5.") )) ^ In file included from mysql.c:41:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ mysql.c:640:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if ((strstr(szServerVersion, "4.1") || strstr(szServerVersion, "5.") )) ^ In file included from mysql.c:41:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ mysql.c:640:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if ((strstr(szServerVersion, "4.1") || strstr(szServerVersion, "5.") )) ^ In file included from mysql.c:41:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ mysql.c:651:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memcpy(*szSessionSalt, bufReceive + strlen(szServerVersion) + 10, 9); ^ In file included from mysql.c:41:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mysql.c:652:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memcpy(*szSessionSalt+8 , bufReceive + strlen(szServerVersion) + 37 , 12); ^ In file included from mysql.c:41:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mysql.c:654:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(*szSessionSalt) != 20) ^ In file included from mysql.c:41:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mysql.c:670:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memcpy(*szSessionSalt, bufReceive + strlen(szServerVersion) + 10, 9); ^ In file included from mysql.c:41:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mysql.c:672:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(*szSessionSalt) != 8) { ^ In file included from mysql.c:41:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mysql.c: In function 'tryLogin': mysql.c:706:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(szSessionSalt) == 8 || _psSessionData->protoFlag == PROTO_OLD) ^ In file included from mysql.c:41:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mysql.c:712:5: warning: pointer targets in passing argument 4 of 'MySQLPrepareAuthOld' differ in signedness [-Wpointer-sign] iRet = MySQLPrepareAuthOld(_psSessionData, szLogin, szPassword, szSessionSalt, &szResponse, &iResponseLength); ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c pcanywhere.c mysql.c:462:5: note: expected 'char *' but argument is of type 'unsigned char *' int MySQLPrepareAuthOld(_MYSQL_DATA *_psSessionData, char* szLogin, char* szPassword, char* szSessionSalt, unsigned char** szResponse, unsigned long* iResponseLength) ^ mysql.c:721:5: warning: pointer targets in passing argument 4 of 'MySQLPrepareAuth' differ in signedness [-Wpointer-sign] iRet = MySQLPrepareAuth(_psSessionData, szLogin, szPassword, szSessionSalt, &szResponse, &iResponseLength); ^ mysql.c:530:5: note: expected 'char *' but argument is of type 'unsigned char *' int MySQLPrepareAuth(_MYSQL_DATA *_psSessionData, char* szLogin, char* szPassword, char* szSessionSalt, unsigned char** szResponse, unsigned long* iResponseLength) ^ mysql.c:730:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, szResponse, iResponseLength, 0) < 0) ^ In file included from module.h:35:0, from mysql.c:43: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ mysql.c:740:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ mysql.c:779:5: warning: pointer targets in passing argument 4 of 'MySQLPrepareAuthNewOld' differ in signedness [-Wpointer-sign] iRet = MySQLPrepareAuthNewOld(_psSessionData, szLogin, szPassword, szSessionSalt, &szResponse, &iResponseLength); ^ mysql.c:508:5: note: expected 'char *' but argument is of type 'unsigned char *' int MySQLPrepareAuthNewOld(_MYSQL_DATA *_psSessionData, char* szLogin, char* szPassword, char* szSessionSalt, unsigned char** szResponse, unsigned long* iResponseLength) ^ mysql.c:787:5: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, szResponse, iResponseLength, 0) < 0) ^ In file included from module.h:35:0, from mysql.c:43: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ mysql.c:798:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ mysql.c:840:3: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult((*psLogin), szPassword); ^ pcanywhere.c: In function 'summaryUsage': pcanywhere.c:106:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ pcanywhere.c: In function 'showUsage': pcanywhere.c:113:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ pcanywhere.c: In function 'go': pcanywhere.c:133:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 3) ) ^ pcanywhere.c:158:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memset(psSessionData->domain + strlen(psSessionData->domain) + 1, 0x5C, 1); // '\' ^ In file included from pcanywhere.c:54:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ pcanywhere.c: In function 'initModule': pcanywhere.c:189:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ pcanywhere.c: In function 'pcaUserAuth': pcanywhere.c:330:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend1, nSendBufferSize1, 0) < 0) ^ In file included from module.h:35:0, from pcanywhere.c:56: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ pcanywhere.c:344:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ pcanywhere.c:350:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive + 6, "Enter login name:")) ^ In file included from pcanywhere.c:54:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pcanywhere.c:359:5: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(bufSend + 2, clogin, BUF_SIZE - 3); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pcanywhere.c:51: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ pcanywhere.c:362:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive + 6, "Enter user name:")) ^ In file included from pcanywhere.c:54:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pcanywhere.c:373:7: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(szTmp, szDomain, strlen(szDomain)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pcanywhere.c:51: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ pcanywhere.c:375:7: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(szTmp + strlen(szDomain) + 1, szLogin, strlen(szLogin)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pcanywhere.c:51: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ pcanywhere.c:376:7: warning: pointer targets in passing argument 1 of 'pcaEncrypt' differ in signedness [-Wpointer-sign] pcaEncrypt(szTmp, clogin, 0xAB, 1); ^ pcanywhere.c:294:6: note: expected 'char *' but argument is of type 'unsigned char *' void pcaEncrypt(char *plaintext, char *ciphertext, int key, int offset) ^ pcanywhere.c:383:7: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(bufSend + 2, clogin, BUF_SIZE - 3); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pcanywhere.c:51: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ pcanywhere.c:394:7: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(bufSend + 3, clogin, BUF_SIZE - 4); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pcanywhere.c:51: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ pcanywhere.c:417:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0) ^ In file included from module.h:35:0, from pcanywhere.c:56: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ pcanywhere.c:427:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ pcanywhere.c:433:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive + 6, "Enter password:")) ^ In file included from pcanywhere.c:54:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pcanywhere.c:450:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(bufSend + 2, cpass, BUF_SIZE - 3); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pcanywhere.c:51: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ pcanywhere.c:454:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0) ^ In file included from module.h:35:0, from pcanywhere.c:56: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ pcanywhere.c:313:7: warning: unused variable 'iRet' [-Wunused-variable] int iRet; ^ pcanywhere.c: In function 'pcaNegCrypt': pcanywhere.c:472:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0) ^ In file included from module.h:35:0, from pcanywhere.c:56: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ pcanywhere.c:479:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ pcanywhere.c:485:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive + 28, "Host is denying connection")) ^ In file included from pcanywhere.c:54:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pcanywhere.c: In function 'pcaSessionInit': pcanywhere.c:509:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend1, nSendBufferSize1, 0) < 0) ^ In file included from module.h:35:0, from pcanywhere.c:56: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ pcanywhere.c:516:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ pcanywhere.c:523:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive + 11, "Please press ...")) ^ In file included from pcanywhere.c:54:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pcanywhere.c:540:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend2, nSendBufferSize2, 0) < 0) ^ In file included from module.h:35:0, from pcanywhere.c:56: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ pcanywhere.c:547:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ pcanywhere.c: In function 'tryLogin': pcanywhere.c:600:3: warning: pointer targets in passing argument 2 of 'pcaUserAuth' differ in signedness [-Wpointer-sign] iRet = pcaUserAuth(hSocket, _psSessionData->domain, szLogin, szPassword); ^ pcanywhere.c:311:5: note: expected 'char *' but argument is of type 'unsigned char *' int pcaUserAuth(int hSocket, char* szDomain, char* szLogin, char* szPassword) ^ pcanywhere.c:610:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ pcanywhere.c:618:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive + 5, "Invalid login") || strstr(bufReceive + 6, "Enter password")) ^ In file included from pcanywhere.c:54:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pcanywhere.c:618:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive + 5, "Invalid login") || strstr(bufReceive + 6, "Enter password")) ^ In file included from pcanywhere.c:54:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pcanywhere.c:633:3: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult((*psLogin), szPassword); ^ pcanywhere.c:563:7: warning: unused variable 'nSendBufferSize' [-Wunused-variable] int nSendBufferSize = 0; ^ pcanywhere.c:561:17: warning: unused variable 'bufSend' [-Wunused-variable] unsigned char bufSend[BUF_SIZE]; ^ pcanywhere.c: In function 'pcaUserAuth': pcanywhere.c:459:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ nntp.c: In function 'summaryUsage': nntp.c:89:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ nntp.c: In function 'showUsage': nntp.c:96:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ nntp.c: In function 'go': nntp.c:110:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 3) ) ^ nntp.c: In function 'initModule': nntp.c:135:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ nntp.c: In function 'terminateConnection': nntp.c:236:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "QUIT\r\n"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from nntp.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ nntp.c:238:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from nntp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ nntp.c:238:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from nntp.c:35: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ nntp.c: In function 'initConnection': nntp.c:256:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ nntp.c:263:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if ((strstr(bufReceive,"200") != NULL)) ^ In file included from nntp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ nntp.c:268:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if ((strstr(bufReceive,"400") != NULL)) ^ In file included from nntp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ nntp.c:283:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "HELP\r\n"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from nntp.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ nntp.c:285:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from nntp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ nntp.c:285:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from nntp.c:35: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ nntp.c:293:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ nntp.c:301:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"480") != NULL) ^ In file included from nntp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ nntp.c: In function 'tryLogin': nntp.c:326:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "AUTHINFO USER %.250s\r\n", szLogin); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from nntp.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ nntp.c:328:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from nntp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ nntp.c:328:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from nntp.c:35: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ nntp.c:334:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ nntp.c:341:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"381") != NULL) ^ In file included from nntp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ nntp.c:356:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "AUTHINFO PASS \"\"\r\n"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from nntp.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ nntp.c:358:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "AUTHINFO PASS %.250s\r\n", szPassword); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from nntp.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ nntp.c:360:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from nntp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ nntp.c:360:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from nntp.c:35: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ nntp.c:366:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ nntp.c:373:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"281") != NULL) ^ In file included from nntp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ nntp.c:380:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"482") != NULL) ^ In file included from nntp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ nntp.c:387:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"501") != NULL) ^ In file included from nntp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ nntp.c:394:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"502") != NULL) ^ In file included from nntp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ nntp.c:408:3: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult((*psLogin), szPassword); ^ mysql.c:689:13: warning: 'iReturnCode' may be used uninitialized in this function [-Wmaybe-uninitialized] int iRet, iReturnCode; ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c pop3.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c postgres.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c rexec.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c rlogin.c pop3.c: In function 'summaryUsage': pop3.c:97:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ pop3.c: In function 'showUsage': pop3.c:104:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ pop3.c: In function 'go': pop3.c:133:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 3) ) ^ rexec.c: In function 'summaryUsage': rexec.c:80:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ rexec.c: In function 'showUsage': rexec.c:87:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ rexec.c: In function 'go': rexec.c:95:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 3) ) ^ rexec.c:93:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ rexec.c: In function 'initModule': rexec.c:120:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ rexec.c: In function 'tryLogin': rexec.c:229:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(bufSend+1, szLogin, strlen(szLogin)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from rexec.c:27: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ rexec.c:231:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(bufSend+2+strlen(szLogin), szPassword, strlen(szPassword)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from rexec.c:27: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ rexec.c:233:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(bufSend+1+strlen(szLogin)+1+strlen(szPassword)+1, "id", 3); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from rexec.c:27: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ rexec.c:236:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(szLogin)+1+strlen(szPassword)+1+4 , 0) < 0) ^ In file included from module.h:35:0, from rexec.c:32: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ rexec.c:242:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ rexec.c:248:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"Login incorrect") != NULL) ^ In file included from rexec.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ rexec.c:256:5: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult((*psLogin), szPassword); ^ rexec.c:259:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ rexec.c:265:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"uid") != NULL) ^ In file included from rexec.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ rexec.c:271:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"Command ID in library") != NULL) ^ In file included from rexec.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ postgres.c: In function 'summaryUsage': postgres.c:88:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ postgres.c: In function 'showUsage': postgres.c:95:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ postgres.c: In function 'go': postgres.c:114:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 3) ) ^ postgres.c: In function 'initModule': postgres.c:168:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ postgres.c: In function 'tryLogin': pop3.c: In function 'initModule': pop3.c:220:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ pop3.c:292:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "STLS\r\n"); ^ postgres.c:293:3: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult((*psLogin), szPassword); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pop3.c:27: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ pop3.c:293:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from pop3.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ pop3.c:293:11: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from pop3.c:32: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ pop3.c:310:11: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive, "+OK") != NULL) ^ In file included from pop3.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pop3.c:346:9: warning: implicit declaration of function 'medusaCheckSocket' [-Wimplicit-function-declaration] if ( medusaCheckSocket(hSocket, psLogin->psServer->psAudit->iSocketWait) ) ^ pop3.c: In function 'getAuthType': pop3.c:415:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "CAPA\r\n"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pop3.c:27: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ pop3.c:417:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from pop3.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ pop3.c:417:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from pop3.c:32: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ pop3.c:429:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if ((strstr(bufReceive,"USER") != NULL)) ^ In file included from pop3.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pop3.c:434:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if ((strstr(bufReceive,"SASL") != NULL)) ^ In file included from pop3.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pop3.c:436:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if ((strstr(bufReceive,"PLAIN") != NULL)) ^ In file included from pop3.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pop3.c:441:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if ((strstr(bufReceive,"LOGIN") != NULL)) ^ In file included from pop3.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pop3.c:446:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if ((strstr(bufReceive,"NTLM") != NULL)) ^ In file included from pop3.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ rlogin.c: In function 'summaryUsage': rlogin.c:79:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ rlogin.c: In function 'showUsage': rlogin.c:86:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ rlogin.c: In function 'go': rlogin.c:94:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 3) ) ^ rlogin.c:92:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ rlogin.c: In function 'initModule': rlogin.c:119:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ rlogin.c: In function 'tryLogin': rlogin.c:228:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(bufSend+1, szLogin, strlen(szLogin)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from rlogin.c:26: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ rlogin.c:230:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(bufSend+2+strlen(szLogin), szLogin, strlen(szLogin)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from rlogin.c:26: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ rlogin.c:232:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(bufSend+1+strlen(szLogin)+1+strlen(szLogin)+1, "xterm", 5); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from rlogin.c:26: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ rlogin.c:235:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(szLogin)+1+strlen(szLogin)+1+7 , 0) < 0) ^ In file included from module.h:35:0, from rlogin.c:31: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ rlogin.c:241:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ rlogin.c:248:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ rlogin.c:254:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"Incorrect") != NULL) ^ In file included from rlogin.c:29:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ rlogin.c:260:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"Password") != NULL) ^ In file included from rlogin.c:29:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pop3.c:457:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if ((strstr(bufReceive,"-ERR") != NULL)) ^ rlogin.c:263:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend,"%s\r",szPassword); ^ In file included from pop3.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from rlogin.c:26: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ rlogin.c:264:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend) , 0) < 0) ^ pop3.c:410:7: warning: unused variable 'nSendBufferSize' [-Wunused-variable] int nSendBufferSize = 0; ^ In file included from rlogin.c:29:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ rlogin.c:264:7: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend) , 0) < 0) ^ pop3.c: In function 'sendAuthUSER': In file included from module.h:35:0, from rlogin.c:31: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ pop3.c:479:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "USER %.100s@%.150s\r\n", szLogin, _psSessionData->szDomain); ^ rlogin.c:270:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pop3.c:27: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ rlogin.c:276:7: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"incorrect") != NULL) ^ pop3.c:481:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "USER %.250s\r\n", szLogin); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pop3.c:27: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ In file included from rlogin.c:29:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pop3.c:483:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from pop3.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ rlogin.c:298:3: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult((*psLogin), szPassword); ^ pop3.c:483:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ rlogin.c:219:8: warning: unused variable 'ipaddr_str' [-Wunused-variable] char ipaddr_str[INET_ADDRSTRLEN]; ^ In file included from module.h:35:0, from pop3.c:32: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ pop3.c:494:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive, " signing off.")) ^ In file included from pop3.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pop3.c:500:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive, "ERR Cleartext login on this server requires the use of transport level security (SSL/TLS)")) ^ In file included from pop3.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pop3.c:505:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive, "ERR Clear text passwords have been disabled for this protocol.")) ^ In file included from pop3.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pop3.c:513:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "PASS %.250s\r\n", szPassword); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pop3.c:27: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ pop3.c:515:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from pop3.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ pop3.c:515:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from pop3.c:32: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ pop3.c: In function 'sendAuthPLAIN': pop3.c:547:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(szTmpBuf, szLogin, strlen(szLogin)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pop3.c:27: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ pop3.c:548:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(szTmpBuf + strlen(szLogin) + 1, szLogin, strlen(szLogin)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pop3.c:27: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ pop3.c:549:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(szTmpBuf + strlen(szLogin) + 1 + strlen(szLogin) + 1, szPassword, strlen(szPassword)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pop3.c:27: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ pop3.c:553:3: warning: pointer targets in passing argument 1 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode(szTmpBuf, nSendBufferSize, szTmpBuf64); ^ In file included from module.h:38:0, from pop3.c:32: ../medusa-utils.h:29:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int base64_encode(const char *str, int length, char *b64store); ^ pop3.c:553:3: warning: pointer targets in passing argument 3 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode(szTmpBuf, nSendBufferSize, szTmpBuf64); ^ In file included from module.h:38:0, from pop3.c:32: ../medusa-utils.h:29:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int base64_encode(const char *str, int length, char *b64store); ^ pop3.c:556:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] bufSend = malloc(11 + strlen(szTmpBuf64) + 2 + 1); ^ In file included from pop3.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ pop3.c:557:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memset(bufSend, 0, 11 + strlen(szTmpBuf64) + 2 + 1); ^ In file included from pop3.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ pop3.c:559:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "AUTH PLAIN %s\r\n", szTmpBuf64); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pop3.c:27: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ pop3.c:562:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from pop3.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ pop3.c:562:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from pop3.c:32: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ pop3.c:539:7: warning: unused variable 'nRet' [-Wunused-variable] int nRet = SUCCESS; ^ pop3.c:538:7: warning: unused variable 'nReceiveBufferSize' [-Wunused-variable] int nReceiveBufferSize = 0; ^ pop3.c:533:18: warning: unused variable 'bufReceive' [-Wunused-variable] unsigned char* bufReceive = NULL; ^ pop3.c: In function 'sendAuthLOGIN': pop3.c:595:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "AUTH LOGIN\r\n"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pop3.c:27: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ pop3.c:597:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from pop3.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ pop3.c:597:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from pop3.c:32: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ pop3.c:610:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"-ERR The specified authentication package is not supported.") != NULL) ^ In file included from pop3.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pop3.c:616:3: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] szTmpBuf = ((char*)index(bufReceive, '\r')); ^ In file included from pop3.c:30:0: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ pop3.c:616:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szTmpBuf = ((char*)index(bufReceive, '\r')); ^ pop3.c:618:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] szPrompt = malloc(strlen(bufReceive + 2) + 1); ^ In file included from pop3.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ pop3.c:619:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memset(szPrompt, 0, strlen(bufReceive + 2) + 1); ^ In file included from pop3.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ pop3.c:621:3: warning: pointer targets in passing argument 1 of 'base64_decode' differ in signedness [-Wpointer-sign] base64_decode(bufReceive + 2, szPrompt); ^ In file included from module.h:38:0, from pop3.c:32: ../medusa-utils.h:30:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int base64_decode(const char *base64, char *to); ^ pop3.c:621:3: warning: pointer targets in passing argument 2 of 'base64_decode' differ in signedness [-Wpointer-sign] base64_decode(bufReceive + 2, szPrompt); ^ In file included from module.h:38:0, from pop3.c:32: ../medusa-utils.h:30:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int base64_decode(const char *base64, char *to); ^ pop3.c:632:3: warning: pointer targets in passing argument 3 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode(szLogin, strlen(szLogin), bufSend); ^ In file included from module.h:38:0, from pop3.c:32: ../medusa-utils.h:29:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int base64_encode(const char *str, int length, char *b64store); ^ pop3.c:633:3: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] strncat(bufSend, "\r\n", 2); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pop3.c:27: /usr/include/bits/string3.h:147:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^ pop3.c:635:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from pop3.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ pop3.c:635:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from pop3.c:32: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ pop3.c:648:3: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] szTmpBuf = ((char*)index(bufReceive, '\r')); ^ In file included from pop3.c:30:0: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ pop3.c:648:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szTmpBuf = ((char*)index(bufReceive, '\r')); ^ pop3.c:650:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] szPrompt = malloc(strlen(bufReceive + 2) + 1); ^ In file included from pop3.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ pop3.c:651:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memset(szPrompt, 0, strlen(bufReceive + 2) + 1); ^ In file included from pop3.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ pop3.c:653:3: warning: pointer targets in passing argument 1 of 'base64_decode' differ in signedness [-Wpointer-sign] base64_decode(bufReceive + 2, szPrompt); ^ In file included from module.h:38:0, from pop3.c:32: ../medusa-utils.h:30:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int base64_decode(const char *base64, char *to); ^ pop3.c:653:3: warning: pointer targets in passing argument 2 of 'base64_decode' differ in signedness [-Wpointer-sign] base64_decode(bufReceive + 2, szPrompt); ^ In file included from module.h:38:0, from pop3.c:32: ../medusa-utils.h:30:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int base64_decode(const char *base64, char *to); ^ pop3.c:664:3: warning: pointer targets in passing argument 3 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode(szPassword, strlen(szPassword), bufSend); ^ In file included from module.h:38:0, from pop3.c:32: ../medusa-utils.h:29:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int base64_encode(const char *str, int length, char *b64store); ^ pop3.c:665:3: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] strncat(bufSend, "\r\n", 2); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pop3.c:27: /usr/include/bits/string3.h:147:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^ pop3.c:667:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from pop3.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ pop3.c:667:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from pop3.c:32: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ pop3.c:588:7: warning: unused variable 'nRet' [-Wunused-variable] int nRet = SUCCESS; ^ pop3.c:586:7: warning: unused variable 'nSendBufferSize' [-Wunused-variable] int nSendBufferSize = 0; ^ pop3.c: In function 'sendAuthNTLM': pop3.c:698:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "AUTH NTLM\r\n"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pop3.c:27: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ pop3.c:700:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from pop3.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ pop3.c:700:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from pop3.c:32: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ pop3.c:721:3: warning: pointer targets in passing argument 3 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode((char *)&sTmpReq, SmbLength(&sTmpReq), szTmpBuf64); ^ In file included from module.h:38:0, from pop3.c:32: ../medusa-utils.h:29:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int base64_encode(const char *str, int length, char *b64store); ^ pop3.c:724:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] nSendBufferSize = strlen(szTmpBuf64) + 2; ^ In file included from pop3.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ pop3.c:727:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "%s\r\n", szTmpBuf64); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pop3.c:27: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ pop3.c:731:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from pop3.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ pop3.c:731:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from pop3.c:32: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ pop3.c:747:3: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] szTmpBuf = ((char*)index(bufReceive, '\r')); ^ In file included from pop3.c:30:0: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ pop3.c:747:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szTmpBuf = ((char*)index(bufReceive, '\r')); ^ pop3.c:751:3: warning: pointer targets in passing argument 1 of 'base64_decode' differ in signedness [-Wpointer-sign] base64_decode(bufReceive + 2, (char *)&sTmpChall); ^ In file included from module.h:38:0, from pop3.c:32: ../medusa-utils.h:30:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int base64_decode(const char *base64, char *to); ^ pop3.c:761:3: warning: pointer targets in passing argument 3 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode((char *)&sTmpResp, SmbLength(&sTmpResp), szTmpBuf64); ^ In file included from module.h:38:0, from pop3.c:32: ../medusa-utils.h:29:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int base64_encode(const char *str, int length, char *b64store); ^ pop3.c:764:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] nSendBufferSize = strlen(szTmpBuf64) + 2; ^ In file included from pop3.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ pop3.c:767:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "%s\r\n", szTmpBuf64); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from pop3.c:27: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ pop3.c:769:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0) ^ In file included from module.h:35:0, from pop3.c:32: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ pop3.c: In function 'tryLogin': pop3.c:816:5: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult(*psLogin, szPassword); ^ pop3.c:851:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"-ERR The specified authentication package is not supported.") != NULL) ^ In file included from pop3.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pop3.c:865:7: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (strstr(bufReceive, "CPF2204")) ^ In file included from pop3.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pop3.c:871:7: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive, "CPF22E2")) ^ In file included from pop3.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pop3.c:877:7: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive, "CPF22E3")) ^ In file included from pop3.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pop3.c:883:7: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive, "CPF22E4")) ^ In file included from pop3.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pop3.c:889:7: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive, "CPF22E5")) ^ In file included from pop3.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ pop3.c:895:7: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive, "-ERR Logon attempt invalid")) ^ In file included from pop3.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c rsh.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c smbnt.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c hmacmd5.c smbnt.c: In function 'summaryUsage': smbnt.c:193:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ smbnt.c: In function 'showUsage': smbnt.c:200:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ smbnt.c: In function 'go': smbnt.c:256:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 3) ) ^ rsh.c: In function 'summaryUsage': rsh.c:80:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ rsh.c: In function 'showUsage': rsh.c:87:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ rsh.c: In function 'go': rsh.c:96:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 3) ) ^ rsh.c:94:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ rsh.c: In function 'initModule': rsh.c:121:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ rsh.c: In function 'tryLogin': rsh.c:233:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(bufSend+1, szLogin, strlen(szLogin)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from rsh.c:27: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ rsh.c:235:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(bufSend+2+strlen(szLogin), szPassword, strlen(szPassword)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from rsh.c:27: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ rsh.c:237:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(bufSend+1+strlen(szLogin)+1+strlen(szPassword)+1, "id", 3); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from rsh.c:27: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ rsh.c:240:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(szLogin)+1+strlen(szPassword)+1+4 , 0) < 0) ^ In file included from module.h:35:0, from rsh.c:32: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ rsh.c:248:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ rsh.c:254:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize); ^ rsh.c:260:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"uid") != NULL) ^ In file included from rsh.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ rsh.c:274:3: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult((*psLogin), szPassword); ^ rsh.c:221:8: warning: unused variable 'ipaddr_str' [-Wunused-variable] char ipaddr_str[INET_ADDRSTRLEN]; ^ smbnt.c: In function 'initModule': smbnt.c:371:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ smbnt.c:427:9: warning: implicit declaration of function 'NBSSessionRequest' [-Wimplicit-function-declaration] if (NBSSessionRequest(hSocket, _psSessionData) < 0) { ^ smbnt.c:433:9: warning: implicit declaration of function 'SMBNegProt' [-Wimplicit-function-declaration] if (SMBNegProt(hSocket, _psSessionData) < 0) ^ smbnt.c:363:43: warning: unused variable 'pOptTmp' [-Wunused-variable] char *strtok_ptr = NULL, *pOpt = NULL, *pOptTmp = NULL; ^ smbnt.c:363:29: warning: unused variable 'pOpt' [-Wunused-variable] char *strtok_ptr = NULL, *pOpt = NULL, *pOptTmp = NULL; ^ smbnt.c:363:9: warning: unused variable 'strtok_ptr' [-Wunused-variable] char *strtok_ptr = NULL, *pOpt = NULL, *pOptTmp = NULL; ^ smbnt.c:362:9: warning: unused variable 'bufReceive' [-Wunused-variable] char *bufReceive = NULL; ^ smbnt.c: In function 'HashLM': smbnt.c:664:5: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(password, pass, 14); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smbnt.c:84: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ smbnt.c:664:5: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(password, pass, 14); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smbnt.c:84: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ smbnt.c: In function 'MakeNTLM': smbnt.c:727:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pass = ""; ^ smbnt.c:700:17: warning: unused variable 'ntlm_response' [-Wunused-variable] unsigned char ntlm_response[24]; ^ smbnt.c:699:17: warning: unused variable 'p21' [-Wunused-variable] unsigned char p21[21]; ^ smbnt.c: In function 'HashLMv2': smbnt.c:889:3: warning: implicit declaration of function 'hmac_md5_init_limK_to_64' [-Wimplicit-function-declaration] hmac_md5_init_limK_to_64(ntlm_hash, 16, &ctx); ^ smbnt.c:890:3: warning: implicit declaration of function 'hmac_md5_update' [-Wimplicit-function-declaration] hmac_md5_update((const unsigned char *)unicodeUsername, 2 * strlen((char *)szLogin), &ctx); ^ smbnt.c:892:3: warning: implicit declaration of function 'hmac_md5_final' [-Wimplicit-function-declaration] hmac_md5_final(kr_buf, &ctx); ^ smbnt.c: In function 'SMBSessionSetup': smbnt.c:1298:5: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy((char *) _psSessionData->workgroup, _psSessionData->workgroup_other, 16); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smbnt.c:84: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ smbnt.c:1530:5: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(buf + iOffset, szPassword, 256); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smbnt.c:84: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ smbnt.c:1545:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buf + iOffset + iByteCount, "Unix"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smbnt.c:84: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ smbnt.c:1547:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buf + iOffset + iByteCount, "Samba"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smbnt.c:84: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ smbnt.c:1290:7: warning: unused variable 'i' [-Wunused-variable] int i, ret; ^ smbnt.c: In function 'tryLogin': smbnt.c:1713:5: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult((*psLogin), _psSessionData->machine_name); ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c smtp.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c smtp-vrfy.c smtp.c: In function 'summaryUsage': smtp.c:99:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ smtp.c: In function 'showUsage': smtp.c:106:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ smtp.c: In function 'go': smtp.c:135:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 3) ) ^ smtp.c: In function 'initModule': smtp.c:219:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ smtp.c:282:9: warning: implicit declaration of function 'medusaCheckSocket' [-Wimplicit-function-declaration] if ( medusaCheckSocket(hSocket, psLogin->psServer->psAudit->iSocketWait) ) ^ smtp.c: In function 'initConnection': smtp.c:365:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "EHLO %s\r\n", _psSessionData->szEHLO); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smtp.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ smtp.c:367:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from smtp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp.c:367:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from smtp.c:35: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ smtp.c:384:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if ((params->nUseSSL == 0) && (strstr(bufReceive, "STARTTLS") != NULL)) ^ In file included from smtp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ smtp.c:392:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "STARTTLS\r\n"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smtp.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ smtp.c:393:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from smtp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp.c:393:5: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from smtp.c:35: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ smtp.c:424:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "EHLO %s\r\n", _psSessionData->szEHLO); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smtp.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ smtp.c:426:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from smtp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp.c:426:7: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from smtp.c:35: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ smtp.c:449:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if ((strstr(bufReceive,"AUTH=LOGIN") != NULL)) ^ In file included from smtp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ smtp.c:454:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if ((strstr(bufReceive,"AUTH=PLAIN") != NULL)) ^ In file included from smtp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ smtp.c:459:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if ((strstr(bufReceive,"AUTH ") != NULL)) ^ In file included from smtp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ smtp.c:461:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if ((strstr(bufReceive,"LOGIN") != NULL)) ^ In file included from smtp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ smtp.c:466:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if ((strstr(bufReceive,"PLAIN") != NULL)) ^ In file included from smtp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ smtp-vrfy.c: In function 'summaryUsage': smtp-vrfy.c:88:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ smtp-vrfy.c: In function 'showUsage': smtp.c:471:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if ((strstr(bufReceive,"NTLM") != NULL)) ^ In file included from smtp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ smtp.c:344:7: warning: unused variable 'iRet' [-Wunused-variable] int iRet; ^ smtp.c: In function 'sendAuthPLAIN': smtp.c:510:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "AUTH PLAIN\r\n"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smtp.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ smtp.c:512:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from smtp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp.c:512:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ smtp-vrfy.c:95:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ smtp-vrfy.c: In function 'go': smtp-vrfy.c:114:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 3) ) ^ In file included from module.h:35:0, from smtp.c:35: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ smtp.c:531:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(szTmpBuf, szLogin, strlen(szLogin)); ^ smtp-vrfy.c: In function 'initModule': smtp-vrfy.c:172:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ smtp-vrfy.c:225:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize)) ^ smtp-vrfy.c: In function 'sayHELO': smtp-vrfy.c:335:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "HELO %.250s\r\n", _psSessionData->szHELO); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smtp-vrfy.c:27: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ smtp-vrfy.c:337:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from smtp-vrfy.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smtp.c:30: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ smtp.c:532:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(szTmpBuf + strlen(szLogin) + 1, szLogin, strlen(szLogin)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smtp.c:30: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ smtp.c:533:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(szTmpBuf + strlen(szLogin) + 1 + strlen(szLogin) + 1, szPassword, strlen(szPassword)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smtp.c:30: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ smtp.c:537:3: warning: pointer targets in passing argument 1 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode(szTmpBuf, nSendBufferSize, szTmpBuf64); ^ In file included from module.h:38:0, from smtp.c:35: ../medusa-utils.h:29:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int base64_encode(const char *str, int length, char *b64store); ^ smtp.c:537:3: warning: pointer targets in passing argument 3 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode(szTmpBuf, nSendBufferSize, szTmpBuf64); ^ In file included from module.h:38:0, from smtp.c:35: ../medusa-utils.h:29:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int base64_encode(const char *str, int length, char *b64store); ^ smtp.c:540:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] bufSend = malloc(strlen(szTmpBuf64) + 2 + 1); ^ In file included from smtp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp.c:541:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memset(bufSend, 0, strlen(szTmpBuf64) + 2 + 1); ^ smtp-vrfy.c:337:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from smtp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from module.h:35:0, from smtp-vrfy.c:32: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ smtp.c:543:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "%s\r\n", szTmpBuf64); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smtp.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ smtp-vrfy.c:346:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while (bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize)) ^ smtp-vrfy.c:346:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize)) ^ smtp.c:546:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ smtp-vrfy.c:359:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (strstr(bufReceive, "250 ") != NULL) ^ In file included from smtp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from smtp-vrfy.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ smtp-vrfy.c:362:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (nBannerStatus > 0 && (strstr(bufReceive, "\r\n") != NULL)) ^ In file included from smtp-vrfy.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ smtp-vrfy.c: In function 'sayQUIT': smtp-vrfy.c:385:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "QUIT\r\n"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smtp-vrfy.c:27: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ smtp-vrfy.c:387:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from smtp-vrfy.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp-vrfy.c:387:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from smtp-vrfy.c:32: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ smtp-vrfy.c: In function 'tryLogin': smtp-vrfy.c:420:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "VRFY %.250s@%.250s\r\n", szAccount, szDomain); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smtp-vrfy.c:27: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ smtp-vrfy.c:425:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "VRFY %.250s\r\n", szAccount); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smtp-vrfy.c:27: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ smtp-vrfy.c:428:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from smtp-vrfy.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp-vrfy.c:428:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from smtp-vrfy.c:32: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ smtp-vrfy.c:434:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveLineDelay(hSocket, &nReceiveBufferSize, RECEIVE_DELAY_1, RECEIVE_DELAY_2); ^ smtp-vrfy.c:440:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "250 ", 4) == 0) /* valid account */ ^ In file included from smtp-vrfy.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp-vrfy.c:440:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "250 ", 4) == 0) /* valid account */ ^ In file included from smtp-vrfy.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp-vrfy.c:440:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "250 ", 4) == 0) /* valid account */ ^ smtp-vrfy.c:440:3: note: expected 'const char *' but argument is of type 'unsigned char *' smtp-vrfy.c:440:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from smtp-vrfy.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp-vrfy.c:440:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "250 ", 4) == 0) /* valid account */ ^ smtp-vrfy.c:440:3: note: expected 'const char *' but argument is of type 'unsigned char *' smtp-vrfy.c:440:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] smtp-vrfy.c:440:3: note: expected 'const char *' but argument is of type 'unsigned char *' smtp-vrfy.c:440:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] smtp-vrfy.c:440:3: note: expected 'const char *' but argument is of type 'unsigned char *' smtp-vrfy.c:440:3: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from smtp-vrfy.c:30:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ smtp-vrfy.c:446:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "252 ", 4) == 0) /* valid account */ ^ In file included from smtp-vrfy.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp-vrfy.c:446:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "252 ", 4) == 0) /* valid account */ ^ In file included from smtp-vrfy.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp-vrfy.c:446:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "252 ", 4) == 0) /* valid account */ ^ smtp-vrfy.c:446:3: note: expected 'const char *' but argument is of type 'unsigned char *' smtp-vrfy.c:446:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from smtp-vrfy.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp-vrfy.c:446:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "252 ", 4) == 0) /* valid account */ ^ smtp-vrfy.c:446:3: note: expected 'const char *' but argument is of type 'unsigned char *' smtp-vrfy.c:446:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] smtp-vrfy.c:446:3: note: expected 'const char *' but argument is of type 'unsigned char *' smtp-vrfy.c:446:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] smtp-vrfy.c:446:3: note: expected 'const char *' but argument is of type 'unsigned char *' smtp-vrfy.c:446:3: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from smtp-vrfy.c:30:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ smtp.c:546:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from smtp.c:35: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ smtp.c:503:7: warning: unused variable 'nRet' [-Wunused-variable] int nRet = SUCCESS; ^ smtp.c: In function 'sendAuthLOGIN': smtp.c:582:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "AUTH LOGIN\r\n"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smtp.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ smtp.c:584:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from smtp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp.c:584:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from smtp.c:35: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ smtp-vrfy.c:452:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "550 ", 4) == 0) /* non-existant account */ ^ smtp.c:599:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL)) ^ In file included from smtp-vrfy.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from smtp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ smtp.c:599:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL)) ^ smtp-vrfy.c:452:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "550 ", 4) == 0) /* non-existant account */ ^ smtp.c:599:3: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL)) ^ In file included from smtp-vrfy.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from smtp.c:33:0: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ smtp-vrfy.c:452:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "550 ", 4) == 0) /* non-existant account */ ^ smtp-vrfy.c:452:3: note: expected 'const char *' but argument is of type 'unsigned char *' smtp-vrfy.c:452:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from smtp-vrfy.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp-vrfy.c:452:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "550 ", 4) == 0) /* non-existant account */ ^ smtp-vrfy.c:452:3: note: expected 'const char *' but argument is of type 'unsigned char *' smtp-vrfy.c:452:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] smtp-vrfy.c:452:3: note: expected 'const char *' but argument is of type 'unsigned char *' smtp-vrfy.c:452:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] smtp-vrfy.c:452:3: note: expected 'const char *' but argument is of type 'unsigned char *' smtp-vrfy.c:452:3: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from smtp-vrfy.c:30:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ smtp-vrfy.c:458:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "557 ", 4) == 0) /* 557 5.5.2 String does not match anything. */ ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c snmp.c In file included from smtp-vrfy.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp-vrfy.c:458:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "557 ", 4) == 0) /* 557 5.5.2 String does not match anything. */ ^ In file included from smtp-vrfy.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp-vrfy.c:458:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "557 ", 4) == 0) /* 557 5.5.2 String does not match anything. */ ^ smtp-vrfy.c:458:3: note: expected 'const char *' but argument is of type 'unsigned char *' smtp-vrfy.c:458:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from smtp-vrfy.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp-vrfy.c:458:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "557 ", 4) == 0) /* 557 5.5.2 String does not match anything. */ ^ smtp-vrfy.c:458:3: note: expected 'const char *' but argument is of type 'unsigned char *' smtp-vrfy.c:458:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] smtp-vrfy.c:458:3: note: expected 'const char *' but argument is of type 'unsigned char *' smtp-vrfy.c:458:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] smtp-vrfy.c:458:3: note: expected 'const char *' but argument is of type 'unsigned char *' smtp-vrfy.c:458:3: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from smtp-vrfy.c:30:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ smtp-vrfy.c:464:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "554 ", 4) == 0) /* invalid domain name */ ^ In file included from smtp-vrfy.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp-vrfy.c:464:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "554 ", 4) == 0) /* invalid domain name */ ^ In file included from smtp-vrfy.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp-vrfy.c:464:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "554 ", 4) == 0) /* invalid domain name */ ^ smtp-vrfy.c:464:3: note: expected 'const char *' but argument is of type 'unsigned char *' smtp-vrfy.c:464:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from smtp-vrfy.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp-vrfy.c:464:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "554 ", 4) == 0) /* invalid domain name */ ^ smtp-vrfy.c:464:3: note: expected 'const char *' but argument is of type 'unsigned char *' smtp-vrfy.c:464:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] smtp-vrfy.c:464:3: note: expected 'const char *' but argument is of type 'unsigned char *' smtp-vrfy.c:464:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] smtp-vrfy.c:464:3: note: expected 'const char *' but argument is of type 'unsigned char *' smtp-vrfy.c:464:3: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from smtp-vrfy.c:30:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ smtp-vrfy.c:479:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveLineDelay(hSocket, &nReceiveBufferSize, RECEIVE_DELAY_1, RECEIVE_DELAY_2); ^ smtp-vrfy.c:481:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (strstr(bufReceive, "421 Error: too many errors")) ^ In file included from smtp-vrfy.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ smtp-vrfy.c:487:3: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult((*psLogin), szDomain); ^ smtp.c:599:79: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL)) ^ smtp.c:608:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] szPrompt = malloc(strlen(szTmpBuf) + 1); ^ In file included from smtp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp.c:609:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memset(szPrompt, 0, strlen(szTmpBuf) + 1); ^ In file included from smtp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp.c:611:3: warning: pointer targets in passing argument 1 of 'base64_decode' differ in signedness [-Wpointer-sign] base64_decode(szTmpBuf, szPrompt); ^ In file included from module.h:38:0, from smtp.c:35: ../medusa-utils.h:30:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int base64_decode(const char *base64, char *to); ^ smtp.c:611:3: warning: pointer targets in passing argument 2 of 'base64_decode' differ in signedness [-Wpointer-sign] base64_decode(szTmpBuf, szPrompt); ^ In file included from module.h:38:0, from smtp.c:35: ../medusa-utils.h:30:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int base64_decode(const char *base64, char *to); ^ smtp.c:625:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(szLoginDomain, "%s\\%s", _psSessionData->szDomain, szLogin); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smtp.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ smtp.c:628:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szLoginDomain = szLogin; ^ smtp.c:632:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] bufSend = malloc((2 * strlen(szLoginDomain) + 2) + 2 + 1); ^ In file included from smtp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp.c:633:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memset(bufSend, 0, (2 * strlen(szLoginDomain) + 2) + 2 + 1); ^ In file included from smtp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp.c:634:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] base64_encode(szLoginDomain, strlen(szLoginDomain), bufSend); ^ In file included from smtp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp.c:634:3: warning: pointer targets in passing argument 1 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode(szLoginDomain, strlen(szLoginDomain), bufSend); ^ In file included from module.h:38:0, from smtp.c:35: ../medusa-utils.h:29:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int base64_encode(const char *str, int length, char *b64store); ^ smtp.c:634:3: warning: pointer targets in passing argument 3 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode(szLoginDomain, strlen(szLoginDomain), bufSend); ^ In file included from module.h:38:0, from smtp.c:35: ../medusa-utils.h:29:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int base64_encode(const char *str, int length, char *b64store); ^ smtp.c:635:3: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] strncat(bufSend, "\r\n", 2); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smtp.c:30: /usr/include/bits/string3.h:147:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^ smtp.c:640:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from smtp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp.c:640:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from smtp.c:35: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ smtp.c:654:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL)) ^ In file included from smtp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ smtp.c:654:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL)) ^ smtp.c:654:3: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL)) ^ In file included from smtp.c:33:0: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ smtp.c:654:79: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL)) ^ smtp.c:663:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] szPrompt = malloc(strlen(szTmpBuf) + 1); ^ In file included from smtp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp.c:664:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memset(szPrompt, 0, strlen(szTmpBuf) + 1); ^ In file included from smtp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp.c:666:3: warning: pointer targets in passing argument 1 of 'base64_decode' differ in signedness [-Wpointer-sign] base64_decode(szTmpBuf, szPrompt); ^ In file included from module.h:38:0, from smtp.c:35: ../medusa-utils.h:30:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int base64_decode(const char *base64, char *to); ^ smtp.c:666:3: warning: pointer targets in passing argument 2 of 'base64_decode' differ in signedness [-Wpointer-sign] base64_decode(szTmpBuf, szPrompt); ^ In file included from module.h:38:0, from smtp.c:35: ../medusa-utils.h:30:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int base64_decode(const char *base64, char *to); ^ smtp.c:677:3: warning: pointer targets in passing argument 3 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode(szPassword, strlen(szPassword), bufSend); ^ In file included from module.h:38:0, from smtp.c:35: ../medusa-utils.h:29:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int base64_encode(const char *str, int length, char *b64store); ^ smtp.c:678:3: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] strncat(bufSend, "\r\n", 2); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smtp.c:30: /usr/include/bits/string3.h:147:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^ smtp.c:680:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from smtp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp.c:680:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from smtp.c:35: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ smtp.c:575:7: warning: unused variable 'nRet' [-Wunused-variable] int nRet = SUCCESS; ^ smtp.c:573:7: warning: unused variable 'nSendBufferSize' [-Wunused-variable] int nSendBufferSize = 0; ^ smtp.c: In function 'sendAuthNTLM': smtp.c:712:3: warning: pointer targets in passing argument 3 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode((char *)&sTmpReq, SmbLength(&sTmpReq), szTmpBuf64); ^ In file included from module.h:38:0, from smtp.c:35: ../medusa-utils.h:29:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int base64_encode(const char *str, int length, char *b64store); ^ smtp.c:715:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] nSendBufferSize = strlen(szTmpBuf64) + 2; ^ In file included from smtp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp.c:718:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "AUTH NTLM %s\r\n", szTmpBuf64); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smtp.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ smtp.c:722:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from smtp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp.c:722:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from smtp.c:35: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ smtp.c:739:3: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] szTmpBuf = ((char*)index(bufReceive, '\r')); ^ In file included from smtp.c:33:0: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ smtp.c:739:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] szTmpBuf = ((char*)index(bufReceive, '\r')); ^ smtp.c:743:3: warning: pointer targets in passing argument 1 of 'base64_decode' differ in signedness [-Wpointer-sign] base64_decode(bufReceive + 4, (char *)&sTmpChall); ^ In file included from module.h:38:0, from smtp.c:35: ../medusa-utils.h:30:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int base64_decode(const char *base64, char *to); ^ smtp.c:753:3: warning: pointer targets in passing argument 3 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode((char *)&sTmpResp, SmbLength(&sTmpResp), szTmpBuf64); ^ In file included from module.h:38:0, from smtp.c:35: ../medusa-utils.h:29:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int base64_encode(const char *str, int length, char *b64store); ^ smtp.c:756:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] nSendBufferSize = strlen(szTmpBuf64) + 2; ^ In file included from smtp.c:33:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtp.c:759:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "%s\r\n", szTmpBuf64); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from smtp.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ smtp.c:761:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0) ^ In file included from module.h:35:0, from smtp.c:35: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ smtp.c: In function 'tryLogin': smtp.c:801:5: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult(*psLogin, szPassword); ^ smtp.c:815:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (strstr(bufReceive,"235 ") != NULL) ^ In file included from smtp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ smtp.c:822:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"435 ") != NULL) ^ In file included from smtp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ smtp.c:829:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"501 ") != NULL) ^ In file included from smtp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ smtp.c:835:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if (strstr(bufReceive,"535 ") != NULL) ^ In file included from smtp.c:33:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ snmp.c: In function 'summaryUsage': snmp.c:100:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ snmp.c: In function 'showUsage': snmp.c:107:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ snmp.c: In function 'go': snmp.c:154:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 3) ) ^ snmp.c: In function 'initModule': snmp.c:247:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ snmp.c:301:9: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult(psLogin, psCredSet->pPass); ^ snmp.c: In function 'sendRead': snmp.c:606:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, nSendBufferSize - 1, 0) < 0) ^ In file included from module.h:35:0, from snmp.c:35: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ snmp.c: In function 'sendWrite': snmp.c:675:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(bufSend + sizeof(snmpv1_a) + strlen(szPassword) + sizeof(snmpv1_w), szLocation, strlen(szLocation)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from snmp.c:30: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ snmp.c:678:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, nSendBufferSize - 1, 0) < 0) ^ In file included from module.h:35:0, from snmp.c:35: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ snmp.c: In function 'receiveRequest': snmp.c:698:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bufReceive = medusaReceiveRawDelay(hSocket, &nReceiveBufferSize, _psSessionData->nReadTimeout, _psSessionData->nReadTimeout); ^ snmp.c:695:9: warning: unused variable 'szPasswordTmp2' [-Wunused-variable] char *szPasswordTmp2 = NULL; ^ snmp.c:694:9: warning: unused variable 'szPasswordTmp1' [-Wunused-variable] char *szPasswordTmp1 = NULL; ^ smbnt.c: In function 'SMBSessionSetup': smbnt.c:1291:19: warning: 'iOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] int iByteCount, iOffset; ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c ssh.c snmp.c:693:7: warning: 'nResponse' may be used uninitialized in this function [-Wmaybe-uninitialized] int nResponse, nSNMPLength; ^ ssh.c: In function 'summaryUsage': ssh.c:102:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ ssh.c: In function 'showUsage': ssh.c:109:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ ssh.c: In function 'go': ssh.c:125:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 1) ) ^ ssh.c: In function 'initModule': ssh.c:200:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ ssh.c:228:3: warning: implicit declaration of function 'ERR_load_crypto_strings' [-Wimplicit-function-declaration] ERR_load_crypto_strings(); ^ ssh.c:311:15: warning: implicit declaration of function 'addMissedCredSet' [-Wimplicit-function-declaration] if (addMissedCredSet(psLogin, psCredSet) == SUCCESS) ^ ssh.c: In function 'tryLogin': ssh.c:533:3: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult((*psLogin), szPassword); ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c svn.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c telnet.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c vmauthd.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c vnc.c svn.c: In function 'summaryUsage': svn.c:92:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ telnet.c: In function 'summaryUsage': telnet.c:117:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ telnet.c: In function 'showUsage': telnet.c:124:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ telnet.c: In function 'go': telnet.c:143:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 3) ) ^ svn.c: In function 'showUsage': svn.c:99:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ svn.c: In function 'go': svn.c:118:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 3) ) ^ telnet.c: In function 'initModule': telnet.c:199:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(_psLogin, psCredSet) == FAILURE) ^ telnet.c:241:9: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult(_psLogin, psCredSet->pPass); ^ svn.c: In function 'initModule': svn.c:172:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ telnet.c: In function 'processIAClogout': telnet.c:798:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, 3, 0) < 0) ^ In file included from module.h:35:0, from telnet.c:45: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ telnet.c:795:7: warning: unused variable 'nReceiveBufferSize' [-Wunused-variable] int nReceiveBufferSize = 0; ^ telnet.c:794:9: warning: unused variable 'bufReceive' [-Wunused-variable] char* bufReceive = NULL; ^ telnet.c: In function 'processIAC': telnet.c:841:7: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] medusaSend(hSocket, bufTemp, 3, 0); ^ In file included from module.h:35:0, from telnet.c:45: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ telnet.c:846:7: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] medusaSend(hSocket, bufTemp, 3, 0); ^ In file included from module.h:35:0, from telnet.c:45: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ svn.c: In function 'tryLogin': svn.c:297:3: warning: implicit declaration of function 'svn_cmdline_init' [-Wimplicit-function-declaration] if (svn_cmdline_init ("MEDUSA", stderr) != EXIT_SUCCESS) ^ svn.c:336:3: warning: 'svn_client_ls' is deprecated (declared at /usr/include/subversion-1/svn_client.h:4953) [-Wdeprecated-declarations] err = svn_client_ls (&dirents, _psSessionData->szURL, &revision, FALSE, ctx, pool); ^ svn.c:372:3: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult((*psLogin), szPassword); ^ vmauthd.c: In function 'summaryUsage': vnc.c: In function 'summaryUsage': vmauthd.c:84:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ vmauthd.c: In function 'showUsage': vmauthd.c:91:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ vmauthd.c: In function 'go': vmauthd.c:109:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 3) ) ^ vmauthd.c:103:29: warning: unused variable 'pOptTmp' [-Wunused-variable] char *strtok_ptr, *pOpt, *pOptTmp; ^ vmauthd.c:103:22: warning: unused variable 'pOpt' [-Wunused-variable] char *strtok_ptr, *pOpt, *pOptTmp; ^ vmauthd.c:103:9: warning: unused variable 'strtok_ptr' [-Wunused-variable] char *strtok_ptr, *pOpt, *pOptTmp; ^ vmauthd.c:102:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ vmauthd.c: In function 'initModule': vmauthd.c:134:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ vmauthd.c: In function 'initConnection': vmauthd.c:250:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (strstr(bufReceive, "SSL Required")) ^ In file included from vmauthd.c:32:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ vmauthd.c:238:7: warning: unused variable 'iRet' [-Wunused-variable] int iRet; ^ vmauthd.c: In function 'tryLogin': vmauthd.c:276:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "USER %s\r\n", szLogin); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from vmauthd.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ vmauthd.c:278:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from vmauthd.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ vmauthd.c:278:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from vmauthd.c:34: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ vmauthd.c:298:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bufSend, "PASS %s\r\n", szPassword); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from vmauthd.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ vmauthd.c:300:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from vmauthd.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ vmauthd.c:300:3: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0) ^ In file included from module.h:35:0, from vmauthd.c:34: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ vmauthd.c:317:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(bufReceive, "230 ", 4) == 0) ^ In file included from vmauthd.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ vmauthd.c:317:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(bufReceive, "230 ", 4) == 0) ^ In file included from vmauthd.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ vmauthd.c:317:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(bufReceive, "230 ", 4) == 0) ^ vmauthd.c:317:3: note: expected 'const char *' but argument is of type 'unsigned char *' vmauthd.c:317:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from vmauthd.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ vmauthd.c:317:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(bufReceive, "230 ", 4) == 0) ^ vmauthd.c:317:3: note: expected 'const char *' but argument is of type 'unsigned char *' vmauthd.c:317:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] vmauthd.c:317:3: note: expected 'const char *' but argument is of type 'unsigned char *' vmauthd.c:317:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] vmauthd.c:317:3: note: expected 'const char *' but argument is of type 'unsigned char *' vmauthd.c:317:3: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from vmauthd.c:32:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ vmauthd.c:324:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "530 ", 4) == 0) ^ vnc.c:107:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ vnc.c: In function 'showUsage': vnc.c:114:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ vnc.c: In function 'go': vnc.c:148:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !(0 <= argc <= 3) ) ^ vnc.c: In function 'initModule': vnc.c:216:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ vnc.c:270:15: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult(psLogin, "[NO AUTH REQUIRED]"); ^ In file included from vmauthd.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ vmauthd.c:324:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "530 ", 4) == 0) ^ In file included from vmauthd.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ vmauthd.c:324:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "530 ", 4) == 0) ^ vmauthd.c:324:3: note: expected 'const char *' but argument is of type 'unsigned char *' vmauthd.c:324:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from vmauthd.c:32:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ vmauthd.c:324:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strncmp(bufReceive, "530 ", 4) == 0) ^ vmauthd.c:324:3: note: expected 'const char *' but argument is of type 'unsigned char *' vmauthd.c:324:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] vmauthd.c:324:3: note: expected 'const char *' but argument is of type 'unsigned char *' vmauthd.c:324:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] vmauthd.c:324:3: note: expected 'const char *' but argument is of type 'unsigned char *' vmauthd.c:324:3: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from vmauthd.c:32:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ vmauthd.c:338:3: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult((*psLogin), szPassword); ^ vnc.c:207:17: warning: unused variable 'zChallenge' [-Wunused-variable] unsigned char zChallenge[16]; ^ vnc.c: In function 'vncSessionSetup': vnc.c:536:5: warning: implicit declaration of function 'writeErrorBin' [-Wimplicit-function-declaration] writeErrorBin(ERR_DEBUG_MODULE, "Supported Security Types (version 3.3): ", bufReceive, nReceiveBufferSize); ^ vnc.c:575:7: warning: case label value is less than minimum value for type [enabled by default] case 0xfffffffa: /* UltaVNC MS-Logon */ ^ vnc.c:646:13: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, &szSecurityTypes[i], 1, 0) < 0) ^ In file included from module.h:35:0, from vnc.c:37: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ vnc.c:665:13: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, &szSecurityTypes[i], 1, 0) < 0) ^ In file included from module.h:35:0, from vnc.c:37: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ vnc.c:728:13: warning: pointer targets in passing argument 2 of 'medusaSend' differ in signedness [-Wpointer-sign] if (medusaSend(hSocket, &szSecurityTypes[i], 1, 0) < 0) ^ In file included from module.h:35:0, from vnc.c:37: ../medusa-net.h:86:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int medusaSend(int socket, char *buf, int size, int options); ^ vnc.c: In function 'sendAuthVNC': vnc.c:770:3: warning: pointer targets in passing argument 1 of 'vncEncryptBytes' differ in signedness [-Wpointer-sign] vncEncryptBytes(_psSessionData->szChallenge, szPassword); ^ vnc.c:368:6: note: expected 'unsigned char *' but argument is of type 'char *' void vncEncryptBytes(unsigned char *bytes, char *passwd) ^ vnc.c: In function 'sendAuthMSLogin': vnc.c:865:5: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(ms_user, _psSessionData->szDomain, strlen(_psSessionData->szDomain)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from vnc.c:32: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ vnc.c:866:5: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] strncat(ms_user, "\\", 1); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from vnc.c:32: /usr/include/bits/string3.h:147:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^ vnc.c:867:5: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] strncat(ms_user, szLogin, strlen(szLogin)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from vnc.c:32: /usr/include/bits/string3.h:147:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^ vnc.c:870:5: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(ms_user, szLogin, 256); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from vnc.c:32: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ vnc.c:872:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(ms_passwd, szPassword, 64); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from vnc.c:32: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ vnc.c:794:24: warning: unused variable 'pub' [-Wunused-variable] uint64_t g, p, resp, pub; ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c d3des.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c web-form.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c wrapper.c web-form.c: In function 'summaryUsage': web-form.c:100:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ web-form.c: In function 'showUsage': web-form.c:108:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ web-form.c: In function 'go': web-form.c:135:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ( !( 0 <= argc <= 2) ) ^ web-form.c: In function 'initModule': web-form.c:265:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(_psLogin, psCredSet) == FAILURE) ^ web-form.c:307:11: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult(_psLogin, psCredSet->pPass); ^ web-form.c: In function 'tryLogin': web-form.c:567:6: warning: 'nRet' may be used uninitialized in this function [-Wmaybe-uninitialized] if (nRet == FAILURE) ^ wrapper.c: In function 'summaryUsage': wrapper.c:94:5: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME); ^ wrapper.c: In function 'showUsage': wrapper.c:101:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE); ^ wrapper.c: In function 'go': wrapper.c:173:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(psSessionData->szCmd, pOpt, strlen(pOpt) + 1); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from wrapper.c:27: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ wrapper.c:187:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(psSessionData->szCmdParam, pOpt, strlen(pOpt) + 1); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from wrapper.c:27: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ wrapper.c: In function 'initModule': wrapper.c:221:3: warning: implicit declaration of function 'getNextCredSet' [-Wimplicit-function-declaration] if (getNextCredSet(psLogin, psCredSet) == FAILURE) ^ wrapper.c:247:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] nCmdLength = strlen(_psSessionData->szCmdParam); ^ In file included from wrapper.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ wrapper.c:256:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] nCmdLength = strlen(_psSessionData->szCmdParam); ^ In file included from wrapper.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ wrapper.c:269:9: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (szTmp = strstr(_psSessionData->szCmdParam, "%H")) ^ In file included from wrapper.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ wrapper.c:269:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (szTmp = strstr(_psSessionData->szCmdParam, "%H")) ^ wrapper.c:273:11: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(szCmdTmp, _psSessionData->szCmdParam, nCmdPartLength); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from wrapper.c:27: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ wrapper.c:288:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (szTmp = strstr(szCmdTmp, "%U")) ^ gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o afp.mod afp.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm wrapper.c:292:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(_psSessionData->szCmdParamFull, szCmdTmp, nCmdPartLength); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from wrapper.c:27: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ wrapper.c:293:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(_psSessionData->szCmdParamFull + nCmdPartLength, psCredSet->psUser->pUser, strlen(psCredSet->psUser->pUser)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from wrapper.c:27: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ wrapper.c:294:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(_psSessionData->szCmdParamFull + nCmdPartLength + strlen(psCredSet->psUser->pUser), szTmp + 2, strlen(szTmp) - 2); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from wrapper.c:27: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ wrapper.c:307:9: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if ((_psSessionData->nType == TYPE_SINGLE) && (szTmp = strstr(_psSessionData->szCmdParamFull, "%P"))) ^ In file included from wrapper.c:30:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ wrapper.c:311:11: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(szCmdTmp, _psSessionData->szCmdParamFull, nCmdPartLength); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from wrapper.c:27: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ wrapper.c:315:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(_psSessionData->szCmdParamFull, szCmdTmp, nCmdLength + 1); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from wrapper.c:27: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ wrapper.c:332:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] _psSessionData->szCmdFull = malloc(strlen(_psSessionData->szCmd) + strlen(_psSessionData->szCmdParamFull) + 7); ^ In file included from wrapper.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ wrapper.c:332:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] _psSessionData->szCmdFull = malloc(strlen(_psSessionData->szCmd) + strlen(_psSessionData->szCmdParamFull) + 7); ^ In file included from wrapper.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ wrapper.c:333:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memset(_psSessionData->szCmdFull, 0, strlen(_psSessionData->szCmd) + strlen(_psSessionData->szCmdParamFull) + 7); ^ In file included from wrapper.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ wrapper.c:333:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memset(_psSessionData->szCmdFull, 0, strlen(_psSessionData->szCmd) + strlen(_psSessionData->szCmdParamFull) + 7); ^ In file included from wrapper.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ wrapper.c:334:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncpy(_psSessionData->szCmdFull, _psSessionData->szCmd, strlen(_psSessionData->szCmd)); ^ In file included from wrapper.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ wrapper.c:334:9: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(_psSessionData->szCmdFull, _psSessionData->szCmd, strlen(_psSessionData->szCmd)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from wrapper.c:27: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ wrapper.c:334:9: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(_psSessionData->szCmdFull, _psSessionData->szCmd, strlen(_psSessionData->szCmd)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from wrapper.c:27: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ wrapper.c:335:9: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] strncat(_psSessionData->szCmdFull, " ", 1); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from wrapper.c:27: /usr/include/bits/string3.h:147:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^ wrapper.c:336:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncat(_psSessionData->szCmdFull, _psSessionData->szCmdParamFull, strlen(_psSessionData->szCmdParamFull)); ^ In file included from wrapper.c:30:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ wrapper.c:336:9: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] strncat(_psSessionData->szCmdFull, _psSessionData->szCmdParamFull, strlen(_psSessionData->szCmdParamFull)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from wrapper.c:27: /usr/include/bits/string3.h:147:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^ wrapper.c:336:9: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness [-Wpointer-sign] strncat(_psSessionData->szCmdFull, _psSessionData->szCmdParamFull, strlen(_psSessionData->szCmdParamFull)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from wrapper.c:27: /usr/include/bits/string3.h:147:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^ wrapper.c:337:9: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] strncat(_psSessionData->szCmdFull, " 1>&2", 5); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from wrapper.c:27: /usr/include/bits/string3.h:147:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^ wrapper.c:342:9: warning: implicit declaration of function 'initProcess' [-Wimplicit-function-declaration] iRet = initProcess(_psSessionData); ^ wrapper.c:374:9: warning: implicit declaration of function 'closeProcess' [-Wimplicit-function-declaration] iRet = closeProcess(_psSessionData); ^ wrapper.c:216:18: warning: unused variable 'params' [-Wunused-variable] sConnectParams params; ^ wrapper.c:213:7: warning: variable 'iRet' set but not used [-Wunused-but-set-variable] int iRet, nCmdLength; ^ wrapper.c: In function 'initProcess': wrapper.c:451:7: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if ((fopen(_psSessionData->szCmd, "r")) == NULL) ^ In file included from wrapper.c:29:0: /usr/include/stdio.h:272:14: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^ wrapper.c:460:9: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] if (system(_psSessionData->szCmdFull) < 0) ^ In file included from wrapper.c:31:0: /usr/include/stdlib.h:716:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int system (const char *__command) __wur; ^ wrapper.c: In function 'tryLogin': wrapper.c:582:3: warning: implicit declaration of function 'setPassResult' [-Wimplicit-function-declaration] setPassResult((*psLogin), szPassword); ^ wrapper.c: In function 'closeProcess': wrapper.c:491:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o cvs.mod cvs.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o ftp.mod ftp.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o http.mod http.o ntlm.o http-digest.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o imap.mod imap.o ntlm.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o mssql.mod mssql.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o mysql.mod mysql.o medusa-trace.o sha1.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o nntp.mod nntp.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o pcanywhere.mod pcanywhere.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o pop3.mod pop3.o ntlm.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o postgres.mod postgres.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o rexec.mod rexec.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o rlogin.mod rlogin.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o rsh.mod rsh.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o smbnt.mod smbnt.o hmacmd5.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o smtp.mod smtp.o ntlm.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o smtp-vrfy.mod smtp-vrfy.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o snmp.mod snmp.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o ssh.mod ssh.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o svn.mod svn.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o telnet.mod telnet.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o vmauthd.mod vmauthd.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o vnc.mod vnc.o d3des.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o web-form.mod web-form.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -Wl,-z,relro -L/usr/local/lib -rdynamic -o wrapper.mod wrapper.o medusa-trace.o -lafpclient -lpq -lssh2 -lsvn_client-1 -shared -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm make[3]: Leaving directory `/builddir/build/BUILD/medusa-2.1.1/src/modsrc' make[3]: Entering directory `/builddir/build/BUILD/medusa-2.1.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c listModules.c gcc -DHAVE_CONFIG_H -I. -I.. -I../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c medusa.c gcc -DHAVE_CONFIG_H -I. -I.. -I../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c medusa-thread-pool.c gcc -DHAVE_CONFIG_H -I. -I.. -I../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c medusa-thread-ssl.c listModules.c: In function 'listModules': listModules.c:83:5: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, " Available modules in \"%s\" :", pszTarget); ^ medusa-thread-pool.c: In function 'worker_thread': medusa-thread-pool.c:161:18: warning: unused variable 'tv' [-Wunused-variable] struct timeval tv; ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c medusa-net.c medusa.c: In function 'usage': medusa.c:57:3: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_NONE, ""); ^ medusa.c: In function 'checkOptions': medusa.c:140:9: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_ALERT, "Options 'h' and 'H' are mutually exclusive."); ^ medusa.c:300:7: warning: implicit declaration of function 'listModules' [-Wimplicit-function-declaration] listModules(szModulePaths, 1); // End the program after this executes by passing a 1 as the second param ^ medusa.c:337:5: warning: implicit declaration of function 'invokeModule' [-Wimplicit-function-declaration] ret = invokeModule(_psAudit->pModuleName, NULL, NULL, NULL); ^ medusa.c: In function 'loadLoginInfo': medusa.c:915:7: warning: unused variable 'res' [-Wunused-variable] int res; ^ medusa.c: In function 'startLoginThreadPool': medusa.c:1570:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] return; ^ medusa.c:1612:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] return; ^ medusa.c:1648:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] return; ^ medusa.c:1678:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] return; ^ medusa.c: In function 'startServerThreadPool': medusa.c:1747:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (szResumeMap = strstr(_psAudit->pOptResume, szTmp1)) ^ medusa.c: In function 'setPassResult': medusa.c:1441:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ medusa.c: In function 'addMissedCredSet': medusa.c:1500:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c medusa-trace.c gcc -DHAVE_CONFIG_H -I. -I.. -I../src -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c medusa-utils.c medusa.c: In function 'startLoginThreadPool': medusa.c:1588:13: warning: 'ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] inet_ntop (res->ai_family, ptr, _psServer->pHostIP, 100); ^ medusa-net.c: In function 'medusaConnectInternal': medusa-net.c:133:13: warning: implicit declaration of function 'writeError' [-Wimplicit-function-declaration] writeError(ERR_DEBUG, "Port %d in use trying next lower port.", nSourcePort); ^ medusa-net.c:204:13: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] if (getsockopt(s, SOL_SOCKET, SO_ERROR, (void*)(&nOpt), &nSize) < 0) ^ In file included from medusa-net.h:36:0, from medusa.h:39, from medusa-net.c:35: /usr/include/sys/socket.h:220:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^ medusa-net.c:212:15: warning: implicit declaration of function 'writeVerbose' [-Wimplicit-function-declaration] writeVerbose(VB_GENERAL, "Unable to connect (invalid socket): unreachable destination - %s", inet_ntop(AF_INET, &target.sin_addr, out, sizeof(out))); ^ medusa-net.c: In function 'medusaSendInternal': medusa-net.c:550:9: warning: unused variable 'nReceiveBufferSize' [-Wunused-variable] int nReceiveBufferSize = 0; ^ medusa-net.c:549:11: warning: unused variable 'bufReceive' [-Wunused-variable] char *bufReceive = NULL; ^ medusa-net.c: In function 'medusaReceiveRegex': medusa-net.c:777:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *szBufReceive = medusaReceiveDataInternal(hSocket, nBufReceive, 0, READ_WAIT_TIME, 0); ^ medusa-net.c:783:5: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign] errcode = regexec(&preg, *szBufReceive, 0, 0, 0); ^ In file included from medusa-net.c:40:0: /usr/include/regex.h:567:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int regexec (const regex_t *__restrict __preg, ^ medusa-net.c:763:7: warning: unused variable 'erroffset' [-Wunused-variable] int erroffset = 0; ^ medusa-net.c:762:15: warning: unused variable 'error' [-Wunused-variable] const char *error = NULL; ^ medusa-net.c: In function 'medusaConnect': medusa-net.c:581:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ medusa-net.c: In function 'medusaReceiveInternal': medusa-net.c:388:7: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized] int err; ^ medusa.c: In function 'findNextUser': medusa.c:829:15: warning: 'pComboTmp' may be used uninitialized in this function [-Wmaybe-uninitialized] writeError(ERR_DEBUG, "[findNextUser] Combo User: %s", _pUser); ^ medusa.c: In function 'findLocalPass': medusa.c:903:15: warning: 'pComboTmp' may be used uninitialized in this function [-Wmaybe-uninitialized] writeError(ERR_DEBUG, "[findLocalPass] pPass: %s", pPass); ^ medusa.c: In function 'main': medusa.c:2068:11: warning: 'iExitStatus' may be used uninitialized in this function [-Wmaybe-uninitialized] exit(iExitStatus); ^ gcc -Doff64_t=__off64_t -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -L/usr/local/lib -rdynamic -o medusa listModules.o medusa.o medusa-thread-pool.o medusa-thread-ssl.o medusa-net.o medusa-trace.o medusa-utils.o -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -lrt -lm make[3]: Leaving directory `/builddir/build/BUILD/medusa-2.1.1/src' make[2]: Leaving directory `/builddir/build/BUILD/medusa-2.1.1/src' make[2]: Entering directory `/builddir/build/BUILD/medusa-2.1.1' make[2]: Leaving directory `/builddir/build/BUILD/medusa-2.1.1' make[1]: Leaving directory `/builddir/build/BUILD/medusa-2.1.1' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OdPq60 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64 ++ dirname /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64 + cd medusa-2.1.1 + make DESTDIR=/builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64 install Making install in src make[1]: Entering directory `/builddir/build/BUILD/medusa-2.1.1/src' Making install in modsrc make[2]: Entering directory `/builddir/build/BUILD/medusa-2.1.1/src/modsrc' make[3]: Entering directory `/builddir/build/BUILD/medusa-2.1.1/src/modsrc' make[3]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules' /usr/bin/install -c afp.mod cvs.mod ftp.mod http.mod imap.mod mssql.mod mysql.mod nntp.mod pcanywhere.mod pop3.mod postgres.mod rexec.mod rlogin.mod rsh.mod smbnt.mod smtp.mod smtp-vrfy.mod snmp.mod ssh.mod svn.mod telnet.mod vmauthd.mod vnc.mod web-form.mod wrapper.mod '/builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules' make[3]: Leaving directory `/builddir/build/BUILD/medusa-2.1.1/src/modsrc' make[2]: Leaving directory `/builddir/build/BUILD/medusa-2.1.1/src/modsrc' make[2]: Entering directory `/builddir/build/BUILD/medusa-2.1.1/src' make[3]: Entering directory `/builddir/build/BUILD/medusa-2.1.1/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/bin' /usr/bin/install -c medusa '/builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/bin' make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/builddir/build/BUILD/medusa-2.1.1/src' make[2]: Leaving directory `/builddir/build/BUILD/medusa-2.1.1/src' make[1]: Leaving directory `/builddir/build/BUILD/medusa-2.1.1/src' make[1]: Entering directory `/builddir/build/BUILD/medusa-2.1.1' make[2]: Entering directory `/builddir/build/BUILD/medusa-2.1.1' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/share/man/man1' /usr/bin/install -c -m 644 doc/medusa.1 '/builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/share/man/man1' make[2]: Leaving directory `/builddir/build/BUILD/medusa-2.1.1' make[1]: Leaving directory `/builddir/build/BUILD/medusa-2.1.1' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/medusa-2.1.1 extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/smtp.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/vmauthd.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/smbnt.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/snmp.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/postgres.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/mysql.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/vnc.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/ssh.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/smtp-vrfy.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/telnet.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/imap.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/pcanywhere.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/afp.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/rexec.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/http.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/cvs.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/wrapper.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/pop3.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/ftp.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/rlogin.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/rsh.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/svn.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/mssql.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/nntp.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/lib64/medusa/modules/web-form.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/bin/medusa /usr/lib/rpm/sepdebugcrcfix: Updated 26 CRC32s, 0 CRC32s did match. 1675 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: medusa-2.1.1-5.el7.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LQ9IQz + umask 022 + cd /builddir/build/BUILD + cd medusa-2.1.1 + DOCDIR=/builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/share/doc/medusa-2.1.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/share/doc/medusa-2.1.1 + cp -pr AUTHORS /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/share/doc/medusa-2.1.1 + cp -pr COPYING /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/share/doc/medusa-2.1.1 + cp -pr ChangeLog /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/share/doc/medusa-2.1.1 + cp -pr README /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/share/doc/medusa-2.1.1 + cp -pr TODO /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64/usr/share/doc/medusa-2.1.1 + exit 0 Provides: medusa = 2.1.1-5.el7 medusa(aarch-64) = 2.1.1-5.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libafpclient.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.17)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libpq.so.5()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) librt.so.1()(64bit) libssh2.so.1()(64bit) libssl.so.10()(64bit) libssl.so.10(libssl.so.10)(64bit) libsvn_client-1.so.0()(64bit) rtld(GNU_HASH) Processing files: medusa-debuginfo-2.1.1-5.el7.aarch64 Provides: medusa-debuginfo = 2.1.1-5.el7 medusa-debuginfo(aarch-64) = 2.1.1-5.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64 Wrote: /builddir/build/RPMS/medusa-2.1.1-5.el7.aarch64.rpm Wrote: /builddir/build/RPMS/medusa-debuginfo-2.1.1-5.el7.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.uMk0RN + umask 022 + cd /builddir/build/BUILD + cd medusa-2.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/medusa-2.1.1-5.el7.aarch64 + exit 0 Child return code was: 0