=>> Building net-mgmt/ap-utils build started at Thu Mar 12 11:45:40 EDT 2026 port directory: /usr/ports/net-mgmt/ap-utils package name: ap-utils-1.4.1_6 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: david@catwhisker.org Makefile datestamp: -rw-r--r-- 1 root wheel 793 Aug 27 2024 /usr/ports/net-mgmt/ap-utils/Makefile Ports top last git commit: 26b198eb3ee3 Ports top unclean checkout: no Port dir last git commit: 652c32e84fae Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1404000 Job Id: 06 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1404000 UNAME_v=FreeBSD 14.4-RELEASE 1404000 UNAME_r=14.4-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_4_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for ap-utils-1.4.1_6: DOCS=on: Build and/or install documentation NLS=on: Native Language Support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- david@catwhisker.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/ap-utils/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/ap-utils/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/ap-utils/work/.cache HOME=/wrkdirs/usr/ports/net-mgmt/ap-utils/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/ap-utils/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/ap-utils/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/ap-utils/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/ap-utils/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/ap-utils/work/.cache HOME=/wrkdirs/usr/ports/net-mgmt/ap-utils/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/ap-utils/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/ap-utils/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-I/usr/local/include -DLIBICONV_PLUG" LDFLAGS=" " LIBS="-L/usr/local/lib -lintl" CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG " 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" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" DOCS="" NO_DOCS="@comment " NLS="" NO_NLS="@comment " OSREL=14.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ap-utils" EXAMPLESDIR="share/examples/ap-utils" DATADIR="share/ap-utils" WWWDIR="www/ap-utils" ETCDIR="etc/ap-utils" --End PLIST_SUB-- --SUB_LIST-- DOCS="" NO_DOCS="@comment " NLS="" NO_NLS="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ap-utils DOCSDIR=/usr/local/share/doc/ap-utils EXAMPLESDIR=/usr/local/share/examples/ap-utils WWWDIR=/usr/local/www/ap-utils ETCDIR=/usr/local/etc/ap-utils --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ap-utils-1.4.1_6 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> ap-utils-1.4.1_6 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ap-utils-1.4.1_6 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ap-utils-1.4.1_6 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ap-utils-1.4.1_6 for building => SHA256 Checksum OK for ap-utils-1.4.1.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ap-utils-1.4.1_6 for building ===> Extracting for ap-utils-1.4.1_6 => SHA256 Checksum OK for ap-utils-1.4.1.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for ap-utils-1.4.1_6 ===> Applying FreeBSD patches for ap-utils-1.4.1_6 from /usr/ports/net-mgmt/ap-utils/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ap-utils-1.4.1_6 depends on package: gettext-runtime>=0.26 - not found ===> Installing existing package /packages/All/gettext-runtime-0.26.pkg [pkg.DaveG.ca] Installing gettext-runtime-0.26... [pkg.DaveG.ca] `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] Extracting gettext-runtime-0.26: .......... done ===> ap-utils-1.4.1_6 depends on package: gettext-runtime>=0.26 - found ===> Returning to build of ap-utils-1.4.1_6 ===> ap-utils-1.4.1_6 depends on package: gettext-tools>=0.26 - not found ===> Installing existing package /packages/All/gettext-tools-0.26.pkg [pkg.DaveG.ca] Installing gettext-tools-0.26... [pkg.DaveG.ca] `-- Installing libtextstyle-0.26... [pkg.DaveG.ca] `-- Extracting libtextstyle-0.26: .......... done [pkg.DaveG.ca] Extracting gettext-tools-0.26: .......... done ===> ap-utils-1.4.1_6 depends on package: gettext-tools>=0.26 - found ===> Returning to build of ap-utils-1.4.1_6 ===> ap-utils-1.4.1_6 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> ap-utils-1.4.1_6 depends on file: /usr/local/bin/ccache - found ===> Returning to build of ap-utils-1.4.1_6 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ap-utils-1.4.1_6 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ap-utils-1.4.1_6 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net-mgmt/ap-utils/work/ap-utils-1.4.1/config/config.rpath configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking for ranlib... ranlib checking how to run the C preprocessor... cpp checking for egrep... grep -E checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for fcntl.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for netinet/in.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/socket.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for struct sockaddr.sa_len... yes checking for working memcmp... yes checking return type of signal handlers... void checking for alarm... (cached) yes checking for inet_ntoa... (cached) yes checking for socket... yes checking for strtol... (cached) yes checking for sysinfo... no checking for fork... (cached) yes checking for malloc... (cached) yes checking for free... yes checking for msgfmt... /usr/local/bin/msgfmt checking for gmsgfmt... /usr/local/bin/msgfmt checking for xgettext... /usr/local/bin/xgettext checking for msgmerge... /usr/local/bin/msgmerge checking build system type... amd64-portbld-freebsd14.4 checking host system type... amd64-portbld-freebsd14.4 checking for strerror in -lcposix... no checking for inline... inline checking for off_t... (cached) yes checking for working alloca.h... no checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking whether we are using the GNU C Library 2.1 or newer... no checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for argz.h... (cached) no checking for limits.h... (cached) yes checking for locale.h... (cached) yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking for malloc.h... (cached) yes checking for stddef.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for feof_unlocked... yes checking for fgets_unlocked... no checking for getc_unlocked... yes checking for getcwd... (cached) yes checking for getegid... (cached) yes checking for geteuid... (cached) yes checking for getgid... (cached) yes checking for getuid... (cached) yes checking for mempcpy... yes checking for munmap... (cached) yes checking for putenv... (cached) yes checking for setenv... (cached) yes checking for setlocale... (cached) yes checking for stpcpy... (cached) yes checking for strcasecmp... (cached) yes checking for strdup... (cached) yes checking for strtoul... (cached) yes checking for tsearch... (cached) yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for bison... no checking whether NLS is requested... yes checking whether included gettext is requested... no checking for GNU gettext in libc... no checking for GNU gettext in libintl... yes checking how to link with libintl... /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib checking for initscr in -lncurses... yes checking whether byte ordering is bigendian... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating ap-gl/Makefile config.status: creating lib/Makefile config.status: creating po/Makefile.in config.status: creating intl/Makefile config.status: creating Documentation/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile Thank you for using ap-utils. =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ap-utils-1.4.1_6 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in intl Making all in lib --- reset.o --- --- snmp.o --- --- oui.o --- --- input.o --- --- menu.o --- --- scr.o --- --- wep.o --- --- wlan.o --- --- test.o --- --- stat.o --- --- set_community.o --- --- cmd.o --- --- radio.o --- --- aps.o --- --- ap_search.o --- --- sysinfo.o --- --- common.o --- --- file.o --- --- wep.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT wep.o -MD -MP -MF ".deps/wep.Tpo" -c -o wep.o `test -f 'wep.c' || echo './'`wep.c; then mv -f ".deps/wep.Tpo" ".deps/wep.Po"; else rm -f ".deps/wep.Tpo"; exit 1; fi wep.c:70:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 70 | varbinds[0].oid = privacyWEPEnable; | ^ ~~~~~~~~~~~~~~~~ wep.c:74:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 74 | varbinds[1].oid = privacyDefaultWEPKeyID; | ^ ~~~~~~~~~~~~~~~~~~~~~~ wep.c:150:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 150 | varbinds[i].oid = privacyWEPEnable; | ^ ~~~~~~~~~~~~~~~~ wep.c:153:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 153 | varbinds[i].value = (char *) &wep_hw; | ^ ~~~~~~~~~~~~~~~~ wep.c:159:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 159 | varbinds[i].oid = privacyDefaultWEPKeyID; | ^ ~~~~~~~~~~~~~~~~~~~~~~ wep.c:162:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 162 | varbinds[i].value = (char *) &wepid_hw; | ^ ~~~~~~~~~~~~~~~~~~ wep.c:168:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 168 | varbinds[i].oid = defaultWEPKey[c]; | ^ ~~~~~~~~~~~~~~~~ wep.c:171:25: warning: assigning to 'unsigned char *' from 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 171 | varbinds[i].value = wepkey[c]; | ^ ~~~~~~~~~ wep.c:221:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 221 | varbinds[0].oid = privacyWEPEnable; | ^ ~~~~~~~~~~~~~~~~ wep.c:225:21: warning: assigning to 'unsigned char *' from 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 225 | varbinds[1].oid = oid_smtPublicKeyEnable; | ^ ~~~~~~~~~~~~~~~~~~~~~~ wep.c:229:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 229 | varbinds[2].oid = oid_dot11ExcludeUnencrypted; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ wep.c:233:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 233 | varbinds[3].oid = privacyDefaultWEPKeyID; | ^ ~~~~~~~~~~~~~~~~~~~~~~ wep.c:336:19: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 336 | varbinds[i].oid = privacyWEPEnable; | ^ ~~~~~~~~~~~~~~~~ wep.c:339:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 339 | varbinds[i].value = (char *) &wep; | ^ ~~~~~~~~~~~~~ wep.c:353:19: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 353 | varbinds[i].oid = oid_dot11ExcludeUnencrypted; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ wep.c:356:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 356 | varbinds[i].value = &exclude; | ^ ~~~~~~~~ wep.c:361:19: warning: assigning to 'unsigned char *' from 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 361 | varbinds[i].oid = oid_smtPublicKeyEnable; | ^ ~~~~~~~~~~~~~~~~~~~~~~ wep.c:364:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 364 | varbinds[i].value = &publickey; | ^ ~~~~~~~~~~ wep.c:379:23: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 379 | varbinds[i].oid = privacyDefaultWEPKeyID; | ^ ~~~~~~~~~~~~~~~~~~~~~~ wep.c:382:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 382 | varbinds[i].value = (char *) &wepid_hw; | ^ ~~~~~~~~~~~~~~~~~~ wep.c:396:37: warning: assigning to 'unsigned char *' from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 396 | varbinds[i].oid = defaultWEPKey[c]; | ^ ~~~~~~~~~~~~~~~~ wep.c:399:39: warning: assigning to 'unsigned char *' from 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 399 | varbinds[i].value = wepkey[c]; | ^ ~~~~~~~~~ 22 warnings generated. --- menu.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT menu.o -MD -MP -MF ".deps/menu.Tpo" -c -o menu.o `test -f 'menu.c' || echo './'`menu.c; then mv -f ".deps/menu.Tpo" ".deps/menu.Po"; else rm -f ".deps/menu.Tpo"; exit 1; fi --- input.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT input.o -MD -MP -MF ".deps/input.Tpo" -c -o input.o `test -f 'input.c' || echo './'`input.c; then mv -f ".deps/input.Tpo" ".deps/input.Po"; else rm -f ".deps/input.Tpo"; exit 1; fi --- reset.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT reset.o -MD -MP -MF ".deps/reset.Tpo" -c -o reset.o `test -f 'reset.c' || echo './'`reset.c; then mv -f ".deps/reset.Tpo" ".deps/reset.Po"; else rm -f ".deps/reset.Tpo"; exit 1; fi reset.c:36:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 36 | varbinds[0].oid = sysReset; | ^ ~~~~~~~~ reset.c:38:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 38 | varbinds[0].value = &enable; | ^ ~~~~~~~ reset.c:45:19: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 45 | varbinds[0].oid = operESSID; | ^ ~~~~~~~~~ 3 warnings generated. --- ap_search.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT ap_search.o -MD -MP -MF ".deps/ap_search.Tpo" -c -o ap_search.o `test -f 'ap_search.c' || echo './'`ap_search.c; then mv -f ".deps/ap_search.Tpo" ".deps/ap_search.Po"; else rm -f ".deps/ap_search.Tpo"; exit 1; fi --- snmp.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT snmp.o -MD -MP -MF ".deps/snmp.Tpo" -c -o snmp.o `test -f 'snmp.c' || echo './'`snmp.c; then mv -f ".deps/snmp.Tpo" ".deps/snmp.Po"; else rm -f ".deps/snmp.Tpo"; exit 1; fi --- oui.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT oui.o -MD -MP -MF ".deps/oui.Tpo" -c -o oui.o `test -f 'oui.c' || echo './'`oui.c; then mv -f ".deps/oui.Tpo" ".deps/oui.Po"; else rm -f ".deps/oui.Tpo"; exit 1; fi --- sysinfo.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT sysinfo.o -MD -MP -MF ".deps/sysinfo.Tpo" -c -o sysinfo.o `test -f 'sysinfo.c' || echo './'`sysinfo.c; then mv -f ".deps/sysinfo.Tpo" ".deps/sysinfo.Po"; else rm -f ".deps/sysinfo.Tpo"; exit 1; fi --- common.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT common.o -MD -MP -MF ".deps/common.Tpo" -c -o common.o `test -f 'common.c' || echo './'`common.c; then mv -f ".deps/common.Tpo" ".deps/common.Po"; else rm -f ".deps/common.Tpo"; exit 1; fi --- scr.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT scr.o -MD -MP -MF ".deps/scr.Tpo" -c -o scr.o `test -f 'scr.c' || echo './'`scr.c; then mv -f ".deps/scr.Tpo" ".deps/scr.Po"; else rm -f ".deps/scr.Tpo"; exit 1; fi scr.c:111:5: warning: 'sprintf' will always overflow; destination buffer has size 7, but format string expands to at least 8 [-Wformat-overflow] 111 | sprintf(message, "View: %c", v + '0'); | ^ 1 warning generated. --- wlan.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT wlan.o -MD -MP -MF ".deps/wlan.Tpo" -c -o wlan.o `test -f 'wlan.c' || echo './'`wlan.c; then mv -f ".deps/wlan.Tpo" ".deps/wlan.Po"; else rm -f ".deps/wlan.Tpo"; exit 1; fi --- test.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT test.o -MD -MP -MF ".deps/test.Tpo" -c -o test.o `test -f 'test.c' || echo './'`test.c; then mv -f ".deps/test.Tpo" ".deps/test.Po"; else rm -f ".deps/test.Tpo"; exit 1; fi --- stat.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT stat.o -MD -MP -MF ".deps/stat.Tpo" -c -o stat.o `test -f 'stat.c' || echo './'`stat.c; then mv -f ".deps/stat.Tpo" ".deps/stat.Po"; else rm -f ".deps/stat.Tpo"; exit 1; fi stat.c:82:18: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 82 | varbinds[0].oid = EthRx; | ^ ~~~~~ stat.c:84:18: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 84 | varbinds[1].oid = EthTx; | ^ ~~~~~ --- set_community.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT set_community.o -MD -MP -MF ".deps/set_community.Tpo" -c -o set_community.o `test -f 'set_community.c' || echo './'`set_community.c; then mv -f ".deps/set_community.Tpo" ".deps/set_community.Po"; else rm -f ".deps/set_community.Tpo"; exit 1; fi --- cmd.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT cmd.o -MD -MP -MF ".deps/cmd.Tpo" -c -o cmd.o `test -f 'cmd.c' || echo './'`cmd.c; then mv -f ".deps/cmd.Tpo" ".deps/cmd.Po"; else rm -f ".deps/cmd.Tpo"; exit 1; fi cmd.c:69:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 69 | varbinds[0].oid = sysLoadDefaults; | ^ ~~~~~~~~~~~~~~~ cmd.c:71:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 71 | varbinds[0].value = &enable; | ^ ~~~~~~~ --- radio.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT radio.o -MD -MP -MF ".deps/radio.Tpo" -c -o radio.o `test -f 'radio.c' || echo './'`radio.c; then mv -f ".deps/radio.Tpo" ".deps/radio.Po"; else rm -f ".deps/radio.Tpo"; exit 1; fi --- aps.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT aps.o -MD -MP -MF ".deps/aps.Tpo" -c -o aps.o `test -f 'aps.c' || echo './'`aps.c; then mv -f ".deps/aps.Tpo" ".deps/aps.Po"; else rm -f ".deps/aps.Tpo"; exit 1; fi --- stat.o --- stat.c:88:20: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 88 | varbinds[0].value = EthTx; | ^ ~~~~~ stat.c:91:20: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 91 | varbinds[1].value = EthTx; | ^ ~~~~~ stat.c:261:18: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 261 | varbinds[0].oid = Wireless; | ^ ~~~~~~~~ --- cmd.o --- cmd.c:132:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 132 | varbinds[0].oid = sysUpload; | ^ ~~~~~~~~~ cmd.c:134:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 134 | varbinds[0].value = &enable; | ^ ~~~~~~~ 4 warnings generated. --- stat.o --- stat.c:265:20: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 265 | varbinds[0].value = Wireless; | ^ ~~~~~~~~ stat.c:437:18: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 437 | varbinds[0].oid = oid_dot11TransmittedFragmentCount; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:439:18: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 439 | varbinds[1].oid = oid_dot11MulticastTransmittedFrameCount; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:442:18: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 442 | varbinds[2].oid = oid_dot11FailedCount; | ^ ~~~~~~~~~~~~~~~~~~~~ stat.c:444:18: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 444 | varbinds[3].oid = oid_dot11RetryCount; | ^ ~~~~~~~~~~~~~~~~~~~ stat.c:446:18: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 446 | varbinds[4].oid = oid_dot11MultipleRetryCount; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:448:18: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 448 | varbinds[5].oid = oid_dot11FrameDuplicateCount; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:450:18: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 450 | varbinds[6].oid = oid_dot11RTSSuccessCount; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:452:18: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 452 | varbinds[7].oid = oid_dot11RTSFailureCount; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:454:18: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 454 | varbinds[8].oid = oid_dot11ACKFailureCount; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:456:18: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 456 | varbinds[9].oid = oid_dot11ReceivedFragmentCount; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:458:19: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 458 | varbinds[10].oid = oid_dot11MulticastReceivedFrameCount; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:461:19: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 461 | varbinds[11].oid = oid_dot11FCSErrorCount; | ^ ~~~~~~~~~~~~~~~~~~~~~~ stat.c:463:19: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 463 | varbinds[12].oid = oid_dot11TransmittedFrameCount; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:465:19: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 465 | varbinds[13].oid = oid_dot11WEPUndecryptableCount; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:467:19: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 467 | varbinds[14].oid = oid_dot11WEPICVErrorCount; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:469:19: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 469 | varbinds[15].oid = oid_dot11WEPExcludedCount; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:474:24: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 474 | varbinds[i].value = oid_dot11TransmittedFragmentCount; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 warnings generated. --- file.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT file.o -MD -MP -MF ".deps/file.Tpo" -c -o file.o `test -f 'file.c' || echo './'`file.c; then mv -f ".deps/file.Tpo" ".deps/file.Po"; else rm -f ".deps/file.Tpo"; exit 1; fi --- test.o --- test.c:156:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 156 | varbinds[0].oid = TestModeOnOff; | ^ ~~~~~~~~~~~~~ test.c:158:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 158 | varbinds[0].value = &teston; | ^ ~~~~~~~ test.c:174:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 174 | varbinds[0].oid = TestModeOnOff; | ^ ~~~~~~~~~~~~~ test.c:176:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 176 | varbinds[0].value = &teston; | ^ ~~~~~~~ test.c:179:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 179 | varbinds[1].oid = TestModeCommandStruct; | ^ ~~~~~~~~~~~~~~~~~~~~~ test.c:182:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 182 | varbinds[1].value = (char *) &testmode; | ^ ~~~~~~~~~~~~~~~~~~ test.c:189:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 189 | varbinds[0].oid = TestModeStatistics; | ^ ~~~~~~~~~~~~~~~~~~ test.c:191:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 191 | varbinds[0].value = TestModeStatistics; | ^ ~~~~~~~~~~~~~~~~~~ test.c:217:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 217 | varbinds[0].oid = TestModeOnOff; | ^ ~~~~~~~~~~~~~ test.c:219:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 219 | varbinds[0].value = &teston; | ^ ~~~~~~~ 10 warnings generated. --- snmp.o --- snmp.c:154:15: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 154 | len = ber(message, varbindlist, num, type); | ^~~~~~~ snmp.c:49:15: note: passing argument to parameter 'message' here 49 | int ber(char *message, varbind * varbindlist, int num, int type) | ^ snmp.c:171:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 171 | start = buf; | ^ ~~~ 2 warnings generated. --- set_community.o --- set_community.c:116:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 116 | varbinds[i].oid = AuthorizedUserPass[ap_type]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ set_community.c:118:21: warning: assigning to 'unsigned char *' from 'char[16]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 118 | varbinds[i].value = user; | ^ ~~~~ set_community.c:124:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 124 | varbinds[i].oid = AuthorizedAdminPass[ap_type]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- radio.o --- radio.c:93:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 93 | varbinds[0].oid = TestModeRadioConfiguration; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ radio.c:95:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 95 | varbinds[0].value = TestModeRadioConfiguration; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ radio.c:98:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 98 | varbinds[1].oid = operAntennaSettings; | ^ ~~~~~~~~~~~~~~~~~~~ --- set_community.o --- set_community.c:126:21: warning: assigning to 'unsigned char *' from 'char[16]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 126 | varbinds[i].value = admin; | ^ ~~~~~ set_community.c:132:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 132 | varbinds[i].oid = AuthorizedManufactPass; | ^ ~~~~~~~~~~~~~~~~~~~~~~ set_community.c:134:21: warning: assigning to 'unsigned char *' from 'char[16]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 134 | varbinds[i].value = manufact; | ^ ~~~~~~~~ 6 warnings generated. --- radio.o --- radio.c:99:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 99 | varbinds[1].value = TestModeRadioConfiguration; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ radio.c:171:17: warning: passing 'unsigned char[2]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 171 | i = strtol(a, NULL, 16); | ^ /usr/include/stdlib.h:116:37: note: passing argument to parameter here 116 | long strtol(const char * __restrict, char ** __restrict, int); | ^ radio.c:253:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 253 | varbinds[i].oid = TestModeRadioConfiguration; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ radio.c:277:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 277 | varbinds[i].oid = operAntennaSettings; | ^ ~~~~~~~~~~~~~~~~~~~ radio.c:282:22: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 282 | varbinds[i].value = (char *) &antenna_hw; | ^ ~~~~~~~~~~~~~~~~~~~~ radio.c:284:22: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 284 | varbinds[i].value = &antenna.antennac; | ^ ~~~~~~~~~~~~~~~~~ 9 warnings generated. --- sysinfo.o --- sysinfo.c:75:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 75 | varbinds[0].oid = sysDescr; | ^ ~~~~~~~~ sysinfo.c:77:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 77 | varbinds[0].value = sysDescr; | ^ ~~~~~~~~ sysinfo.c:81:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 81 | varbinds[1].oid = sysDeviceInfo; | ^ ~~~~~~~~~~~~~ sysinfo.c:83:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 83 | varbinds[1].value = sysDescr; | ^ ~~~~~~~~ sysinfo.c:104:13: warning: assigning to 'char *' from 'unsigned char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 104 | ap_macaddr = ptr410.MacAddress; | ^ ~~~~~~~~~~~~~~~~~ sysinfo.c:107:13: warning: assigning to 'char *' from 'unsigned char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 107 | ap_oemname = ptr410.OEMName; | ^ ~~~~~~~~~~~~~~ sysinfo.c:109:14: warning: assigning to 'char *' from 'unsigned char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 109 | ap_prodname = ptr410.ProductName; | ^ ~~~~~~~~~~~~~~~~~~ sysinfo.c:116:13: warning: assigning to 'char *' from 'unsigned char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 116 | ap_macaddr = ptr12350.MacAddress; | ^ ~~~~~~~~~~~~~~~~~~~ sysinfo.c:118:13: warning: assigning to 'char *' from 'unsigned char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 118 | ap_oemname = ptr12350.OEMName; | ^ ~~~~~~~~~~~~~~~~ sysinfo.c:120:14: warning: assigning to 'char *' from 'unsigned char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 120 | ap_prodname = ptr12350.ProductName; | ^ ~~~~~~~~~~~~~~~~~~~~ sysinfo.c:180:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 180 | varbinds[0].oid = oid_dot11CurrentRegDomain; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ sysinfo.c:182:23: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 182 | varbinds[0].value = oid_dot11CurrentRegDomain; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ sysinfo.c:247:20: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 247 | varbinds[i].value = oid_mac; | ^ ~~~~~~~ sysinfo.c:251:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 251 | varbinds[0].oid = oid_mac; | ^ ~~~~~~~ sysinfo.c:253:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 253 | varbinds[1].oid = oid_manufacturerID; | ^ ~~~~~~~~~~~~~~~~~~ sysinfo.c:255:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 255 | varbinds[2].oid = oid_productID; | ^ ~~~~~~~~~~~~~ sysinfo.c:257:21: warning: assigning to 'unsigned char *' from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 257 | varbinds[3].oid = oid_dot11manufacturerOUI; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ sysinfo.c:259:21: warning: assigning to 'unsigned char *' from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 259 | varbinds[4].oid = oid_dot11manufacturerName; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ sysinfo.c:261:21: warning: assigning to 'unsigned char *' from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 261 | varbinds[5].oid = oid_dot11manufacturerProductName; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sysinfo.c:263:21: warning: assigning to 'unsigned char *' from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 263 | varbinds[6].oid = oid_dot11manufacturerProductVersion; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sysinfo.c:265:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 265 | varbinds[7].oid = oid_dot11PHYType; | ^ ~~~~~~~~~~~~~~~~ sysinfo.c:267:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 267 | varbinds[8].oid = oid_dot11TempType; | ^ ~~~~~~~~~~~~~~~~~ sysinfo.c:269:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 269 | varbinds[9].oid = oid_TxPowerLevel1; | ^ ~~~~~~~~~~~~~~~~~ sysinfo.c:302:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 302 | oui2manufacturer(varbinds[3].value)); | ^~~~~~~~~~~~~~~~~ ./ap-utils.h:282:38: note: passing argument to parameter here 282 | extern char * oui2manufacturer(char *); | ^ sysinfo.c:305:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 305 | sprintf(message, _("Product Name:")); | ^~~~~~~~~~~~~~~~~~ ./ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^~~~~~~~~~~~~~~~ sysinfo.c:305:22: note: treat the string as an argument to avoid this 305 | sprintf(message, _("Product Name:")); | ^ | "%s", ./ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^ sysinfo.c:312:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 312 | sprintf(message, _("Product ID:")); | ^~~~~~~~~~~~~~~~ ./ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^~~~~~~~~~~~~~~~ sysinfo.c:312:22: note: treat the string as an argument to avoid this 312 | sprintf(message, _("Product ID:")); | ^ | "%s", ./ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^ sysinfo.c:318:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 318 | sprintf(message, _("Product Version:")); | ^~~~~~~~~~~~~~~~~~~~~ ./ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^~~~~~~~~~~~~~~~ sysinfo.c:318:22: note: treat the string as an argument to avoid this 318 | sprintf(message, _("Product Version:")); | ^ | "%s", ./ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^ sysinfo.c:348:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 348 | varbinds[0].oid = oid_dot11PrivacyOptionImplemented; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sysinfo.c:350:23: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 350 | varbinds[0].value = oid_mac; | ^ ~~~~~~~ sysinfo.c:353:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 353 | varbinds[1].oid = oid_dot11DiversitySupport; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ sysinfo.c:355:23: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 355 | varbinds[1].value = oid_mac; | ^ ~~~~~~~ sysinfo.c:358:21: warning: assigning to 'unsigned char *' from 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 358 | varbinds[2].oid = oid_sysDescr; | ^ ~~~~~~~~~~~~ sysinfo.c:360:23: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 360 | varbinds[2].value = oid_mac; | ^ ~~~~~~~ sysinfo.c:363:21: warning: assigning to 'unsigned char *' from 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 363 | varbinds[3].oid = oid_sysUptime; | ^ ~~~~~~~~~~~~~ sysinfo.c:365:23: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 365 | varbinds[3].value = oid_mac; | ^ ~~~~~~~ sysinfo.c:410:21: warning: assigning to 'unsigned char *' from 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 410 | varbinds[0].oid = oid_ip; | ^ ~~~~~~ sysinfo.c:412:23: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 412 | varbinds[0].value = oid_mac; | ^ ~~~~~~~ 37 warnings generated. --- aps.o --- aps.c:113:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 113 | varbinds[0].oid = bridgeOperationalMode; | ^ ~~~~~~~~~~~~~~~~~~~~~ aps.c:115:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 115 | varbinds[0].value = bridgeOperationalMode; | ^ ~~~~~~~~~~~~~~~~~~~~~ aps.c:170:18: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 170 | varbinds[0].oid = bridgeOperationalMode; | ^ ~~~~~~~~~~~~~~~~~~~~~ --- wlan.o --- wlan.c:180:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 180 | varbinds[0].oid = operEthernetAddress; | ^ ~~~~~~~~~~~~~~~~~~~ wlan.c:202:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 202 | varbinds[i++].oid = operChannelID; | ^ ~~~~~~~~~~~~~ wlan.c:203:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 203 | varbinds[i++].oid = operESSIDLength; | ^ ~~~~~~~~~~~~~~~ --- aps.o --- aps.c:174:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 174 | varbinds[0].value = &c; | ^ ~~ aps.c:189:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 189 | varbinds[0].oid = KnownAP; | ^ ~~~~~~~ aps.c:192:23: warning: assigning to 'unsigned char *' from 'char[1]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 192 | varbinds[0].value = value; | ^ ~~~~~ aps.c:312:24: warning: passing 'unsigned char[6]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] --- wlan.o --- wlan.c:204:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 204 | varbinds[i++].oid = operESSID; | ^ ~~~~~~~~~ wlan.c:205:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 205 | varbinds[i++].oid = operSSIDBroadcasting; | ^ ~~~~~~~~~~~~~~~~~~~~ wlan.c:206:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 206 | varbinds[i++].oid = operBasicRates; | ^ ~~~~~~~~~~~~~~ --- aps.o --- 312 | oui2manufacturer(app->mac), 48); | ^~~~~~~~ /usr/include/ncurses.h:1332:88: note: expanded from macro 'mvwaddnstr' 1332 | #define mvwaddnstr(win,y,x,str,n) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),(n))) | ^~~ ./ap-utils.h:282:38: note: passing argument to parameter here 282 | extern char * oui2manufacturer(char *); | ^ aps.c:425:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 425 | varbinds[3].oid = operChannelID; | ^ ~~~~~~~~~~~~~ --- wlan.o --- wlan.c:207:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 207 | varbinds[i++].oid = operAutoRateFallBack; | ^ ~~~~~~~~~~~~~~~~~~~~ wlan.c:208:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 208 | varbinds[i++].oid = operRTSThreshold; | ^ ~~~~~~~~~~~~~~~~ wlan.c:209:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 209 | varbinds[i++].oid = operFragmentationThreshold; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ --- aps.o --- aps.c:427:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 427 | varbinds[3].value = &ap[j-1].channel; | ^ ~~~~~~~~~~~~~~~~ aps.c:430:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 430 | varbinds[2].oid = bridgeRemoteBridgeBSSID; | ^ ~~~~~~~~~~~~~~~~~~~~~~~ aps.c:432:25: warning: assigning to 'unsigned char *' from 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 432 | varbinds[2].value = ap[j-1].mac; | ^ ~~~~~~~~~~~ --- wlan.o --- wlan.c:210:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 210 | varbinds[i++].oid = operPreambleType; | ^ ~~~~~~~~~~~~~~~~ wlan.c:211:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 211 | varbinds[i++].oid = operAuthenticationType; | ^ ~~~~~~~~~~~~~~~~~~~~~~ wlan.c:212:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 212 | varbinds[i++].oid = operAccessPointName; | ^ ~~~~~~~~~~~~~~~~~~~ --- aps.o --- aps.c:435:30: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 435 | varbinds[1].oid = operESSIDLength; | ^ ~~~~~~~~~~~~~~~ aps.c:437:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 437 | varbinds[1].value = (char *) &ap[j-1].essid_len; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ aps.c:440:30: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 440 | varbinds[0].oid = operESSID; | ^ ~~~~~~~~~ --- wlan.o --- wlan.c:213:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 213 | varbinds[i++].oid = sysDeviceInfo; | ^ ~~~~~~~~~~~~~ wlan.c:215:20: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 215 | varbinds[i++].oid = operInterRoaming; | ^ ~~~~~~~~~~~~~~~~ wlan.c:217:24: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 217 | varbinds[i++].oid = operBeaconPeriod; | ^ ~~~~~~~~~~~~~~~~ --- aps.o --- aps.c:442:25: warning: assigning to 'unsigned char *' from 'char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 442 | varbinds[0].value = ap[j-1].essid; | ^ ~~~~~~~~~~~~~ aps.c:488:20: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 488 | varbinds[0].oid = SiteSurveyCommand; | ^ ~~~~~~~~~~~~~~~~~ aps.c:491:22: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 491 | varbinds[0].value = &c; | ^ ~~ --- wlan.o --- wlan.c:218:24: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 218 | varbinds[i++].oid = operDTIM; | ^ ~~~~~~~~ wlan.c:433:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 433 | varbinds[i].oid = operChannelID; | ^ ~~~~~~~~~~~~~ wlan.c:435:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 435 | varbinds[i].value = (char *) &channel; | ^ ~~~~~~~~~~~~~~~~~ --- aps.o --- aps.c:581:18: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 581 | varbinds[0].oid = bridgeOperationalMode; | ^ ~~~~~~~~~~~~~~~~~~~~~ aps.c:583:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 583 | varbinds[0].value = (char *) &bridge_mode; | ^ ~~~~~~~~~~~~~~~~~~~~~ aps.c:265:2: warning: array index 13 is past the end of the array (that has type 'char[13]') [-Warray-bounds] 265 | bssid[13] = '\0'; | ^ ~~ aps.c:91:5: note: array 'bssid' declared here 91 | char essid[33], bssid[13], message[65]; | ^ 20 warnings generated. --- wlan.o --- wlan.c:447:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 447 | varbinds[i].oid = operBasicRates; | ^ ~~~~~~~~~~~~~~ wlan.c:449:21: warning: assigning to 'unsigned char *' from 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 449 | varbinds[i].value = basic_rates; | ^ ~~~~~~~~~~~ wlan.c:455:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 455 | varbinds[i].oid = operSSIDBroadcasting; | ^ ~~~~~~~~~~~~~~~~~~~~ wlan.c:457:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 457 | varbinds[i].value = (char *) &SSIDBroadcasting; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ wlan.c:463:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 463 | varbinds[i].oid = operAuthenticationType; | ^ ~~~~~~~~~~~~~~~~~~~~~~ wlan.c:465:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 465 | varbinds[i].value = &AuthenticationType; | ^ ~~~~~~~~~~~~~~~~~~~ wlan.c:471:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 471 | varbinds[i].oid = operPreambleType; | ^ ~~~~~~~~~~~~~~~~ wlan.c:473:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 473 | varbinds[i].value = &PreambleType; | ^ ~~~~~~~~~~~~~ wlan.c:479:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 479 | varbinds[i].oid = operAutoRateFallBack; | ^ ~~~~~~~~~~~~~~~~~~~~ wlan.c:481:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 481 | varbinds[i].value = &AutoRateFallBack; | ^ ~~~~~~~~~~~~~~~~~ wlan.c:488:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 488 | varbinds[i].oid = operAccessPointName; | ^ ~~~~~~~~~~~~~~~~~~~ wlan.c:490:21: warning: assigning to 'unsigned char *' from 'char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 490 | varbinds[i].value = ap_name; | ^ ~~~~~~~ wlan.c:496:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 496 | varbinds[i].oid = operFragmentationThreshold; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ wlan.c:499:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 499 | varbinds[i].value = (char *) &FragmentationThreshold; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wlan.c:505:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 505 | varbinds[i].oid = operRTSThreshold; | ^ ~~~~~~~~~~~~~~~~ wlan.c:508:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 508 | varbinds[i].value = (char *) &RTSThreshold; | ^ ~~~~~~~~~~~~~~~~~~~~~~ wlan.c:515:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 515 | varbinds[i].oid = operESSIDLength; | ^ ~~~~~~~~~~~~~~~ wlan.c:517:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 517 | varbinds[i].value = (char *)&ch; | ^ ~~~~~~~~~~~ wlan.c:521:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 521 | varbinds[i].oid = operESSID; | ^ ~~~~~~~~~ wlan.c:523:21: warning: assigning to 'unsigned char *' from 'char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 523 | varbinds[i].value = domain; | ^ ~~~~~~ wlan.c:529:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 529 | varbinds[i].oid = operInterRoaming; | ^ ~~~~~~~~~~~~~~~~ wlan.c:531:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 531 | varbinds[i].value = (char *) &InterRoaming; | ^ ~~~~~~~~~~~~~~~~~~~~~~ wlan.c:541:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 541 | varbinds[i].oid = operBeaconPeriod; | ^ ~~~~~~~~~~~~~~~~ wlan.c:543:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 543 | varbinds[i].value = (char *) &BeaconPeriod; | ^ ~~~~~~~~~~~~~~~~~~~~~~ wlan.c:549:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 549 | varbinds[i].oid = operDTIM; | ^ ~~~~~~~~ wlan.c:551:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 551 | varbinds[i].value = (char *) &dtim; | ^ ~~~~~~~~~~~~~~ wlan.c:649:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 649 | varbinds[0].oid = operChannelID; | ^ ~~~~~~~~~~~~~ wlan.c:651:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 651 | varbinds[1].oid = operESSID; | ^ ~~~~~~~~~ wlan.c:653:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 653 | varbinds[2].oid = operRTSThreshold; | ^ ~~~~~~~~~~~~~~~~ wlan.c:655:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 655 | varbinds[3].oid = operFragmentationThreshold; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ wlan.c:657:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 657 | varbinds[4].oid = operBasicRates; | ^ ~~~~~~~~~~~~~~ wlan.c:659:21: warning: assigning to 'unsigned char *' from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 659 | varbinds[5].oid = OpenSystem; | ^ ~~~~~~~~~~ wlan.c:661:21: warning: assigning to 'unsigned char *' from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 661 | varbinds[6].oid = SharedKey; | ^ ~~~~~~~~~ wlan.c:663:21: warning: assigning to 'unsigned char *' from 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 663 | varbinds[7].oid = operAccessPointName; | ^ ~~~~~~~~~~~~~~~~~~~ wlan.c:719:18: warning: assigning to 'unsigned char *' from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 719 | varbinds[i].oid = oid_dot11SupportedAntenna[i]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wlan.c:722:21: warning: assigning to 'unsigned char *' from 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 722 | varbinds[6].oid = sysTrapSwitch; | ^ ~~~~~~~~~~~~~ wlan.c:724:21: warning: assigning to 'unsigned char *' from 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 724 | varbinds[7].oid = operAccessPointContact; | ^ ~~~~~~~~~~~~~~~~~~~~~~ wlan.c:726:21: warning: assigning to 'unsigned char *' from 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 726 | varbinds[8].oid = operAccessPointLocation; | ^ ~~~~~~~~~~~~~~~~~~~~~~~ wlan.c:923:19: warning: assigning to 'unsigned char *' from 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 923 | varbinds[i].oid = ChannelPref; | ^ ~~~~~~~~~~~ wlan.c:925:21: warning: assigning to 'unsigned char *' from 'char[2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 925 | varbinds[i].value = channel_pref; | ^ ~~~~~~~~~~~~ wlan.c:929:19: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 929 | varbinds[i].oid = operChannelID; | ^ ~~~~~~~~~~~~~ wlan.c:931:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 931 | varbinds[i].value = (char *) &channel; | ^ ~~~~~~~~~~~~~~~~~ wlan.c:938:19: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 938 | varbinds[i].oid = operBasicRates; | ^ ~~~~~~~~~~~~~~ wlan.c:940:21: warning: assigning to 'unsigned char *' from 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 940 | varbinds[i].value = basic_rates; | ^ ~~~~~~~~~~~ wlan.c:956:19: warning: assigning to 'unsigned char *' from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 956 | varbinds[i].oid = OpenSystem; | ^ ~~~~~~~~~~ wlan.c:958:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 958 | varbinds[i].value = (char *) &m_auth; | ^ ~~~~~~~~~~~~~~~~ wlan.c:962:19: warning: assigning to 'unsigned char *' from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 962 | varbinds[i].oid = SharedKey; | ^ ~~~~~~~~~ wlan.c:964:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 964 | varbinds[i].value = (char *) &m_basic_rates; | ^ ~~~~~~~~~~~~~~~~~~~~~~~ wlan.c:978:19: warning: assigning to 'unsigned char *' from 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 978 | varbinds[i].oid = operAccessPointName; | ^ ~~~~~~~~~~~~~~~~~~~ wlan.c:980:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 980 | varbinds[i].value = ap_name; | ^ ~~~~~~~ wlan.c:988:19: warning: assigning to 'unsigned char *' from 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 988 | varbinds[i].oid = operAccessPointLocation; | ^ ~~~~~~~~~~~~~~~~~~~~~~~ wlan.c:990:21: warning: assigning to 'unsigned char *' from 'char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 990 | varbinds[i].value = ap_location; | ^ ~~~~~~~~~~~ wlan.c:1005:19: warning: assigning to 'unsigned char *' from 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1005 | varbinds[i].oid = operAccessPointContact; | ^ ~~~~~~~~~~~~~~~~~~~~~~ wlan.c:1007:21: warning: assigning to 'unsigned char *' from 'char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1007 | varbinds[i].value = ap_contact; | ^ ~~~~~~~~~~ wlan.c:1013:19: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1013 | varbinds[i].oid = operFragmentationThreshold; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ wlan.c:1016:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1016 | varbinds[i].value = (char *) &FragmentationThreshold; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wlan.c:1022:19: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1022 | varbinds[i].oid = operRTSThreshold; | ^ ~~~~~~~~~~~~~~~~ wlan.c:1025:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1025 | varbinds[i].value = (char *) &RTSThreshold; | ^ ~~~~~~~~~~~~~~~~~~~~~~ wlan.c:1031:19: warning: assigning to 'unsigned char *' from 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1031 | varbinds[i].oid = sysTrapSwitch; | ^ ~~~~~~~~~~~~~ wlan.c:1033:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1033 | varbinds[i].value = &traps; | ^ ~~~~~~ wlan.c:1046:23: warning: assigning to 'unsigned char *' from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1046 | varbinds[c].oid = oid_dot11SupportedAntenna[i]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wlan.c:1049:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1049 | varbinds[c].value = &antenna[i]; | ^ ~~~~~~~~~~~ wlan.c:1062:23: warning: assigning to 'unsigned char *' from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1062 | varbinds[c].oid = oid_dot11SupportedAntenna[i]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wlan.c:1065:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1065 | varbinds[c].value = &antenna[i]; | ^ ~~~~~~~~~~~ wlan.c:1078:19: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1078 | varbinds[i].oid = operESSID; | ^ ~~~~~~~~~ wlan.c:1080:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1080 | varbinds[i].value = domain; | ^ ~~~~~~ 84 warnings generated. --- ap_search.o --- ap_search.c:122:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 122 | sprintf(message, _(" Index: %i"), f_ifctr); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ ap_search.c:123:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 123 | mvwaddstr(main_sub, 16, 1, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ ap_search.c:124:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 124 | sprintf(message, _(" Name: %s"), ifname); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ ap_search.c:125:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 125 | mvwaddstr(main_sub, 17, 1, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ ap_search.c:126:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 126 | sprintf(message, _(" IP: %s"), inet_ntoa(from->sin_addr)); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ ap_search.c:127:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 127 | mvwaddstr(main_sub, 18, 1, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ ap_search.c:135:10: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 135 | sprintf(message, _("Scanning for AP type: %s"), ap_types[scd_ap_type]); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ ap_search.c:136:2: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 136 | mvwaddstr(main_sub, 19, 1, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ ap_search.c:139:18: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 139 | varbinds[0].oid = Wireless[scd_ap_type]; | ^ ~~~~~~~~~~~~~~~~~~~~~ ap_search.c:145:12: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 145 | len = ber(message, varbinds, 1, GET); | ^~~~~~~ ./ap-utils.h:322:22: note: passing argument to parameter here 322 | extern int ber(char *, varbind *, int, int); | ^ ap_search.c:154:14: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 154 | sprintf(message, _("Failure in sendto(): %s. Press any key."), | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ ap_search.c:156:20: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 156 | print_helperr(message); | ^~~~~~~ ./ap-utils.h:293:33: note: passing argument to parameter here 293 | extern void print_helperr(char *); | ^ ap_search.c:209:33: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 209 | (struct sockaddr *) from, &client_len)) == -1) | ^~~~~~~~~~~ /usr/include/sys/socket.h:709:96: note: passing argument to parameter here 709 | ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); | ^ ap_search.c:278:14: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 278 | sprintf(message, "%2X %11s %15s", i, ap_types[fapsa[i].type], | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ ap_search.c:283:6: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 283 | mvwaddstr(main_sub, i, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ 15 warnings generated. --- common.o --- common.c:150:14: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 150 | get_pass(message, 2, 1 + strlen(APPASS), 16); | ^~~~~~~ ./ap-utils.h:300:28: note: passing argument to parameter here 300 | extern void get_pass(char *, int, int, int); | ^ common.c:153:16: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 153 | i = strlen(message) + 1; | ^~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ common.c:155:24: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 155 | strncpy(community, message, i); | ^~~~~~~ /usr/include/string.h:112:57: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ common.c:172:22: warning: assigning to 'unsigned char *' from 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 172 | varbinds[0].oid = sysDescr_NWN; | ^ ~~~~~~~~~~~~ common.c:180:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 180 | varbinds[0].oid = sysDescr_ATMEL410; | ^ ~~~~~~~~~~~~~~~~~ common.c:188:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 188 | varbinds[0].oid = sysDescr_ATMEL12350; | ^ ~~~~~~~~~~~~~~~~~~~ common.c:218:14: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 218 | sprintf(message, "%s/.ap-config", home_dir); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ common.c:219:21: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 219 | if ((fd = open(message, O_CREAT | O_WRONLY | O_APPEND, 0600)) != -1) { | ^~~~~~~ /usr/include/fcntl.h:389:22: note: passing argument to parameter here 389 | int open(const char *, int, ...); | ^ common.c:220:11: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 220 | sprintf(message, "%s:%s:%d\n", inet_ntoa(ap_ip), | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ common.c:222:29: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 222 | write(fd, message, strlen(message)); | ^~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ 10 warnings generated. --- libap.a --- rm -f libap.a ar cru libap.a reset.o snmp.o oui.o input.o menu.o scr.o wep.o wlan.o test.o stat.o set_community.o cmd.o radio.o aps.o ap_search.o sysinfo.o common.o file.o ranlib libap.a Making all in src --- ap-config.o --- --- auth_mac.o --- --- bridge.o --- --- nwn_advanced.o --- --- nwn_latest.o --- --- stations.o --- --- ap-mrtg.o --- --- ap-trapd.o --- --- ap-config.o --- if cc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT ap-config.o -MD -MP -MF ".deps/ap-config.Tpo" -c -o ap-config.o `test -f 'ap-config.c' || echo './'`ap-config.c; then mv -f ".deps/ap-config.Tpo" ".deps/ap-config.Po"; else rm -f ".deps/ap-config.Tpo"; exit 1; fi --- auth_mac.o --- if cc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT auth_mac.o -MD -MP -MF ".deps/auth_mac.Tpo" -c -o auth_mac.o `test -f 'auth_mac.c' || echo './'`auth_mac.c; then mv -f ".deps/auth_mac.Tpo" ".deps/auth_mac.Po"; else rm -f ".deps/auth_mac.Tpo"; exit 1; fi --- bridge.o --- if cc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT bridge.o -MD -MP -MF ".deps/bridge.Tpo" -c -o bridge.o `test -f 'bridge.c' || echo './'`bridge.c; then mv -f ".deps/bridge.Tpo" ".deps/bridge.Po"; else rm -f ".deps/bridge.Tpo"; exit 1; fi --- nwn_advanced.o --- if cc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT nwn_advanced.o -MD -MP -MF ".deps/nwn_advanced.Tpo" -c -o nwn_advanced.o `test -f 'nwn_advanced.c' || echo './'`nwn_advanced.c; then mv -f ".deps/nwn_advanced.Tpo" ".deps/nwn_advanced.Po"; else rm -f ".deps/nwn_advanced.Tpo"; exit 1; fi --- nwn_latest.o --- if cc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT nwn_latest.o -MD -MP -MF ".deps/nwn_latest.Tpo" -c -o nwn_latest.o `test -f 'nwn_latest.c' || echo './'`nwn_latest.c; then mv -f ".deps/nwn_latest.Tpo" ".deps/nwn_latest.Po"; else rm -f ".deps/nwn_latest.Tpo"; exit 1; fi --- stations.o --- if cc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT stations.o -MD -MP -MF ".deps/stations.Tpo" -c -o stations.o `test -f 'stations.c' || echo './'`stations.c; then mv -f ".deps/stations.Tpo" ".deps/stations.Po"; else rm -f ".deps/stations.Tpo"; exit 1; fi --- ap-mrtg.o --- if cc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT ap-mrtg.o -MD -MP -MF ".deps/ap-mrtg.Tpo" -c -o ap-mrtg.o `test -f 'ap-mrtg.c' || echo './'`ap-mrtg.c; then mv -f ".deps/ap-mrtg.Tpo" ".deps/ap-mrtg.Po"; else rm -f ".deps/ap-mrtg.Tpo"; exit 1; fi --- ap-trapd.o --- if cc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT ap-trapd.o -MD -MP -MF ".deps/ap-trapd.Tpo" -c -o ap-trapd.o `test -f 'ap-trapd.c' || echo './'`ap-trapd.c; then mv -f ".deps/ap-trapd.Tpo" ".deps/ap-trapd.Po"; else rm -f ".deps/ap-trapd.Tpo"; exit 1; fi --- nwn_latest.o --- nwn_latest.c:63:20: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 63 | varbinds[i].value = oid_dot11DisassociateReason; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ nwn_latest.c:67:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 67 | varbinds[0].oid = oid_dot11DisassociateReason; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ nwn_latest.c:69:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 69 | varbinds[1].oid = oid_dot11DisassociateStation; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nwn_latest.c:71:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 71 | varbinds[2].oid = oid_dot11DeauthenticateReason; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nwn_latest.c:73:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 73 | varbinds[3].oid = oid_dot11DeauthenticateStation; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nwn_latest.c:75:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 75 | varbinds[4].oid = oid_dot11AuthenticateFailStatus; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nwn_latest.c:77:21: warning: assigning to 'unsigned char *' from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 77 | varbinds[5].oid = oid_dot11AuthenticateFailStation; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nwn_latest.c:79:21: warning: assigning to 'unsigned char *' from 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 79 | varbinds[6].oid = oid_secLastError; | ^ ~~~~~~~~~~~~~~~~ nwn_latest.c:81:21: warning: assigning to 'unsigned char *' from 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 81 | varbinds[7].oid = oid_secLastErrorAddress; | ^ ~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. --- ap-mrtg.o --- ap-mrtg.c:42:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 42 | printf(_("\nUsage:\n")); | ^~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^~~~~~~~~~~~~~~~ ap-mrtg.c:42:12: note: treat the string as an argument to avoid this 42 | printf(_("\nUsage:\n")); | ^ | "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^ ap-mrtg.c:43:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 43 | printf(_ | ^ 44 | ("\tap-mrtg -i ip -c community -t type [-b bssid] [-n name] [-a aptype] [-v] [-h] [-r]\n\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^~~~~~~~~~~~~~~~ ap-mrtg.c:43:12: note: treat the string as an argument to avoid this 43 | printf(_ | ^ | "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^ ap-mrtg.c:45:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 45 | printf(_ | ^ 46 | ("Get stats from AP and return it in MRTG parsable format\n\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^~~~~~~~~~~~~~~~ ap-mrtg.c:45:12: note: treat the string as an argument to avoid this 45 | printf(_ | ^ | "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^ ap-mrtg.c:47:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 47 | printf(_("-i ip - AP ip address\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^~~~~~~~~~~~~~~~ ap-mrtg.c:47:12: note: treat the string as an argument to avoid this 47 | printf(_("-i ip - AP ip address\n")); | ^ | "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^ ap-mrtg.c:48:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 48 | printf(_("-c community - SNMP community string\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^~~~~~~~~~~~~~~~ ap-mrtg.c:48:12: note: treat the string as an argument to avoid this 48 | printf(_("-c community - SNMP community string\n")); | ^ | "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^ ap-mrtg.c:49:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 49 | printf(_ | ^ 50 | ("-t type - statistics type ireless, thernet, associated tations or ink quality in client mode\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^~~~~~~~~~~~~~~~ ap-mrtg.c:49:12: note: treat the string as an argument to avoid this 49 | printf(_ | ^ | "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^ ap-mrtg.c:51:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 51 | printf(_ | ^ 52 | ("-b bssid - mac address of the AP to which get link quality, only if type=l\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^~~~~~~~~~~~~~~~ ap-mrtg.c:51:12: note: treat the string as an argument to avoid this 51 | printf(_ | ^ | "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^ ap-mrtg.c:53:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 53 | printf(_("-n name - AP name - for check only\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^~~~~~~~~~~~~~~~ ap-mrtg.c:53:12: note: treat the string as an argument to avoid this 53 | printf(_("-n name - AP name - for check only\n")); | ^ | "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^ ap-mrtg.c:54:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 54 | printf(_("-a aptype - AP type - 410 (default) or 510 for ATMEL12350's, like the ME-102\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^~~~~~~~~~~~~~~~ ap-mrtg.c:54:12: note: treat the string as an argument to avoid this 54 | printf(_("-a aptype - AP type - 410 (default) or 510 for ATMEL12350's, like the ME-102\n")); | ^ | "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^ ap-mrtg.c:55:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 55 | printf(_ | ^ 56 | ("-v - report MRTG about problems connecting to AP\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^~~~~~~~~~~~~~~~ ap-mrtg.c:55:12: note: treat the string as an argument to avoid this 55 | printf(_ | ^ | "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^ ap-mrtg.c:57:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 57 | printf(_("-r - reset AP when getting LinkQuality stats\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^~~~~~~~~~~~~~~~ ap-mrtg.c:57:12: note: treat the string as an argument to avoid this 57 | printf(_("-r - reset AP when getting LinkQuality stats\n")); | ^ | "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^ ap-mrtg.c:58:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 58 | printf(_("-h - print this help screen\n\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^~~~~~~~~~~~~~~~ ap-mrtg.c:58:12: note: treat the string as an argument to avoid this 58 | printf(_("-h - print this help screen\n\n")); | ^ | "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^ ap-mrtg.c:143:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 143 | printf(_("Invalid IP-address\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^~~~~~~~~~~~~~~~ ap-mrtg.c:143:10: note: treat the string as an argument to avoid this 143 | printf(_("Invalid IP-address\n")); | ^ | "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^ ap-mrtg.c:219:18: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 219 | varbinds[0].oid = EthRx; | ^ ~~~~~ ap-mrtg.c:221:20: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 221 | varbinds[0].value = EthRx; | ^ ~~~~~ ap-mrtg.c:224:18: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 224 | varbinds[1].oid = EthTx; | ^ ~~~~~ ap-mrtg.c:226:20: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 226 | varbinds[1].value = EthTx; | ^ ~~~~~ ap-mrtg.c:231:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 231 | printf(ERR_STR); | ^~~~~~~ ap-mrtg.c:231:13: note: treat the string as an argument to avoid this 231 | printf(ERR_STR); | ^ | "%s", ap-mrtg.c:243:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 243 | printf(ERR_STR); | ^~~~~~~ ap-mrtg.c:243:13: note: treat the string as an argument to avoid this 243 | printf(ERR_STR); | ^ | "%s", ap-mrtg.c:255:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 255 | printf(ERR_STR); | ^~~~~~~ ap-mrtg.c:255:13: note: treat the string as an argument to avoid this 255 | printf(ERR_STR); | ^ | "%s", ap-mrtg.c:266:18: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 266 | varbinds[0].oid = Wireless; | ^ ~~~~~~~~ ap-mrtg.c:268:20: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 268 | varbinds[0].value = Wireless; | ^ ~~~~~~~~ ap-mrtg.c:273:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 273 | printf(ERR_STR); | ^~~~~~~ ap-mrtg.c:273:13: note: treat the string as an argument to avoid this 273 | printf(ERR_STR); | ^ | "%s", ap-mrtg.c:284:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 284 | printf(ERR_STR); | ^~~~~~~ ap-mrtg.c:284:13: note: treat the string as an argument to avoid this 284 | printf(ERR_STR); | ^ | "%s", ap-mrtg.c:297:18: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 297 | varbinds[0].oid = StasNum; | ^ ~~~~~~~ ap-mrtg.c:299:20: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 299 | varbinds[0].value = StasNum; | ^ ~~~~~~~ ap-mrtg.c:304:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 304 | printf(ERR_STR); | ^~~~~~~ ap-mrtg.c:304:13: note: treat the string as an argument to avoid this 304 | printf(ERR_STR); | ^ | "%s", ap-mrtg.c:313:18: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 313 | varbinds[0].oid = bridgeOperationalMode; | ^ ~~~~~~~~~~~~~~~~~~~~~ ap-mrtg.c:319:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 319 | printf(ERR_STR); | ^~~~~~~ ap-mrtg.c:319:13: note: treat the string as an argument to avoid this 319 | printf(ERR_STR); | ^ | "%s", ap-mrtg.c:324:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 324 | printf(ERR_STR); | ^~~~~~~ ap-mrtg.c:324:13: note: treat the string as an argument to avoid this 324 | printf(ERR_STR); | ^ | "%s", ap-mrtg.c:330:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 330 | printf(ERR_STR); | ^~~~~~~ ap-mrtg.c:330:14: note: treat the string as an argument to avoid this 330 | printf(ERR_STR); | ^ | "%s", ap-mrtg.c:336:18: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 336 | varbinds[0].oid = KnownAP; | ^ ~~~~~~~ ap-mrtg.c:342:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 342 | printf(ERR_STR); | ^~~~~~~ ap-mrtg.c:342:13: note: treat the string as an argument to avoid this 342 | printf(ERR_STR); | ^ | "%s", ap-mrtg.c:367:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 367 | printf(ERR_STR); | ^~~~~~~ ap-mrtg.c:367:13: note: treat the string as an argument to avoid this 367 | printf(ERR_STR); | ^ | "%s", ap-mrtg.c:378:25: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 378 | varbinds[0].oid = operAccessPointName; | ^ ~~~~~~~~~~~~~~~~~~~ ap-mrtg.c:390:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 390 | if (strncmp(name,varbinds[0].value,strlen(name)) ){ | ^~~~~~~~~~~~~~~~~ /usr/include/string.h:111:40: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ ap-mrtg.c:354:3: warning: 'sprintf' will always overflow; destination buffer has size 12, but format string expands to at least 13 [-Wformat-overflow] 354 | sprintf(message, "%02X%02X%02X%02X%02X%02X", | ^ 37 warnings generated. --- ap-trapd.o --- ap-trapd.c:155:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 155 | syslog(LOG_ERR, _("Unable to fork. Exiting.")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^~~~~~~~~~~~~~~~ ap-trapd.c:155:18: note: treat the string as an argument to avoid this 155 | syslog(LOG_ERR, _("Unable to fork. Exiting.")); | ^ | "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^ ap-trapd.c:159:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 159 | syslog(LOG_ERR, _("Can't create socket. Exiting.")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^~~~~~~~~~~~~~~~ ap-trapd.c:159:18: note: treat the string as an argument to avoid this 159 | syslog(LOG_ERR, _("Can't create socket. Exiting.")); | ^ | "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^ ap-trapd.c:165:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 165 | syslog(LOG_ERR, _("Can't bind socket. Exiting.")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^~~~~~~~~~~~~~~~ ap-trapd.c:165:18: note: treat the string as an argument to avoid this 165 | syslog(LOG_ERR, _("Can't bind socket. Exiting.")); | ^ | "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' 49 | #define _(String) gettext (String) | ^ 3 warnings generated. --- ap-trapd --- cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -o ap-trapd ap-trapd.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lncurses -L/usr/local/lib -lintl --- ap-mrtg --- cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -o ap-mrtg ap-mrtg.o ../lib/libap.a /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lncurses -L/usr/local/lib -lintl --- stations.o --- stations.c:75:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 75 | varbinds[0].oid = bridgeOperationalMode; | ^ ~~~~~~~~~~~~~~~~~~~~~ stations.c:77:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 77 | varbinds[0].value = bridgeOperationalMode; | ^ ~~~~~~~~~~~~~~~~~~~~~ stations.c:96:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 96 | varbinds[0].oid = StasNum; | ^ ~~~~~~~ stations.c:98:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 98 | varbinds[0].value = StasNum; | ^ ~~~~~~~ stations.c:118:18: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 118 | varbinds[0].oid = StasMac; | ^ ~~~~~~~ stations.c:122:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 122 | varbinds[0].value = (char *) &get; | ^ ~~~~~~~~~~~~~ 6 warnings generated. --- nwn_advanced.o --- nwn_advanced.c:44:21: warning: assigning to 'unsigned char *' from 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 44 | varbinds[0].oid = smtStationDBTimeout; | ^ ~~~~~~~~~~~~~~~~~~~ nwn_advanced.c:46:21: warning: assigning to 'unsigned char *' from 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 46 | varbinds[1].oid = smtACKWindow; | ^ ~~~~~~~~~~~~ nwn_advanced.c:102:19: warning: assigning to 'unsigned char *' from 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 102 | varbinds[i].oid = smtStationDBTimeout; | ^ ~~~~~~~~~~~~~~~~~~~ nwn_advanced.c:104:21: warning: assigning to 'unsigned char *' from 'char[80]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 104 | varbinds[i].value = message; | ^ ~~~~~~~ nwn_advanced.c:110:19: warning: assigning to 'unsigned char *' from 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 110 | varbinds[i].oid = smtACKWindow; | ^ ~~~~~~~~~~~~ nwn_advanced.c:112:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 112 | varbinds[i].value = &ackwindow; | ^ ~~~~~~~~~~ 6 warnings generated. --- bridge.o --- bridge.c:174:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 174 | varbinds[0].oid = operEthernetAddress; | ^ ~~~~~~~~~~~~~~~~~~~ bridge.c:199:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 199 | varbinds[i++].oid = IPFilter; | ^ ~~~~~~~~ bridge.c:200:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 200 | varbinds[i++].oid = PrimaryPort; | ^ ~~~~~~~~~~~ bridge.c:201:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 201 | varbinds[i++].oid = operDHCP; | ^ ~~~~~~~~ bridge.c:202:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 202 | varbinds[i++].oid = operIPAddress; | ^ ~~~~~~~~~~~~~ bridge.c:203:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 203 | varbinds[i++].oid = operIPMask; | ^ ~~~~~~~~~~ bridge.c:204:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 204 | varbinds[i++].oid = operGateway; | ^ ~~~~~~~~~~~ bridge.c:205:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 205 | varbinds[i++].oid = bridgeOperationalMode; | ^ ~~~~~~~~~~~~~~~~~~~~~ bridge.c:206:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 206 | varbinds[i++].oid = sysTrapSwitch; | ^ ~~~~~~~~~~~~~ bridge.c:207:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 207 | varbinds[i++].oid = bridgeRemoteBridgeBSSID; | ^ ~~~~~~~~~~~~~~~~~~~~~~~ bridge.c:209:20: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 209 | varbinds[i++].oid = ConfigPort; | ^ ~~~~~~~~~~ bridge.c:210:20: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 210 | varbinds[i++].oid = ForwardBroadcast; | ^ ~~~~~~~~~~~~~~~~ bridge.c:211:20: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 211 | varbinds[i++].oid = SendBackBcast; | ^ ~~~~~~~~~~~~~ bridge.c:212:20: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 212 | varbinds[i++].oid = SendBackUnicast; | ^ ~~~~~~~~~~~~~~~ bridge.c:214:24: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 214 | varbinds[i++].oid = TrapPort; | ^ ~~~~~~~~ bridge.c:224:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 224 | sprintf(message, "%s%02X%02X%02X%02X%02X%02X", MAC, | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:231:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 231 | mvwaddstr(main_sub, 0, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:234:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 234 | sprintf(message, "%s%s", IPADDR, inet_ntoa(ip)); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:235:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 235 | mvwaddstr(main_sub, 1, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:238:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 238 | sprintf(message, "%s%s", NETMASK, inet_ntoa(mask)); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:239:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 239 | mvwaddstr(main_sub, 1, 24, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:242:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 242 | sprintf(message, "%s%s", GATEWAY, inet_ntoa(gw)); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:243:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 243 | mvwaddstr(main_sub, 2, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:246:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 246 | sprintf(message, "%s%s", IP_FILTER, (filter == 1) ? ON : OFF); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:247:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 247 | mvwaddstr(main_sub, 3, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:250:10: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 250 | sprintf(message, "%s%02X%02X%02X%02X%02X%02X", SB_ATTMAC, | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:259:10: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 259 | sprintf(message, "%s%s", PR_PORT, pr_ports[primary_port - 1]); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:261:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 261 | mvwaddstr(main_sub, 4, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:264:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 264 | sprintf(message, "%s%s", DHCP, (dhcp == 1) ? ON : OFF); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:265:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 265 | mvwaddstr(main_sub, 5, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:269:10: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 269 | sprintf(message, "%s%02X%02X%02X%02X%02X%02X", REMOTE_MAC, | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:273:2: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 273 | mvwaddstr(main_sub, 7, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:277:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 277 | sprintf(message, "%s%s", OPER, bridge_modes[bridge_mode - 1]); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:278:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 278 | mvwaddstr(main_sub, 6, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:281:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 281 | sprintf(message, "%s%s", TRAPS, (traps == 1) ? ON : OFF); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:282:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 282 | mvwaddstr(main_sub, 8, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:286:10: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 286 | sprintf(message, "%s%s", CF_PORT, cf_trap_ports[config_port]); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:287:2: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 287 | mvwaddstr(main_sub, 9, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:293:14: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 293 | sprintf(message, "%s%u", TRAP_PORT, trap_port); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:294:6: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 294 | mvwaddstr(main_sub, 10, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:298:10: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 298 | sprintf(message, "%s%s", FW_BCAST, (fw_bcast == 1) ? ON : OFF); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:299:2: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 299 | mvwaddstr(main_sub, 11, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:302:10: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 302 | sprintf(message, "%s%s", SB_BCAST, (sb_bcast == 1) ? ON : OFF); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:303:2: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 303 | mvwaddstr(main_sub, 12, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:306:10: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 306 | sprintf(message, "%s%s", SB_UCAST, (sb_ucast == 1) ? ON : OFF); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:307:2: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 307 | mvwaddstr(main_sub, 13, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:359:11: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 359 | sprintf(message, "%02X%02X%02X%02X%02X%02X", | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:366:35: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 366 | print_menusel(7, 0, REMOTE_MAC, message); | ^~~~~~~ ../lib/ap-utils.h:290:51: note: passing argument to parameter here 290 | extern void print_menusel(int, int, char *, char *); | ^ bridge.c:375:14: warning: passing 'unsigned char[6]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 375 | get_mac(RemoteBSSID, 7, strlen(REMOTE_MAC)); | ^~~~~~~~~~~ ../lib/ap-utils.h:296:27: note: passing argument to parameter here 296 | extern void get_mac(char *, int, int); | ^ bridge.c:407:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 407 | get_value(message, 10, strlen(TRAP_PORT), 6, INT_STRING, | ^~~~~~~ ../lib/ap-utils.h:299:29: note: passing argument to parameter here 299 | extern void get_value(char *, int, int, int, char, int, int, char *); | ^ bridge.c:409:20: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 409 | trap_port = atoi(message); | ^~~~~~~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ bridge.c:444:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 444 | varbinds[i].oid = IPFilter; | ^ ~~~~~~~~ bridge.c:447:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 447 | varbinds[i].value = (char *) &filter; | ^ ~~~~~~~~~~~~~~~~ bridge.c:452:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 452 | varbinds[i].oid = PrimaryPort; | ^ ~~~~~~~~~~~ bridge.c:455:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 455 | varbinds[i].value = (char *) &primary_port; | ^ ~~~~~~~~~~~~~~~~~~~~~~ bridge.c:460:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 460 | varbinds[i].oid = operDHCP; | ^ ~~~~~~~~ bridge.c:463:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 463 | varbinds[i].value = (char *) &dhcp; | ^ ~~~~~~~~~~~~~~ bridge.c:468:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 468 | varbinds[i].oid = operIPAddress; | ^ ~~~~~~~~~~~~~ bridge.c:472:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 472 | varbinds[i].value = (char *) &ip.s_addr; | ^ ~~~~~~~~~~~~~~~~~~~ bridge.c:478:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 478 | varbinds[i].oid = operIPMask; | ^ ~~~~~~~~~~ bridge.c:482:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 482 | varbinds[i].value = (char *) &mask.s_addr; | ^ ~~~~~~~~~~~~~~~~~~~~~ bridge.c:488:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 488 | varbinds[i].oid = operGateway; | ^ ~~~~~~~~~~~ bridge.c:492:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 492 | varbinds[i].value = (char *) &gw.s_addr; | ^ ~~~~~~~~~~~~~~~~~~~ bridge.c:498:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 498 | varbinds[i].oid = sysTrapSwitch; | ^ ~~~~~~~~~~~~~ bridge.c:506:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 506 | varbinds[i].oid = bridgeOperationalMode; | ^ ~~~~~~~~~~~~~~~~~~~~~ bridge.c:508:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 508 | varbinds[i].value = (char *) &bridge_mode; | ^ ~~~~~~~~~~~~~~~~~~~~~ bridge.c:514:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 514 | varbinds[i].oid = bridgeRemoteBridgeBSSID; | ^ ~~~~~~~~~~~~~~~~~~~~~~~ bridge.c:522:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 522 | varbinds[i].oid = ConfigPort; | ^ ~~~~~~~~~~ bridge.c:525:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 525 | varbinds[i].value = (char *) &config_port; | ^ ~~~~~~~~~~~~~~~~~~~~~ bridge.c:530:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 530 | varbinds[i].oid = ForwardBroadcast; | ^ ~~~~~~~~~~~~~~~~ bridge.c:533:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 533 | varbinds[i].value = (char *) &fw_bcast; | ^ ~~~~~~~~~~~~~~~~~~ bridge.c:538:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 538 | varbinds[i].oid = SendBackBcast; | ^ ~~~~~~~~~~~~~ bridge.c:541:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 541 | varbinds[i].value = (char *) &sb_bcast; | ^ ~~~~~~~~~~~~~~~~~~ bridge.c:546:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 546 | varbinds[i].oid = SendBackUnicast; | ^ ~~~~~~~~~~~~~~~ bridge.c:549:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 549 | varbinds[i].value = (char *) &sb_ucast; | ^ ~~~~~~~~~~~~~~~~~~ bridge.c:557:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 557 | varbinds[i].oid = TrapPort; | ^ ~~~~~~~~ bridge.c:560:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 560 | varbinds[i].value = (char *) &trap_port; | ^ ~~~~~~~~~~~~~~~~~~~ 77 warnings generated. --- auth_mac.o --- auth_mac.c:72:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 72 | varbinds[0].oid = EnableAuthMAC; | ^ ~~~~~~~~~~~~~ auth_mac.c:97:18: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 97 | varbinds[0].oid = AutorizedMac; | ^ ~~~~~~~~~~~~ auth_mac.c:99:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 99 | varbinds[0].value = (char *) &get; | ^ ~~~~~~~~~~~~~ auth_mac.c:214:14: warning: passing 'unsigned char[6]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 214 | get_mac(curr->addr, 1, strlen(MAC_ADD)); | ^~~~~~~~~~ ../lib/ap-utils.h:296:27: note: passing argument to parameter here 296 | extern void get_mac(char *, int, int); | ^ auth_mac.c:224:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 224 | varbinds[0].oid = EnableAuthMAC; | ^ ~~~~~~~~~~~~~ auth_mac.c:227:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 227 | varbinds[0].value = (char *) &auth_mac_hw; | ^ ~~~~~~~~~~~~~~~~~~~~~ auth_mac.c:242:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 242 | varbinds[0].oid = AutorizedMac; | ^ ~~~~~~~~~~~~ auth_mac.c:244:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 244 | varbinds[0].value = (char *) &get; | ^ ~~~~~~~~~~~~~ auth_mac.c:322:21: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 322 | varbinds[0].oid = Mac; | ^ ~~~ auth_mac.c:324:23: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 324 | varbinds[0].value = Mac; | ^ ~~~ auth_mac.c:339:18: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 339 | varbinds[0].oid = Mac; | ^ ~~~ auth_mac.c:341:20: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 341 | varbinds[0].value = Mac; | ^ ~~~ auth_mac.c:344:18: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 344 | varbinds[1].oid = MacAllow; | ^ ~~~~~~~~ auth_mac.c:346:20: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 346 | varbinds[1].value = Mac; | ^ ~~~ auth_mac.c:349:18: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 349 | varbinds[2].oid = MacRowStatus; | ^ ~~~~~~~~~~~~ auth_mac.c:351:20: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 351 | varbinds[2].value = Mac; | ^ ~~~ auth_mac.c:375:18: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 375 | varbinds[0].oid = Mac; | ^ ~~~ auth_mac.c:377:20: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 377 | varbinds[0].value = Mac; | ^ ~~~ auth_mac.c:447:14: warning: passing 'unsigned char[6]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 447 | get_mac(curr->addr, 1, strlen(MAC_ADD)); | ^~~~~~~~~~ ../lib/ap-utils.h:296:27: note: passing argument to parameter here 296 | extern void get_mac(char *, int, int); | ^ auth_mac.c:465:22: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 465 | varbinds[0].oid = Mac; | ^ ~~~ auth_mac.c:467:24: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 467 | varbinds[0].value = Mac; | ^ ~~~ auth_mac.c:478:19: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 478 | varbinds[0].oid = MacRowStatus; | ^ ~~~~~~~~~~~~ auth_mac.c:480:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 480 | varbinds[0].value = &destroy; | ^ ~~~~~~~~ auth_mac.c:487:19: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 487 | varbinds[0].oid = Mac; | ^ ~~~ auth_mac.c:489:21: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 489 | varbinds[0].value = Mac; | ^ ~~~ auth_mac.c:507:19: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 507 | varbinds[0].oid = MacRowStatus; | ^ ~~~~~~~~~~~~ auth_mac.c:509:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 509 | varbinds[0].value = &create; | ^ ~~~~~~~ auth_mac.c:512:19: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 512 | varbinds[1].oid = Mac; | ^ ~~~ auth_mac.c:514:21: warning: assigning to 'unsigned char *' from 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 514 | varbinds[1].value = auth_enable; | ^ ~~~~~~~~~~~ auth_mac.c:517:19: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 517 | varbinds[2].oid = MacAllow; | ^ ~~~~~~~~ auth_mac.c:519:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 519 | varbinds[2].value = &allow; | ^ ~~~~~~ auth_mac.c:538:19: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 538 | varbinds[0].oid = MacRowStatus; | ^ ~~~~~~~~~~~~ auth_mac.c:540:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 540 | varbinds[0].value = &create; | ^ ~~~~~~~ auth_mac.c:543:19: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 543 | varbinds[1].oid = Mac; | ^ ~~~ auth_mac.c:548:19: warning: assigning to 'unsigned char *' from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 548 | varbinds[2].oid = MacAllow; | ^ ~~~~~~~~ auth_mac.c:550:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 550 | varbinds[2].value = &allow; | ^ ~~~~~~ 36 warnings generated. --- ap-config.o --- ap-config.c:148:41: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 148 | connect_options((unsigned long) NULL, (int) NULL); | ^~~~~~~~~~ ap-config.c:255:41: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 255 | connect_options((unsigned long) NULL, (int) NULL); | ^~~~~~~~~~ 2 warnings generated. --- ap-config --- cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -o ap-config ap-config.o auth_mac.o bridge.o nwn_advanced.o nwn_latest.o stations.o ../lib/libap.a -lmenu /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lncurses -L/usr/local/lib -lintl Making all in po Making all in Documentation Making all in ap-gl --- ap-gl.o --- --- auth_mac.o --- --- bridge.o --- --- stations.o --- --- ap-gl.o --- if cc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT ap-gl.o -MD -MP -MF ".deps/ap-gl.Tpo" -c -o ap-gl.o `test -f 'ap-gl.c' || echo './'`ap-gl.c; then mv -f ".deps/ap-gl.Tpo" ".deps/ap-gl.Po"; else rm -f ".deps/ap-gl.Tpo"; exit 1; fi --- auth_mac.o --- if cc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT auth_mac.o -MD -MP -MF ".deps/auth_mac.Tpo" -c -o auth_mac.o `test -f 'auth_mac.c' || echo './'`auth_mac.c; then mv -f ".deps/auth_mac.Tpo" ".deps/auth_mac.Po"; else rm -f ".deps/auth_mac.Tpo"; exit 1; fi --- bridge.o --- if cc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT bridge.o -MD -MP -MF ".deps/bridge.Tpo" -c -o bridge.o `test -f 'bridge.c' || echo './'`bridge.c; then mv -f ".deps/bridge.Tpo" ".deps/bridge.Po"; else rm -f ".deps/bridge.Tpo"; exit 1; fi --- stations.o --- if cc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT stations.o -MD -MP -MF ".deps/stations.Tpo" -c -o stations.o `test -f 'stations.c' || echo './'`stations.c; then mv -f ".deps/stations.Tpo" ".deps/stations.Po"; else rm -f ".deps/stations.Tpo"; exit 1; fi --- auth_mac.o --- auth_mac.c:98:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 98 | varbinds[0].oid = EnableAuthMAC; | ^ ~~~~~~~~~~~~~ auth_mac.c:103:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 103 | varbinds[1].oid = AuthRadiusIP; | ^ ~~~~~~~~~~~~ auth_mac.c:108:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 108 | varbinds[3].oid = AuthRadiusPort; | ^ ~~~~~~~~~~~~~~ auth_mac.c:113:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 113 | varbinds[4].oid = AuthRadiusReauthorizationTime; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ auth_mac.c:118:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 118 | varbinds[2].oid = AuthRadiusDestinPort; | ^ ~~~~~~~~~~~~~~~~~~~~ auth_mac.c:151:18: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 151 | varbinds[0].oid = AutorizedMac; | ^ ~~~~~~~~~~~~ auth_mac.c:153:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 153 | varbinds[0].value = (char *) &get; | ^ ~~~~~~~~~~~~~ auth_mac.c:326:14: warning: passing 'unsigned char[6]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 326 | get_mac(curr->addr, 1, strlen(MAC_ADD)); | ^~~~~~~~~~ ../lib/ap-utils.h:296:27: note: passing argument to parameter here 296 | extern void get_mac(char *, int, int); | ^ auth_mac.c:337:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 337 | varbinds[i].oid = EnableAuthMAC; | ^ ~~~~~~~~~~~~~ auth_mac.c:340:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 340 | varbinds[i].value = (char *) &auth_mac_hw; | ^ ~~~~~~~~~~~~~~~~~~~~~ auth_mac.c:348:33: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 348 | varbinds[i].oid = AuthRadiusIP; | ^ ~~~~~~~~~~~~ auth_mac.c:350:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 350 | varbinds[i].value = (char *) &radius_ip.s_addr; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ auth_mac.c:357:26: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 357 | varbinds[i].oid = AuthRadiusDestinPort; | ^ ~~~~~~~~~~~~~~~~~~~~ auth_mac.c:360:28: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 360 | varbinds[i].value = (char *) &radius_dest_port; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ auth_mac.c:367:26: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 367 | varbinds[i].oid = AuthRadiusReauthorizationTime; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ auth_mac.c:370:28: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 370 | varbinds[i].value = (char *) &radius_time; | ^ ~~~~~~~~~~~~~~~~~~~~~ auth_mac.c:377:26: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 377 | varbinds[i].oid = AuthRadiusPort; | ^ ~~~~~~~~~~~~~~ auth_mac.c:380:28: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 380 | varbinds[i].value = (char *) &radius_port; | ^ ~~~~~~~~~~~~~~~~~~~~~ auth_mac.c:387:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 387 | varbinds[i].oid = AuthRadiusSecretLength; | ^ ~~~~~~~~~~~~~~~~~~~~~~ auth_mac.c:389:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 389 | varbinds[i].value = (char *)&c; | ^ ~~~~~~~~~~ auth_mac.c:393:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 393 | varbinds[i].oid = AuthRadiusSecret; | ^ ~~~~~~~~~~~~~~~~ auth_mac.c:395:21: warning: assigning to 'unsigned char *' from 'char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 395 | varbinds[i].value = radius_secret; | ^ ~~~~~~~~~~~~~ auth_mac.c:414:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 414 | varbinds[0].oid = AutorizedMac; | ^ ~~~~~~~~~~~~ auth_mac.c:416:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 416 | varbinds[0].value = (char *) &get; | ^ ~~~~~~~~~~~~~ 24 warnings generated. --- stations.o --- stations.c:71:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 71 | varbinds[0].oid = bridgeOperationalMode; | ^ ~~~~~~~~~~~~~~~~~~~~~ stations.c:73:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 73 | varbinds[0].value = bridgeOperationalMode; | ^ ~~~~~~~~~~~~~~~~~~~~~ stations.c:92:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 92 | varbinds[0].oid = StasNum; | ^ ~~~~~~~ stations.c:94:23: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 94 | varbinds[0].value = StasNum; | ^ ~~~~~~~ stations.c:114:18: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 114 | varbinds[0].oid = StasMac; | ^ ~~~~~~~ stations.c:118:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 118 | varbinds[0].value = (char *) &get; | ^ ~~~~~~~~~~~~~ 6 warnings generated. --- bridge.o --- bridge.c:145:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 145 | varbinds[0].oid = operEthernetAddress; | ^ ~~~~~~~~~~~~~~~~~~~ bridge.c:161:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 161 | varbinds[1].oid = IPFilter; | ^ ~~~~~~~~ bridge.c:162:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 162 | varbinds[2].oid = PrimaryPort; | ^ ~~~~~~~~~~~ bridge.c:163:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 163 | varbinds[3].oid = operDHCP; | ^ ~~~~~~~~ bridge.c:164:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 164 | varbinds[4].oid = operIPAddress; | ^ ~~~~~~~~~~~~~ bridge.c:165:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 165 | varbinds[5].oid = operIPMask; | ^ ~~~~~~~~~~ bridge.c:166:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 166 | varbinds[6].oid = operGateway; | ^ ~~~~~~~~~~~ bridge.c:167:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 167 | varbinds[7].oid = bridgeOperationalMode; | ^ ~~~~~~~~~~~~~~~~~~~~~ bridge.c:168:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 168 | varbinds[8].oid = sysTrapSwitch; | ^ ~~~~~~~~~~~~~ bridge.c:169:21: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 169 | varbinds[9].oid = bridgeRemoteBridgeBSSID; | ^ ~~~~~~~~~~~~~~~~~~~~~~~ bridge.c:170:22: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 170 | varbinds[10].oid = ForwardBroadcast; | ^ ~~~~~~~~~~~~~~~~ bridge.c:171:22: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 171 | varbinds[11].oid = SendBackUnicast; | ^ ~~~~~~~~~~~~~~~ bridge.c:172:22: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 172 | varbinds[12].oid = SendBackBcast; | ^ ~~~~~~~~~~~~~ bridge.c:183:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 183 | sprintf(message, "%s%s", SB_UCAST, (sb_ucast == 2) ? ON : OFF); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:184:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 184 | mvwaddstr(main_sub, 10, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:188:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 188 | sprintf(message, "%s%02X%02X%02X%02X%02X%02X", MAC, | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:195:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 195 | mvwaddstr(main_sub, 0, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:198:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 198 | sprintf(message, "%s%s", IP_FILTER, (filter == 1) ? ON : OFF); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:199:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 199 | mvwaddstr(main_sub, 3, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:205:10: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 205 | sprintf(message, "%s%s", PR_PORT, pr_ports[primary_port - 1]); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:206:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 206 | mvwaddstr(main_sub, 4, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:209:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 209 | sprintf(message, "%s%s", DHCP, (dhcp == 1) ? ON : OFF); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:210:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 210 | mvwaddstr(main_sub, 5, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:213:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 213 | sprintf(message, "%s%s", IPADDR, inet_ntoa(ip)); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:214:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 214 | mvwaddstr(main_sub, 1, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:217:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 217 | sprintf(message, "%s%s", NETMASK, inet_ntoa(mask)); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:218:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 218 | mvwaddstr(main_sub, 1, 24, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:221:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 221 | sprintf(message, "%s%s", GATEWAY, inet_ntoa(gw)); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:222:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 222 | mvwaddstr(main_sub, 2, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:227:10: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 227 | sprintf(message, "%s%02X%02X%02X%02X%02X%02X", REMOTE_MAC, | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:231:2: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 231 | mvwaddstr(main_sub, 7, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:235:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 235 | sprintf(message, "%s%s", OPER, bridge_modes[bridge_mode - 1]); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:236:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 236 | mvwaddstr(main_sub, 6, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:239:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 239 | sprintf(message, "%s%s", TRAPS, (traps == 1) ? ON : OFF); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:240:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 240 | mvwaddstr(main_sub, 8, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:243:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 243 | sprintf(message, "%s%s", FW_BCAST, (fw_bcast == 1) ? ON : OFF); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:244:5: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 244 | mvwaddstr(main_sub, 9, 0, message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ncurses.h:1333:85: note: expanded from macro 'mvwaddstr' 1333 | #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) | ^~~~~ /usr/include/ncurses.h:844:59: note: passing argument to parameter here 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^ bridge.c:294:11: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 294 | sprintf(message, "%02X%02X%02X%02X%02X%02X", | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ bridge.c:301:35: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 301 | print_menusel(7, 0, REMOTE_MAC, message); | ^~~~~~~ ../lib/ap-utils.h:290:51: note: passing argument to parameter here 290 | extern void print_menusel(int, int, char *, char *); | ^ bridge.c:309:14: warning: passing 'unsigned char[6]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 309 | get_mac(RemoteBSSID, 7, strlen(REMOTE_MAC)); | ^~~~~~~~~~~ ../lib/ap-utils.h:296:27: note: passing argument to parameter here 296 | extern void get_mac(char *, int, int); | ^ bridge.c:352:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 352 | varbinds[i].oid = IPFilter; | ^ ~~~~~~~~ bridge.c:355:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 355 | varbinds[i].value = (char *) &filter; | ^ ~~~~~~~~~~~~~~~~ bridge.c:360:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 360 | varbinds[i].oid = PrimaryPort; | ^ ~~~~~~~~~~~ bridge.c:363:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 363 | varbinds[i].value = (char *) &primary_port; | ^ ~~~~~~~~~~~~~~~~~~~~~~ bridge.c:368:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 368 | varbinds[i].oid = operDHCP; | ^ ~~~~~~~~ bridge.c:371:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 371 | varbinds[i].value = (char *) &dhcp; | ^ ~~~~~~~~~~~~~~ bridge.c:376:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 376 | varbinds[i].oid = operIPAddress; | ^ ~~~~~~~~~~~~~ bridge.c:380:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 380 | varbinds[i].value = (char *) &ip.s_addr; | ^ ~~~~~~~~~~~~~~~~~~~ bridge.c:386:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 386 | varbinds[i].oid = operIPMask; | ^ ~~~~~~~~~~ bridge.c:390:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 390 | varbinds[i].value = (char *) &mask.s_addr; | ^ ~~~~~~~~~~~~~~~~~~~~~ bridge.c:396:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 396 | varbinds[i].oid = operGateway; | ^ ~~~~~~~~~~~ bridge.c:400:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 400 | varbinds[i].value = (char *) &gw.s_addr; | ^ ~~~~~~~~~~~~~~~~~~~ bridge.c:406:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 406 | varbinds[i].oid = sysTrapSwitch; | ^ ~~~~~~~~~~~~~ bridge.c:414:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 414 | varbinds[i].oid = bridgeOperationalMode; | ^ ~~~~~~~~~~~~~~~~~~~~~ bridge.c:416:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 416 | varbinds[i].value = (char *) &bridge_mode; | ^ ~~~~~~~~~~~~~~~~~~~~~ bridge.c:422:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 422 | varbinds[i].oid = bridgeRemoteBridgeBSSID; | ^ ~~~~~~~~~~~~~~~~~~~~~~~ bridge.c:439:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 439 | varbinds[i].oid = ForwardBroadcast; | ^ ~~~~~~~~~~~~~~~~ bridge.c:442:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 442 | varbinds[i].value = (char *) &fw_bcast; | ^ ~~~~~~~~~~~~~~~~~~ bridge.c:447:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 447 | varbinds[i].oid = SendBackBcast; | ^ ~~~~~~~~~~~~~ bridge.c:450:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 450 | varbinds[i].value = (char *) &sb_ucast; | ^ ~~~~~~~~~~~~~~~~~~ bridge.c:453:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 453 | varbinds[i].oid = SendBackUnicast; | ^ ~~~~~~~~~~~~~~~ bridge.c:456:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 456 | varbinds[i].value = (char *) &sb_ucast; | ^ ~~~~~~~~~~~~~~~~~~ bridge.c:464:19: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 464 | varbinds[i].oid = TrapPort; | ^ ~~~~~~~~ bridge.c:467:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 467 | varbinds[i].value = (char *) &trap_port; | ^ ~~~~~~~~~~~~~~~~~~~ 64 warnings generated. --- ap-gl --- cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -o ap-gl ap-gl.o auth_mac.o bridge.o stations.o ../lib/libap.a -lmenu /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lncurses -L/usr/local/lib -lintl =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ap-utils-1.4.1_6 ===> Generating temporary packing list Making install in intl if test "ap-utils" = "gettext" && test '' = 'intl-compat.o'; then /bin/sh `case "config/mkinstalldirs" in /*) echo "config/mkinstalldirs" ;; *) echo "../config/mkinstalldirs" ;; esac` /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/lib /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/include; install -m 0644 libintl.h /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/include/libintl.h; @LIBTOOL@ --mode=install install -m 0644 libintl.a /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/lib/libintl.a; else : ; fi if test 'no' = yes; then test no != no || /bin/sh `case "config/mkinstalldirs" in /*) echo "config/mkinstalldirs" ;; *) echo "../config/mkinstalldirs" ;; esac` /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/lib; temp=/wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/lib/t-charset.alias; dest=/wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/lib/charset.alias; if test -f /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/lib/charset.alias; then orig=/wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/lib/charset.alias; sed -f ref-add.sed $orig > $temp; install -m 0644 $temp $dest; rm -f $temp; else if test no = no; then orig=charset.alias; sed -f ref-add.sed $orig > $temp; install -m 0644 $temp $dest; rm -f $temp; fi; fi; /bin/sh `case "config/mkinstalldirs" in /*) echo "config/mkinstalldirs" ;; *) echo "../config/mkinstalldirs" ;; esac` /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/locale; test -f /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/locale/locale.alias && orig=/wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/locale/locale.alias || orig=./locale.alias; temp=/wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/locale/t-locale.alias; dest=/wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/locale/locale.alias; sed -f ref-add.sed $orig > $temp; install -m 0644 $temp $dest; rm -f $temp; else : ; fi if test "ap-utils" = "gettext"; then /bin/sh `case "config/mkinstalldirs" in /*) echo "config/mkinstalldirs" ;; *) echo "../config/mkinstalldirs" ;; esac` /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/gettext/intl; install -m 0644 VERSION /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/gettext/intl/VERSION; install -m 0644 ChangeLog.inst /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/gettext/intl/ChangeLog; dists="COPYING.LIB-2.0 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gmo.h gettextP.h hash-string.h plural-exp.h eval-plural.h os2compat.h libgnuintl.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y plural-exp.c localcharset.c localename.c osdep.c os2compat.c intl-compat.c"; for file in $dists; do install -m 0644 ./$file /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/gettext/intl/$file; done; chmod a+x /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/gettext/intl/config.charset; dists="plural.c"; for file in $dists; do if test -f $file; then dir=.; else dir=.; fi; install -m 0644 $dir/$file /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/gettext/intl/$file; done; dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c COPYING.LIB-2 gettext.h libgettext.h plural-eval.c"; for file in $dists; do rm -f /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/gettext/intl/$file; done; else : ; fi Making install in lib Making install in src /bin/sh ../config/mkinstalldirs /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/bin install -s -m 555 ap-config /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/bin/ap-config install -s -m 555 ap-mrtg /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/bin/ap-mrtg /bin/sh ../config/mkinstalldirs /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/sbin install -s -m 555 ap-trapd /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/sbin/ap-trapd Making install in po /bin/sh `case "config/mkinstalldirs" in /*) echo "config/mkinstalldirs" ;; *) echo "../config/mkinstalldirs" ;; esac` /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share installing uk.gmo as /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/locale/uk/LC_MESSAGES/ap-utils.mo installing fr.gmo as /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/locale/fr/LC_MESSAGES/ap-utils.mo installing pl.gmo as /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/locale/pl/LC_MESSAGES/ap-utils.mo installing ro.gmo as /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/locale/ro/LC_MESSAGES/ap-utils.mo installing nl.gmo as /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/locale/nl/LC_MESSAGES/ap-utils.mo if test "ap-utils" = "gettext"; then /bin/sh `case "config/mkinstalldirs" in /*) echo "config/mkinstalldirs" ;; *) echo "../config/mkinstalldirs" ;; esac` /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/gettext/po; for file in Makefile.in.in Makevars remove-potcdate.sin ; do install -m 0644 ./$file /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/gettext/po/$file; done; else : ; fi Making install in Documentation /bin/sh ../config/mkinstalldirs /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/man/man8 install -m 0644 ./ap-trapd.8 /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/man/man8/ap-trapd.8 install -m 0644 ./ap-mrtg.8 /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/man/man8/ap-mrtg.8 install -m 0644 ./ap-config.8 /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/man/man8/ap-config.8 Making install in ap-gl /bin/sh ../config/mkinstalldirs /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/bin install -s -m 555 ap-gl /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/bin/ap-gl /bin/mkdir -p /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/doc/ap-utils cd /wrkdirs/usr/ports/net-mgmt/ap-utils/work/ap-utils-1.4.1/Documentation && install -m 0644 FAQ Ovislink-HOWTO.html HARDWARE-NOTES README.ap-gl /wrkdirs/usr/ports/net-mgmt/ap-utils/work/stage/usr/local/share/doc/ap-utils ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-03-12T15:45:41+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=652c32e84fae' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for ap-utils-1.4.1_6 ===> Building ap-utils-1.4.1_6 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ap-utils-1.4.1_6 build of net-mgmt/ap-utils | ap-utils-1.4.1_6 ended at Thu Mar 12 11:47:55 EDT 2026 build time: 00:02:19