=>> Building net-mgmt/ap-utils build started at Wed Apr 3 15:19:30 BST 2024 port directory: /usr/ports/net-mgmt/ap-utils package name: ap-utils-1.4.1_6 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: david@catwhisker.org Makefile datestamp: -rw-r--r-- 1 root wheel 793 Feb 25 10:26 /usr/ports/net-mgmt/ap-utils/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 652c32e84f Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 12 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/12/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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=/ccache/libexec/ccache:/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 CCACHE_DIR="/root/.ccache" 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=/ccache/libexec/ccache:/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=" -fstack-protector-strong " LIBS="-L/usr/local/lib -lintl" CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG " CCACHE_DIR="/root/.ccache" 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=13.2 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--- 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 #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---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 --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-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... 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.22_1 - not found ===> Installing existing package /packages/All/gettext-runtime-0.22.3_1.pkg [pkg-builder.dan.net.uk] Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] Extracting gettext-runtime-0.22.3_1: .......... done ===> ap-utils-1.4.1_6 depends on package: gettext-runtime>=0.22_1 - found ===> Returning to build of ap-utils-1.4.1_6 ===> ap-utils-1.4.1_6 depends on executable: msgfmt - not found ===> Installing existing package /packages/All/gettext-tools-0.22.3_1.pkg [pkg-builder.dan.net.uk] Installing gettext-tools-0.22.3_1... [pkg-builder.dan.net.uk] `-- Installing libtextstyle-0.22.3... [pkg-builder.dan.net.uk] `-- Extracting libtextstyle-0.22.3: .......... done [pkg-builder.dan.net.uk] Extracting gettext-tools-0.22.3_1: .......... done ===> ap-utils-1.4.1_6 depends on executable: msgfmt - 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-freebsd13.2 checking host system type... amd64-portbld-freebsd13.2 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 /usr/bin/make all-recursive Making all in intl Making all in lib 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] 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] 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] varbinds[0].oid = operESSID; ^ ~~~~~~~~~ 3 warnings generated. 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 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] len = ber(message, varbindlist, num, type); ^~~~~~~ snmp.c:49:15: note: passing argument to parameter 'message' here 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] start = buf; ^ ~~~ 2 warnings generated. 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 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 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 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 [-Wfortify-source] sprintf(message, "View: %c", v + '0'); ^ 1 warning generated. 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] varbinds[i].value = wepkey[c]; ^ ~~~~~~~~~ 22 warnings generated. 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 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] 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] 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] varbinds[i++].oid = operESSIDLength; ^ ~~~~~~~~~~~~~~~ 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] 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] 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] varbinds[i++].oid = operBasicRates; ^ ~~~~~~~~~~~~~~ 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] 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] 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] varbinds[i++].oid = operFragmentationThreshold; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] 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] 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] varbinds[i++].oid = operAccessPointName; ^ ~~~~~~~~~~~~~~~~~~~ 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] 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] 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] varbinds[i++].oid = operBeaconPeriod; ^ ~~~~~~~~~~~~~~~~ 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] 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] 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] varbinds[i].value = (char *) &channel; ^ ~~~~~~~~~~~~~~~~~ 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] varbinds[i].value = domain; ^ ~~~~~~ 84 warnings generated. 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 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] varbinds[0].value = &teston; ^ ~~~~~~~ 10 warnings generated. 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] 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] varbinds[1].oid = EthTx; ^ ~~~~~ 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] 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] 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] varbinds[0].oid = Wireless; ^ ~~~~~~~~ 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] varbinds[i].value = oid_dot11TransmittedFragmentCount; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 warnings generated. 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 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] 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] 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] varbinds[i].oid = AuthorizedAdminPass[ap_type]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] 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] 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] varbinds[i].value = manufact; ^ ~~~~~~~~ 6 warnings generated. 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] 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] varbinds[0].value = &enable; ^ ~~~~~~~ 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] 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] varbinds[0].value = &enable; ^ ~~~~~~~ 4 warnings generated. 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 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] 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] 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] varbinds[1].oid = operAntennaSettings; ^ ~~~~~~~~~~~~~~~~~~~ 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] 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] i = strtol(a, NULL, 16); ^ /usr/include/stdlib.h:117:37: note: passing argument to parameter here 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] 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] 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] 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] varbinds[i].value = &antenna.antennac; ^ ~~~~~~~~~~~~~~~~~ 9 warnings generated. 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 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] 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] 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] varbinds[0].oid = bridgeOperationalMode; ^ ~~~~~~~~~~~~~~~~~~~~~ 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] 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] 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] 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] oui2manufacturer(app->mac), 48); ^~~~~~~~ /usr/include/curses.h:1306:88: note: expanded from macro 'mvwaddnstr' #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 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] varbinds[3].oid = operChannelID; ^ ~~~~~~~~~~~~~ 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] 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] 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] varbinds[2].value = ap[j-1].mac; ^ ~~~~~~~~~~~ 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] 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] 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] varbinds[0].oid = operESSID; ^ ~~~~~~~~~ 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] 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] 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] varbinds[0].value = &c; ^ ~~ 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] 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] varbinds[0].value = (char *) &bridge_mode; ^ ~~~~~~~~~~~~~~~~~~~~~ aps.c:265:2: warning: array index 13 is past the end of the array (which contains 13 elements) [-Warray-bounds] bssid[13] = '\0'; ^ ~~ aps.c:91:5: note: array 'bssid' declared here char essid[33], bssid[13], message[65]; ^ 20 warnings generated. 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 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] sprintf(message, _(" Index: %i"), f_ifctr); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 16, 1, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, _(" Name: %s"), ifname); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 17, 1, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, _(" IP: %s"), inet_ntoa(from->sin_addr)); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 18, 1, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, _("Scanning for AP type: %s"), ap_types[scd_ap_type]); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 19, 1, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] 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] len = ber(message, varbinds, 1, GET); ^~~~~~~ ./ap-utils.h:322:22: note: passing argument to parameter here 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] sprintf(message, _("Failure in sendto(): %s. Press any key."), ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] print_helperr(message); ^~~~~~~ ./ap-utils.h:293:33: note: passing argument to parameter here 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] (struct sockaddr *) from, &client_len)) == -1) ^~~~~~~~~~~ /usr/include/sys/socket.h:695:96: note: passing argument to parameter here 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] sprintf(message, "%2X %11s %15s", i, ap_types[fapsa[i].type], ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, i, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ 15 warnings generated. 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 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] oui2manufacturer(varbinds[3].value)); ^~~~~~~~~~~~~~~~~ ./ap-utils.h:282:38: note: passing argument to parameter here extern char * oui2manufacturer(char *); ^ sysinfo.c:305:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(message, _("Product Name:")); ^~~~~~~~~~~~~~~~~~ ./ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ sysinfo.c:305:22: note: treat the string as an argument to avoid this sprintf(message, _("Product Name:")); ^ "%s", ./ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^ sysinfo.c:312:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(message, _("Product ID:")); ^~~~~~~~~~~~~~~~ ./ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ sysinfo.c:312:22: note: treat the string as an argument to avoid this sprintf(message, _("Product ID:")); ^ "%s", ./ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^ sysinfo.c:318:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(message, _("Product Version:")); ^~~~~~~~~~~~~~~~~~~~~ ./ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ sysinfo.c:318:22: note: treat the string as an argument to avoid this sprintf(message, _("Product Version:")); ^ "%s", ./ap-utils.h:49:19: note: expanded from macro '_' #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] 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] 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] 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] 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] 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] 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] 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] 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] 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] varbinds[0].value = oid_mac; ^ ~~~~~~~ 37 warnings generated. 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 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] get_pass(message, 2, 1 + strlen(APPASS), 16); ^~~~~~~ ./ap-utils.h:300:28: note: passing argument to parameter here 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] i = strlen(message) + 1; ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] strncpy(community, message, i); ^~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here 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] 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] 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] 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] sprintf(message, "%s/.ap-config", home_dir); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] if ((fd = open(message, O_CREAT | O_WRONLY | O_APPEND, 0600)) != -1) { ^~~~~~~ /usr/include/fcntl.h:360:22: note: passing argument to parameter here 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] sprintf(message, "%s:%s:%d\n", inet_ntoa(ap_ip), ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] write(fd, message, strlen(message)); ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ 10 warnings generated. 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 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 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 ap-config.c:148:41: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 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] connect_options((unsigned long) NULL, (int) NULL); ^~~~~~~~~~ 2 warnings generated. 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 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] 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] 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] 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] get_mac(curr->addr, 1, strlen(MAC_ADD)); ^~~~~~~~~~ ../lib/ap-utils.h:296:27: note: passing argument to parameter here 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] get_mac(curr->addr, 1, strlen(MAC_ADD)); ^~~~~~~~~~ ../lib/ap-utils.h:296:27: note: passing argument to parameter here 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] varbinds[2].value = &allow; ^ ~~~~~~ 36 warnings generated. 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 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] sprintf(message, "%s%02X%02X%02X%02X%02X%02X", MAC, ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 0, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%s", IPADDR, inet_ntoa(ip)); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 1, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%s", NETMASK, inet_ntoa(mask)); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 1, 24, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%s", GATEWAY, inet_ntoa(gw)); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 2, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%s", IP_FILTER, (filter == 1) ? ON : OFF); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 3, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%02X%02X%02X%02X%02X%02X", SB_ATTMAC, ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] sprintf(message, "%s%s", PR_PORT, pr_ports[primary_port - 1]); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 4, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%s", DHCP, (dhcp == 1) ? ON : OFF); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 5, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%02X%02X%02X%02X%02X%02X", REMOTE_MAC, ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 7, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%s", OPER, bridge_modes[bridge_mode - 1]); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 6, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%s", TRAPS, (traps == 1) ? ON : OFF); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 8, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%s", CF_PORT, cf_trap_ports[config_port]); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 9, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%u", TRAP_PORT, trap_port); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 10, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%s", FW_BCAST, (fw_bcast == 1) ? ON : OFF); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 11, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%s", SB_BCAST, (sb_bcast == 1) ? ON : OFF); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 12, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%s", SB_UCAST, (sb_ucast == 1) ? ON : OFF); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 13, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%02X%02X%02X%02X%02X%02X", ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] print_menusel(7, 0, REMOTE_MAC, message); ^~~~~~~ ../lib/ap-utils.h:290:51: note: passing argument to parameter here 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] get_mac(RemoteBSSID, 7, strlen(REMOTE_MAC)); ^~~~~~~~~~~ ../lib/ap-utils.h:296:27: note: passing argument to parameter here 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] get_value(message, 10, strlen(TRAP_PORT), 6, INT_STRING, ^~~~~~~ ../lib/ap-utils.h:299:29: note: passing argument to parameter here 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] trap_port = atoi(message); ^~~~~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] varbinds[i].value = (char *) &trap_port; ^ ~~~~~~~~~~~~~~~~~~~ 77 warnings generated. 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_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] 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] 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] 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] 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] 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] varbinds[i].value = &ackwindow; ^ ~~~~~~~~~~ 6 warnings generated. 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 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] 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] 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] 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] 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] 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] 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] 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] 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] varbinds[7].oid = oid_secLastErrorAddress; ^ ~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. 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 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] 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] 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] 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] 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] 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] varbinds[0].value = (char *) &get; ^ ~~~~~~~~~~~~~ 6 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -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 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-mrtg.c:42:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_("\nUsage:\n")); ^~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:42:12: note: treat the string as an argument to avoid this printf(_("\nUsage:\n")); ^ "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^ ap-mrtg.c:43:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_ ^ ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:43:12: note: treat the string as an argument to avoid this printf(_ ^ "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^ ap-mrtg.c:45:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_ ^ ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:45:12: note: treat the string as an argument to avoid this printf(_ ^ "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^ ap-mrtg.c:47:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_("-i ip - AP ip address\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:47:12: note: treat the string as an argument to avoid this printf(_("-i ip - AP ip address\n")); ^ "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^ ap-mrtg.c:48:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_("-c community - SNMP community string\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:48:12: note: treat the string as an argument to avoid this printf(_("-c community - SNMP community string\n")); ^ "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^ ap-mrtg.c:49:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_ ^ ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:49:12: note: treat the string as an argument to avoid this printf(_ ^ "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^ ap-mrtg.c:51:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_ ^ ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:51:12: note: treat the string as an argument to avoid this printf(_ ^ "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^ ap-mrtg.c:53:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_("-n name - AP name - for check only\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:53:12: note: treat the string as an argument to avoid this printf(_("-n name - AP name - for check only\n")); ^ "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^ ap-mrtg.c:54:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 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 '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:54:12: note: treat the string as an argument to avoid this 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 '_' #define _(String) gettext (String) ^ ap-mrtg.c:55:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_ ^ ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:55:12: note: treat the string as an argument to avoid this printf(_ ^ "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^ ap-mrtg.c:57:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_("-r - reset AP when getting LinkQuality stats\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:57:12: note: treat the string as an argument to avoid this printf(_("-r - reset AP when getting LinkQuality stats\n")); ^ "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^ ap-mrtg.c:58:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_("-h - print this help screen\n\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:58:12: note: treat the string as an argument to avoid this printf(_("-h - print this help screen\n\n")); ^ "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^ ap-mrtg.c:143:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_("Invalid IP-address\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-mrtg.c:143:10: note: treat the string as an argument to avoid this printf(_("Invalid IP-address\n")); ^ "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' #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] 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] 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] 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] varbinds[1].value = EthTx; ^ ~~~~~ ap-mrtg.c:231:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(ERR_STR); ^~~~~~~ ap-mrtg.c:231:13: note: treat the string as an argument to avoid this printf(ERR_STR); ^ "%s", ap-mrtg.c:243:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(ERR_STR); ^~~~~~~ ap-mrtg.c:243:13: note: treat the string as an argument to avoid this printf(ERR_STR); ^ "%s", ap-mrtg.c:255:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(ERR_STR); ^~~~~~~ ap-mrtg.c:255:13: note: treat the string as an argument to avoid this 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] 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] varbinds[0].value = Wireless; ^ ~~~~~~~~ ap-mrtg.c:273:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(ERR_STR); ^~~~~~~ ap-mrtg.c:273:13: note: treat the string as an argument to avoid this printf(ERR_STR); ^ "%s", ap-mrtg.c:284:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(ERR_STR); ^~~~~~~ ap-mrtg.c:284:13: note: treat the string as an argument to avoid this 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] 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] varbinds[0].value = StasNum; ^ ~~~~~~~ ap-mrtg.c:304:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(ERR_STR); ^~~~~~~ ap-mrtg.c:304:13: note: treat the string as an argument to avoid this 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] varbinds[0].oid = bridgeOperationalMode; ^ ~~~~~~~~~~~~~~~~~~~~~ ap-mrtg.c:319:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(ERR_STR); ^~~~~~~ ap-mrtg.c:319:13: note: treat the string as an argument to avoid this printf(ERR_STR); ^ "%s", ap-mrtg.c:324:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(ERR_STR); ^~~~~~~ ap-mrtg.c:324:13: note: treat the string as an argument to avoid this printf(ERR_STR); ^ "%s", ap-mrtg.c:330:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(ERR_STR); ^~~~~~~ ap-mrtg.c:330:14: note: treat the string as an argument to avoid this 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] varbinds[0].oid = KnownAP; ^ ~~~~~~~ ap-mrtg.c:342:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(ERR_STR); ^~~~~~~ ap-mrtg.c:342:13: note: treat the string as an argument to avoid this printf(ERR_STR); ^ "%s", ap-mrtg.c:367:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(ERR_STR); ^~~~~~~ ap-mrtg.c:367:13: note: treat the string as an argument to avoid this 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] 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] if (strncmp(name,varbinds[0].value,strlen(name)) ){ ^~~~~~~~~~~~~~~~~ /usr/include/string.h:106:40: note: passing argument to parameter here 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 [-Wfortify-source] sprintf(message, "%02X%02X%02X%02X%02X%02X", ^ 37 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -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 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 ap-trapd.c:155:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, _("Unable to fork. Exiting.")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-trapd.c:155:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, _("Unable to fork. Exiting.")); ^ "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^ ap-trapd.c:159:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, _("Can't create socket. Exiting.")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-trapd.c:159:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, _("Can't create socket. Exiting.")); ^ "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^ ap-trapd.c:165:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, _("Can't bind socket. Exiting.")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^~~~~~~~~~~~~~~~ ap-trapd.c:165:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, _("Can't bind socket. Exiting.")); ^ "%s", ../lib/ap-utils.h:49:19: note: expanded from macro '_' #define _(String) gettext (String) ^ 3 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o ap-trapd ap-trapd.o /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 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 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 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] 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] 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] 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] 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] 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] 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] 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] get_mac(curr->addr, 1, strlen(MAC_ADD)); ^~~~~~~~~~ ../lib/ap-utils.h:296:27: note: passing argument to parameter here 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] varbinds[0].value = (char *) &get; ^ ~~~~~~~~~~~~~ 24 warnings generated. 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 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] sprintf(message, "%s%s", SB_UCAST, (sb_ucast == 2) ? ON : OFF); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 10, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%02X%02X%02X%02X%02X%02X", MAC, ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 0, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%s", IP_FILTER, (filter == 1) ? ON : OFF); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 3, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%s", PR_PORT, pr_ports[primary_port - 1]); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 4, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%s", DHCP, (dhcp == 1) ? ON : OFF); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 5, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%s", IPADDR, inet_ntoa(ip)); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 1, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%s", NETMASK, inet_ntoa(mask)); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 1, 24, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%s", GATEWAY, inet_ntoa(gw)); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 2, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%02X%02X%02X%02X%02X%02X", REMOTE_MAC, ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 7, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%s", OPER, bridge_modes[bridge_mode - 1]); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 6, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%s", TRAPS, (traps == 1) ? ON : OFF); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 8, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%s%s", FW_BCAST, (fw_bcast == 1) ? ON : OFF); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] mvwaddstr(main_sub, 9, 0, message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curses.h:1307:85: note: expanded from macro 'mvwaddstr' #define mvwaddstr(win,y,x,str) (wmove((win),(y),(x)) == ERR ? ERR : waddnstr((win),(str),-1)) ^~~~~ /usr/include/curses.h:832:59: note: passing argument to parameter here 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] sprintf(message, "%02X%02X%02X%02X%02X%02X", ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] print_menusel(7, 0, REMOTE_MAC, message); ^~~~~~~ ../lib/ap-utils.h:290:51: note: passing argument to parameter here 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] get_mac(RemoteBSSID, 7, strlen(REMOTE_MAC)); ^~~~~~~~~~~ ../lib/ap-utils.h:296:27: note: passing argument to parameter here 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] varbinds[i].value = (char *) &trap_port; ^ ~~~~~~~~~~~~~~~~~~~ 64 warnings generated. 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 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] 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] 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] 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] 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] 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] varbinds[0].value = (char *) &get; ^ ~~~~~~~~~~~~~ 6 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -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=2024-04-03T14:19:30+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=652c32e84f' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' 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 Wed Apr 3 15:19:52 BST 2024 build time: 00:00:24