=> Building comms/tcpser Started : Thursday, 30 AUG 2018 at 13:22:39 UTC Platform: 5.3-DEVELOPMENT DragonFly 5.3-DEVELOPMENT #140: Wed Aug 29 22:06:30 PDT 2018 root@test.backplane.com:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.3-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.3-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> 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 -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/comms/tcpser XDG_CONFIG_HOME=/construction/comms/tcpser HOME=/construction/comms/tcpser TMPDIR="/tmp" PATH=/construction/comms/tcpser/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/comms/tcpser XDG_CONFIG_HOME=/construction/comms/tcpser HOME=/construction/comms/tcpser TMPDIR="/tmp" PATH=/construction/comms/tcpser/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin 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 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 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/comms/tcpser/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/tcpser" EXAMPLESDIR="share/examples/tcpser" DATADIR="share/tcpser" WWWDIR="www/tcpser" ETCDIR="etc/tcpser" -------------------------------------------------- -- 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 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=12 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500316 OSVERSION=9999999 OSREL=5.3 _OSRELEASE=5.3-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> 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 -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> tcpser-1.0.r12 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: .......... done ===> tcpser-1.0.r12 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of tcpser-1.0.r12 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> 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 -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> 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. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> 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. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for tcpser-1.0.r12 ===> Converting DOS text files to UNIX text files ===> Applying ports patches for tcpser-1.0.r12 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> tcpser-1.0.r12 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_2.txz Installing gmake-4.2.1_2... `-- Installing gettext-runtime-0.19.8.1_1... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_1: .......... done Extracting gmake-4.2.1_2: .......... done ===> tcpser-1.0.r12 depends on executable: gmake - found ===> Returning to build of tcpser-1.0.r12 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for tcpser-1.0.r12 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for tcpser-1.0.r12 gmake[1]: Entering directory '/construction/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 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/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); ^ 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); ^ 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; ^ In file included from src/debug.c:4:0: /usr/include/stdio.h:226:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...) ^ 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:226:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...) ^ 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/debug.c:4:0: /usr/include/stdio.h:226: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:226: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:226: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:167: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]); ^ 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 cc -pipe -O2 -fno-strict-aliasing -Wall -c -o src/modem_core.o src/modem_core.c 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 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 cc -pipe -O2 -fno-strict-aliasing -Wall -c -o src/phone_book.o src/phone_book.c cc -pipe -O2 -fno-strict-aliasing -Wall -c -o src/shared.o src/shared.c 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:198:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' FILE *fopen(const char * __restrict, const char * __restrict); ^ 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) { ^ 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/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); ^ 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/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); ^ 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/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/modem_core.c: In function 'mdm_init': 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/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/phone_book.c: In function 'pb_search': 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/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/modem_core.c:17:39: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdm_responses[MDM_RESP_NO_DIALTONE] = "NO DIALTONE"; ^ 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/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/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); ^ 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:226: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:226: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); ^ src/serial.c: In function 'ser_init_conn': src/ip.c: In function 'ip_connect': 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); ^ 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 /usr/include/sys/file.h:40:0, from src/serial.c:1: /usr/include/sys/fcntl.h:315:5: note: expected 'const char *' but argument is of type 'unsigned char *' int open(const char *, int, ...); ^ 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/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; ^ 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/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:248: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)) { ^ In file included from src/ip.c:4:0: /usr/include/arpa/inet.h:133:7: note: expected 'const char *' but argument is of type 'unsigned char *' int inet_aton(const char *, struct in_addr *); ^ 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:485:5: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 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:491:5: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 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 '/construction/comms/tcpser/tcpser' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for tcpser-1.0.r12 ===> Generating temporary packing list install -s -m 555 /construction/comms/tcpser/tcpser/tcpser /construction/comms/tcpser/stage/usr/local/bin /bin/mkdir -p /construction/comms/tcpser/stage/usr/local/share/doc/tcpser install -m 0644 /construction/comms/tcpser/tcpser/README /construction/comms/tcpser/tcpser/CHANGES /construction/comms/tcpser/stage/usr/local/share/doc/tcpser ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for tcpser-1.0.r12 file sizes/checksums [6]: . done packing files [6]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 30 AUG 2018 at 13:22:47 UTC Duration: 00:00:07