Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/3proxy.spec'], chrootPath='/srv/build/7/A/mock-root/c7-epel-i686/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=21600logger=uid=501) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/3proxy.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: worker1.bsys.centos.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/3proxy-0.7-1.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/3proxy.spec '], chrootPath='/srv/build/7/A/mock-root/c7-epel-i686/root'shell=Falseuid=501env={'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=21600private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/3proxy.spec '] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5R9jLc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf 3proxy-0.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/3proxy-0.7.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd 3proxy-0.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (3proxy-0.6.1-config-path.patch): + echo 'Patch #0 (3proxy-0.6.1-config-path.patch):' + /usr/bin/cat /builddir/build/SOURCES/3proxy-0.6.1-config-path.patch + /usr/bin/patch -p0 -b --suffix .man-cfg --fuzz=0 patching file man/3proxy.8 + sed -i -e 's/CFLAGS =/CFLAGS +=/' Makefile.Linux + dos2unix Changelog dos2unix: converting file Changelog to Unix format ... + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1AvzVI + umask 022 + cd /builddir/build/BUILD + cd 3proxy-0.7 + /usr/bin/make -f Makefile.Linux cat Makefile.Linux > src/Makefile.var make[1]: Entering directory `/builddir/build/BUILD/3proxy-0.7/src' cd .. && cat copying 3proxy 0.7 Public License Agreement (c) 2000-2014 by 3APA3A (3APA3A@security.nnov.ru) (c) 2000-2014 by SecurityVulns.com (http://3proxy.ru/) (c) 2000-2014 by Vladimir Dubrovin (vlad@sandy.ru) This software uses: RSA Data Security, Inc. MD4 Message-Digest Algorithm RSA Data Security, Inc. MD5 Message-Digest Algorithm THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. This software is FREEWARE. Redistribution and use in source and binary forms, with or without modification, are permitted provided that following conditions are met (BSD style license): * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the SecurityVulns.COM nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. Instead of this license, you can also use and redistribute this software under terms of compatible license, including: 1. Apache License, Version 2.0 You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 2. GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. You may obtain a copy of the License at http://www.gnu.org/licenses/gpl.txt 3. GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. You may obtain a copy of the License at http://www.gnu.org/licenses/lgpl.txt $Id: License,v 1.3 2007/04/05 11:59:47 vlad Exp $ gcc -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL 3proxy.c 3proxy.c: In function 'h_nolog': 3proxy.c:1128:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(!strcmp(argv[0],"nolog")) acl->nolog = 1; ^ In file included from proxy.h:21:0, from 3proxy.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ 3proxy.c:1128:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(argv[0],"nolog")) acl->nolog = 1; ^ 3proxy.c:1128:2: note: expected 'const char *' but argument is of type 'unsigned char *' 3proxy.c:1128:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from proxy.h:21:0, from 3proxy.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ 3proxy.c:1128:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(argv[0],"nolog")) acl->nolog = 1; ^ 3proxy.c:1128:2: note: expected 'const char *' but argument is of type 'unsigned char *' 3proxy.c:1128:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] 3proxy.c:1128:2: note: expected 'const char *' but argument is of type 'unsigned char *' 3proxy.c:1128:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] 3proxy.c:1128:2: note: expected 'const char *' but argument is of type 'unsigned char *' 3proxy.c: In function 'main': 3proxy.c:1988:4: warning: passing argument 2 of 'h_auth' from incompatible pointer type [enabled by default] h_auth(2, args); ^ 3proxy.c:892:12: note: expected 'unsigned char **' but argument is of type 'char **' static int h_auth(int argc, unsigned char **argv){ ^ gcc -o mainfunc.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DMODULEMAINFUNC=mainfunc proxymain.c proxymain.c: In function 'mainfunc': proxymain.c:439:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ In file included from proxy.h:21:0, from proxymain.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ proxymain.c:439:2: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from proxymain.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ proxymain.c:439:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ gcc -o srvproxy.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL proxy.c proxy.c: In function 'proxychild': proxy.c:333:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] su = mystrdup(sb); ^ In file included from proxy.h:21:0, from proxy.c:11: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ proxy.c:333:3: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] su = mystrdup(sb); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from proxy.c:11: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ proxy.c:333:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] su = mystrdup(sb); ^ proxy.c:495:3: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(sb, "%lu",&contentlength); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from proxy.h:19, from proxy.c:11: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ proxy.c:515:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] reqsize = (int)strlen(req); ^ In file included from proxy.h:21:0, from proxy.c:11: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ proxy.c:534:2: warning: pointer targets in passing argument 3 of 'handledatfltcli' differ in signedness [-Wpointer-sign] action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, 0, ¶m->cliinbuf); ^ In file included from proxy.c:11:0: proxy.h:254:15: note: expected 'int *' but argument is of type 'unsigned int *' FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ proxy.c:534:2: warning: pointer targets in passing argument 5 of 'handledatfltcli' differ in signedness [-Wpointer-sign] action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, 0, ¶m->cliinbuf); ^ In file included from proxy.c:11:0: proxy.h:254:15: note: expected 'int *' but argument is of type 'unsigned int *' FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ proxy.c:647:8: warning: variable 'spaces' set but not used [-Wunused-but-set-variable] int spaces = 1; ^ proxy.c:821:42: warning: operation on 'res' may be undefined [-Wsequence-point] if(socksend(param->remsock, req , (res = (int)strlen((char *)req)), conf.timeouts[STRING_L]) != res) { ^ proxy.c:903:3: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(sb, "%lu", &contentlength); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from proxy.h:19, from proxy.c:11: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ proxy.c:919:3: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if(!strncasecmp(sb, "chunked", 7)){ ^ In file included from proxy.h:21:0, from proxy.c:11: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ proxy.c:969:2: warning: pointer targets in passing argument 3 of 'handledatfltsrv' differ in signedness [-Wpointer-sign] action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, 0, ¶m->srvinbuf); ^ In file included from proxy.c:11:0: proxy.h:255:15: note: expected 'int *' but argument is of type 'unsigned int *' FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ proxy.c:969:2: warning: pointer targets in passing argument 5 of 'handledatfltsrv' differ in signedness [-Wpointer-sign] action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, 0, ¶m->srvinbuf); ^ In file included from proxy.c:11:0: proxy.h:255:15: note: expected 'int *' but argument is of type 'unsigned int *' FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ proxy.c:1003:4: warning: pointer targets in passing argument 3 of 'sockgetlinebuf' differ in signedness [-Wpointer-sign] while ((i = sockgetlinebuf(param, SERVER, smallbuf, 30, '\n', conf.timeouts[STRING_S])) == 2) { ^ In file included from proxy.c:11:0: proxy.h:160:5: note: expected 'unsigned char *' but argument is of type 'char *' int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); ^ proxy.c:1004:5: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ ^ In file included from proxy.c:11:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ proxy.c:1013:4: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ ^ In file included from proxy.c:11:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ proxy.c:1017:5: warning: pointer targets in passing argument 3 of 'sockgetlinebuf' differ in signedness [-Wpointer-sign] if((i = sockgetlinebuf(param, SERVER, smallbuf, 30, '\n', conf.timeouts[STRING_S])) != 2) RETURN(534); ^ In file included from proxy.c:11:0: proxy.h:160:5: note: expected 'unsigned char *' but argument is of type 'char *' int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); ^ proxy.c:1018:5: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ ^ In file included from proxy.c:11:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ proxy.c:1059:2: warning: pointer targets in passing argument 2 of 'logurl' differ in signedness [-Wpointer-sign] logurl(param, buf, (char *)req, ftp); ^ proxy.c:138:13: note: expected 'char *' but argument is of type 'unsigned char *' static void logurl(struct clientparam * param, char * buf, char * req, int ftp){ ^ proxy.c:1102:2: warning: pointer targets in passing argument 2 of 'logurl' differ in signedness [-Wpointer-sign] logurl(param, buf, (char *)req, ftp); ^ proxy.c:138:13: note: expected 'char *' but argument is of type 'unsigned char *' static void logurl(struct clientparam * param, char * buf, char * req, int ftp){ ^ gcc -o srvpop3p.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pop3p.c gcc -o srvsmtpp.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL smtpp.c smtpp.c: In function 'readreply': smtpp.c:41:2: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] res = atoi(buf); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from proxy.h:19, from smtpp.c:10: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^ smtpp.c: In function 'readcommand': smtpp.c:55:2: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if(!strncasecmp(buf, "MAIL", 4) || !strncasecmp(buf, "RCPT", 4) || !strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ smtpp.c:55:2: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if(!strncasecmp(buf, "MAIL", 4) || !strncasecmp(buf, "RCPT", 4) || !strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ smtpp.c:55:2: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if(!strncasecmp(buf, "MAIL", 4) || !strncasecmp(buf, "RCPT", 4) || !strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ smtpp.c:55:2: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if(!strncasecmp(buf, "MAIL", 4) || !strncasecmp(buf, "RCPT", 4) || !strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ smtpp.c:66:2: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if(!strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ smtpp.c:66:2: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if(!strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ smtpp.c: In function 'smtppchild': smtpp.c:123:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] command = mystrdup(buf); ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:123:3: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] command = mystrdup(buf); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from smtpp.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ smtpp.c:130:2: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] socksend(param->clisock, "334 VXNlcm5hbWU6\r\n", 18,conf.timeouts[STRING_S]); ^ In file included from smtpp.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:137:2: warning: pointer targets in passing argument 1 of 'parseconnusername' differ in signedness [-Wpointer-sign] parseconnusername(username, param, 0, 25); ^ In file included from smtpp.c:10:0: proxy.h:235:5: note: expected 'char *' but argument is of type 'unsigned char *' int parseconnusername(char *username, struct clientparam *param, int extpasswd, unsigned short port); ^ smtpp.c:138:2: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] socksend(param->clisock, "334 UGFzc3dvcmQ6\r\n", 18,conf.timeouts[STRING_S]); ^ In file included from smtpp.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:146:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] param->extpassword = mystrdup(username); ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:146:2: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] param->extpassword = mystrdup(username); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from smtpp.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ smtpp.c:146:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] param->extpassword = mystrdup(username); ^ smtpp.c:154:3: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] socksend(param->clisock, "334\r\n", 5,conf.timeouts[STRING_S]); ^ In file included from smtpp.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:162:2: warning: pointer targets in passing argument 1 of 'parseconnusername' differ in signedness [-Wpointer-sign] parseconnusername(username+1, param, 0, 25); ^ In file included from smtpp.c:10:0: proxy.h:235:5: note: expected 'char *' but argument is of type 'unsigned char *' int parseconnusername(char *username, struct clientparam *param, int extpasswd, unsigned short port); ^ smtpp.c:163:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] res = (int)strlen(username+1) + 2; ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:166:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] param->extpassword = mystrdup(username + res); ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:166:3: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] param->extpassword = mystrdup(username + res); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from smtpp.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ smtpp.c:166:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] param->extpassword = mystrdup(username + res); ^ smtpp.c:173:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] reqbufsize = reqsize = (int)strlen(param->hostname) + 1; ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:192:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] i = sprintf(buf, "EHLO [%lu.%lu.%lu.%lu]\r\n", ((ul&0xFF000000)>>24), ((ul&0x00FF0000)>>16), ((ul&0x0000FF00)>>8), ((ul&0x000000FF))); ^ In file included from proxy.h:19:0, from smtpp.c:10: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern int sprintf (char *__restrict __s, ^ smtpp.c:208:3: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] socksend(param->clisock, "235 auth required\r\n", 19,conf.timeouts[STRING_S]); ^ In file included from smtpp.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:211:3: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] socksend(param->remsock, "AUTH LOGIN\r\n", 12, conf.timeouts[STRING_S]); ^ In file included from smtpp.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:216:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] en64(param->extusername, buf, (int)strlen(param->extusername)); ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:217:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] socksend(param->remsock, buf, (int)strlen(buf), conf.timeouts[STRING_S]); ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:218:3: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); ^ In file included from smtpp.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:223:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] en64(param->extpassword, buf, (int)strlen(param->extpassword)); ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:224:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] socksend(param->remsock, buf, (int)strlen(buf), conf.timeouts[STRING_S]); ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:225:3: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); ^ In file included from smtpp.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:230:3: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] socksend(param->remsock, "AUTH PLAIN\r\n", 12, conf.timeouts[STRING_S]); ^ In file included from smtpp.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:236:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] i = (int)strlen(param->extusername) + 1; ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:239:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] res = (int)strlen(param->extpassword); ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:243:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] i = (int)strlen(buf); ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:245:3: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); ^ In file included from smtpp.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:260:3: warning: passing argument 2 of 'handlehdrfilterscli' from incompatible pointer type [enabled by default] res = handlehdrfilterscli(param, &command, &res, 0, &res); ^ In file included from smtpp.c:10:0: proxy.h:251:15: note: expected 'unsigned char **' but argument is of type 'char **' FILTER_ACTION handlehdrfilterscli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ smtpp.c:270:2: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] if(res != 2) socksend(param->remsock, command, i, conf.timeouts[STRING_S]); ^ In file included from smtpp.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ gcc -o srvftppr.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL ftppr.c ftppr.c: In function 'ftpprchild': ftppr.c:82:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] reqsize = (int)strlen(buf) + 1; ^ In file included from proxy.h:21:0, from ftppr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftppr.c:100:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] reqsize = (int)strlen(buf) + 1; ^ In file included from proxy.h:21:0, from ftppr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftppr.c:155:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buf, "200 OK\r\n"); ^ In file included from proxy.h:19:0, from ftppr.c:10: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern int sprintf (char *__restrict __s, ^ ftppr.c:161:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] reqsize = (int)strlen(buf) + 1; ^ In file included from proxy.h:21:0, from ftppr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ftppr.c:188:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] reqsize = (int)strlen(buf) + 1; ^ In file included from proxy.h:21:0, from ftppr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ gcc -o srvsocks.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL socks.c gcc -o srvtcppm.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL tcppm.c gcc -o srvicqpr.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL icqpr.c icqpr.c: In function 'searchcookie': icqpr.c:132:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for(ic = icq_cookies; ic; ic = ic->next)if(!strcmp(param->username, ic->id))break; ^ In file included from proxy.h:21:0, from icqpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ icqpr.c:132:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] for(ic = icq_cookies; ic; ic = ic->next)if(!strcmp(param->username, ic->id))break; ^ icqpr.c:132:2: note: expected 'const char *' but argument is of type 'unsigned char *' icqpr.c:132:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from proxy.h:21:0, from icqpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ icqpr.c:132:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] for(ic = icq_cookies; ic; ic = ic->next)if(!strcmp(param->username, ic->id))break; ^ icqpr.c:132:2: note: expected 'const char *' but argument is of type 'unsigned char *' icqpr.c:132:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] icqpr.c:132:2: note: expected 'const char *' but argument is of type 'unsigned char *' icqpr.c:132:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] icqpr.c:132:2: note: expected 'const char *' but argument is of type 'unsigned char *' icqpr.c:136:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ic->id = mystrdup(param->username); ^ In file included from proxy.h:21:0, from icqpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ icqpr.c:136:3: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] ic->id = mystrdup(param->username); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from icqpr.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ icqpr.c: In function 'icq_srv': icqpr.c:206:5: warning: pointer targets in passing argument 2 of 'param->srv->logfunc' differ in signedness [-Wpointer-sign] if(!state->leftinstate)param->srv->logfunc(param, "Warning: need resync"); ^ icqpr.c:206:5: note: expected 'const unsigned char *' but argument is of type 'char *' icqpr.c:209:6: warning: pointer targets in passing argument 2 of 'param->srv->logfunc' differ in signedness [-Wpointer-sign] param->srv->logfunc(param, "Out of Sync"); ^ icqpr.c:209:6: note: expected 'const unsigned char *' but argument is of type 'char *' icqpr.c:218:5: warning: pointer targets in passing argument 2 of 'param->srv->logfunc' differ in signedness [-Wpointer-sign] param->srv->logfunc(param, "Warning: Wrong channel"); ^ icqpr.c:218:5: note: expected 'const unsigned char *' but argument is of type 'char *' icqpr.c:241:6: warning: pointer targets in passing argument 2 of 'param->srv->logfunc' differ in signedness [-Wpointer-sign] param->srv->logfunc(param, smallbuf); ^ icqpr.c:241:6: note: expected 'const unsigned char *' but argument is of type 'char *' icqpr.c:247:5: warning: pointer targets in passing argument 2 of 'param->srv->logfunc' differ in signedness [-Wpointer-sign] param->srv->logfunc(param, smallbuf); ^ icqpr.c:247:5: note: expected 'const unsigned char *' but argument is of type 'char *' icqpr.c: In function 'readflap': icqpr.c:343:2: warning: pointer targets in passing argument 3 of 'sockgetlinebuf' differ in signedness [-Wpointer-sign] i = sockgetlinebuf(param, direction, flap->data, len, EOF, conf.timeouts[STRING_S]); ^ In file included from icqpr.c:10:0: proxy.h:160:5: note: expected 'unsigned char *' but argument is of type 'char *' int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); ^ icqpr.c: In function 'icqprchild': icqpr.c:422:52: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!param->username && ic->id) param->username = mystrdup(ic->id); ^ In file included from /usr/include/bits/byteswap.h:35:0, from /usr/include/endian.h:60, from /usr/include/bits/waitstatus.h:64, from /usr/include/stdlib.h:42, from proxy.h:20, from icqpr.c:10: icqpr.c:443:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] param->statssrv += (ntohs(((struct flap_header *)tmpsend)->size) + 6); ^ icqpr.c:444:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] mystate.srvseq = ntohs(((struct flap_header *)tmpsend)->seq) + 1; ^ icqpr.c: At top level: icqpr.c:17:13: warning: 'hexdump' defined but not used [-Wunused-function] static void hexdump(unsigned char *data, int len){ ^ gcc -o srvmsnpr.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL msnpr.c msnpr.c: In function 'msn_srv': msnpr.c:46:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sp1 = data + 3; ^ msnpr.c:62:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] cookie->userid = mystrdup(param->username); ^ In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ msnpr.c:62:2: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] cookie->userid = mystrdup(param->username); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from msnpr.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ msnpr.c:62:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cookie->userid = mystrdup(param->username); ^ msnpr.c:69:2: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(tmpbuf, data); ^ In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:125:14: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ msnpr.c: In function 'msnprchild': msnpr.c:126:2: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if(!(sp1 = strchr(buf, ' ')) || !(sp2 = strchr(sp1 + 1, ' ')) || !(sp3 = strchr(sp2 + 1, ' ')) || ((int)(sp3-sp2)) < 6) RETURN(1202); ^ msnpr.c:126:2: note: expected 'const char *' but argument is of type 'unsigned char *' msnpr.c:138:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] verstr = mystrdup(buf); ^ In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ msnpr.c:138:2: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] verstr = mystrdup(buf); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from msnpr.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ msnpr.c:145:3: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] if(buf[0] != 'C' || buf[1] != 'V' || buf[2] != 'R' || !(sp1=strrchr(buf,' ')) || (len = (int)strlen(sp1+1)) < 3) RETURN(1206); ^ In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:259:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strrchr (const char *__s, int __c) ^ msnpr.c:154:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(!strcmp(param->username, cookie->userid)){ ^ In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ msnpr.c:154:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(!strcmp(param->username, cookie->userid)){ ^ In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ msnpr.c:154:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(param->username, cookie->userid)){ ^ msnpr.c:154:2: note: expected 'const char *' but argument is of type 'unsigned char *' msnpr.c:154:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] msnpr.c:154:2: note: expected 'const char *' but argument is of type 'unsigned char *' msnpr.c:154:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ msnpr.c:154:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(param->username, cookie->userid)){ ^ msnpr.c:154:2: note: expected 'const char *' but argument is of type 'unsigned char *' msnpr.c:154:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] msnpr.c:154:2: note: expected 'const char *' but argument is of type 'unsigned char *' msnpr.c:154:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ msnpr.c:154:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(param->username, cookie->userid)){ ^ msnpr.c:154:2: note: expected 'const char *' but argument is of type 'unsigned char *' msnpr.c:154:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] msnpr.c:154:2: note: expected 'const char *' but argument is of type 'unsigned char *' msnpr.c:154:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] msnpr.c:154:2: note: expected 'const char *' but argument is of type 'unsigned char *' msnpr.c:154:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] msnpr.c:154:2: note: expected 'const char *' but argument is of type 'unsigned char *' msnpr.c:175:2: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] if(socksend(param->remsock, verstr, len, conf.timeouts[STRING_S])!= len) {RETURN (1207);} ^ In file included from msnpr.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ msnpr.c:180:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] verstr = mystrdup(buf); ^ In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ msnpr.c:180:2: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] verstr = mystrdup(buf); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from msnpr.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ msnpr.c:186:2: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(buf, verstr); ^ In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:125:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ msnpr.c:189:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = (int)strlen(buf); ^ In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ msnpr.c:106:6: warning: variable 'id' set but not used [-Wunused-but-set-variable] int id; ^ gcc -o srvudppm.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL udppm.c udppm.c: In function 'udppmchild': udppm.c:39:16: warning: unused variable 'fds' [-Wunused-variable] struct pollfd fds[256]; ^ udppm.c:38:17: warning: unused variable 'udpmappings' [-Wunused-variable] struct udpmap *udpmappings = NULL; ^ gcc -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL sockmap.c sockmap.c: In function 'sockmap': sockmap.c:53:3: warning: pointer targets in passing argument 3 of 'handledatfltcli' differ in signedness [-Wpointer-sign] action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, param->clioffset, ¶m->cliinbuf); ^ In file included from sockmap.c:10:0: proxy.h:254:15: note: expected 'int *' but argument is of type 'unsigned int *' FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ sockmap.c:53:3: warning: pointer targets in passing argument 5 of 'handledatfltcli' differ in signedness [-Wpointer-sign] action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, param->clioffset, ¶m->cliinbuf); ^ In file included from sockmap.c:10:0: proxy.h:254:15: note: expected 'int *' but argument is of type 'unsigned int *' FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ sockmap.c:60:3: warning: pointer targets in passing argument 3 of 'handledatfltsrv' differ in signedness [-Wpointer-sign] action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, param->srvoffset, ¶m->srvinbuf); ^ In file included from sockmap.c:10:0: proxy.h:255:15: note: expected 'int *' but argument is of type 'unsigned int *' FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ sockmap.c:60:3: warning: pointer targets in passing argument 5 of 'handledatfltsrv' differ in signedness [-Wpointer-sign] action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, param->srvoffset, ¶m->srvinbuf); ^ In file included from sockmap.c:10:0: proxy.h:255:15: note: expected 'int *' but argument is of type 'unsigned int *' FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ sockmap.c:188:5: warning: pointer targets in passing argument 3 of 'handledatfltcli' differ in signedness [-Wpointer-sign] action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, param->cliinbuf - res, ¶m->cliinbuf); ^ In file included from sockmap.c:10:0: proxy.h:254:15: note: expected 'int *' but argument is of type 'unsigned int *' FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ sockmap.c:188:5: warning: pointer targets in passing argument 5 of 'handledatfltcli' differ in signedness [-Wpointer-sign] action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, param->cliinbuf - res, ¶m->cliinbuf); ^ In file included from sockmap.c:10:0: proxy.h:254:15: note: expected 'int *' but argument is of type 'unsigned int *' FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ sockmap.c:220:5: warning: pointer targets in passing argument 3 of 'handledatfltsrv' differ in signedness [-Wpointer-sign] action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, param->srvinbuf - res, ¶m->srvinbuf); ^ In file included from sockmap.c:10:0: proxy.h:255:15: note: expected 'int *' but argument is of type 'unsigned int *' FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ sockmap.c:220:5: warning: pointer targets in passing argument 5 of 'handledatfltsrv' differ in signedness [-Wpointer-sign] action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, param->srvinbuf - res, ¶m->srvinbuf); ^ In file included from sockmap.c:10:0: proxy.h:255:15: note: expected 'int *' but argument is of type 'unsigned int *' FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ gcc -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL sockgetchar.c gcc -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL myalloc.c gcc -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL common.c common.c:141:2: warning: initialization from incompatible pointer type [enabled by default] poll, ^ common.c:141:2: warning: (near initialization for 'so._poll') [enabled by default] common.c:145:2: warning: initialization from incompatible pointer type [enabled by default] send, ^ common.c:145:2: warning: (near initialization for 'so._send') [enabled by default] common.c:146:2: warning: initialization from incompatible pointer type [enabled by default] sendto, ^ common.c:146:2: warning: (near initialization for 'so._sendto') [enabled by default] common.c:147:2: warning: initialization from incompatible pointer type [enabled by default] recv, ^ common.c:147:2: warning: (near initialization for 'so._recv') [enabled by default] common.c:148:2: warning: initialization from incompatible pointer type [enabled by default] recvfrom, ^ common.c:148:2: warning: (near initialization for 'so._recvfrom') [enabled by default] common.c: In function 'parsehostname': common.c:209:14: warning: comparison of distinct pointer types lacks a cast [enabled by default] if(hostname != param->hostname){ ^ gcc -o auth.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL auth.c auth.c: In function 'ACLmatches': auth.c:398:6: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if(strstr(param->hostname, hstentry->name)) match = 1; ^ In file included from proxy.h:21:0, from auth.c:10: /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) ^ auth.c:398:6: warning: pointer targets in passing argument 2 of 'strstr' differ in signedness [-Wpointer-sign] if(strstr(param->hostname, hstentry->name)) match = 1; ^ In file included from proxy.h:21:0, from auth.c:10: /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) ^ auth.c:402:6: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if(strstr(param->hostname, hstentry->name) == (char *)param->hostname) match = 1; ^ In file included from proxy.h:21:0, from auth.c:10: /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) ^ auth.c:402:6: warning: pointer targets in passing argument 2 of 'strstr' differ in signedness [-Wpointer-sign] if(strstr(param->hostname, hstentry->name) == (char *)param->hostname) match = 1; ^ In file included from proxy.h:21:0, from auth.c:10: /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) ^ auth.c:406:6: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if(strstr(param->hostname, hstentry->name) == (char *)(param->hostname + i - (strlen(hstentry->name)))) match = 1; ^ In file included from proxy.h:21:0, from auth.c:10: /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) ^ auth.c:406:6: warning: pointer targets in passing argument 2 of 'strstr' differ in signedness [-Wpointer-sign] if(strstr(param->hostname, hstentry->name) == (char *)(param->hostname + i - (strlen(hstentry->name)))) match = 1; ^ In file included from proxy.h:21:0, from auth.c:10: /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) ^ auth.c:406:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strstr(param->hostname, hstentry->name) == (char *)(param->hostname + i - (strlen(hstentry->name)))) match = 1; ^ In file included from proxy.h:21:0, from auth.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ auth.c:410:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(!strcmp(param->hostname, hstentry->name)) match = 1; ^ In file included from proxy.h:21:0, from auth.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ auth.c:410:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(!strcmp(param->hostname, hstentry->name)) match = 1; ^ In file included from proxy.h:21:0, from auth.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ auth.c:410:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(param->hostname, hstentry->name)) match = 1; ^ auth.c:410:6: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:410:6: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth.c:410:6: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:410:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from proxy.h:21:0, from auth.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ auth.c:410:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(param->hostname, hstentry->name)) match = 1; ^ auth.c:410:6: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:410:6: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth.c:410:6: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:410:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from proxy.h:21:0, from auth.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ auth.c:410:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(param->hostname, hstentry->name)) match = 1; ^ auth.c:410:6: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:410:6: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth.c:410:6: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:410:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth.c:410:6: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:410:6: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth.c:410:6: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c: In function 'cacheauth': auth.c:692:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(((!(conf.authcachetype&2)) || (param->username && ac->username && !strcmp(ac->username, param->username))) && ^ In file included from proxy.h:21:0, from auth.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ auth.c:692:3: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(((!(conf.authcachetype&2)) || (param->username && ac->username && !strcmp(ac->username, param->username))) && ^ auth.c:692:3: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:692:3: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth.c:692:3: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:692:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from proxy.h:21:0, from auth.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ auth.c:692:3: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(((!(conf.authcachetype&2)) || (param->username && ac->username && !strcmp(ac->username, param->username))) && ^ auth.c:692:3: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:692:3: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth.c:692:3: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:694:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (!(conf.authcachetype&4) || (ac->password && param->password && !strcmp(ac->password, param->password)))) { ^ In file included from proxy.h:21:0, from auth.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ auth.c:694:6: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!(conf.authcachetype&4) || (ac->password && param->password && !strcmp(ac->password, param->password)))) { ^ auth.c:694:6: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:694:6: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth.c:694:6: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:694:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from proxy.h:21:0, from auth.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ auth.c:694:6: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!(conf.authcachetype&4) || (ac->password && param->password && !strcmp(ac->password, param->password)))) { ^ auth.c:694:6: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:694:6: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth.c:694:6: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:698:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] param->username = mystrdup(ac->username); ^ auth.c: In function 'doauth': auth.c:726:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if((!(conf.authcachetype&2) || !strcmp(ac->username, param->username)) && ^ In file included from proxy.h:21:0, from auth.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ auth.c:726:6: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if((!(conf.authcachetype&2) || !strcmp(ac->username, param->username)) && ^ auth.c:726:6: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:726:6: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth.c:726:6: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:726:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from proxy.h:21:0, from auth.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ auth.c:726:6: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if((!(conf.authcachetype&2) || !strcmp(ac->username, param->username)) && ^ auth.c:726:6: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:726:6: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth.c:726:6: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:728:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (!(conf.authcachetype&4) || (ac->password && !strcmp(ac->password, param->password)))) { ^ In file included from proxy.h:21:0, from auth.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ auth.c:728:9: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!(conf.authcachetype&4) || (ac->password && !strcmp(ac->password, param->password)))) { ^ auth.c:728:9: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:728:9: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth.c:728:9: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:728:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from proxy.h:21:0, from auth.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ auth.c:728:9: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!(conf.authcachetype&4) || (ac->password && !strcmp(ac->password, param->password)))) { ^ auth.c:728:9: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:728:9: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth.c:728:9: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:730:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strcmp(ac->username, param->username)){ ^ In file included from proxy.h:21:0, from auth.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ auth.c:730:7: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(strcmp(ac->username, param->username)){ ^ auth.c:730:7: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:730:7: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth.c:730:7: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:730:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from proxy.h:21:0, from auth.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ auth.c:730:7: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(strcmp(ac->username, param->username)){ ^ auth.c:730:7: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:730:7: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth.c:730:7: note: expected 'const char *' but argument is of type 'unsigned char *' auth.c:732:8: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ac->username = mystrdup(param->username); ^ In file included from proxy.h:21:0, from auth.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ auth.c:732:8: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] ac->username = mystrdup(param->username); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from auth.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ auth.c:737:8: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ac->password = mystrdup(param->password); ^ In file included from proxy.h:21:0, from auth.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ auth.c:737:8: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] ac->password = mystrdup(param->password); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from auth.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ auth.c:748:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ac->username = mystrdup(param->username); ^ In file included from proxy.h:21:0, from auth.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ auth.c:748:7: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] ac->username = mystrdup(param->username); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from auth.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ auth.c:751:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if((conf.authcachetype&4) && param->password) ac->password = mystrdup(param->password); ^ In file included from proxy.h:21:0, from auth.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ auth.c:751:7: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] if((conf.authcachetype&4) && param->password) ac->password = mystrdup(param->password); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from auth.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ auth.c: In function 'dnsauth': auth.c:805:2: warning: pointer targets in passing argument 1 of 'udpresolve' differ in signedness [-Wpointer-sign] if(param->sinc.sin_addr.s_addr != udpresolve(buf, NULL, param, 1)) return 6; ^ In file included from auth.c:10:0: proxy.h:238:15: note: expected 'unsigned char *' but argument is of type 'char *' unsigned long udpresolve(unsigned char * name, unsigned *retttl, struct clientparam* param, int makeauth); ^ auth.c: In function 'udpresolve': auth.c:1066:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(unsigned short*)buf = nquery; /* query id */ ^ auth.c:1098:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if(*(unsigned short *)buf != nquery)continue; ^ auth.c:1148:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] param->username = mystrdup (buf + k + 13); ^ In file included from proxy.h:21:0, from auth.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ auth.c:1148:5: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] param->username = mystrdup (buf + k + 13); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from auth.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ auth.c:1148:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] param->username = mystrdup (buf + k + 13); ^ gcc -o datatypes.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL datatypes.c gcc -o md4.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL libs/md4.c gcc -o md5.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL libs/md5.c gcc -o mycrypt.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL mycrypt.c gcc -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL base64.c gcc -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL ftp.c gcc -o smbdes.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL libs/smbdes.c gcc -o ntlm.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL ntlm.c gcc -o stringtable.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL stringtable.c gcc -o srvwebadmin.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL webadmin.c gcc -o srvdnspr.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL dnspr.c gcc -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL plugins.c gcc -o 3proxy -Wall -O2 -pthread 3proxy.o mainfunc.o auth.o datatypes.o srvproxy.o srvpop3p.o srvsmtpp.o srvftppr.o srvsocks.o srvtcppm.o srvicqpr.o srvmsnpr.o srvudppm.o sockmap.o sockgetchar.o myalloc.o common.o mycrypt.o md5.o md4.o base64.o ftp.o smbdes.o ntlm.o stringtable.o srvwebadmin.o srvdnspr.o plugins.o -lcrypto -lssl -ldl gcc -o mycryptmain.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN mycrypt.c gcc -o mycrypt -Wall -O2 -pthread md4.o md5.o base64.o mycryptmain.o gcc -o dighosts.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL dighosts.c gcc -o dighosts -Wall -O2 -pthread dighosts.o myalloc.o common.o -lcrypto -lssl -ldl gcc -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP pop3p.c In file included from pop3p.c:72:0: proxymain.c: In function 'main': proxymain.c:439:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ In file included from proxy.h:21:0, from pop3p.c:10: /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 pop3p.c:72:0: proxymain.c:439:2: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from pop3p.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ In file included from pop3p.c:72:0: proxymain.c:439:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ gcc -o pop3p -Wall -O2 -pthread sockmap.o pop3p.o sockgetchar.o myalloc.o common.o -lcrypto -lssl -ldl gcc -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP smtpp.c smtpp.c: In function 'readreply': smtpp.c:41:2: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] res = atoi(buf); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from proxy.h:19, from smtpp.c:10: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^ smtpp.c: In function 'readcommand': smtpp.c:66:2: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if(!strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ smtpp.c:66:2: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if(!strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ smtpp.c:48:6: warning: unused variable 'res' [-Wunused-variable] int res, i, bufsize = 320; ^ smtpp.c: In function 'readdata': smtpp.c:74:6: warning: unused variable 'res' [-Wunused-variable] int res, i, bufsize = 4096; ^ smtpp.c: In function 'smtppchild': smtpp.c:123:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] command = mystrdup(buf); ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:123:3: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] command = mystrdup(buf); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from smtpp.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ smtpp.c:130:2: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] socksend(param->clisock, "334 VXNlcm5hbWU6\r\n", 18,conf.timeouts[STRING_S]); ^ In file included from smtpp.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:137:2: warning: pointer targets in passing argument 1 of 'parseconnusername' differ in signedness [-Wpointer-sign] parseconnusername(username, param, 0, 25); ^ In file included from smtpp.c:10:0: proxy.h:235:5: note: expected 'char *' but argument is of type 'unsigned char *' int parseconnusername(char *username, struct clientparam *param, int extpasswd, unsigned short port); ^ smtpp.c:138:2: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] socksend(param->clisock, "334 UGFzc3dvcmQ6\r\n", 18,conf.timeouts[STRING_S]); ^ In file included from smtpp.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:146:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] param->extpassword = mystrdup(username); ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:146:2: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] param->extpassword = mystrdup(username); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from smtpp.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ smtpp.c:146:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] param->extpassword = mystrdup(username); ^ smtpp.c:154:3: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] socksend(param->clisock, "334\r\n", 5,conf.timeouts[STRING_S]); ^ In file included from smtpp.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:162:2: warning: pointer targets in passing argument 1 of 'parseconnusername' differ in signedness [-Wpointer-sign] parseconnusername(username+1, param, 0, 25); ^ In file included from smtpp.c:10:0: proxy.h:235:5: note: expected 'char *' but argument is of type 'unsigned char *' int parseconnusername(char *username, struct clientparam *param, int extpasswd, unsigned short port); ^ smtpp.c:163:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] res = (int)strlen(username+1) + 2; ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:166:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] param->extpassword = mystrdup(username + res); ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:166:3: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] param->extpassword = mystrdup(username + res); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from smtpp.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ smtpp.c:166:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] param->extpassword = mystrdup(username + res); ^ smtpp.c:192:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] i = sprintf(buf, "EHLO [%lu.%lu.%lu.%lu]\r\n", ((ul&0xFF000000)>>24), ((ul&0x00FF0000)>>16), ((ul&0x0000FF00)>>8), ((ul&0x000000FF))); ^ In file included from proxy.h:19:0, from smtpp.c:10: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern int sprintf (char *__restrict __s, ^ smtpp.c:208:3: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] socksend(param->clisock, "235 auth required\r\n", 19,conf.timeouts[STRING_S]); ^ In file included from smtpp.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:211:3: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] socksend(param->remsock, "AUTH LOGIN\r\n", 12, conf.timeouts[STRING_S]); ^ In file included from smtpp.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:216:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] en64(param->extusername, buf, (int)strlen(param->extusername)); ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:217:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] socksend(param->remsock, buf, (int)strlen(buf), conf.timeouts[STRING_S]); ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:218:3: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); ^ In file included from smtpp.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:223:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] en64(param->extpassword, buf, (int)strlen(param->extpassword)); ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:224:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] socksend(param->remsock, buf, (int)strlen(buf), conf.timeouts[STRING_S]); ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:225:3: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); ^ In file included from smtpp.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:230:3: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] socksend(param->remsock, "AUTH PLAIN\r\n", 12, conf.timeouts[STRING_S]); ^ In file included from smtpp.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:236:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] i = (int)strlen(param->extusername) + 1; ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:239:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] res = (int)strlen(param->extpassword); ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:243:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] i = (int)strlen(buf); ^ In file included from proxy.h:21:0, from smtpp.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ smtpp.c:245:3: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); ^ In file included from smtpp.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:270:2: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] if(res != 2) socksend(param->remsock, command, i, conf.timeouts[STRING_S]); ^ In file included from smtpp.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ In file included from smtpp.c:316:0: proxymain.c: In function 'main': proxymain.c:439:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ In file included from proxy.h:21:0, from smtpp.c:10: /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 smtpp.c:316:0: proxymain.c:439:2: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from smtpp.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ In file included from smtpp.c:316:0: proxymain.c:439:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ gcc -o smtpp -Wall -O2 -pthread sockmap.o smtpp.o sockgetchar.o base64.o myalloc.o common.o -lcrypto -lssl -ldl gcc -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP ftppr.c ftppr.c: In function 'ftpprchild': ftppr.c:155:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buf, "200 OK\r\n"); ^ In file included from proxy.h:19:0, from ftppr.c:10: /usr/include/stdio.h:364:12: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern int sprintf (char *__restrict __s, ^ In file included from ftppr.c:328:0: proxymain.c: In function 'main': proxymain.c:439:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ In file included from proxy.h:21:0, from ftppr.c:10: /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 ftppr.c:328:0: proxymain.c:439:2: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from ftppr.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ In file included from ftppr.c:328:0: proxymain.c:439:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ gcc -o ftppr -Wall -O2 -pthread sockmap.o ftppr.o sockgetchar.o myalloc.o common.o ftp.o -lcrypto -lssl -ldl gcc -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DPORTMAP tcppm.c In file included from tcppm.c:40:0: proxymain.c: In function 'main': proxymain.c:439:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ In file included from proxy.h:21:0, from tcppm.c:10: /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 tcppm.c:40:0: proxymain.c:439:2: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from tcppm.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ In file included from tcppm.c:40:0: proxymain.c:439:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ gcc -o tcppm -Wall -O2 -pthread sockmap.o sockgetchar.o tcppm.o myalloc.o common.o -lcrypto -lssl -ldl gcc -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DPORTMAP icqpr.c icqpr.c: In function 'searchcookie': icqpr.c:132:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for(ic = icq_cookies; ic; ic = ic->next)if(!strcmp(param->username, ic->id))break; ^ In file included from proxy.h:21:0, from icqpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ icqpr.c:132:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] for(ic = icq_cookies; ic; ic = ic->next)if(!strcmp(param->username, ic->id))break; ^ icqpr.c:132:2: note: expected 'const char *' but argument is of type 'unsigned char *' icqpr.c:132:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from proxy.h:21:0, from icqpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ icqpr.c:132:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] for(ic = icq_cookies; ic; ic = ic->next)if(!strcmp(param->username, ic->id))break; ^ icqpr.c:132:2: note: expected 'const char *' but argument is of type 'unsigned char *' icqpr.c:132:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] icqpr.c:132:2: note: expected 'const char *' but argument is of type 'unsigned char *' icqpr.c:132:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] icqpr.c:132:2: note: expected 'const char *' but argument is of type 'unsigned char *' icqpr.c:136:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ic->id = mystrdup(param->username); ^ In file included from proxy.h:21:0, from icqpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ icqpr.c:136:3: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] ic->id = mystrdup(param->username); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from icqpr.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ icqpr.c: In function 'icq_srv': icqpr.c:206:5: warning: pointer targets in passing argument 2 of 'param->srv->logfunc' differ in signedness [-Wpointer-sign] if(!state->leftinstate)param->srv->logfunc(param, "Warning: need resync"); ^ icqpr.c:206:5: note: expected 'const unsigned char *' but argument is of type 'char *' icqpr.c:209:6: warning: pointer targets in passing argument 2 of 'param->srv->logfunc' differ in signedness [-Wpointer-sign] param->srv->logfunc(param, "Out of Sync"); ^ icqpr.c:209:6: note: expected 'const unsigned char *' but argument is of type 'char *' icqpr.c:218:5: warning: pointer targets in passing argument 2 of 'param->srv->logfunc' differ in signedness [-Wpointer-sign] param->srv->logfunc(param, "Warning: Wrong channel"); ^ icqpr.c:218:5: note: expected 'const unsigned char *' but argument is of type 'char *' icqpr.c:241:6: warning: pointer targets in passing argument 2 of 'param->srv->logfunc' differ in signedness [-Wpointer-sign] param->srv->logfunc(param, smallbuf); ^ icqpr.c:241:6: note: expected 'const unsigned char *' but argument is of type 'char *' icqpr.c:247:5: warning: pointer targets in passing argument 2 of 'param->srv->logfunc' differ in signedness [-Wpointer-sign] param->srv->logfunc(param, smallbuf); ^ icqpr.c:247:5: note: expected 'const unsigned char *' but argument is of type 'char *' icqpr.c: In function 'readflap': icqpr.c:343:2: warning: pointer targets in passing argument 3 of 'sockgetlinebuf' differ in signedness [-Wpointer-sign] i = sockgetlinebuf(param, direction, flap->data, len, EOF, conf.timeouts[STRING_S]); ^ In file included from icqpr.c:10:0: proxy.h:160:5: note: expected 'unsigned char *' but argument is of type 'char *' int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); ^ icqpr.c: In function 'icqprchild': icqpr.c:422:52: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!param->username && ic->id) param->username = mystrdup(ic->id); ^ In file included from /usr/include/bits/byteswap.h:35:0, from /usr/include/endian.h:60, from /usr/include/bits/waitstatus.h:64, from /usr/include/stdlib.h:42, from proxy.h:20, from icqpr.c:10: icqpr.c:443:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] param->statssrv += (ntohs(((struct flap_header *)tmpsend)->size) + 6); ^ icqpr.c:444:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] mystate.srvseq = ntohs(((struct flap_header *)tmpsend)->seq) + 1; ^ In file included from icqpr.c:532:0: proxymain.c: In function 'main': proxymain.c:439:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ In file included from proxy.h:21:0, from icqpr.c:10: /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 icqpr.c:532:0: proxymain.c:439:2: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from icqpr.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ In file included from icqpr.c:532:0: proxymain.c:439:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ icqpr.c: At top level: icqpr.c:17:13: warning: 'hexdump' defined but not used [-Wunused-function] static void hexdump(unsigned char *data, int len){ ^ gcc -o icqpr -Wall -O2 -pthread sockmap.o sockgetchar.o icqpr.o myalloc.o common.o -lcrypto -lssl -ldl gcc -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DPORTMAP msnpr.c msnpr.c: In function 'msn_srv': msnpr.c:46:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sp1 = data + 3; ^ msnpr.c:62:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] cookie->userid = mystrdup(param->username); ^ In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ msnpr.c:62:2: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] cookie->userid = mystrdup(param->username); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from msnpr.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ msnpr.c:62:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cookie->userid = mystrdup(param->username); ^ msnpr.c:69:2: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(tmpbuf, data); ^ In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:125:14: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ msnpr.c: In function 'msnprchild': msnpr.c:126:2: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if(!(sp1 = strchr(buf, ' ')) || !(sp2 = strchr(sp1 + 1, ' ')) || !(sp3 = strchr(sp2 + 1, ' ')) || ((int)(sp3-sp2)) < 6) RETURN(1202); ^ msnpr.c:126:2: note: expected 'const char *' but argument is of type 'unsigned char *' msnpr.c:138:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] verstr = mystrdup(buf); ^ In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ msnpr.c:138:2: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] verstr = mystrdup(buf); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from msnpr.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ msnpr.c:145:3: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] if(buf[0] != 'C' || buf[1] != 'V' || buf[2] != 'R' || !(sp1=strrchr(buf,' ')) || (len = (int)strlen(sp1+1)) < 3) RETURN(1206); ^ In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:259:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strrchr (const char *__s, int __c) ^ msnpr.c:154:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(!strcmp(param->username, cookie->userid)){ ^ In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ msnpr.c:154:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(!strcmp(param->username, cookie->userid)){ ^ In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ msnpr.c:154:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(param->username, cookie->userid)){ ^ msnpr.c:154:2: note: expected 'const char *' but argument is of type 'unsigned char *' msnpr.c:154:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] msnpr.c:154:2: note: expected 'const char *' but argument is of type 'unsigned char *' msnpr.c:154:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ msnpr.c:154:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(param->username, cookie->userid)){ ^ msnpr.c:154:2: note: expected 'const char *' but argument is of type 'unsigned char *' msnpr.c:154:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] msnpr.c:154:2: note: expected 'const char *' but argument is of type 'unsigned char *' msnpr.c:154:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ msnpr.c:154:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(param->username, cookie->userid)){ ^ msnpr.c:154:2: note: expected 'const char *' but argument is of type 'unsigned char *' msnpr.c:154:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] msnpr.c:154:2: note: expected 'const char *' but argument is of type 'unsigned char *' msnpr.c:154:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] msnpr.c:154:2: note: expected 'const char *' but argument is of type 'unsigned char *' msnpr.c:154:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] msnpr.c:154:2: note: expected 'const char *' but argument is of type 'unsigned char *' msnpr.c:175:2: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] if(socksend(param->remsock, verstr, len, conf.timeouts[STRING_S])!= len) {RETURN (1207);} ^ In file included from msnpr.c:10:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ msnpr.c:180:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] verstr = mystrdup(buf); ^ In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ msnpr.c:180:2: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] verstr = mystrdup(buf); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from msnpr.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ msnpr.c:186:2: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(buf, verstr); ^ In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:125:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ msnpr.c:189:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = (int)strlen(buf); ^ In file included from proxy.h:21:0, from msnpr.c:10: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ msnpr.c:106:6: warning: variable 'id' set but not used [-Wunused-but-set-variable] int id; ^ In file included from msnpr.c:233:0: proxymain.c: In function 'main': proxymain.c:439:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ In file included from proxy.h:21:0, from msnpr.c:10: /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 msnpr.c:233:0: proxymain.c:439:2: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from msnpr.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ In file included from msnpr.c:233:0: proxymain.c:439:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ gcc -o msnpr -Wall -O2 -pthread sockmap.o sockgetchar.o msnpr.o myalloc.o common.o -lcrypto -lssl -ldl gcc -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DPORTMAP udppm.c udppm.c: In function 'udppmchild': udppm.c:39:16: warning: unused variable 'fds' [-Wunused-variable] struct pollfd fds[256]; ^ udppm.c:38:17: warning: unused variable 'udpmappings' [-Wunused-variable] struct udpmap *udpmappings = NULL; ^ In file included from udppm.c:117:0: proxymain.c: In function 'main': proxymain.c:439:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ In file included from proxy.h:21:0, from udppm.c:10: /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 udppm.c:117:0: proxymain.c:439:2: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from udppm.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ In file included from udppm.c:117:0: proxymain.c:439:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ gcc -o udppm -Wall -O2 -pthread sockmap.o sockgetchar.o udppm.o myalloc.o common.o -lcrypto -lssl -ldl gcc -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP socks.c In file included from socks.c:420:0: proxymain.c: In function 'main': proxymain.c:439:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ In file included from proxy.h:21:0, from socks.c:10: /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 socks.c:420:0: proxymain.c:439:2: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from socks.c:10: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ In file included from socks.c:420:0: proxymain.c:439:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ gcc -o socks -Wall -O2 -pthread sockmap.o socks.o sockgetchar.o myalloc.o common.o -lcrypto -lssl -ldl gcc -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP -DANONYMOUS proxy.c proxy.c: In function 'proxychild': proxy.c:333:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] su = mystrdup(sb); ^ In file included from proxy.h:21:0, from proxy.c:11: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ proxy.c:333:3: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] su = mystrdup(sb); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from proxy.c:11: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ proxy.c:333:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] su = mystrdup(sb); ^ proxy.c:495:3: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(sb, "%lu",&contentlength); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from proxy.h:19, from proxy.c:11: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ proxy.c:515:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] reqsize = (int)strlen(req); ^ In file included from proxy.h:21:0, from proxy.c:11: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ proxy.c:647:8: warning: variable 'spaces' set but not used [-Wunused-but-set-variable] int spaces = 1; ^ proxy.c:821:42: warning: operation on 'res' may be undefined [-Wsequence-point] if(socksend(param->remsock, req , (res = (int)strlen((char *)req)), conf.timeouts[STRING_L]) != res) { ^ proxy.c:903:3: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(sb, "%lu", &contentlength); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from proxy.h:19, from proxy.c:11: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ proxy.c:919:3: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if(!strncasecmp(sb, "chunked", 7)){ ^ In file included from proxy.h:21:0, from proxy.c:11: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ proxy.c:1003:4: warning: pointer targets in passing argument 3 of 'sockgetlinebuf' differ in signedness [-Wpointer-sign] while ((i = sockgetlinebuf(param, SERVER, smallbuf, 30, '\n', conf.timeouts[STRING_S])) == 2) { ^ In file included from proxy.c:11:0: proxy.h:160:5: note: expected 'unsigned char *' but argument is of type 'char *' int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); ^ proxy.c:1004:5: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ ^ In file included from proxy.c:11:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ proxy.c:1013:4: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ ^ In file included from proxy.c:11:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ proxy.c:1017:5: warning: pointer targets in passing argument 3 of 'sockgetlinebuf' differ in signedness [-Wpointer-sign] if((i = sockgetlinebuf(param, SERVER, smallbuf, 30, '\n', conf.timeouts[STRING_S])) != 2) RETURN(534); ^ In file included from proxy.c:11:0: proxy.h:160:5: note: expected 'unsigned char *' but argument is of type 'char *' int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); ^ proxy.c:1018:5: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ ^ In file included from proxy.c:11:0: proxy.h:150:5: note: expected 'unsigned char *' but argument is of type 'char *' int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ proxy.c:1059:2: warning: pointer targets in passing argument 2 of 'logurl' differ in signedness [-Wpointer-sign] logurl(param, buf, (char *)req, ftp); ^ proxy.c:138:13: note: expected 'char *' but argument is of type 'unsigned char *' static void logurl(struct clientparam * param, char * buf, char * req, int ftp){ ^ proxy.c:1102:2: warning: pointer targets in passing argument 2 of 'logurl' differ in signedness [-Wpointer-sign] logurl(param, buf, (char *)req, ftp); ^ proxy.c:138:13: note: expected 'char *' but argument is of type 'unsigned char *' static void logurl(struct clientparam * param, char * buf, char * req, int ftp){ ^ proxy.c:228:15: warning: variable 'reqbufsize' set but not used [-Wunused-but-set-variable] int reqsize, reqbufsize; ^ proxy.c:226:6: warning: variable 'anonymous' set but not used [-Wunused-but-set-variable] int anonymous; ^ In file included from proxy.c:1119:0: proxymain.c: In function 'main': proxymain.c:439:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ In file included from proxy.h:21:0, from proxy.c:11: /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 proxy.c:1119:0: proxymain.c:439:2: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ In file included from /usr/include/string.h:633:0, from proxy.h:21, from proxy.c:11: /usr/include/bits/string2.h:1301:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ In file included from proxy.c:1119:0: proxymain.c:439:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^ gcc -o proxy -Wall -O2 -pthread sockmap.o proxy.o sockgetchar.o myalloc.o common.o base64.o ftp.o -lcrypto -lssl -ldl gcc -o countersutil.o -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL countersutil.c gcc -o countersutil -Wall -O2 -pthread countersutil.o -lcrypto -lssl -ldl make[2]: Entering directory `/builddir/build/BUILD/3proxy-0.7/src/plugins/SSLPlugin' gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL ssl_plugin.c ssl_plugin.c: In function 'ssl_plugin': ssl_plugin.c:346:17: warning: assignment from incompatible pointer type [enabled by default] pl->so->_send = ssl_send; ^ ssl_plugin.c:347:17: warning: assignment from incompatible pointer type [enabled by default] pl->so->_recv = ssl_recv; ^ ssl_plugin.c:348:19: warning: assignment from incompatible pointer type [enabled by default] pl->so->_sendto = ssl_sendto; ^ ssl_plugin.c:349:21: warning: assignment from incompatible pointer type [enabled by default] pl->so->_recvfrom = ssl_recvfrom; ^ gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL my_ssl.c my_ssl.c: In function 'ssl_copy_cert': my_ssl.c:108:16: warning: unused variable 'p3' [-Wunused-variable] unsigned char p3[] = "3proxy CA"; ^ my_ssl.c:107:16: warning: unused variable 'p2' [-Wunused-variable] unsigned char p2[] = "3proxy"; ^ my_ssl.c:106:16: warning: unused variable 'p1' [-Wunused-variable] unsigned char p1[] = "RU"; ^ my_ssl.c:104:7: warning: unused variable 'rsa' [-Wunused-variable] RSA *rsa = NULL; ^ my_ssl.c:103:12: warning: unused variable 'pk' [-Wunused-variable] EVP_PKEY *pk = NULL; ^ my_ssl.c: At top level: my_ssl.c:63:12: warning: 'add_ext' defined but not used [-Wunused-function] static int add_ext(X509 *cert, int nid, char *value) ^ gcc -o ../../SSLPlugin.ld.so -Wall -O2 -pthread -shared ssl_plugin.o my_ssl.o -lcrypto -lssl -ldl make[2]: Leaving directory `/builddir/build/BUILD/3proxy-0.7/src/plugins/SSLPlugin' make[2]: Entering directory `/builddir/build/BUILD/3proxy-0.7/src/plugins/StringsPlugin' gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL StringsPlugin.c gcc -o ../../StringsPlugin.ld.so -Wall -O2 -pthread -shared StringsPlugin.o make[2]: Leaving directory `/builddir/build/BUILD/3proxy-0.7/src/plugins/StringsPlugin' make[2]: Entering directory `/builddir/build/BUILD/3proxy-0.7/src/plugins/TrafficPlugin' gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL TrafficPlugin.c TrafficPlugin.c: In function 'mylogfunc': TrafficPlugin.c:194:31: warning: comparison between 'TRAFCORRECT_TYPE' and 'enum ' [-Wenum-compare] ( ((starttrafcorrect->type == UDP) && ^ TrafficPlugin.c:199:34: warning: comparison between 'TRAFCORRECT_TYPE' and 'enum ' [-Wenum-compare] )||(starttrafcorrect->type == TCP))) /* TCP support */ ^ gcc -o ../../TrafficPlugin.ld.so -Wall -O2 -pthread -shared TrafficPlugin.o make[2]: Leaving directory `/builddir/build/BUILD/3proxy-0.7/src/plugins/TrafficPlugin' make[2]: Entering directory `/builddir/build/BUILD/3proxy-0.7/src/plugins/PCREPlugin' gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_compile.c gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_config.c gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_dfa_exec.c gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_exec.c gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_fullinfo.c gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_get.c gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_globals.c gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_info.c gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_maketables.c gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_newline.c gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_ord2utf8.c gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_refcount.c gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_study.c gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_tables.c gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_try_flipped.c gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_ucp_searchfuncs.c gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_valid_utf8.c gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_version.c gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_xclass.c gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_dftables.c gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_plugin.c pcre_plugin.c: In function 'pcre_filter_buffer': pcre_plugin.c:136:25: warning: pointer targets in passing argument 3 of 'pcre_exec' differ in signedness [-Wpointer-sign] #define pcrefd ((struct pcre_filter_data *)fc) ^ pcre_plugin.c:148:21: note: in expansion of macro 'pcrefd' count = pcre_exec(pcrefd->re, NULL, *buf_p, *length_p, offset, 0, ovector, 48); ^ In file included from pcre_plugin.c:12:0: pcre.h:279:20: note: expected 'const char *' but argument is of type 'unsigned char *' PCRE_EXP_DECL int pcre_exec(const pcre *, const pcre_extra *, PCRE_SPTR, ^ pcre_plugin.c:199:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *buf_p = newbuf; ^ pcre_plugin.c: In function 'h_pcre': pcre_plugin.c:233:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(!strcmp(argv[2], "allow")) action = PASS; ^ In file included from pcre_plugin.c:11: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) ^ pcre_plugin.c:233:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(argv[2], "allow")) action = PASS; ^ pcre_plugin.c:233:2: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:233:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from pcre_plugin.c:11: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) ^ pcre_plugin.c:233:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(argv[2], "allow")) action = PASS; ^ pcre_plugin.c:233:2: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:233:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] pcre_plugin.c:233:2: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:233:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] pcre_plugin.c:233:2: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:234:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if(!strcmp(argv[2], "deny")) action = REJECT; ^ In file included from pcre_plugin.c:11: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) ^ pcre_plugin.c:234:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if(!strcmp(argv[2], "deny")) action = REJECT; ^ pcre_plugin.c:234:2: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:234:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from pcre_plugin.c:11: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) ^ pcre_plugin.c:234:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if(!strcmp(argv[2], "deny")) action = REJECT; ^ pcre_plugin.c:234:2: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:234:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] pcre_plugin.c:234:2: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:234:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] pcre_plugin.c:234:2: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:235:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if(!strcmp(argv[2], "remove")) action = REMOVE; ^ In file included from pcre_plugin.c:11: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) ^ pcre_plugin.c:235:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if(!strcmp(argv[2], "remove")) action = REMOVE; ^ pcre_plugin.c:235:2: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:235:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from pcre_plugin.c:11: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) ^ pcre_plugin.c:235:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if(!strcmp(argv[2], "remove")) action = REMOVE; ^ pcre_plugin.c:235:2: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:235:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] pcre_plugin.c:235:2: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:235:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] pcre_plugin.c:235:2: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:236:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if(!strcmp(argv[2], "dunno")) action = CONTINUE; ^ In file included from pcre_plugin.c:11: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) ^ pcre_plugin.c:236:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if(!strcmp(argv[2], "dunno")) action = CONTINUE; ^ pcre_plugin.c:236:2: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:236:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from pcre_plugin.c:11: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) ^ pcre_plugin.c:236:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if(!strcmp(argv[2], "dunno")) action = CONTINUE; ^ pcre_plugin.c:236:2: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:236:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] pcre_plugin.c:236:2: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:236:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] pcre_plugin.c:236:2: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:238:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(!strcmp(argv[0], "pcre_rewrite")) { ^ In file included from pcre_plugin.c:11: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) ^ pcre_plugin.c:238:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(argv[0], "pcre_rewrite")) { ^ pcre_plugin.c:238:2: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:238:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from pcre_plugin.c:11: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) ^ pcre_plugin.c:238:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(argv[0], "pcre_rewrite")) { ^ pcre_plugin.c:238:2: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:238:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] pcre_plugin.c:238:2: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:238:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] pcre_plugin.c:238:2: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:241:3: warning: pointer targets in passing argument 1 of 'pl->mystrdup' differ in signedness [-Wpointer-sign] replace = pl->mystrdup(argv[4]); ^ pcre_plugin.c:241:3: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:299:2: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if(strstr(argv[1], "request"))newf->filter_request = pcre_filter_buffer; ^ In file included from pcre_plugin.c:11: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) ^ pcre_plugin.c:300:2: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if(strstr(argv[1], "cliheader"))newf->filter_header_cli = pcre_filter_buffer; ^ In file included from pcre_plugin.c:11: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) ^ pcre_plugin.c:301:2: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if(strstr(argv[1], "clidata"))newf->filter_data_cli = pcre_filter_buffer; ^ In file included from pcre_plugin.c:11: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) ^ pcre_plugin.c:302:2: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if(strstr(argv[1], "srvheader"))newf->filter_header_srv = pcre_filter_buffer; ^ In file included from pcre_plugin.c:11: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) ^ pcre_plugin.c:303:2: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if(strstr(argv[1], "srvdata"))newf->filter_data_srv = pcre_filter_buffer; ^ In file included from pcre_plugin.c:11: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) ^ pcre_plugin.c: In function 'h_pcre_options': pcre_plugin.c:337:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(!strcmp(pcreopts[i].name, argv[j])) ^ In file included from pcre_plugin.c:11: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) ^ pcre_plugin.c:337:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(pcreopts[i].name, argv[j])) ^ pcre_plugin.c:337:4: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:337:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] pcre_plugin.c:337:4: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:337:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from pcre_plugin.c:11: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) ^ pcre_plugin.c:337:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(pcreopts[i].name, argv[j])) ^ pcre_plugin.c:337:4: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:337:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] pcre_plugin.c:337:4: note: expected 'const char *' but argument is of type 'unsigned char *' gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcreposix.c gcc -o ../../PCREPlugin.ld.so -Wall -O2 -pthread -shared pcre_compile.o pcre_config.o pcre_dfa_exec.o pcre_exec.o pcre_fullinfo.o pcre_get.o pcre_globals.o pcre_info.o pcre_maketables.o pcre_newline.o pcre_ord2utf8.o pcre_refcount.o pcre_study.o pcre_tables.o pcre_try_flipped.o pcre_ucp_searchfuncs.o pcre_valid_utf8.o pcre_version.o pcre_xclass.o pcre_dftables.o pcre_plugin.o pcreposix.o make[2]: Leaving directory `/builddir/build/BUILD/3proxy-0.7/src/plugins/PCREPlugin' make[2]: Entering directory `/builddir/build/BUILD/3proxy-0.7/src/plugins/TransparentPlugin' gcc -fpic -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL transparent_plugin.c gcc -o ../../TransparentPlugin.ld.so -Wall -O2 -pthread -shared transparent_plugin.o make[2]: Leaving directory `/builddir/build/BUILD/3proxy-0.7/src/plugins/TransparentPlugin' make[1]: Leaving directory `/builddir/build/BUILD/3proxy-0.7/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.O1o9OP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386 ++ dirname /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386 + cd 3proxy-0.7 + rm -rf /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386 + mkdir -p /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/etc + mkdir -p /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/etc/NetworkManager/dispatcher.d/ + mkdir -p /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/share/man/man3 /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/var/log/3proxy + install -m755 -D src/3proxy /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/bin/3proxy + install -m755 -D src/dighosts /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/bin/dighosts + install -m755 -D src/ftppr /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/bin/ftppr + install -m755 -D src/mycrypt /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/bin/mycrypt + install -m755 -D src/pop3p /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/bin/pop3p + install -m755 -D src/3proxy /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/bin/3proxy + install -m755 -D src/proxy /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/bin/htproxy + install -m755 -D src/socks /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/bin/socks + install -m755 -D src/tcppm /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/bin/tcppm + install -m755 -D src/udppm /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/bin/udppm + install -pD -m755 /builddir/build/SOURCES/3proxy.init /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386//etc/rc.d/init.d/3proxy + install -pD -m644 /builddir/build/SOURCES/3proxy.cfg /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386//etc/3proxy.cfg + install -pD -m755 /builddir/build/SOURCES/3proxy.service /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386//usr/lib/systemd/system/3proxy.service + for man in 'man/*.{3,8}' + install man/3proxy.cfg.3 /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/share/man/man3/ + for man in 'man/*.{3,8}' + install man/3proxy.8 /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/share/man/man8/ + for man in 'man/*.{3,8}' + install man/ftppr.8 /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/share/man/man8/ + for man in 'man/*.{3,8}' + install man/icqpr.8 /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/share/man/man8/ + for man in 'man/*.{3,8}' + install man/pop3p.8 /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/share/man/man8/ + for man in 'man/*.{3,8}' + install man/proxy.8 /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/share/man/man8/ + for man in 'man/*.{3,8}' + install man/smtpp.8 /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/share/man/man8/ + for man in 'man/*.{3,8}' + install man/socks.8 /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/share/man/man8/ + for man in 'man/*.{3,8}' + install man/tcppm.8 /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/share/man/man8/ + for man in 'man/*.{3,8}' + install man/udppm.8 /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/share/man/man8/ + cat + /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/3proxy-0.7 extracting debug info from /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/bin/ftppr extracting debug info from /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/bin/tcppm extracting debug info from /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/bin/mycrypt extracting debug info from /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/bin/socks extracting debug info from /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/bin/dighosts extracting debug info from /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/bin/3proxy extracting debug info from /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/bin/pop3p extracting debug info from /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/bin/htproxy extracting debug info from /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/bin/udppm /usr/lib/rpm/sepdebugcrcfix: Updated 9 CRC32s, 0 CRC32s did match. 730 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: 3proxy-0.7-1.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.USlDB0 + umask 022 + cd /builddir/build/BUILD + cd 3proxy-0.7 + DOCDIR=/builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/share/doc/3proxy-0.7 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/share/doc/3proxy-0.7 + cp -pr Readme /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/share/doc/3proxy-0.7 + cp -pr Changelog /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/share/doc/3proxy-0.7 + cp -pr authors /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/share/doc/3proxy-0.7 + cp -pr copying /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/share/doc/3proxy-0.7 + cp -pr news /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386/usr/share/doc/3proxy-0.7 + exit 0 Provides: 3proxy = 0.7-1.el7 3proxy(x86-32) = 0.7-1.el7 config(3proxy) = 0.7-1.el7 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd systemd-sysv systemd-units Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.7) libcrypto.so.10 libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) libssl.so.10 rtld(GNU_HASH) Processing files: 3proxy-sysvinit-0.7-1.el7.i686 Provides: 3proxy-sysvinit = 0.7-1.el7 3proxy-sysvinit(x86-32) = 0.7-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh Processing files: 3proxy-debuginfo-0.7-1.el7.i686 Provides: 3proxy-debuginfo = 0.7-1.el7 3proxy-debuginfo(x86-32) = 0.7-1.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/3proxy-0.7-1.el7.i386 Wrote: /builddir/build/RPMS/3proxy-0.7-1.el7.i686.rpm Wrote: /builddir/build/RPMS/3proxy-sysvinit-0.7-1.el7.i686.rpm Wrote: /builddir/build/RPMS/3proxy-debuginfo-0.7-1.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.sFpi9J + umask 022 + cd /builddir/build/BUILD + cd 3proxy-0.7 + rm -rf /builddir/build/BUILDROOT/3proxy-0.7-1.el7.i386 + exit 0 Child return code was: 0 LEAVE do -->