=>> Building net-mgmt/gsnmp build started at Thu May 8 00:24:26 BST 2025 port directory: /usr/ports/net-mgmt/gsnmp package name: gsnmp-0.2.0_4 building for: FreeBSD pkg-builder.dan.net.uk 14.2-RELEASE FreeBSD 14.2-RELEASE amd64 maintained by: matt@peterson.org Makefile datestamp: -rw-r--r-- 1 root wheel 591 Dec 29 14:16 /usr/ports/net-mgmt/gsnmp/Makefile Ports top last git commit: 5529c5919b Ports top unclean checkout: yes Port dir last git commit: 1a35b19e6d Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1402000 Jail OSVERSION: 1402000 Job Id: 06 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1402000 UNAME_v=FreeBSD 14.2-RELEASE UNAME_r=14.2-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/14-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/14-amd64-default-dan/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=14-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/14-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- matt@peterson.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/gsnmp/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/gsnmp/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/gsnmp/work/.cache HOME=/wrkdirs/usr/ports/net-mgmt/gsnmp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/gsnmp/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/gsnmp/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/gsnmp/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/gsnmp/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/gsnmp/work/.cache HOME=/wrkdirs/usr/ports/net-mgmt/gsnmp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/gsnmp/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/gsnmp/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 -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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-- GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" GTK4_VERSION="4.0.0" OSREL=14.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/gsnmp" EXAMPLESDIR="share/examples/gsnmp" DATADIR="share/gsnmp" WWWDIR="www/gsnmp" ETCDIR="etc/gsnmp" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/gsnmp DOCSDIR=/usr/local/share/doc/gsnmp EXAMPLESDIR=/usr/local/share/examples/gsnmp WWWDIR=/usr/local/www/gsnmp ETCDIR=/usr/local/etc/gsnmp --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 apache=2.4 imagemagick=7 java=21 linux=c7 mysql=8.0 php=8.3 samba=4.19 varnish=7 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE ALLOW_UNSUPPORTED_SYSTEM=yes WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.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 pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> gsnmp-0.2.0_4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.1.2.pkg [pkg-builder.dan.net.uk] Installing pkg-2.1.2... [pkg-builder.dan.net.uk] Extracting pkg-2.1.2: .......... done ===> gsnmp-0.2.0_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of gsnmp-0.2.0_4 =========================================================================== =================================================== ===== 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 gsnmp-0.2.0_4 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by gsnmp-0.2.0_4 for building => SHA256 Checksum OK for gsnmp-0.2.0.tar.gz. =========================================================================== =================================================== ===== 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 gsnmp-0.2.0_4 for building ===> Extracting for gsnmp-0.2.0_4 => SHA256 Checksum OK for gsnmp-0.2.0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for gsnmp-0.2.0_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> gsnmp-0.2.0_4 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-2.3.0_1,1.pkg [pkg-builder.dan.net.uk] Installing pkgconf-2.3.0_1,1... [pkg-builder.dan.net.uk] Extracting pkgconf-2.3.0_1,1: .......... done ===> gsnmp-0.2.0_4 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of gsnmp-0.2.0_4 ===> gsnmp-0.2.0_4 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg-builder.dan.net.uk] Installing ccache-3.7.12_8... [pkg-builder.dan.net.uk] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> gsnmp-0.2.0_4 depends on file: /usr/local/bin/ccache - found ===> Returning to build of gsnmp-0.2.0_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> gsnmp-0.2.0_4 depends on shared library: libgnet-2.0.so - not found ===> Installing existing package /packages/All/gnet2-2.0.8_3.pkg [pkg-builder.dan.net.uk] Installing gnet2-2.0.8_3... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.23.1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1_1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1_1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.23.1: .......... done [pkg-builder.dan.net.uk] `-- Installing glib-2.84.1_2,2... [pkg-builder.dan.net.uk] | `-- Installing libffi-3.4.8... [pkg-builder.dan.net.uk] | `-- Extracting libffi-3.4.8: .......... done [pkg-builder.dan.net.uk] | `-- Installing libiconv-1.17_1... [pkg-builder.dan.net.uk] | `-- Extracting libiconv-1.17_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libinotify-20240724_1... [pkg-builder.dan.net.uk] | `-- Extracting libinotify-20240724_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing pcre2-10.45_1... [pkg-builder.dan.net.uk] | | `-- Installing readline-8.2.13_2... [pkg-builder.dan.net.uk] | | `-- Extracting readline-8.2.13_2: .......... done [pkg-builder.dan.net.uk] | `-- Extracting pcre2-10.45_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing py311-packaging-24.2... [pkg-builder.dan.net.uk] | | `-- Installing python311-3.11.12... [pkg-builder.dan.net.uk] | | `-- Installing mpdecimal-4.0.0... [pkg-builder.dan.net.uk] | | `-- Extracting mpdecimal-4.0.0: .......... done [pkg-builder.dan.net.uk] | | `-- Installing openssl-3.0.16,1... [pkg-builder.dan.net.uk] | | `-- Extracting openssl-3.0.16,1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting python311-3.11.12: .......... done [pkg-builder.dan.net.uk] | `-- Extracting py311-packaging-24.2: .......... done [pkg-builder.dan.net.uk] `-- Extracting glib-2.84.1_2,2: .......... done [pkg-builder.dan.net.uk] Extracting gnet2-2.0.8_3: .......... done ==> Running trigger: gio-modules.ucl Generating GIO modules cache ==> Running trigger: glib-schemas.ucl Compiling glib schemas No schema files found: doing nothing. ===== Message from libinotify-20240724_1: -- You might want to consider increasing the kern.maxfiles tunable if you plan to use this library for applications that need to monitor activity of a lot of files. ===== Message from python311-3.11.12: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py311-gdbm databases/py-gdbm@py311 py311-sqlite3 databases/py-sqlite3@py311 py311-tkinter x11-toolkits/py-tkinter@py311 ===> gsnmp-0.2.0_4 depends on shared library: libgnet-2.0.so - found (/usr/local/lib/libgnet-2.0.so) ===> Returning to build of gsnmp-0.2.0_4 ===> gsnmp-0.2.0_4 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> gsnmp-0.2.0_4 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for gsnmp-0.2.0_4 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net-mgmt/gsnmp/work/gsnmp-0.2.0/aclocal.m4 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net-mgmt/gsnmp/work/gsnmp-0.2.0/configure 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 whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... missing checking build system type... amd64-portbld-freebsd14.2 checking host system type... amd64-portbld-freebsd14.2 checking for a BSD-compatible install... /usr/bin/install -c checking for gcc... cc checking for C compiler default output file name... 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 ISO C89... none needed checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... cpp checking for ANSI C header files... (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 dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking how to run the C++ preprocessor... c++ -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... (cached) 524288 checking command to parse /usr/bin/nm output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd14.2 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by c++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC checking if c++ PIC flag -fPIC works... yes checking if c++ static flag -static works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd14.2 ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for pkg-config... /usr/local/bin/pkg-config checking for GLIB - version >= 2.0.0... yes (version 2.84.1) checking for pkg-config... (cached) /usr/local/bin/pkg-config checking for GNET - version >= 2.0.4... yes (version 2.0.8) configure: creating ./config.status config.status: creating Makefile config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting config.status: creating src/Makefile config.status: WARNING: src/Makefile.in seems to ignore the --datarootdir setting config.status: creating tests/Makefile config.status: WARNING: tests/Makefile.in seems to ignore the --datarootdir setting config.status: creating examples/Makefile config.status: WARNING: examples/Makefile.in seems to ignore the --datarootdir setting config.status: creating gsnmp.lsm config.status: creating gsnmp.spec config.status: creating gsnmp.pc config.status: creating config.h config.status: executing default-1 commands =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for gsnmp-0.2.0_4 /usr/bin/make all-recursive Making all in src /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ber.c mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ber.c -fPIC -DPIC -o .libs/ber.o cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ber.c -o ber.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c pdu.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c pdu.c -fPIC -DPIC -o .libs/pdu.o In file included from pdu.c:26: In file included from ./gsnmp.h:54: ./session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ pdu.c:134:16: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 134 | : (guint32 *) g_memdup(oid, oid_len * sizeof(guint32)); | ^ /usr/local/include/glib-2.0/glib/gstrfuncs.h:337:1: note: 'g_memdup' has been explicitly marked deprecated here 337 | GLIB_DEPRECATED_IN_2_68_FOR (g_memdup2) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:752:40: note: expanded from macro 'GLIB_DEPRECATED_IN_2_68_FOR' 752 | #define GLIB_DEPRECATED_IN_2_68_FOR(f) GLIB_DEPRECATED_FOR (f) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:31:32: note: expanded from macro 'GLIB_DEPRECATED_FOR' 31 | #define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ pdu.c:165:19: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 165 | : (guchar *) g_memdup(value, vb->value_len); | ^ /usr/local/include/glib-2.0/glib/gstrfuncs.h:337:1: note: 'g_memdup' has been explicitly marked deprecated here 337 | GLIB_DEPRECATED_IN_2_68_FOR (g_memdup2) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:752:40: note: expanded from macro 'GLIB_DEPRECATED_IN_2_68_FOR' 752 | #define GLIB_DEPRECATED_IN_2_68_FOR(f) GLIB_DEPRECATED_FOR (f) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:31:32: note: expanded from macro 'GLIB_DEPRECATED_FOR' 31 | #define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ pdu.c:170:20: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 170 | : (guint32 *) g_memdup(value, vb->value_len * sizeof(guint32)); | ^ /usr/local/include/glib-2.0/glib/gstrfuncs.h:337:1: note: 'g_memdup' has been explicitly marked deprecated here 337 | GLIB_DEPRECATED_IN_2_68_FOR (g_memdup2) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:752:40: note: expanded from macro 'GLIB_DEPRECATED_IN_2_68_FOR' 752 | #define GLIB_DEPRECATED_IN_2_68_FOR(f) GLIB_DEPRECATED_FOR (f) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:31:32: note: expanded from macro 'GLIB_DEPRECATED_FOR' 31 | #define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ pdu.c:1034:2: warning: Deprecated pre-processor symbol: replace with "memmove" [-W#pragma-messages] 1034 | g_memmove(base, enterprise, enterprise_len * sizeof(guint32)); | ^ /usr/local/include/glib-2.0/glib/gutils.h:315:64: note: expanded from macro 'g_memmove' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:278:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :117:6: note: expanded from here 117 | GCC warning "Deprecated pre-processor symbol: replace with \"memmove\"" | ^ pdu.c:1038:14: warning: 'sizeof (base)' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] 1038 | base, G_N_ELEMENTS(base)); | ^~~~~~~~~~~~~~~~~~ /usr/local/include/glib-2.0/glib/gmacros.h:957:42: note: expanded from macro 'G_N_ELEMENTS' 957 | #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) | ~~~~~~~~~~~~ ^ pdu.c:1033:11: note: pointer 'base' declared here 1033 | guint32 *base = g_new0(guint32, enterprise_len + 2); | ^ 6 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c pdu.c -o pdu.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c dispatch.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c dispatch.c -fPIC -DPIC -o .libs/dispatch.o In file included from dispatch.c:24: In file included from ./gsnmp.h:54: ./session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c dispatch.c -o dispatch.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c message.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c message.c -fPIC -DPIC -o .libs/message.o In file included from message.c:22: In file included from ./gsnmp.h:54: ./session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c message.c -o message.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c security.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c security.c -fPIC -DPIC -o .libs/security.o In file included from security.c:24: In file included from ./gsnmp.h:54: ./session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ security.c:181:5: warning: Deprecated pre-processor symbol: replace with "memmove" [-W#pragma-messages] 181 | g_memmove(key, gnet_md5_get_digest(gmd5), GNET_MD5_HASH_LENGTH); | ^ /usr/local/include/glib-2.0/glib/gutils.h:315:64: note: expanded from macro 'g_memmove' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:278:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :72:6: note: expanded from here 72 | GCC warning "Deprecated pre-processor symbol: replace with \"memmove\"" | ^ security.c:204:5: warning: Deprecated pre-processor symbol: replace with "memmove" [-W#pragma-messages] 204 | g_memmove(password_buf, key, 16); | ^ /usr/local/include/glib-2.0/glib/gutils.h:315:64: note: expanded from macro 'g_memmove' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:278:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :84:6: note: expanded from here 84 | GCC warning "Deprecated pre-processor symbol: replace with \"memmove\"" | ^ security.c:205:5: warning: Deprecated pre-processor symbol: replace with "memmove" [-W#pragma-messages] 205 | g_memmove(password_buf+16, engineID, engineID_len); | ^ /usr/local/include/glib-2.0/glib/gutils.h:315:64: note: expanded from macro 'g_memmove' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:278:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :89:6: note: expanded from here 89 | GCC warning "Deprecated pre-processor symbol: replace with \"memmove\"" | ^ security.c:206:5: warning: Deprecated pre-processor symbol: replace with "memmove" [-W#pragma-messages] 206 | g_memmove(password_buf+16+engineID_len, key, 16); | ^ /usr/local/include/glib-2.0/glib/gutils.h:315:64: note: expanded from macro 'g_memmove' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:278:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :94:6: note: expanded from here 94 | GCC warning "Deprecated pre-processor symbol: replace with \"memmove\"" | ^ security.c:209:5: warning: Deprecated pre-processor symbol: replace with "memmove" [-W#pragma-messages] 209 | g_memmove(key, gnet_md5_get_digest(gmd5), GNET_MD5_HASH_LENGTH); | ^ /usr/local/include/glib-2.0/glib/gutils.h:315:64: note: expanded from macro 'g_memmove' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:278:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :99:6: note: expanded from here 99 | GCC warning "Deprecated pre-processor symbol: replace with \"memmove\"" | ^ security.c:255:5: warning: Deprecated pre-processor symbol: replace with "memmove" [-W#pragma-messages] 255 | g_memmove(key, gnet_sha_get_digest(gsha), GNET_SHA_HASH_LENGTH); | ^ /usr/local/include/glib-2.0/glib/gutils.h:315:64: note: expanded from macro 'g_memmove' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:278:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :111:6: note: expanded from here 111 | GCC warning "Deprecated pre-processor symbol: replace with \"memmove\"" | ^ security.c:278:5: warning: Deprecated pre-processor symbol: replace with "memmove" [-W#pragma-messages] 278 | g_memmove(password_buf, key, 20); | ^ /usr/local/include/glib-2.0/glib/gutils.h:315:64: note: expanded from macro 'g_memmove' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:278:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :123:6: note: expanded from here 123 | GCC warning "Deprecated pre-processor symbol: replace with \"memmove\"" | ^ security.c:279:5: warning: Deprecated pre-processor symbol: replace with "memmove" [-W#pragma-messages] 279 | g_memmove(password_buf+20, engineID, engineID_len); | ^ /usr/local/include/glib-2.0/glib/gutils.h:315:64: note: expanded from macro 'g_memmove' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:278:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :128:6: note: expanded from here 128 | GCC warning "Deprecated pre-processor symbol: replace with \"memmove\"" | ^ security.c:280:5: warning: Deprecated pre-processor symbol: replace with "memmove" [-W#pragma-messages] 280 | g_memmove(password_buf+20+engineID_len, key, 20); | ^ /usr/local/include/glib-2.0/glib/gutils.h:315:64: note: expanded from macro 'g_memmove' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:278:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :133:6: note: expanded from here 133 | GCC warning "Deprecated pre-processor symbol: replace with \"memmove\"" | ^ security.c:283:5: warning: Deprecated pre-processor symbol: replace with "memmove" [-W#pragma-messages] 283 | g_memmove(key, gnet_sha_get_digest(gsha), GNET_SHA_HASH_LENGTH); | ^ /usr/local/include/glib-2.0/glib/gutils.h:315:64: note: expanded from macro 'g_memmove' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:278:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :3:6: note: expanded from here 3 | GCC warning "Deprecated pre-processor symbol: replace with \"memmove\"" | ^ 11 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c security.c -o security.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c session.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c session.c -fPIC -DPIC -o .libs/session.o In file included from session.c:24: In file included from ./gsnmp.h:54: ./session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ session.c:494:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 494 | GTimeVal now; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ session.c:501:5: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] 501 | g_get_current_time(&now); | ^ /usr/local/include/glib-2.0/glib/gmain.h:824:1: note: 'g_get_current_time' has been explicitly marked deprecated here 824 | GLIB_DEPRECATED_IN_2_62_FOR(g_get_real_time) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:650:40: note: expanded from macro 'GLIB_DEPRECATED_IN_2_62_FOR' 650 | #define GLIB_DEPRECATED_IN_2_62_FOR(f) GLIB_DEPRECATED_FOR (f) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:31:32: note: expanded from macro 'GLIB_DEPRECATED_FOR' 31 | #define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ session.c:607:5: warning: Deprecated pre-processor symbol: replace with "g_main_loop_quit" [-W#pragma-messages] 607 | g_main_quit(sm->loop); | ^ /usr/local/include/glib-2.0/glib/deprecated/gmain.h:73:56: note: expanded from macro 'g_main_quit' 73 | #define g_main_quit(loop) g_main_loop_quit(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_quit) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:40:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :196:6: note: expanded from here 196 | GCC warning "Deprecated pre-processor symbol: replace with \"g_main_loop_quit\"" | ^ session.c:619:5: warning: Deprecated pre-processor symbol: replace with "g_main_loop_quit" [-W#pragma-messages] 619 | g_main_quit(sm->loop); | ^ /usr/local/include/glib-2.0/glib/deprecated/gmain.h:73:56: note: expanded from macro 'g_main_quit' 73 | #define g_main_quit(loop) g_main_loop_quit(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_quit) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:40:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :201:6: note: expanded from here 201 | GCC warning "Deprecated pre-processor symbol: replace with \"g_main_loop_quit\"" | ^ session.c:631:19: warning: Deprecated pre-processor symbol: replace with "g_main_loop_new" [-W#pragma-messages] 631 | magic->loop = g_main_new(TRUE); | ^ /usr/local/include/glib-2.0/glib/deprecated/gmain.h:52:76: note: expanded from macro 'g_main_new' 52 | #define g_main_new(is_running) g_main_loop_new (NULL, is_running) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_new) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:40:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :206:6: note: expanded from here 206 | GCC warning "Deprecated pre-processor symbol: replace with \"g_main_loop_new\"" | ^ session.c:640:2: warning: Deprecated pre-processor symbol: replace with "g_main_loop_unref" [-W#pragma-messages] 640 | g_main_destroy(magic->loop); | ^ /usr/local/include/glib-2.0/glib/deprecated/gmain.h:83:57: note: expanded from macro 'g_main_destroy' 83 | #define g_main_destroy(loop) g_main_loop_unref(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_unref) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:40:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :5:6: note: expanded from here 5 | GCC warning "Deprecated pre-processor symbol: replace with \"g_main_loop_unref\"" | ^ session.c:645:11: warning: Deprecated pre-processor symbol: replace with "g_main_loop_is_running" [-W#pragma-messages] 645 | while(g_main_is_running(magic->loop)) { | ^ /usr/local/include/glib-2.0/glib/deprecated/gmain.h:95:62: note: expanded from macro 'g_main_is_running' 95 | #define g_main_is_running(loop) g_main_loop_is_running(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_is_running) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:40:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :10:6: note: expanded from here 10 | GCC warning "Deprecated pre-processor symbol: replace with \"g_main_loop_is_running\"" | ^ session.c:646:2: warning: Deprecated pre-processor symbol: replace with "g_main_loop_run" [-W#pragma-messages] 646 | g_main_run(magic->loop); | ^ /usr/local/include/glib-2.0/glib/deprecated/gmain.h:62:63: note: expanded from macro 'g_main_run' 62 | #define g_main_run(loop) g_main_loop_run(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_run) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:40:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :15:6: note: expanded from here 15 | GCC warning "Deprecated pre-processor symbol: replace with \"g_main_loop_run\"" | ^ session.c:648:5: warning: Deprecated pre-processor symbol: replace with "g_main_loop_unref" [-W#pragma-messages] 648 | g_main_destroy(magic->loop); | ^ /usr/local/include/glib-2.0/glib/deprecated/gmain.h:83:57: note: expanded from macro 'g_main_destroy' 83 | #define g_main_destroy(loop) g_main_loop_unref(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_unref) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:40:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :20:6: note: expanded from here 20 | GCC warning "Deprecated pre-processor symbol: replace with \"g_main_loop_unref\"" | ^ session.c:781:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 781 | GTimeVal now; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ session.c:785:5: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] 785 | g_get_current_time(&now); | ^ /usr/local/include/glib-2.0/glib/gmain.h:824:1: note: 'g_get_current_time' has been explicitly marked deprecated here 824 | GLIB_DEPRECATED_IN_2_62_FOR(g_get_real_time) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:650:40: note: expanded from macro 'GLIB_DEPRECATED_IN_2_62_FOR' 650 | #define GLIB_DEPRECATED_IN_2_62_FOR(f) GLIB_DEPRECATED_FOR (f) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:31:32: note: expanded from macro 'GLIB_DEPRECATED_FOR' 31 | #define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ 12 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c session.c -o session.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c walk.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c walk.c -fPIC -DPIC -o .libs/walk.o In file included from walk.c:24: In file included from ./gsnmp.h:54: ./session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ walk.c:252:15: warning: Deprecated pre-processor symbol: replace with "g_main_loop_quit" [-W#pragma-messages] 252 | if (loop) g_main_quit(loop); | ^ /usr/local/include/glib-2.0/glib/deprecated/gmain.h:73:56: note: expanded from macro 'g_main_quit' 73 | #define g_main_quit(loop) g_main_loop_quit(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_quit) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:40:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :65:6: note: expanded from here 65 | GCC warning "Deprecated pre-processor symbol: replace with \"g_main_loop_quit\"" | ^ walk.c:260:15: warning: Deprecated pre-processor symbol: replace with "g_main_loop_quit" [-W#pragma-messages] 260 | if (loop) g_main_quit(loop); | ^ /usr/local/include/glib-2.0/glib/deprecated/gmain.h:73:56: note: expanded from macro 'g_main_quit' 73 | #define g_main_quit(loop) g_main_loop_quit(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_quit) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:40:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :70:6: note: expanded from here 70 | GCC warning "Deprecated pre-processor symbol: replace with \"g_main_loop_quit\"" | ^ walk.c:288:12: warning: Deprecated pre-processor symbol: replace with "g_main_loop_new" [-W#pragma-messages] 288 | loop = g_main_new(TRUE); | ^ /usr/local/include/glib-2.0/glib/deprecated/gmain.h:52:76: note: expanded from macro 'g_main_new' 52 | #define g_main_new(is_running) g_main_loop_new (NULL, is_running) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_new) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:40:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :75:6: note: expanded from here 75 | GCC warning "Deprecated pre-processor symbol: replace with \"g_main_loop_new\"" | ^ walk.c:289:20: warning: Deprecated pre-processor symbol: replace with "g_main_loop_is_running" [-W#pragma-messages] 289 | while (loop && g_main_is_running(loop)) { | ^ /usr/local/include/glib-2.0/glib/deprecated/gmain.h:95:62: note: expanded from macro 'g_main_is_running' 95 | #define g_main_is_running(loop) g_main_loop_is_running(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_is_running) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:40:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :80:6: note: expanded from here 80 | GCC warning "Deprecated pre-processor symbol: replace with \"g_main_loop_is_running\"" | ^ walk.c:290:2: warning: Deprecated pre-processor symbol: replace with "g_main_loop_run" [-W#pragma-messages] 290 | g_main_run(loop); | ^ /usr/local/include/glib-2.0/glib/deprecated/gmain.h:62:63: note: expanded from macro 'g_main_run' 62 | #define g_main_run(loop) g_main_loop_run(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_run) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:40:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :85:6: note: expanded from here 85 | GCC warning "Deprecated pre-processor symbol: replace with \"g_main_loop_run\"" | ^ walk.c:292:5: warning: Deprecated pre-processor symbol: replace with "g_main_loop_unref" [-W#pragma-messages] 292 | g_main_destroy(loop); | ^ /usr/local/include/glib-2.0/glib/deprecated/gmain.h:83:57: note: expanded from macro 'g_main_destroy' 83 | #define g_main_destroy(loop) g_main_loop_unref(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_unref) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:40:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :90:6: note: expanded from here 90 | GCC warning "Deprecated pre-processor symbol: replace with \"g_main_loop_unref\"" | ^ 7 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c walk.c -o walk.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c table.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c table.c -fPIC -DPIC -o .libs/table.o In file included from table.c:24: In file included from ./gsnmp.h:54: ./session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ table.c:109:3: warning: Deprecated pre-processor symbol: replace with "memmove" [-W#pragma-messages] 109 | g_memmove(index, cobj->oid + obj->oid_len, | ^ /usr/local/include/glib-2.0/glib/gutils.h:315:64: note: expanded from macro 'g_memmove' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:278:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :65:6: note: expanded from here 65 | GCC warning "Deprecated pre-processor symbol: replace with \"memmove\"" | ^ table.c:118:4: warning: Deprecated pre-processor symbol: replace with "memmove" [-W#pragma-messages] 118 | g_memmove(index, cobj->oid + obj->oid_len, | ^ /usr/local/include/glib-2.0/glib/gutils.h:315:64: note: expanded from macro 'g_memmove' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:278:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :70:6: note: expanded from here 70 | GCC warning "Deprecated pre-processor symbol: replace with \"memmove\"" | ^ table.c:161:6: warning: Deprecated pre-processor symbol: replace with "memmove" [-W#pragma-messages] 161 | g_memmove(oid, obj->oid, obj->oid_len * sizeof(guint32)); | ^ /usr/local/include/glib-2.0/glib/gutils.h:315:64: note: expanded from macro 'g_memmove' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:278:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :75:6: note: expanded from here 75 | GCC warning "Deprecated pre-processor symbol: replace with \"memmove\"" | ^ table.c:162:6: warning: Deprecated pre-processor symbol: replace with "memmove" [-W#pragma-messages] 162 | g_memmove(oid + obj->oid_len, index, index_len * sizeof(guint32)); | ^ /usr/local/include/glib-2.0/glib/gutils.h:315:64: note: expanded from macro 'g_memmove' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:278:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :80:6: note: expanded from here 80 | GCC warning "Deprecated pre-processor symbol: replace with \"memmove\"" | ^ table.c:269:15: warning: Deprecated pre-processor symbol: replace with "g_main_loop_quit" [-W#pragma-messages] 269 | if (loop) g_main_quit(loop); | ^ /usr/local/include/glib-2.0/glib/deprecated/gmain.h:73:56: note: expanded from macro 'g_main_quit' 73 | #define g_main_quit(loop) g_main_loop_quit(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_quit) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:40:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :85:6: note: expanded from here 85 | GCC warning "Deprecated pre-processor symbol: replace with \"g_main_loop_quit\"" | ^ table.c:275:15: warning: Deprecated pre-processor symbol: replace with "g_main_loop_quit" [-W#pragma-messages] 275 | if (loop) g_main_quit(loop); | ^ /usr/local/include/glib-2.0/glib/deprecated/gmain.h:73:56: note: expanded from macro 'g_main_quit' 73 | #define g_main_quit(loop) g_main_loop_quit(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_quit) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:40:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :90:6: note: expanded from here 90 | GCC warning "Deprecated pre-processor symbol: replace with \"g_main_loop_quit\"" | ^ table.c:297:12: warning: Deprecated pre-processor symbol: replace with "g_main_loop_new" [-W#pragma-messages] 297 | loop = g_main_new(TRUE); | ^ /usr/local/include/glib-2.0/glib/deprecated/gmain.h:52:76: note: expanded from macro 'g_main_new' 52 | #define g_main_new(is_running) g_main_loop_new (NULL, is_running) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_new) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:40:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :95:6: note: expanded from here 95 | GCC warning "Deprecated pre-processor symbol: replace with \"g_main_loop_new\"" | ^ table.c:298:20: warning: Deprecated pre-processor symbol: replace with "g_main_loop_is_running" [-W#pragma-messages] 298 | while (loop && g_main_is_running(loop)) { | ^ /usr/local/include/glib-2.0/glib/deprecated/gmain.h:95:62: note: expanded from macro 'g_main_is_running' 95 | #define g_main_is_running(loop) g_main_loop_is_running(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_is_running) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:40:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :100:6: note: expanded from here 100 | GCC warning "Deprecated pre-processor symbol: replace with \"g_main_loop_is_running\"" | ^ table.c:299:2: warning: Deprecated pre-processor symbol: replace with "g_main_loop_run" [-W#pragma-messages] 299 | g_main_run(loop); | ^ /usr/local/include/glib-2.0/glib/deprecated/gmain.h:62:63: note: expanded from macro 'g_main_run' 62 | #define g_main_run(loop) g_main_loop_run(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_run) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:40:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :105:6: note: expanded from here 105 | GCC warning "Deprecated pre-processor symbol: replace with \"g_main_loop_run\"" | ^ table.c:301:5: warning: Deprecated pre-processor symbol: replace with "g_main_loop_unref" [-W#pragma-messages] 301 | g_main_destroy(loop); | ^ /usr/local/include/glib-2.0/glib/deprecated/gmain.h:83:57: note: expanded from macro 'g_main_destroy' 83 | #define g_main_destroy(loop) g_main_loop_unref(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_unref) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:40:46: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1304:3: note: expanded from macro 'GLIB_DEPRECATED_MACRO_FOR' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1301:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA' 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^ :110:6: note: expanded from here 110 | GCC warning "Deprecated pre-processor symbol: replace with \"g_main_loop_unref\"" | ^ 11 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c table.c -o table.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c transport.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c transport.c -fPIC -DPIC -o .libs/transport.o In file included from transport.c:32: In file included from ./dispatch.h:26: In file included from ./gsnmp.h:54: ./session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ transport.c:102:9: warning: 'g_io_channel_read' is deprecated: Use 'g_io_channel_read_chars' instead [-Wdeprecated-declarations] 102 | if (g_io_channel_read(channel, (gchar *) buffer, sizeof(buffer), &len)) { | ^ /usr/local/include/glib-2.0/glib/giochannel.h:168:1: note: 'g_io_channel_read' has been explicitly marked deprecated here 168 | GLIB_DEPRECATED_FOR(g_io_channel_read_chars) | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:31:32: note: expanded from macro 'GLIB_DEPRECATED_FOR' 31 | #define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ 2 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c transport.c -o transport.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c utils.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c utils.c -fPIC -DPIC -o .libs/utils.o In file included from utils.c:25: In file included from ./gsnmp.h:54: ./session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ utils.c:307:13: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'guint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] 307 | *gp = (gpointer) vb->value.ui32; | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c utils.c -o utils.o >/dev/null 2>&1 /bin/sh ../libtool --mode=link cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o libgsnmp.la -rpath /usr/local/lib ber.lo pdu.lo dispatch.lo message.lo security.lo session.lo walk.lo table.lo transport.lo utils.lo cc -shared .libs/ber.o .libs/pdu.o .libs/dispatch.o .libs/message.o .libs/security.o .libs/session.o .libs/walk.o .libs/table.o .libs/transport.o .libs/utils.o -Wl,-soname -Wl,libgsnmp.so.0 -o .libs/libgsnmp.so.0.0.0 (cd .libs && rm -f libgsnmp.so.0 && ln -s libgsnmp.so.0.0.0 libgsnmp.so.0) (cd .libs && rm -f libgsnmp.so && ln -s libgsnmp.so.0.0.0 libgsnmp.so) ar cru .libs/libgsnmp.a ber.o pdu.o dispatch.o message.o security.o session.o walk.o table.o transport.o utils.o ranlib .libs/libgsnmp.a creating libgsnmp.la (cd .libs && rm -f libgsnmp.la && ln -s ../libgsnmp.la libgsnmp.la) Making all in tests cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I../src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c gsnmp-test.c In file included from gsnmp-test.c:1: In file included from ../src/gsnmp.h:54: ../src/session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ gsnmp-test.c:450:3: warning: integer literal is too large to be represented in a signed integer type, interpreting as unsigned [-Wimplicitly-unsigned-literal] 450 | -9223372036854775808LL, -2147483648LL, -2147483647LL, | ^ 2 warnings generated. /bin/sh ../libtool --mode=link cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o gsnmp-test gsnmp-test.o ../src/libgsnmp.la -L/usr/local/lib -lgnet-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl mkdir .libs cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/gsnmp-test gsnmp-test.o -pthread ../src/.libs/libgsnmp.so -L/usr/local/lib -lgnet-2.0 -lgthread-2.0 -lglib-2.0 -lintl -Wl,--rpath -Wl,/usr/local/lib creating gsnmp-test Making all in examples cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I../src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c gsnmp-get.c In file included from gsnmp-get.c:10: In file included from ../src/gsnmp.h:54: ../src/session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ gsnmp-get.c:69:18: warning: format specifies type 'unsigned long long' but the argument has type 'guint64' (aka 'unsigned long') [-Wformat] 69 | g_print("%llu", vb->value.ui64); | ~~~~ ^~~~~~~~~~~~~~ | %lu 2 warnings generated. /bin/sh ../libtool --mode=link cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o gsnmp-get gsnmp-get.o ../src/libgsnmp.la -L/usr/local/lib -lgnet-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl mkdir .libs cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/gsnmp-get gsnmp-get.o -pthread ../src/.libs/libgsnmp.so -L/usr/local/lib -lgnet-2.0 -lgthread-2.0 -lglib-2.0 -lintl -Wl,--rpath -Wl,/usr/local/lib creating gsnmp-get cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I../src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c gsnmp-ping.c In file included from gsnmp-ping.c:8: In file included from ../src/gsnmp.h:54: ../src/session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ 1 warning generated. /bin/sh ../libtool --mode=link cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o gsnmp-ping gsnmp-ping.o ../src/libgsnmp.la -L/usr/local/lib -lgnet-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/gsnmp-ping gsnmp-ping.o -pthread ../src/.libs/libgsnmp.so -L/usr/local/lib -lgnet-2.0 -lgthread-2.0 -lglib-2.0 -lintl -Wl,--rpath -Wl,/usr/local/lib creating gsnmp-ping cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I../src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c gsnmp-stub-ping.c In file included from gsnmp-stub-ping.c:10: In file included from ./snmpv2-mib.h:30: In file included from ../src/gsnmp.h:54: ../src/session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I../src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c snmpv2-mib.c In file included from snmpv2-mib.c:27: In file included from ./snmpv2-mib.h:30: In file included from ../src/gsnmp.h:54: ../src/session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ 1 warning generated. /bin/sh ../libtool --mode=link cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o gsnmp-stub-ping gsnmp-stub-ping.o snmpv2-mib.o ../src/libgsnmp.la -L/usr/local/lib -lgnet-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/gsnmp-stub-ping gsnmp-stub-ping.o snmpv2-mib.o -pthread ../src/.libs/libgsnmp.so -L/usr/local/lib -lgnet-2.0 -lgthread-2.0 -lglib-2.0 -lintl -Wl,--rpath -Wl,/usr/local/lib creating gsnmp-stub-ping cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I../src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c gsnmp-iftable.c In file included from gsnmp-iftable.c:8: In file included from ./ianaiftype-mib.h:121: In file included from ../src/gsnmp.h:54: ../src/session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I../src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c if-mib.c In file included from if-mib.c:25: In file included from ./if-mib.h:28: In file included from ../src/gsnmp.h:54: ../src/session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I../src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ianaiftype-mib.c In file included from ianaiftype-mib.c:118: In file included from ./ianaiftype-mib.h:121: In file included from ../src/gsnmp.h:54: ../src/session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ 1 warning generated. /bin/sh ../libtool --mode=link cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o gsnmp-iftable gsnmp-iftable.o if-mib.o ianaiftype-mib.o ../src/libgsnmp.la -L/usr/local/lib -lgnet-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/gsnmp-iftable gsnmp-iftable.o if-mib.o ianaiftype-mib.o -pthread ../src/.libs/libgsnmp.so -L/usr/local/lib -lgnet-2.0 -lgthread-2.0 -lglib-2.0 -lintl -Wl,--rpath -Wl,/usr/local/lib creating gsnmp-iftable cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I../src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c gsnmp-walk.c In file included from gsnmp-walk.c:7: In file included from ../src/gsnmp.h:54: ../src/session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ gsnmp-walk.c:66:18: warning: format specifies type 'unsigned long long' but the argument has type 'guint64' (aka 'unsigned long') [-Wformat] 66 | g_print("%llu", vb->value.ui64); | ~~~~ ^~~~~~~~~~~~~~ | %lu 2 warnings generated. /bin/sh ../libtool --mode=link cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o gsnmp-walk gsnmp-walk.o ../src/libgsnmp.la -L/usr/local/lib -lgnet-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/gsnmp-walk gsnmp-walk.o -pthread ../src/.libs/libgsnmp.so -L/usr/local/lib -lgnet-2.0 -lgthread-2.0 -lglib-2.0 -lintl -Wl,--rpath -Wl,/usr/local/lib creating gsnmp-walk cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I../src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c atm.c In file included from atm.c:16: In file included from ./snmpv2-tc.h:13: In file included from ../src/gsnmp.h:54: ../src/session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I../src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c atm-mib.c In file included from atm-mib.c:47: In file included from ./atm-mib.h:50: In file included from ../src/gsnmp.h:54: ../src/session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I../src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c atm-tc-mib.c In file included from atm-tc-mib.c:16: In file included from ./atm-tc-mib.h:19: In file included from ../src/gsnmp.h:54: ../src/session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I../src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c snmpv2-tc.c In file included from snmpv2-tc.c:10: In file included from ./snmpv2-tc.h:13: In file included from ../src/gsnmp.h:54: ../src/session.h:188:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 188 | GTimeVal timer; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ 1 warning generated. /bin/sh ../libtool --mode=link cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o atm atm.o atm-mib.o atm-tc-mib.o snmpv2-tc.o ../src/libgsnmp.la -L/usr/local/lib -lgnet-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/atm atm.o atm-mib.o atm-tc-mib.o snmpv2-tc.o -pthread ../src/.libs/libgsnmp.so -L/usr/local/lib -lgnet-2.0 -lgthread-2.0 -lglib-2.0 -lintl -Wl,--rpath -Wl,/usr/local/lib creating atm =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for gsnmp-0.2.0_4 ===> Generating temporary packing list /usr/bin/make AM_INSTALL_PROGRAM_FLAGS=-s install Making install in src /bin/sh ../mkinstalldirs /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/lib /bin/sh ../libtool --mode=install /usr/bin/install -c libgsnmp.la /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/lib/libgsnmp.la /usr/bin/install -c .libs/libgsnmp.so.0.0.0 /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/lib/libgsnmp.so.0.0.0 (cd /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/lib && { ln -s -f libgsnmp.so.0.0.0 libgsnmp.so.0 || { rm -f libgsnmp.so.0 && ln -s libgsnmp.so.0.0.0 libgsnmp.so.0; }; }) (cd /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/lib && { ln -s -f libgsnmp.so.0.0.0 libgsnmp.so || { rm -f libgsnmp.so && ln -s libgsnmp.so.0.0.0 libgsnmp.so; }; }) /usr/bin/install -c .libs/libgsnmp.lai /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/lib/libgsnmp.la /usr/bin/install -c .libs/libgsnmp.a /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/lib/libgsnmp.a chmod 644 /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/lib/libgsnmp.a ranlib /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/lib/libgsnmp.a libtool: install: warning: remember to run `libtool --finish /usr/local/lib' /bin/sh ../mkinstalldirs /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/include/gsnmp mkdir /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/include/gsnmp install -m 0644 ber.h /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/include/gsnmp/ber.h install -m 0644 pdu.h /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/include/gsnmp/pdu.h install -m 0644 dispatch.h /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/include/gsnmp/dispatch.h install -m 0644 message.h /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/include/gsnmp/message.h install -m 0644 security.h /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/include/gsnmp/security.h install -m 0644 session.h /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/include/gsnmp/session.h install -m 0644 transport.h /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/include/gsnmp/transport.h install -m 0644 utils.h /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/include/gsnmp/utils.h install -m 0644 gsnmp.h /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/include/gsnmp/gsnmp.h Making install in tests Making install in examples /bin/sh ../mkinstalldirs /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/bin /bin/sh ../libtool --mode=install install -s -m 555 -s gsnmp-get /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/bin/gsnmp-get libtool: install: warning: `../src/libgsnmp.la' has not been installed in `/usr/local/lib' install -m 555 -s .libs/gsnmp-get /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/bin/gsnmp-get /usr/bin/make install-man1 /bin/sh ../mkinstalldirs /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/share/man/man1 install -m 0644 ./gsnmp-get.1 /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/share/man/man1/gsnmp-get.1 /bin/sh ./mkinstalldirs /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/share/aclocal install -m 0644 ./gsnmp.m4 /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/share/aclocal/gsnmp.m4 /bin/sh ./mkinstalldirs /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/libdata/pkgconfig install -m 0644 ./gsnmp.pc /wrkdirs/usr/ports/net-mgmt/gsnmp/work/stage/usr/local/libdata/pkgconfig/gsnmp.pc ====> 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=2025-05-07T23:24:26+0000' 'PKG_NOTE_ports_top_git_hash=5529c5919b' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=1a35b19e6d' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for gsnmp-0.2.0_4 ===> Building gsnmp-0.2.0_4 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for gsnmp-0.2.0_4 build of net-mgmt/gsnmp | gsnmp-0.2.0_4 ended at Thu May 8 00:25:24 BST 2025 build time: 00:00:58