[package - 132releng-armv6-quarterly][net-mgmt/ndoutils] Failed for ndoutils-2.1.3 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 26 Aug 2023 11:44:42 UTC
You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: bofh@FreeBSD.org Log URL: https://pkg-status.freebsd.org/beefy8/data/132releng-armv6-quarterly/cdf0ecca10dc/logs/ndoutils-2.1.3.log Build URL: https://pkg-status.freebsd.org/beefy8/build.html?mastername=132releng-armv6-quarterly&build=cdf0ecca10dc Log: =>> Building net-mgmt/ndoutils build started at Sat Aug 26 11:44:10 UTC 2023 port directory: /usr/ports/net-mgmt/ndoutils package name: ndoutils-2.1.3 building for: FreeBSD 132releng-armv6-quarterly-job-07 13.2-RELEASE-p2 FreeBSD 13.2-RELEASE-p2 1302001 arm maintained by: bofh@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-23-ga7f8d188 Host OSVERSION: 1400088 Jail OSVERSION: 1302001 Job Id: 07 ---Begin Environment--- SHELL=/bin/csh UNAME_p=armv6 UNAME_m=arm ABI_FILE=/usr/lib/crt1.o OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p2 1302001 UNAME_r=13.2-RELEASE-p2 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 LOCALBASE=/usr/local QEMU_EMULATING=1 USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-23-ga7f8d188 MASTERMNT=/usr/local/poudriere/data/.m/132releng-armv6-quarterly/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/132releng-armv6-quarterly/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=132releng-armv6-quarterly SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/132releng-armv6-quarterly/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for ndoutils-2.1.3: DOCS=on: Build and/or install documentation NANOSLEEP=on: Use of nanosleep in event timing ====> Options available for the single NAGIOS_BACKEND: you have to select exactly one of them NAGIOS3X=on: For Nagios 3.X Series NAGIOS4X=off: For Nagios 4.X Series ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- bofh@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --sysconfdir=/usr/local/etc/ndoutils --localstatedir=/var/run --enable-mysql --with-mysql=/usr/local --enable-nanosleep --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/ndoutils/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/ndoutils/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/ndoutils/work/.cache HOME=/wrkdirs/usr/ports/net-mgmt/ndoutils/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/ndoutils/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/ndoutils/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-- PERL_USE_UNSAFE_INC=1 OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/ndoutils/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/ndoutils/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/ndoutils/work/.cache HOME=/wrkdirs/usr/ports/net-mgmt/ndoutils/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/ndoutils/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/ndoutils/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="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -I/usr/local/include -fPIC -fstack-protector-strong -fno-strict-aliasing " CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -I/usr/loca l/include -fPIC -fstack-protector-strong -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1 PERL_VER=5.32 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.32 DOCSDIR="share/doc/ndoutils" EXAMPLESDIR="share/examples/ndoutils" DATADIR="share/ndoutils" WWWDIR="www/ndoutils" ETCDIR="etc/ndoutils" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ndoutils DOCSDIR=/usr/local/share/doc/ndoutils EXAMPLESDIR=/usr/local/share/examples/ndoutils WWWDIR=/usr/local/www/ndoutils ETCDIR=/usr/local/etc/ndoutils --End SUB_LIST-- ---Begin make.conf--- .sinclude "/etc/make.nxb.conf" USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=arm MACHINE_ARCH=armv6 ARCH=${MACHINE_ARCH} #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_9d218390=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv6-unknown-freebsd13.2-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _ALTCCVERSION_9d218390=none _CXXINTERNAL_9c45a5b1=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv6-unknown-freebsd13.2-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_9d218390_58173849=yes CC_OUTPUT_9d218390_9bdba57c=yes CC_OUTPUT_9d218390_6a4fe7f5=yes CC_OUTPUT_9d218390_6bcac02b=yes CC_OUTPUT_9d218390_67d20829=yes CC_OUTPUT_9d218390_bfa62e83=yes CC_OUTPUT_9d218390_f0b4d593=yes CC_OUTPUT_9d218390_308abb44=yes CC_OUTPUT_9d218390_f00456e5=yes CC_OUTPUT_9d218390_65ad290d=yes CC_OUTPUT_9d218390_f2776b26=yes CC_OUTPUT_9d218390_53255a77=yes CC_OUTPUT_9d218390_911cfe02=yes CC_OUTPUT_9d218390_b2657cc3=yes CC_OUTPUT_9d218390_380987f7=yes CC_OUTPUT_9d218390_160933ec=yes CC_OUTPUT_9d218390_fb62803b=yes CC_OUTPUT_9d218390_af59ad06=yes CC_OUTPUT_9d218390_a15f3fcf=yes _OBJC_CCVERSION_9d218390=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv6-unknown-freebsd13.2-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _OBJC_ALTCCVERSION_9d218390=none ARCH=armv6 OPSYS=FreeBSD _OSRELEASE=13.2-RELEASE-p2 OSREL=13.2 OSVERSION=1302001 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- ---Begin make.nxb.conf--- CC=/nxb-bin/usr/bin/cc CPP=/nxb-bin/usr/bin/cpp CXX=/nxb-bin/usr/bin/c++ NM=/nxb-bin/usr/bin/nm LD=/nxb-bin/usr/bin/ld OBJCOPY=/nxb-bin/usr/bin/objcopy SIZE=/nxb-bin/usr/bin/size STRIPBIN=/nxb-bin/usr/bin/strip SED=/nxb-bin/usr/bin/sed RANLIB=/nxb-bin/usr/bin/ranlib YACC=/nxb-bin/usr/bin/yacc MAKE=/nxb-bin/usr/bin/make STRINGS=/nxb-bin/usr/bin/strings AWK=/nxb-bin/usr/bin/awk FLEX=/nxb-bin/usr/bin/flex ---End make.nxb.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) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =======================<phase: check-sanity >============================ ===> License GPLv2 accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> ndoutils-2.1.3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.19.2.pkg [132releng-armv6-quarterly-job-07] Installing pkg-1.19.2... [132releng-armv6-quarterly-job-07] Extracting pkg-1.19.2: .......... done ===> ndoutils-2.1.3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ndoutils-2.1.3 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by ndoutils-2.1.3 for building =========================================================================== =======================<phase: checksum >============================ ===> License GPLv2 accepted by the user <snip> checking for strtof... (cached) yes checking for nanosleep... yes checking for va_copy... yes checking for snprintf... (cached) yes checking for asprintf... (cached) yes checking for type of socket size... size_t checking for linker flags for loadable modules... -shared checking for mysql_init in -lmysqlclient... no *** MySQL library could not be located... ************************** You chose to compile NDOutils with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql=DIR argument to specify the location of the MySQL library, We assume mysql_config is in DIR/bin NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. TIP: Try the following.... ./configure --with-mysql=/usr/lib/mysql ******************************************************************** checking for library containing sd_listen_fds... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config/ndo2db.cfg-sample config.status: creating config/ndomod.cfg-sample config.status: creating config/nagios.cfg config.status: creating config/misccommands.cfg config.status: creating docs/docbook/en-en/Makefile config.status: creating include/io.h config.status: creating include/common.h config.status: creating startup/bsd-init config.status: creating startup/debian-init config.status: creating startup/default-init config.status: creating startup/default-inetd config.status: creating startup/default-service config.status: creating startup/default-socket config.status: creating startup/default-socket-svc config.status: creating startup/default-xinetd config.status: creating startup/mac-init.plist config.status: creating startup/mac-inetd.plist config.status: creating startup/newbsd-init config.status: creating startup/openbsd-init config.status: creating startup/openrc-conf config.status: creating startup/openrc-init config.status: creating startup/solaris-init.xml config.status: creating startup/solaris-inetd.xml config.status: creating startup/tmpfile.conf config.status: creating startup/upstart-init config.status: creating startup/rh-upstart-init config.status: creating include/config.h *** Configuration summary for ndoutils 2.1.3 2017-04-13 ***: General Options: ------------------------- NDO2DB user: nagios NDO2DB group: nagios NDO2DB tcp port: 5668 Review the options above for accuracy. If they look okay, type 'make all' to compile the NDO utilities, or type 'make' to get a list of make options. =========================================================================== =======================<phase: build >============================ ===> Building for ndoutils-2.1.3 cd ./src && /nxb-bin/usr/bin/make /nxb-bin/usr/bin/cc -fPIC -O2 -pipe -I/usr/local/include -fPIC -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c -o io.o io.c /nxb-bin/usr/bin/cc -fPIC -O2 -pipe -I/usr/local/include -fPIC -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c -o utils.o utils.c /nxb-bin/usr/bin/cc -fPIC -O2 -pipe -I/usr/local/include -fPIC -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -o file2sock file2sock.c io.o utils.o -fstack-protector-strong -lm /nxb-bin/usr/bin/cc -fPIC -O2 -pipe -I/usr/local/include -fPIC -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -o log2ndo log2ndo.c io.o utils.o -fstack-protector-strong -lm /nxb-bin/usr/bin/make ndo2db-3x /nxb-bin/usr/bin/cc -fPIC -O2 -pipe -I/usr/local/include -fPIC -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c -o db.o db.c db.c:169:6: warning: implicit declaration of function 'mysql_init' is invalid in C99 [-Wimplicit-function-declaration] if(!mysql_init(&idi->dbinfo.mysql_conn)){ ^ db.c:169:30: error: no member named 'mysql_conn' in 'struct ndo2db_dbconninfo_struct' if(!mysql_init(&idi->dbinfo.mysql_conn)){ ~~~~~~~~~~~ ^ db.c:210:7: warning: implicit declaration of function 'mysql_real_connect' is invalid in C99 [-Wimplicit-function-declaration] if (!mysql_real_connect( ^ db.c:211:17: error: no member named 'mysql_conn' in 'struct ndo2db_dbconninfo_struct' &idi->dbinfo.mysql_conn, ~~~~~~~~~~~ ^ db.c:218:4: error: use of undeclared identifier 'CLIENT_REMEMBER_OPTIONS' CLIENT_REMEMBER_OPTIONS ^ db.c:220:3: warning: implicit declaration of function 'mysql_close' is invalid in C99 [-Wimplicit-function-declaration] mysql_close(&idi->dbinfo.mysql_conn); ^ db.c:220:28: error: no member named 'mysql_conn' in 'struct ndo2db_dbconninfo_struct' mysql_close(&idi->dbinfo.mysql_conn); ~~~~~~~~~~~ ^ db.c:221:77: warning: implicit declaration of function 'mysql_error' is invalid in C99 [-Wimplicit-function-declaration] syslog(LOG_USER|LOG_INFO,"Error: Could not connect to MySQL database: %s",mysql_error(&idi->dbinfo.mysql_conn)); ^ db.c:221:102: error: no member named 'mysql_conn' in 'struct ndo2db_dbconninfo_struct' syslog(LOG_USER|LOG_INFO,"Error: Could not connect to MySQL database: %s",mysql_error(&idi->dbinfo.mysql_conn)); ~~~~~~~~~~~ ^ db.c:244:2: warning: implicit declaration of function 'mysql_close' is invalid in C99 [-Wimplicit-function-declaration] mysql_close(&idi->dbinfo.mysql_conn); ^ db.c:244:27: error: no member named 'mysql_conn' in 'struct ndo2db_dbconninfo_struct' mysql_close(&idi->dbinfo.mysql_conn); ~~~~~~~~~~~ ^ db.c:268:15: error: no member named 'mysql_result' in 'struct ndo2db_dbconninfo_struct' idi->dbinfo.mysql_result=mysql_store_result(&idi->dbinfo.mysql_conn); ~~~~~~~~~~~ ^ db.c:268:28: warning: implicit declaration of function 'mysql_store_result' is invalid in C99 [-Wimplicit-function-declaration] idi->dbinfo.mysql_result=mysql_store_result(&idi->dbinfo.mysql_conn); ^ db.c:268:60: error: no member named 'mysql_conn' in 'struct ndo2db_dbconninfo_struct' idi->dbinfo.mysql_result=mysql_store_result(&idi->dbinfo.mysql_conn); ~~~~~~~~~~~ ^ db.c:269:19: error: no member named 'mysql_row' in 'struct ndo2db_dbconninfo_struct' if((idi->dbinfo.mysql_row=mysql_fetch_row(idi->dbinfo.mysql_result))!=NULL){ ~~~~~~~~~~~ ^ db.c:269:29: warning: implicit declaration of function 'mysql_fetch_row' is invalid in C99 [-Wimplicit-function-declaration] if((idi->dbinfo.mysql_row=mysql_fetch_row(idi->dbinfo.mysql_result))!=NULL){ ^ db.c:269:57: error: no member named 'mysql_result' in 'struct ndo2db_dbconninfo_struct' if((idi->dbinfo.mysql_row=mysql_fetch_row(idi->dbinfo.mysql_result))!=NULL){ ~~~~~~~~~~~ ^ db.c:270:54: error: no member named 'mysql_row' in 'struct ndo2db_dbconninfo_struct' ndo2db_convert_string_to_unsignedlong(idi->dbinfo.mysql_row[0],&idi->dbinfo.instance_id); ~~~~~~~~~~~ ^ db.c:273:3: warning: implicit declaration of function 'mysql_free_result' is invalid in C99 [-Wimplicit-function-declaration] mysql_free_result(idi->dbinfo.mysql_result); ^ db.c:273:33: error: no member named 'mysql_result' in 'struct ndo2db_dbconninfo_struct' mysql_free_result(idi->dbinfo.mysql_result); ~~~~~~~~~~~ ^ db.c:274:15: error: no member named 'mysql_result' in 'struct ndo2db_dbconninfo_struct' idi->dbinfo.mysql_result=NULL; ~~~~~~~~~~~ ^ db.c:283:28: warning: implicit declaration of function 'mysql_insert_id' is invalid in C99 [-Wimplicit-function-declaration] idi->dbinfo.instance_id=mysql_insert_id(&idi->dbinfo.mysql_conn); ^ db.c:283:57: error: no member named 'mysql_conn' in 'struct ndo2db_dbconninfo_struct' idi->dbinfo.instance_id=mysql_insert_id(&idi->dbinfo.mysql_conn); ~~~~~~~~~~~ ^ db.c:303:27: warning: implicit declaration of function 'mysql_insert_id' is invalid in C99 [-Wimplicit-function-declaration] idi->dbinfo.conninfo_id=mysql_insert_id(&idi->dbinfo.mysql_conn); ^ db.c:303:56: error: no member named 'mysql_conn' in 'struct ndo2db_dbconninfo_struct' idi->dbinfo.conninfo_id=mysql_insert_id(&idi->dbinfo.mysql_conn); ~~~~~~~~~~~ ^ db.c:477:6: warning: implicit declaration of function 'mysql_query' is invalid in C99 [-Wimplicit-function-declaration] if (mysql_query(&idi->dbinfo.mysql_conn,buf)) { ^ db.c:477:31: error: no member named 'mysql_conn' in 'struct ndo2db_dbconninfo_struct' if (mysql_query(&idi->dbinfo.mysql_conn,buf)) { ~~~~~~~~~~~ ^ db.c:479:51: warning: implicit declaration of function 'mysql_error' is invalid in C99 [-Wimplicit-function-declaration] syslog(LOG_USER|LOG_INFO,"mysql_error: '%s'\n", mysql_error(&idi->dbinfo.mysql_conn)); ^ db.c:479:76: error: no member named 'mysql_conn' in 'struct ndo2db_dbconninfo_struct' syslog(LOG_USER|LOG_INFO,"mysql_error: '%s'\n", mysql_error(&idi->dbinfo.mysql_conn)); ~~~~~~~~~~~ ^ db.c:512:9: warning: implicit declaration of function 'mysql_errno' is invalid in C99 [-Wimplicit-function-declaration] result=mysql_errno(&idi->dbinfo.mysql_conn); ^ db.c:512:34: error: no member named 'mysql_conn' in 'struct ndo2db_dbconninfo_struct' result=mysql_errno(&idi->dbinfo.mysql_conn); ~~~~~~~~~~~ ^ db.c:513:13: error: use of undeclared identifier 'CR_SERVER_LOST' if(result==CR_SERVER_LOST || result==CR_SERVER_GONE_ERROR){ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 13 warnings and 20 errors generated. *** Error code 1 Stop. make[3]: stopped in /wrkdirs/usr/ports/net-mgmt/ndoutils/work/ndoutils-2.1.3/src *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/net-mgmt/ndoutils/work/ndoutils-2.1.3/src *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/net-mgmt/ndoutils/work/ndoutils-2.1.3 *** Error code 1 Stop. make: stopped in /usr/ports/net-mgmt/ndoutils