<86>Apr 21 00:43:48 userdel[109858]: delete user 'rooter' <86>Apr 21 00:43:48 userdel[109858]: removed group 'rooter' owned by 'rooter' <86>Apr 21 00:43:48 userdel[109858]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 21 00:43:48 groupadd[109905]: group added to /etc/group: name=rooter, GID=603 <86>Apr 21 00:43:48 groupadd[109905]: group added to /etc/gshadow: name=rooter <86>Apr 21 00:43:48 groupadd[109905]: new group: name=rooter, GID=603 <86>Apr 21 00:43:48 useradd[109980]: new user: name=rooter, UID=603, GID=603, home=/root, shell=/bin/bash <86>Apr 21 00:43:48 userdel[110042]: delete user 'builder' <86>Apr 21 00:43:48 userdel[110042]: removed group 'builder' owned by 'builder' <86>Apr 21 00:43:48 userdel[110042]: removed shadow group 'builder' owned by 'builder' <86>Apr 21 00:43:48 groupadd[110082]: group added to /etc/group: name=builder, GID=604 <86>Apr 21 00:43:48 groupadd[110082]: group added to /etc/gshadow: name=builder <86>Apr 21 00:43:48 groupadd[110082]: new group: name=builder, GID=604 <86>Apr 21 00:43:48 useradd[110111]: new user: name=builder, UID=604, GID=604, home=/usr/src, shell=/bin/bash <13>Apr 21 00:43:51 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 21 00:43:51 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 21 00:43:51 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 21 00:43:51 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 21 00:43:51 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 21 00:43:51 rpmi: rpm-macros-pam0-1.3.0-alt1 1465951470 installed <13>Apr 21 00:43:51 rpmi: libpam0-devel-1.3.0-alt1 1465951439 installed <86>Apr 21 00:43:51 groupadd[130057]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 21 00:43:51 groupadd[130057]: group added to /etc/gshadow: name=_keytab <86>Apr 21 00:43:51 groupadd[130057]: new group: name=_keytab, GID=499 <13>Apr 21 00:43:51 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 21 00:43:51 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 21 00:43:51 groupadd[402]: group added to /etc/group: name=sasl, GID=498 <86>Apr 21 00:43:51 groupadd[402]: group added to /etc/gshadow: name=sasl <86>Apr 21 00:43:51 groupadd[402]: new group: name=sasl, GID=498 <13>Apr 21 00:43:51 rpmi: libsasl2-3-2.1.26-alt7 1479477445 installed <13>Apr 21 00:43:51 rpmi: libldap-2.4.45-alt1.M80P.1 1513980376 installed <13>Apr 21 00:43:51 rpmi: libldap-devel-2.4.45-alt1.M80P.1 1513980376 installed Installing ss5-3.6.4-alt2.rel3.2.qa1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.69637 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ss5-3.6.4 + echo 'Source #0 (ss5-3.6.4.tar.gz):' Source #0 (ss5-3.6.4.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/ss5-3.6.4.tar.gz + /bin/tar -xf - + cd ss5-3.6.4 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (ss5-pidfilesupport.patch):' Patch #1 (ss5-pidfilesupport.patch): + /usr/bin/patch -p1 patching file include/SS5Main.h Hunk #1 succeeded at 230 (offset 5 lines). Hunk #2 succeeded at 277 (offset 5 lines). Hunk #3 succeeded at 287 (offset 5 lines). patching file src/SS5Main.c patching file src/SS5Server.c patching file src/SS5Utils.c Hunk #1 succeeded at 1250 (offset 79 lines). + echo 'Patch #2 (ss5-signalhandling.patch):' Patch #2 (ss5-signalhandling.patch): + /usr/bin/patch -p1 patching file include/SS5Utils.h patching file src/SS5Main.c patching file src/SS5Utils.c Hunk #1 succeeded at 1267 (offset 79 lines). + echo 'Patch #3 (ss5-makefile.patch):' Patch #3 (ss5-makefile.patch): + /usr/bin/patch -p1 patching file build/mod_top.mk patching file modules/mod_authen/Makefile.in patching file modules/mod_author/Makefile.in patching file build/mod_top2.mk patching file modules/mod_socks4/Makefile.in patching file modules/mod_socks5/Makefile.in + echo 'Patch #4 (ss5-daemon.patch):' Patch #4 (ss5-daemon.patch): + /usr/bin/patch -p2 patching file src/SS5Server.c + echo 'Patch #5 (ss5-3.6.4-CVE-2009-2368.patch):' Patch #5 (ss5-3.6.4-CVE-2009-2368.patch): + /usr/bin/patch -p2 patching file modules/mod_socks4/SS5Mod_socks4.c patching file modules/mod_socks5/SS5Mod_socks5.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.69637 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ss5-3.6.4 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext --with-configfile=/etc/ss5/ss5.conf --with-passwordfile=/etc/ss5/ss5.passwd --with-logfile=/var/log/ss5/ss5.log --with-profilepath=/etc/ss5 --with-libpath=/usr/lib64 --with-tracepath=/var/log/ss5 --with-defaultuser=ss5 --with-defaultaddr=127.0.0.1 --with-defaultport=1080 ' ' configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /bin/install -c checking for main in -ldl... yes checking for main in -lldap... yes checking for main in -lpam... yes checking for main in -lpam_misc... yes checking for main in -lpthread... yes checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... 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 arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking security/pam_misc.h usability... yes checking security/pam_misc.h presence... yes checking for security/pam_misc.h... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for pid_t... yes checking whether time.h and sys/time.h may both be included... yes checking for unistd.h... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether x86_64-alt-linux-gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for strftime... yes checking for bzero... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strtol... yes configure: creating ./config.status config.status: creating Makefile config.status: creating modules/Makefile config.status: creating modules/mod_authen/Makefile config.status: creating modules/mod_author/Makefile config.status: creating modules/mod_balance/Makefile config.status: creating modules/mod_bandwidth/Makefile config.status: creating modules/mod_dump/Makefile config.status: creating modules/mod_filter/Makefile config.status: creating modules/mod_log/Makefile config.status: creating modules/mod_proxy/Makefile config.status: creating modules/mod_socks4/Makefile config.status: creating modules/mod_socks5/Makefile config.status: creating modules/mod_statistics/Makefile config.status: creating src/Makefile config.status: creating include/config.h + make make: Entering directory `/usr/src/RPM/BUILD/ss5-3.6.4' make[1]: Entering directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules' make[2]: Entering directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_socks4' x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -c -o SS5Mod_socks4.o SS5Mod_socks4.c In file included from SS5Mod_socks4.c:20:0: SS5Mod_socks4.c: In function 'UpstreamServing': ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks4.c:118:5: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks4.c:135:11: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks4.c:148:5: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks4.c:153:7: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks4.c:161:9: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks4.c:176:9: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ SS5Mod_socks4.c: In function 'ConnectServing': ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks4.c:229:7: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks4.c:246:15: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks4.c:260:11: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks4.c:270:15: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks4.c:297:5: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ SS5Mod_socks4.c: In function 'BindServing': ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks4.c:362:7: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks4.c:370:9: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks4.c:397:11: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks4.c:411:13: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks4.c:445:9: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks4.c:471:11: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks4.c:497:11: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ SS5Mod_socks4.c: In function 'FileCheck': ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks4.c:706:7: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ SS5Mod_socks4.c: In function 'GetRoute': SS5Mod_socks4.c:764:19: warning: implicit declaration of function 'DirectoryCheck' [-Wimplicit-function-declaration] err=DirectoryCheck(node->Group,uname); ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -c -o SS5OpenLdap.o SS5OpenLdap.c SS5OpenLdap.c: In function 'DirectoryQuery': SS5OpenLdap.c:163:8: warning: implicit declaration of function 'ldap_init' [-Wimplicit-function-declaration] ld = ldap_init( S5Ldap[dirid].IP, atoi(S5Ldap[dirid].Port) ); ^ SS5OpenLdap.c:163:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion] ld = ldap_init( S5Ldap[dirid].IP, atoi(S5Ldap[dirid].Port) ); ^ In file included from SS5OpenLdap.c:19:0: ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5OpenLdap.c:165:5: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ SS5OpenLdap.c:174:14: warning: implicit declaration of function 'ldap_bind_s' [-Wimplicit-function-declaration] if (( rc = ldap_bind_s( ld, S5Ldap[dirid].Dn, S5Ldap[dirid].Pass, LDAP_AUTH_SIMPLE )) != LDAP_SUCCESS ) { ^ SS5OpenLdap.c:177:5: warning: implicit declaration of function 'ldap_unbind' [-Wimplicit-function-declaration] ldap_unbind( ld ); ^ SS5OpenLdap.c:183:14: warning: implicit declaration of function 'ldap_search_st' [-Wimplicit-function-declaration] if (( rc = ldap_search_st( ld, baseDn, LDAP_SCOPE_SUBTREE, searchFilter, attrsList, 0, &oldapTimeout, &result )) != LDAP_SUCCESS ) { ^ In file included from /usr/include/string.h:653:0, from ../../include/SS5Main.h:32, from SS5OpenLdap.c:19: In function 'strncat', inlined from 'DirectoryQuery' at SS5OpenLdap.c:136:5: /usr/include/bits/string3.h:156:10: warning: call to __builtin___strncat_chk might overflow destination buffer return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -o mod_socks4.so SS5Mod_socks4.o SS5OpenLdap.o -lpthread -lldap make[2]: Leaving directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_socks4' make[2]: Entering directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_socks5' x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -c -o SS5Mod_socks5.o SS5Mod_socks5.c In file included from SS5Mod_socks5.c:20:0: SS5Mod_socks5.c: In function 'MethodParsing': ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:68:5: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:114:9: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:122:5: note: in expansion of macro 'ERRNO' ERRNO(pid); ^ SS5Mod_socks5.c: In function 'RequestParsing': ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:151:5: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ SS5Mod_socks5.c: In function 'UpstreamServing': ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:231:5: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:248:11: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:267:9: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:271:9: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:289:7: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:298:9: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:310:9: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:320:9: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:334:9: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ SS5Mod_socks5.c: In function 'ConnectServing': ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:389:7: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:406:15: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:420:11: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:464:9: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ SS5Mod_socks5.c: In function 'BindServing': ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:534:7: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:542:9: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:568:11: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:582:13: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:618:9: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:644:11: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:670:11: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ SS5Mod_socks5.c: In function 'UdpAssociateServing': ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:745:7: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:773:9: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:811:9: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:819:9: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:846:11: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:953:7: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ SS5Mod_socks5.c: In function 'UdpAssociateResponse': ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:1031:5: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ SS5Mod_socks5.c: In function 'FileCheck': ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_socks5.c:1230:7: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ SS5Mod_socks5.c: In function 'V52V4Request': SS5Mod_socks5.c:1802:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(i = 0; V4TcpRequest[i + 8] = ai->Username[i]; i++ ); ^ SS5Mod_socks5.c:1779:9: warning: unused variable 'len' [-Wunused-variable] len, ^ SS5Mod_socks5.c:1778:16: warning: unused variable 'c' [-Wunused-variable] c, ^ SS5Mod_socks5.c: In function 'V42V5Response': SS5Mod_socks5.c:1843:9: warning: unused variable 'len' [-Wunused-variable] len, ^ SS5Mod_socks5.c:1842:16: warning: unused variable 'c' [-Wunused-variable] c, ^ SS5Mod_socks5.c:1841:16: warning: unused variable 'i' [-Wunused-variable] unsigned int i, ^ SS5Mod_socks5.c: In function 'V52V4Request': SS5Mod_socks5.c:1780:16: warning: 'v4bytes' may be used uninitialized in this function [-Wmaybe-uninitialized] v4bytes; ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -c -o SS5OpenLdap.o SS5OpenLdap.c SS5OpenLdap.c: In function 'DirectoryQuery': SS5OpenLdap.c:163:8: warning: implicit declaration of function 'ldap_init' [-Wimplicit-function-declaration] ld = ldap_init( S5Ldap[dirid].IP, atoi(S5Ldap[dirid].Port) ); ^ SS5OpenLdap.c:163:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion] ld = ldap_init( S5Ldap[dirid].IP, atoi(S5Ldap[dirid].Port) ); ^ In file included from SS5OpenLdap.c:19:0: ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5OpenLdap.c:165:5: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ SS5OpenLdap.c:174:14: warning: implicit declaration of function 'ldap_bind_s' [-Wimplicit-function-declaration] if (( rc = ldap_bind_s( ld, S5Ldap[dirid].Dn, S5Ldap[dirid].Pass, LDAP_AUTH_SIMPLE )) != LDAP_SUCCESS ) { ^ SS5OpenLdap.c:177:5: warning: implicit declaration of function 'ldap_unbind' [-Wimplicit-function-declaration] ldap_unbind( ld ); ^ SS5OpenLdap.c:183:14: warning: implicit declaration of function 'ldap_search_st' [-Wimplicit-function-declaration] if (( rc = ldap_search_st( ld, baseDn, LDAP_SCOPE_SUBTREE, searchFilter, attrsList, 0, &oldapTimeout, &result )) != LDAP_SUCCESS ) { ^ In file included from /usr/include/string.h:653:0, from ../../include/SS5Main.h:32, from SS5OpenLdap.c:19: In function 'strncat', inlined from 'DirectoryQuery' at SS5OpenLdap.c:136:5: /usr/include/bits/string3.h:156:10: warning: call to __builtin___strncat_chk might overflow destination buffer return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -o mod_socks5.so SS5Mod_socks5.o SS5OpenLdap.o -lpthread -lldap make[2]: Leaving directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_socks5' make[2]: Entering directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_authen' x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -c -o SS5Mod_authentication.o SS5Mod_authentication.c In file included from SS5Mod_authentication.c:23:0: SS5Mod_authentication.c: In function 'Authentication': ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_authentication.c:68:7: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_authentication.c:159:11: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_authentication.c:169:11: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_authentication.c:188:11: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ In file included from SS5Mod_authentication.c:28:0: SS5Mod_authentication.c: At top level: ../../include/SS5Pam.h:33:3: warning: 'S5PAMConversation' declared 'static' but never defined [-Wunused-function] S5PAMConversation( int nmsg, ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -c -o SS5Basic.o SS5Basic.c In file included from SS5Basic.c:20:0: SS5Basic.c: In function 'S5PwdFileOpen': ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Basic.c:30:5: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ SS5Basic.c: In function 'S5PwdFileClose': ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Basic.c:59:5: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ In file included from SS5Basic.c:21:0: SS5Basic.c: At top level: ../../include/SS5Mod_authentication.h:43:3: warning: inline function 'S5AuthCacheHash' declared but never defined S5AuthCacheHash( char *u, ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -c -o SS5ExternalProgram.o SS5ExternalProgram.c In file included from SS5ExternalProgram.c:20:0: SS5ExternalProgram.c: In function 'S5AuthProgramCheck': ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5ExternalProgram.c:46:5: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5ExternalProgram.c:55:5: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ In file included from SS5ExternalProgram.c:21:0: SS5ExternalProgram.c: At top level: ../../include/SS5Mod_authentication.h:43:3: warning: inline function 'S5AuthCacheHash' declared but never defined S5AuthCacheHash( char *u, ^ SS5ExternalProgram.c: In function 'S5AuthProgramCheck': SS5ExternalProgram.c:52:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(stream,"%2s",resp); ^ In file included from /usr/include/string.h:653:0, from ../../include/SS5Main.h:32, from SS5ExternalProgram.c:20: In function 'strncat', inlined from 'S5AuthProgramCheck' at SS5ExternalProgram.c:37:3: /usr/include/bits/string3.h:156:10: warning: call to __builtin___strncat_chk might overflow destination buffer return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ In function 'strncat', inlined from 'S5AuthProgramCheck' at SS5ExternalProgram.c:39:3: /usr/include/bits/string3.h:156:10: warning: call to __builtin___strncat_chk might overflow destination buffer return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -c -o SS5Pam.o SS5Pam.c SS5Pam.c: In function 'S5PAMConversation': SS5Pam.c:164:5: warning: ignoring return value of 'realloc', declared with attribute warn_unused_result [-Wunused-result] realloc(reply, sizeof(struct pam_response)); ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -o mod_authentication.so SS5Mod_authentication.o SS5Basic.o SS5ExternalProgram.o SS5Pam.o -lpthread -lpam make[2]: Leaving directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_authen' make[2]: Entering directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_author' x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -c -o SS5Mod_authorization.o SS5Mod_authorization.c In file included from SS5Mod_authorization.c:19:0: SS5Mod_authorization.c: In function 'FileCheck': ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_authorization.c:215:7: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ SS5Mod_authorization.c: In function 'S5CheckexpDate': SS5Mod_authorization.c:248:3: warning: implicit declaration of function 'strptime' [-Wimplicit-function-declaration] strptime(ps, "%d-%m-%Y %H:%M:%S", &tm); ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -c -o SS5OpenLdap.o SS5OpenLdap.c SS5OpenLdap.c: In function 'DirectoryQuery': SS5OpenLdap.c:166:8: warning: implicit declaration of function 'ldap_init' [-Wimplicit-function-declaration] ld = ldap_init( S5Ldap[dirid].IP, atoi(S5Ldap[dirid].Port) ); ^ SS5OpenLdap.c:166:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion] ld = ldap_init( S5Ldap[dirid].IP, atoi(S5Ldap[dirid].Port) ); ^ In file included from SS5OpenLdap.c:19:0: ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5OpenLdap.c:168:5: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ SS5OpenLdap.c:177:14: warning: implicit declaration of function 'ldap_bind_s' [-Wimplicit-function-declaration] if (( rc = ldap_bind_s( ld, S5Ldap[dirid].Dn, S5Ldap[dirid].Pass, LDAP_AUTH_SIMPLE )) != LDAP_SUCCESS ) { ^ SS5OpenLdap.c:180:5: warning: implicit declaration of function 'ldap_unbind' [-Wimplicit-function-declaration] ldap_unbind( ld ); ^ SS5OpenLdap.c:186:14: warning: implicit declaration of function 'ldap_search_st' [-Wimplicit-function-declaration] if (( rc = ldap_search_st( ld, baseDn, LDAP_SCOPE_SUBTREE, searchFilter, attrsList, 0, &oldapTimeout, &result )) != LDAP_SUCCESS ) { ^ In file included from /usr/include/string.h:653:0, from ../../include/SS5Main.h:32, from SS5OpenLdap.c:19: In function 'strncat', inlined from 'DirectoryQuery' at SS5OpenLdap.c:139:5: /usr/include/bits/string3.h:156:10: warning: call to __builtin___strncat_chk might overflow destination buffer return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -o mod_authorization.so SS5Mod_authorization.o SS5OpenLdap.o -lpthread -lldap make[2]: Leaving directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_author' make[2]: Entering directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_proxy' x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -c -o SS5Mod_proxy.o SS5Mod_proxy.c In file included from SS5Mod_proxy.c:20:0: SS5Mod_proxy.c: In function 'UdpReceivingData': ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_proxy.c:116:9: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ SS5Mod_proxy.c: In function 'UdpSendingData': ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_proxy.c:157:5: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -o mod_proxy.so SS5Mod_proxy.o -lpthread make[2]: Leaving directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_proxy' make[2]: Entering directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_log' x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -c -o SS5Mod_log.o SS5Mod_log.c SS5Mod_log.c: In function 'InitModule': SS5Mod_log.c:31:8: warning: unused variable 'libpath' [-Wunused-variable] char libpath[128]; ^ SS5Mod_log.c:29:9: warning: unused variable 'logoFile' [-Wunused-variable] FILE *logoFile; ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -o mod_log.so SS5Mod_log.o -lpthread make[2]: Leaving directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_log' make[2]: Entering directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_balance' x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -c -o SS5Mod_balance.o SS5Mod_balance.c SS5Mod_balance.c: In function 'S5SetAffinity': SS5Mod_balance.c:230:20: warning: variable 'd' set but not used [-Wunused-but-set-variable] struct in_addr s,d; ^ SS5Mod_balance.c:230:18: warning: variable 's' set but not used [-Wunused-but-set-variable] struct in_addr s,d; ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -o mod_balance.so SS5Mod_balance.o -lpthread x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -c -o balamgr.o balamgr.c x86_64-alt-linux-gcc -o balamgr.cgi balamgr.o -lpthread -rdynamic -ldl -lldap -lpam -lpam_misc make[2]: Leaving directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_balance' make[2]: Entering directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_filter' x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -c -o SS5Mod_filter.o SS5Mod_filter.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -o mod_filter.so SS5Mod_filter.o -lpthread make[2]: Leaving directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_filter' make[2]: Entering directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_statistics' x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -c -o SS5Mod_statistics.o SS5Mod_statistics.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -o mod_statistics.so SS5Mod_statistics.o -lpthread x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -c -o statmgr.o statmgr.c x86_64-alt-linux-gcc -o statmgr.cgi statmgr.o -lpthread -rdynamic -ldl -lldap -lpam -lpam_misc make[2]: Leaving directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_statistics' make[2]: Entering directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_bandwidth' x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -c -o SS5Mod_bandwidth.o SS5Mod_bandwidth.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -o mod_bandwidth.so SS5Mod_bandwidth.o -lpthread make[2]: Leaving directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_bandwidth' make[2]: Entering directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_dump' x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -c -o SS5Mod_dump.o SS5Mod_dump.c In file included from SS5Mod_dump.c:20:0: SS5Mod_dump.c: In function 'OpenDump': ../../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Mod_dump.c:99:5: note: in expansion of macro 'ERRNO' ERRNO(pid) ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../../include -shared -fPIC -o mod_dump.so SS5Mod_dump.o -lpthread make[2]: Leaving directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules/mod_dump' make[1]: Leaving directory `/usr/src/RPM/BUILD/ss5-3.6.4/modules' make[1]: Entering directory `/usr/src/RPM/BUILD/ss5-3.6.4/src' gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../include -c -o SS5Main.o SS5Main.c SS5Main.c: In function 'main': SS5Main.c:60:11: warning: unused variable 'ss' [-Wunused-variable] sigset_t ss; ^ SS5Main.c:59:19: warning: unused variable 'sa' [-Wunused-variable] struct sigaction sa; ^ SS5Main.c:32:22: warning: unused variable 'actionPipe' [-Wunused-variable] struct sigaction actionPipe; ^ SS5Main.c:31:22: warning: unused variable 'actionChild' [-Wunused-variable] struct sigaction actionChild; ^ SS5Main.c:30:22: warning: unused variable 'actionHungup' [-Wunused-variable] struct sigaction actionHungup; ^ In file included from SS5Main.c:22:0: SS5Main.c: At top level: ../include/SS5Server.h:35:3: warning: inline function 'S5ChildClose' declared but never defined S5ChildClose( int exitcode, ^ In file included from SS5Main.c:20:0: ../include/SS5Core.h:69:3: warning: inline function 'S5DebugStatistics' declared but never defined S5DebugStatistics( pid_t pid ^ ../include/SS5Core.h:64:3: warning: inline function 'S5DebugFacilities' declared but never defined S5DebugFacilities( pid_t pid, ^ ../include/SS5Core.h:59:3: warning: inline function 'S5DebugUpstreamInfo' declared but never defined S5DebugUpstreamInfo( pid_t pid, ^ ../include/SS5Core.h:54:3: warning: inline function 'S5DebugUdpRequestInfo' declared but never defined S5DebugUdpRequestInfo(pid_t pid, ^ ../include/SS5Core.h:49:3: warning: inline function 'S5DebugRequestInfo' declared but never defined S5DebugRequestInfo( pid_t pid, ^ ../include/SS5Core.h:44:3: warning: inline function 'S5DebugAuthInfo' declared but never defined S5DebugAuthInfo( pid_t pid, ^ ../include/SS5Core.h:39:3: warning: inline function 'S5DebugMethodInfo' declared but never defined S5DebugMethodInfo( pid_t pid, ^ ../include/SS5Core.h:33:3: warning: inline function 'S5GetClientInfo' declared but never defined S5GetClientInfo( struct _SS5ClientInfo *ci, ^ gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../include -c -o SS5Core.o SS5Core.c In file included from SS5Core.c:20:0: SS5Core.c: In function 'S5GetClientInfo': ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Core.c:1271:5: note: in expansion of macro 'ERRNO' ERRNO(pid); ^ In file included from SS5Core.c:29:0: SS5Core.c: At top level: ../include/SS5Mod_authorization.h:108:3: warning: inline function 'S5AuthoCacheHash' declared but never defined S5AuthoCacheHash( char *sa, ^ ../include/SS5Mod_authorization.h:100:3: warning: inline function 'FileCheck' declared but never defined FileCheck( char *group, ^ In file included from SS5Core.c:28:0: ../include/SS5Mod_balance.h:72:3: warning: inline function 'S5StickyHash' declared but never defined S5StickyHash( unsigned long int srcip ^ In file included from SS5Core.c:23:0: ../include/SS5Server.h:35:3: warning: inline function 'S5ChildClose' declared but never defined S5ChildClose( int exitcode, ^ In file included from SS5Core.c:26:0: ../include/SS5Debug.h:53:3: warning: inline function 'S5DebugStatistics' declared but never defined S5DebugStatistics( pid_t pid ^ ../include/SS5Debug.h:48:3: warning: inline function 'S5DebugFacilities' declared but never defined S5DebugFacilities( pid_t pid, ^ ../include/SS5Debug.h:43:3: warning: inline function 'S5DebugUpstreamInfo' declared but never defined S5DebugUpstreamInfo( pid_t pid, ^ ../include/SS5Debug.h:38:2: warning: inline function 'S5DebugUdpRequestInfo' declared but never defined S5DebugUdpRequestInfo( pid_t pid, ^ ../include/SS5Debug.h:33:3: warning: inline function 'S5DebugRequestInfo' declared but never defined S5DebugRequestInfo( pid_t pid, ^ ../include/SS5Debug.h:28:3: warning: inline function 'S5DebugAuthInfo' declared but never defined S5DebugAuthInfo( pid_t pid, ^ ../include/SS5Debug.h:23:3: warning: inline function 'S5DebugMethodInfo' declared but never defined S5DebugMethodInfo( pid_t pid, ^ SS5Core.c: In function 'S5Core': SS5Core.c:292:7: warning: array subscript is above array bounds [-Warray-bounds] snprintf(logString,256,"[%u] %s - \"\" %s - - - (-:- -- -:-) (Socks request unknown)",pid,SS5ClientInfo.SrcAddr,MSGS5RT[S4REQUEST_REJECTED]); ^ gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../include -c -o SS5Server.o SS5Server.c In file included from SS5Server.c:20:0: SS5Server.c: In function 'S5UIDSet': ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Server.c:125:5: note: in expansion of macro 'ERRNO' ERRNO(0) ^ SS5Server.c: In function 'S5ServerMake': ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Server.c:173:5: note: in expansion of macro 'ERRNO' ERRNO(0) /*SS5Modules.mod_logging.Logging("[ERRO] Error creating socket while starting."); */ ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Server.c:196:5: note: in expansion of macro 'ERRNO' ERRNO(0) /*SS5Modules.mod_logging.Logging("[ERRO] Error binding socket while starting."); */ ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Server.c:203:5: note: in expansion of macro 'ERRNO' ERRNO(0) /*SS5Modules.mod_logging.Logging("[ERRO] Error listening socket while starting."); */ ^ SS5Server.c: In function 'S5ServerAccept': ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Server.c:218:5: note: in expansion of macro 'ERRNO' ERRNO(0) /*SS5Modules.mod_logging.Logging("[ERRO] Error accepting connection."); */ ^ In file included from SS5Server.c:24:0: SS5Server.c: At top level: ../include/SS5Mod_authorization.h:108:3: warning: inline function 'S5AuthoCacheHash' declared but never defined S5AuthoCacheHash( char *sa, ^ ../include/SS5Mod_authorization.h:100:3: warning: inline function 'FileCheck' declared but never defined FileCheck( char *group, ^ In file included from SS5Server.c:23:0: ../include/SS5Mod_authentication.h:43:3: warning: inline function 'S5AuthCacheHash' declared but never defined S5AuthCacheHash( char *u, ^ In file included from SS5Server.c:22:0: ../include/SS5Mod_balance.h:72:3: warning: inline function 'S5StickyHash' declared but never defined S5StickyHash( unsigned long int srcip ^ SS5Server.c: In function 'S5MakeDaemon': SS5Server.c:159:3: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen( "/dev/null", "r", stdin); ^ SS5Server.c:160:3: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen( "/dev/null", "w", stdout); ^ SS5Server.c:161:3: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen( "/dev/null", "w", stderr); ^ gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../include -c -o SS5Utils.o SS5Utils.c In file included from SS5Utils.c:20:0: SS5Utils.c: In function 'S5LoadPeers': ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:165:9: note: in expansion of macro 'ERRNO' ERRNO(0) ^ SS5Utils.c: In function 'S5ReceiveConfig': ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:219:9: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:241:7: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:248:7: note: in expansion of macro 'ERRNO' ERRNO(0) ^ SS5Utils.c: In function 'S5PropagateConfig': ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:293:5: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:303:5: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:311:5: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:318:5: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:338:7: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:351:7: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:360:9: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:370:11: note: in expansion of macro 'ERRNO' ERRNO(0) ^ SS5Utils.c: In function 'S5LoadConfData': ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:429:5: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:450:11: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:506:11: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:538:11: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:579:13: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:613:9: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:638:13: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:680:9: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:693:9: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:704:9: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:715:9: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:726:9: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:737:9: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:748:9: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:754:9: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:880:5: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:900:13: note: in expansion of macro 'ERRNO' ERRNO(0) ^ SS5Utils.c: In function 'S5GetIf': ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:1189:7: note: in expansion of macro 'ERRNO' ERRNO(0) ^ ../include/SS5Main.h:161:105: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ERRNO(p) { snprintf(logString,sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,(char *)strerror_r(errno,logString,sizeof(logString) - 1)); \ ^ SS5Utils.c:1202:7: note: in expansion of macro 'ERRNO' ERRNO(0) ^ SS5Utils.c: In function 'S5SigHandler': SS5Utils.c:1302:8: warning: variable 'pid' set but not used [-Wunused-but-set-variable] pid_t pid; ^ In file included from SS5Utils.c:28:0: SS5Utils.c: At top level: ../include/SS5Server.h:35:3: warning: inline function 'S5ChildClose' declared but never defined S5ChildClose( int exitcode, ^ In file included from SS5Utils.c:25:0: ../include/SS5Mod_authorization.h:108:3: warning: inline function 'S5AuthoCacheHash' declared but never defined S5AuthoCacheHash( char *sa, ^ In file included from SS5Utils.c:24:0: ../include/SS5Mod_authentication.h:43:3: warning: inline function 'S5AuthCacheHash' declared but never defined S5AuthCacheHash( char *u, ^ In file included from SS5Utils.c:23:0: ../include/SS5Mod_dump.h:42:3: warning: inline function 'S5DumpHash' declared but never defined S5DumpHash( unsigned long int da, ^ In file included from SS5Utils.c:22:0: ../include/SS5Mod_balance.h:72:3: warning: inline function 'S5StickyHash' declared but never defined S5StickyHash( unsigned long int srcip ^ In file included from SS5Utils.c:25:0: ../include/SS5Mod_authorization.h:100:3: warning: inline function 'FileCheck' declared but never defined FileCheck( char *group, ^ SS5Utils.c: In function 'S5LoadConfData': SS5Utils.c:775:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(S5ConfFile,"%32s\n",confString); ^ SS5Utils.c:784:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(S5ConfFile,"%6s\n",optionString); ^ SS5Utils.c:800:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(S5ConfFile,"%6s\n",optionString); ^ SS5Utils.c:804:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(S5ConfFile,"%6s\n",optionString); ^ SS5Utils.c:808:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(S5ConfFile,"%6s\n",optionString); ^ SS5Utils.c:821:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(S5ConfFile,"%12s\n",optionString); ^ SS5Utils.c:825:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(S5ConfFile,"%6s\n",optionString); ^ SS5Utils.c:829:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(S5ConfFile,"%6s\n",optionString); ^ gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../include -c -o SS5Thread.o SS5Thread.c SS5Thread.c: In function 'S5MainThread': SS5Thread.c:88:71: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if( pthread_create(&s5thread,&s5thread_attribute,(void *)S5Core,(void *)clientSocket) < 0 ) { ^ In file included from SS5Thread.c:24:0: SS5Thread.c: At top level: ../include/SS5Mod_balance.h:72:3: warning: inline function 'S5StickyHash' declared but never defined S5StickyHash( unsigned long int srcip ^ In file included from SS5Thread.c:22:0: ../include/SS5Server.h:35:3: warning: inline function 'S5ChildClose' declared but never defined S5ChildClose( int exitcode, ^ In file included from SS5Thread.c:20:0: ../include/SS5Core.h:69:3: warning: inline function 'S5DebugStatistics' declared but never defined S5DebugStatistics( pid_t pid ^ ../include/SS5Core.h:64:3: warning: inline function 'S5DebugFacilities' declared but never defined S5DebugFacilities( pid_t pid, ^ ../include/SS5Core.h:59:3: warning: inline function 'S5DebugUpstreamInfo' declared but never defined S5DebugUpstreamInfo( pid_t pid, ^ ../include/SS5Core.h:54:3: warning: inline function 'S5DebugUdpRequestInfo' declared but never defined S5DebugUdpRequestInfo(pid_t pid, ^ ../include/SS5Core.h:49:3: warning: inline function 'S5DebugRequestInfo' declared but never defined S5DebugRequestInfo( pid_t pid, ^ ../include/SS5Core.h:44:3: warning: inline function 'S5DebugAuthInfo' declared but never defined S5DebugAuthInfo( pid_t pid, ^ ../include/SS5Core.h:39:3: warning: inline function 'S5DebugMethodInfo' declared but never defined S5DebugMethodInfo( pid_t pid, ^ ../include/SS5Core.h:33:3: warning: inline function 'S5GetClientInfo' declared but never defined S5GetClientInfo( struct _SS5ClientInfo *ci, ^ gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../include -c -o SS5Debug.o SS5Debug.c gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../include -c -o SS5Modules.o SS5Modules.c In file included from SS5Modules.c:20:0: ../include/SS5Server.h:35:3: warning: inline function 'S5ChildClose' declared but never defined S5ChildClose( int exitcode, ^ gcc -pipe -Wall -g -O2 -DLINUX -I . -I ../include -o ss5 SS5Main.o SS5Core.o SS5Server.o SS5Utils.o SS5Thread.o SS5Debug.o SS5Modules.o -lpthread -rdynamic -ldl -lldap -lpam -lpam_misc SS5Main.o: In function `main': /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Main.c:333: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Main.c:340: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Main.c:317: undefined reference to `S5ChildClose' SS5Core.o: In function `S5Core': /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:1231: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:1238: undefined reference to `S5ChildClose' SS5Core.o:/usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:137: more undefined references to `S5ChildClose' follow SS5Core.o: In function `S5Core': /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:170: undefined reference to `S5DebugStatistics' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:214: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:237: undefined reference to `S5DebugAuthInfo' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:245: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:693: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:699: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:354: undefined reference to `S5DebugRequestInfo' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:1057: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:1064: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:205: undefined reference to `S5DebugMethodInfo' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:403: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:362: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:734: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:735: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:741: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:389: undefined reference to `S5DebugMethodInfo' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:395: undefined reference to `S5DebugFacilities' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:578: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:584: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:827: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:828: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:835: undefined reference to `S5ChildClose' SS5Core.o:/usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:862: more undefined references to `S5ChildClose' follow SS5Core.o: In function `S5Core': /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:660: undefined reference to `S5DebugUpstreamInfo' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:776: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:777: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:784: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:532: undefined reference to `S5DebugUpstreamInfo' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:1244: undefined reference to `S5ChildClose' /usr/src/RPM/BUILD/ss5-3.6.4/src/SS5Core.c:731: undefined reference to `S5DebugUdpRequestInfo' collect2: error: ld returned 1 exit status make[1]: *** [ss5] Error 1 make[1]: Leaving directory `/usr/src/RPM/BUILD/ss5-3.6.4/src' make: *** [src] Error 2 make: Leaving directory `/usr/src/RPM/BUILD/ss5-3.6.4' error: Bad exit status from /usr/src/tmp/rpm-tmp.69637 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.69637 (%build) Command exited with non-zero status 1 5.36user 1.59system 0:07.83elapsed 88%CPU (0avgtext+0avgdata 42436maxresident)k 0inputs+0outputs (0major+694686minor)pagefaults 0swaps hsh-rebuild: rebuild of `ss5-3.6.4-alt2.rel3.2.qa1.src.rpm' failed. Command exited with non-zero status 1 8.24user 3.17system 0:13.04elapsed 87%CPU (0avgtext+0avgdata 122036maxresident)k 0inputs+0outputs (0major+861621minor)pagefaults 0swaps