=> Building comms/tcpser build started at Tue Oct 4 21:17:35 PDT 2016 port directory: /usr/ports/comms/tcpser building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: ports@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../04//usr/ports/comms/tcpser/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=tcpser-1.0.r12 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for tcpser-1.0.r12: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/comms/tcpser XDG_CONFIG_HOME=/wrkdirs/comms/tcpser HOME=/wrkdirs/comms/tcpser TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/comms/tcpser XDG_CONFIG_HOME=/wrkdirs/comms/tcpser HOME=/wrkdirs/comms/tcpser TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -pthread" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/tcpser" EXAMPLESDIR="share/examples/tcpser" DATADIR="share/tcpser" WWWDIR="www/tcpser" ETCDIR="etc/tcpser" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/tcpser DOCSDIR=/usr/local/share/doc/tcpser EXAMPLESDIR=/usr/local/share/examples/tcpser WWWDIR=/usr/local/www/tcpser ETCDIR=/usr/local/etc/tcpser --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> NOTICE: The tcpser port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2+ accepted by the user =========================================================================== =================================================== ===> tcpser-1.0.r12 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> tcpser-1.0.r12 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of tcpser-1.0.r12 =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The tcpser port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by tcpser-1.0.r12 for building =========================================================================== =================================================== ===> NOTICE: The tcpser port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by tcpser-1.0.r12 for building => SHA256 Checksum OK for tcpser-1.0rc12.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The tcpser port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by tcpser-1.0.r12 for building ===> Extracting for tcpser-1.0.r12 => SHA256 Checksum OK for tcpser-1.0rc12.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for tcpser-1.0.r12 ===> Converting DOS text files to UNIX text files ===> Applying ports patches for tcpser-1.0.r12 =========================================================================== =================================================== ===> tcpser-1.0.r12 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_1.txz Installing gmake-4.2.1_1... `-- Installing indexinfo-0.2.5... `-- Extracting indexinfo-0.2.5: .... done `-- Installing gettext-runtime-0.19.8.1... `-- Extracting gettext-runtime-0.19.8.1: .......... done Extracting gmake-4.2.1_1: .......... done ===> tcpser-1.0.r12 depends on executable: gmake - found ===> Returning to build of tcpser-1.0.r12 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for tcpser-1.0.r12 =========================================================================== =================================================== ===> Building for tcpser-1.0.r12 gmake[1]: Entering directory '/wrkdirs/comms/tcpser/tcpser' cc -pipe -O2 -fno-strict-aliasing -Wall -c -o src/bridge.o src/bridge.c cc -pipe -O2 -fno-strict-aliasing -Wall -c -o src/debug.o src/debug.c cc -pipe -O2 -fno-strict-aliasing -Wall -c -o src/getcmd.o src/getcmd.c cc -pipe -O2 -fno-strict-aliasing -Wall -c -o src/ip.o src/ip.c cc -pipe -O2 -fno-strict-aliasing -Wall -c -o src/init.o src/init.c src/init.c: In function 'init': src/init.c:86:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.local_answer,optarg,sizeof(cfg[i].data.local_answer)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:89:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.remote_answer,optarg,sizeof(cfg[i].data.remote_answer)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:92:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.local_connect,optarg,sizeof(cfg[i].data.local_connect)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:95:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.remote_connect,optarg,sizeof(cfg[i].data.remote_connect)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:98:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(all_busy,optarg,all_busy_len); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:101:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.no_answer,optarg,sizeof(cfg[i].data.no_answer)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:104:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.inactive,optarg,sizeof(cfg[i].data.inactive)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:107:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].config0,optarg,255); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:116:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] tok=strtok(optarg,"="); ^ src/init.c:117:20: warning: pointer targets in passing argument 2 of 'pb_add' differ in signedness [-Wpointer-sign] pb_add(tok,strtok(NULL,"=")); ^ In file included from src/init.c:5:0: src/phone_book.h:2:5: note: expected 'unsigned char *' but argument is of type 'char *' int pb_add(unsigned char* from,unsigned char* to); ^ src/init.c:134:20: warning: pointer targets in passing argument 1 of 'print_help' differ in signedness [-Wpointer-sign] print_help(argv[0]); ^ src/init.c:8:6: note: expected 'unsigned char *' but argument is of type 'char *' void print_help(unsigned char* name) { ^ src/init.c:145:21: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].config0,cfg[i-1].config0,sizeof(cfg[i].config0)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:145:36: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].config0,cfg[i-1].config0,sizeof(cfg[i].config0)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:146:21: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.local_connect,cfg[i-1].data.local_connect,sizeof(cfg[i].data.local_connect)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:146:47: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.local_connect,cfg[i-1].data.local_connect,sizeof(cfg[i].data.local_connect)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:147:21: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.remote_connect,cfg[i-1].data.remote_connect,sizeof(cfg[i].data.remote_connect)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:147:48: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.remote_connect,cfg[i-1].data.remote_connect,sizeof(cfg[i].data.remote_connect)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:148:21: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.local_answer,cfg[i-1].data.local_answer,sizeof(cfg[i].data.local_answer)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:148:46: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.local_answer,cfg[i-1].data.local_answer,sizeof(cfg[i].data.local_answer)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:149:21: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.remote_answer,cfg[i-1].data.remote_answer,sizeof(cfg[i].data.remote_answer)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:149:47: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.remote_answer,cfg[i-1].data.remote_answer,sizeof(cfg[i].data.remote_answer)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:150:21: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.no_answer,cfg[i-1].data.no_answer,sizeof(cfg[i].data.no_answer)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:150:43: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.no_answer,cfg[i-1].data.no_answer,sizeof(cfg[i].data.no_answer)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:151:21: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.inactive,cfg[i-1].data.inactive,sizeof(cfg[i].data.inactive)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:151:42: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.inactive,cfg[i-1].data.inactive,sizeof(cfg[i].data.inactive)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:157:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].dce_data.tty,optarg,sizeof(cfg[i].dce_data.tty)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:167:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg[i].data.direct_conn_num,optarg,sizeof(cfg[i].data.direct_conn_num)); ^ In file included from src/debug.h:20:0, from src/init.c:4: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/init.c:178:16: warning: pointer targets in passing argument 1 of 'print_help' differ in signedness [-Wpointer-sign] print_help(argv[0]); ^ src/init.c:8:6: note: expected 'unsigned char *' but argument is of type 'char *' void print_help(unsigned char* name) { ^ In file included from src/bridge.c:11:0: src/bridge.c: In function 'spawn_ctrl_thread': src/bridge.c:208:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] LOG(LOG_ALL,"CTRL thread ID=%d",(int)thread_id); ^ src/debug.h:35:45: note: in definition of macro 'LOG' fprintf(log_file,args); \ ^ src/bridge.c: In function 'spawn_ip_thread': src/bridge.c:222:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] LOG(LOG_ALL,"IP thread ID=%d",(int)thread_id); ^ src/debug.h:35:45: note: in definition of macro 'LOG' fprintf(log_file,args); \ ^ src/bridge.c: In function 'run_bridge': src/bridge.c:264:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->cur_line,cfg->config0,sizeof(cfg->cur_line)); ^ In file included from src/debug.h:20:0, from src/bridge.c:11: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/bridge.c:264:25: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->cur_line,cfg->config0,sizeof(cfg->cur_line)); ^ In file included from src/debug.h:20:0, from src/bridge.c:11: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/bridge.c:273:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strlen(cfg->data.direct_conn_num) > 0 && ^ In file included from src/debug.h:20:0, from src/bridge.c:11: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ src/bridge.c:276:15: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->dialno,cfg->data.direct_conn_num,sizeof(cfg->dialno)); ^ In file included from src/debug.h:20:0, from src/bridge.c:11: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/bridge.c:276:27: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->dialno,cfg->data.direct_conn_num,sizeof(cfg->dialno)); ^ In file included from src/debug.h:20:0, from src/bridge.c:11: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/bridge.c:294:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strlen(cfg->data.local_connect) > 0) { ^ In file included from src/debug.h:20:0, from src/bridge.c:11: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ src/bridge.c:297:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strlen(cfg->data.remote_connect) > 0) { ^ In file included from src/debug.h:20:0, from src/bridge.c:11: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ src/bridge.c:301:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strlen(cfg->data.local_answer) > 0) { ^ In file included from src/debug.h:20:0, from src/bridge.c:11: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ src/bridge.c:304:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strlen(cfg->data.remote_answer) > 0) { ^ In file included from src/debug.h:20:0, from src/bridge.c:11: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ src/bridge.c:358:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strlen(cfg->data.no_answer) == 0) { ^ In file included from src/debug.h:20:0, from src/bridge.c:11: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ src/bridge.c:359:65: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] line_write(cfg,(unsigned char*)MDM_NO_ANSWER,strlen(MDM_NO_ANSWER)); ^ In file included from src/debug.h:20:0, from src/bridge.c:11: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *) __pure; ^ src/debug.c: In function 'log_init': src/debug.c:20:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] trace_type[TRACE_MODEM_IN]="RS<-"; ^ src/debug.c:21:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] trace_type[TRACE_MODEM_OUT]="RS->"; ^ src/debug.c:22:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] trace_type[TRACE_IP_IN]="IP<-"; ^ src/debug.c:23:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] trace_type[TRACE_IP_OUT]="IP->"; ^ src/debug.c:24:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] log_desc[LOG_FATAL]="FATAL"; ^ src/debug.c:25:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] log_desc[LOG_ERROR]="ERROR"; ^ src/debug.c:26:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] log_desc[LOG_WARN]="WARN"; ^ src/debug.c:27:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] log_desc[LOG_INFO]="INFO"; ^ src/debug.c:28:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] log_desc[LOG_DEBUG]="DEBUG"; ^ src/debug.c:29:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] log_desc[LOG_ENTER_EXIT]="ENTER_EXIT"; ^ src/debug.c:30:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] log_desc[LOG_ALL]="DEBUG_X"; ^ src/debug.c:31:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] log_desc[LOG_TRACE]=""; ^ src/ip.c: In function 'ip_connect': src/ip.c:91:34: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] address=(unsigned char*)strtok(addy,":"); ^ In file included from src/debug.h:20:0, from src/ip.c:9: /usr/include/string.h:140:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strtok(char * __restrict, const char * __restrict); ^ src/ip.c:92:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] tmp=(unsigned char*)strtok((unsigned char*)0,":"); ^ In file included from src/debug.h:20:0, from src/ip.c:9: /usr/include/string.h:140:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strtok(char * __restrict, const char * __restrict); ^ src/debug.c: In function 'log_trace': src/debug.c:76:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(dptr,"%4.4x|",i); ^ src/ip.c:93:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(tmp != NULL && strlen(tmp) > 0) { ^ In file included from src/debug.h:20:0, from src/ip.c:9: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ In file included from src/debug.c:4:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...); ^ src/ip.c:94:15: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] port=atoi(tmp); ^ In file included from src/ip.c:7:0: /usr/include/stdlib.h:89:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^ src/debug.c:79:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(dptr + 5 + ((i % 16) * 3),"%2.2x",ch); ^ In file included from src/debug.c:4:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...); ^ src/ip.c:101:26: warning: pointer targets in passing argument 1 of 'gethostbyname' differ in signedness [-Wpointer-sign] if ((hp = gethostbyname(address)) == 0) { ^ In file included from src/ip.c:5:0: /usr/include/netdb.h:211:17: note: expected 'const char *' but argument is of type 'unsigned char *' struct hostent *gethostbyname(const char *); ^ src/ip.c:103:23: warning: pointer targets in passing argument 1 of '__inet_aton' differ in signedness [-Wpointer-sign] if(1 != inet_aton(address,&cin_addr)) { ^ src/debug.c:90:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(dptr + 7 + ((i % 16) * 3)," "); ^ In file included from src/ip.c:4:0: /usr/include/arpa/inet.h:128:7: note: expected 'const char *' but argument is of type 'unsigned char *' int inet_aton(const char *, struct in_addr *); ^ In file included from src/debug.c:4:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...); ^ src/debug.c:96:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(dptr + 5 + ((i % 16) * 3)," "); ^ In file included from src/debug.c:4:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...); ^ src/debug.c:98:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(dptr + 7 + ((i % 16) * 3)," "); ^ In file included from src/debug.c:4:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...); ^ src/debug.c: In function 'log_start': src/debug.c:118:14: warning: pointer targets in passing argument 1 of 'strftime' differ in signedness [-Wpointer-sign] strftime(t,22,"%Y-%m-%d %H:%M:%S",localtime(&now)); ^ In file included from src/debug.c:2:0: /usr/include/time.h:158:8: note: expected 'char * restrict' but argument is of type 'unsigned char *' size_t strftime(char * __restrict, size_t, const char * __restrict, ^ src/debug.c:119:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(log_file,"%s:%5.5d:%s:",t,(int)pthread_self(),log_desc[level]); ^ src/ip.c: In function 'ip_accept': src/ip.c:142:20: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] &clientLength ^ In file included from src/ip.c:2:0: /usr/include/sys/socket.h:484:5: note: expected 'socklen_t * {aka unsigned int *}' but argument is of type 'int *' int accept(int, struct sockaddr *, socklen_t *); ^ src/ip.c:151:25: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] &clientLength ^ In file included from src/ip.c:2:0: /usr/include/sys/socket.h:490:5: note: expected 'socklen_t * {aka unsigned int *}' but argument is of type 'int *' int getpeername(int, struct sockaddr *, socklen_t *); ^ src/getcmd.c: In function 'getcmd': src/getcmd.c:165:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len=strlen(line); ^ In file included from src/getcmd.c:3:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ cc -pipe -O2 -fno-strict-aliasing -Wall -c -o src/modem_core.o src/modem_core.c src/modem_core.c: In function 'mdm_init': src/modem_core.c:11:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_OK]="OK"; ^ src/modem_core.c:12:31: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_RING]="RING"; ^ src/modem_core.c:13:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_ERROR]="ERROR"; ^ src/modem_core.c:14:34: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT]="CONNECT"; ^ src/modem_core.c:15:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_NO_CARRIER]="NO CARRIER"; ^ src/modem_core.c:16:40: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_1200] = "CONNECT 1200"; ^ src/modem_core.c:17:39: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_NO_DIALTONE] = "NO DIALTONE"; ^ src/modem_core.c:18:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_BUSY] = "BUSY"; ^ src/modem_core.c:19:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_NO_ANSWER] = "NO ANSWER"; ^ src/modem_core.c:20:40: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_0600] = "CONNECT 0600"; ^ src/modem_core.c:21:40: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_2400] = "CONNECT 2400"; ^ src/modem_core.c:22:40: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_4800] = "CONNECT 4800"; ^ src/modem_core.c:23:40: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_9600] = "CONNECT 9600"; ^ src/modem_core.c:24:40: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_7200] = "CONNECT 7200"; ^ src/modem_core.c:25:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_12000] = "CONNECT 12000"; ^ src/modem_core.c:26:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_14400] = "CONNECT 14400"; ^ src/modem_core.c:27:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_19200] = "CONNECT 19200"; ^ src/modem_core.c:28:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_38400] = "CONNECT 38400"; ^ src/modem_core.c:29:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_57600] = "CONNECT 57600"; ^ src/modem_core.c:30:42: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_115200] = "CONNECT 115200"; ^ src/modem_core.c:31:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_CONNECT_234000]="CONNECT 230400"; ^ src/modem_core.c: In function 'mdm_send_response': src/modem_core.c:187:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] mdm_write(cfg,mdm_responses[msg],strlen(mdm_responses[msg])); ^ In file included from src/debug.h:20:0, from src/modem_core.c:5: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ src/modem_core.c:190:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(msgID,"%d",msg); ^ In file included from src/debug.h:19:0, from src/modem_core.c:5: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...); ^ src/modem_core.c:191:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] mdm_write(cfg,msgID,strlen(msgID)); ^ In file included from src/debug.h:20:0, from src/modem_core.c:5: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ src/modem_core.c: In function 'mdm_parse_cmd': src/modem_core.c:341:19: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->dialno,command+start,end-start); ^ In file included from src/debug.h:20:0, from src/modem_core.c:5: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/modem_core.c:341:31: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->dialno,command+start,end-start); ^ In file included from src/debug.h:20:0, from src/modem_core.c:5: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/modem_core.c:345:19: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->last_dialno,command+start,end-start); ^ In file included from src/debug.h:20:0, from src/modem_core.c:5: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/modem_core.c:345:36: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->last_dialno,command+start,end-start); ^ In file included from src/debug.h:20:0, from src/modem_core.c:5: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/modem_core.c:349:55: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncpy(cfg->dialno,cfg->last_dialno,strlen(cfg->last_dialno)); ^ In file included from src/debug.h:20:0, from src/modem_core.c:5: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ src/modem_core.c:349:19: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->dialno,cfg->last_dialno,strlen(cfg->last_dialno)); ^ In file included from src/debug.h:20:0, from src/modem_core.c:5: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/modem_core.c:349:31: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->dialno,cfg->last_dialno,strlen(cfg->last_dialno)); ^ In file included from src/debug.h:20:0, from src/modem_core.c:5: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/modem_core.c:353:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] mdm_write(cfg,cfg->dialno,strlen(cfg->dialno)); ^ In file included from src/debug.h:20:0, from src/modem_core.c:5: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ src/modem_core.c:360:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strlen(cfg->dialno) > 0) { ^ In file included from src/debug.h:20:0, from src/modem_core.c:5: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ src/modem_core.c:422:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp,command+start,end-start); ^ In file included from src/debug.h:20:0, from src/modem_core.c:5: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/modem_core.c:422:21: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp,command+start,end-start); ^ In file included from src/debug.h:20:0, from src/modem_core.c:5: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/modem_core.c:424:26: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] cfg->s[num]=atoi(tmp); ^ In file included from src/modem_core.c:2:0: /usr/include/stdlib.h:89:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^ src/modem_core.c:435:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(tmp,"%s%3.3d",cfg->crlf,cfg->s[num]); ^ In file included from src/debug.h:19:0, from src/modem_core.c:5: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...); ^ src/modem_core.c:436:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] mdm_write(cfg,tmp,strlen(tmp)); ^ In file included from src/debug.h:20:0, from src/modem_core.c:5: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ src/modem_core.c: In function 'mdm_handle_char': src/modem_core.c:536:15: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->last_cmd,cfg->cur_line,sizeof(cfg->last_cmd) - 1); ^ In file included from src/debug.h:20:0, from src/modem_core.c:5: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/modem_core.c:536:29: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->last_cmd,cfg->cur_line,sizeof(cfg->last_cmd) - 1); ^ In file included from src/debug.h:20:0, from src/modem_core.c:5: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/modem_core.c:549:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] cfg->cur_line_idx=strlen(cfg->last_cmd); ^ In file included from src/debug.h:20:0, from src/modem_core.c:5: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ src/modem_core.c:550:15: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->cur_line,cfg->last_cmd,cfg->cur_line_idx); ^ In file included from src/debug.h:20:0, from src/modem_core.c:5: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/modem_core.c:550:29: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(cfg->cur_line,cfg->last_cmd,cfg->cur_line_idx); ^ In file included from src/debug.h:20:0, from src/modem_core.c:5: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ cc -pipe -O2 -fno-strict-aliasing -Wall -c -o src/nvt.o src/nvt.c cc -pipe -O2 -fno-strict-aliasing -Wall -c -o src/serial.o src/serial.c src/serial.c: In function 'ser_init_conn': src/serial.c:88:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] fd = open(tty, O_RDWR | O_NOCTTY); ^ In file included from /usr/include/sys/file.h:40:0, from src/serial.c:1: /usr/include/sys/fcntl.h:258:5: note: expected 'const char *' but argument is of type 'unsigned char *' int open(const char *, int, ...); ^ src/nvt.c: In function 'parse_nvt_subcommand': src/nvt.c:80:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] slen=strlen(tty_type); ^ In file included from src/nvt.c:1:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ src/nvt.c:81:21: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(response + response_len,tty_type,slen); ^ In file included from src/nvt.c:1:0: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/nvt.c:81:45: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(response + response_len,tty_type,slen); ^ In file included from src/nvt.c:1:0: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ cc -pipe -O2 -fno-strict-aliasing -Wall -c -o src/ip232.o src/ip232.c cc -pipe -O2 -fno-strict-aliasing -Wall -c -o src/util.o src/util.c src/ip232.c: In function 'ip232_thread': src/ip232.c:24:7: warning: variable 'res' set but not used [-Wunused-but-set-variable] int res=0; ^ In file included from src/ip232.c:12:0: src/ip232.c: In function 'spawn_ip232_thread': src/ip232.c:78:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] LOG(LOG_ALL,"ip232 thread ID=%d",(int)thread_id); ^ src/debug.h:35:45: note: in definition of macro 'LOG' fprintf(log_file,args); \ ^ src/ip232.c: In function 'ip232_init_conn': src/ip232.c:95:15: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] port = atoi(cfg->dce_data.tty); ^ In file included from src/ip232.c:2:0: /usr/include/stdlib.h:89:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^ src/util.c: In function 'writeFile': src/util.c:24:28: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if(NULL != (file = fopen(name,"rb"))) { ^ In file included from src/util.c:2:0: /usr/include/stdio.h:197:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' FILE *fopen(const char * __restrict, const char * __restrict); ^ cc -pipe -O2 -fno-strict-aliasing -Wall -c -o src/phone_book.o src/phone_book.c src/phone_book.c: In function 'pb_add': src/phone_book.c:20:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] && strlen(from) > 0 ^ In file included from src/phone_book.c:2:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ src/phone_book.c:21:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] && strlen(to) > 0 ^ In file included from src/phone_book.c:2:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ src/phone_book.c:24:13: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(phone_book[size][0],from,sizeof(phone_book[size][0])); ^ In file included from src/phone_book.c:2:0: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/phone_book.c:24:33: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(phone_book[size][0],from,sizeof(phone_book[size][0])); ^ In file included from src/phone_book.c:2:0: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/phone_book.c:25:13: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(phone_book[size][1],to,sizeof(phone_book[size][1])); ^ In file included from src/phone_book.c:2:0: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/phone_book.c:25:33: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(phone_book[size][1],to,sizeof(phone_book[size][1])); ^ In file included from src/phone_book.c:2:0: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ src/phone_book.c: In function 'pb_search': src/phone_book.c:39:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(strcmp(phone_book[i][0],number) == 0) { ^ In file included from src/phone_book.c:2:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^ src/phone_book.c:39:32: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(strcmp(phone_book[i][0],number) == 0) { ^ In file included from src/phone_book.c:2:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^ src/phone_book.c:42:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(number,phone_book[i][1]); ^ In file included from src/phone_book.c:2:0: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^ src/phone_book.c:42:21: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(number,phone_book[i][1]); ^ In file included from src/phone_book.c:2:0: /usr/include/string.h:90:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^ cc -pipe -O2 -fno-strict-aliasing -Wall -c -o src/shared.o src/shared.c cc -pipe -O2 -fno-strict-aliasing -Wall -c -o src/tcpser.o src/tcpser.c cc -pipe -O2 -fno-strict-aliasing -Wall -c -o src/dce.o src/dce.c cc -pipe -O2 -fno-strict-aliasing -Wall -c -o src/line.o src/line.c src/tcpser.c: In function 'main': src/tcpser.c:132:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strlen(all_busy) < 1) { ^ In file included from src/debug.h:20:0, from src/tcpser.c:16: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ src/tcpser.c:133:64: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ip_write(cSocket,(unsigned char*)MDM_BUSY,strlen(MDM_BUSY)); ^ In file included from src/debug.h:20:0, from src/tcpser.c:16: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *) __pure; ^ cc -pthread -o tcpser src/bridge.o src/debug.o src/getcmd.o src/ip.o src/init.o src/modem_core.o src/nvt.o src/serial.o src/ip232.o src/util.o src/phone_book.o src/shared.o src/tcpser.o src/dce.o src/line.o gmake[1]: Leaving directory '/wrkdirs/comms/tcpser/tcpser' =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for tcpser-1.0.r12 ===> Generating temporary packing list install -s -m 555 /wrkdirs/comms/tcpser/tcpser/tcpser /wrkdirs/comms/tcpser/stage/usr/local/bin /bin/mkdir -p /wrkdirs/comms/tcpser/stage/usr/local/share/doc/tcpser install -m 444 /wrkdirs/comms/tcpser/tcpser/README /wrkdirs/comms/tcpser/tcpser/CHANGES /wrkdirs/comms/tcpser/stage/usr/local/share/doc/tcpser ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for tcpser-1.0.r12 file sizes/checksums [6]: . done packing files [6]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for tcpser-1.0.r12 build of comms/tcpser ended at Tue Oct 4 21:17:41 PDT 2016 build time: 00:00:06