[Kea-users] 1.3 build issues
Jason Lixfeld
jason-kea at lixfeld.ca
Sat Sep 30 13:26:15 UTC 2017
Hello,
Seeing the following build error:
In file included from dhcp6_srv.cc:26:0:
../../../src/lib/dhcp/option_vendor_class.h: In static member function 'static uint16_t isc::dhcp::OptionVendorClass::getOptionCode(isc::dhcp::Option::Universe)':
../../../src/lib/dhcp/option_vendor_class.h:159:25: warning: enumeral mismatch in conditional expression: 'isc::dhcp::DHCPOptionType' vs 'DHCPv6OptionType' [-Wenum-compare]
return (u == V4 ? DHO_VIVCO_SUBOPTIONS : D6O_VENDOR_CLASS);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Makefile:680: recipe for target 'dhcp6_srv.lo' failed
make[6]: *** [dhcp6_srv.lo] Error 1
Makefile:766: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Interrupt
Makefile:545: recipe for target 'all' failed
make[4]: *** [all] Interrupt
Makefile:416: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Interrupt
Makefile:419: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Interrupt
Makefile:588: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Interrupt
Makefile:455: recipe for target 'all' failed
make: *** [all] Interrupt
root at kea1:/home/jlixfeld/kea/kea-1.3.0-beta#
This is on Debian 9.1 with the following ./configure output:
configure: creating ./config.status
Kea source configure results:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Package:
Name: kea
Version: 1.3.0-beta
Extended version:1.3.0-beta (tarball)
OS Family: Linux
Using GNU sed: yes
Premium package: yes
C++ Compiler:
CXX: g++
CXX_VERSION: g++ (Debian 6.3.0-18) 6.3.0 20170516
CXX_STANDARD: 201402
DEFS: -DHAVE_CONFIG_H
CPPFLAGS: -DOS_LINUX -I$(top_srcdir)/ext/coroutine -DBOOST_ASIO_HEADER_ONLY -DBOOST_ASIO_DISABLE_THREADS=1
CXXFLAGS: -g -O2
LDFLAGS: -lpthread
KEA_CXXFLAGS: -Wall -Wextra -Wnon-virtual-dtor -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pthread -Wno-missing-field-initializers -fPIC
Python:
PYTHON_VERSION: not needed (because kea-shell is disabled)
Boost:
BOOST_VERSION: 1.62
BOOST_INCLUDES:
BOOST_LIBS: -lboost_system
OpenSSL:
CRYPTO_VERSION: OpenSSL 1.1.0f 25 May 2017
CRYPTO_CFLAGS:
CRYPTO_INCLUDES:
CRYPTO_LDFLAGS:
CRYPTO_LIBS: -lcrypto
Botan: no
Log4cplus:
LOG4CPLUS_VERSION: 1.1.2
LOG4CPLUS_INCLUDES: -I/usr/include
LOG4CPLUS_LIBS: -L/usr/lib -L/usr/lib64 -llog4cplus
Flex/bison:
FLEX: :
BISON: yacc
MySQL:
no
PostgreSQL:
PGSQL_VERSION: PostgreSQL 9.6.4
PGSQL_CPPFLAGS: -DFRONTEND -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/tcl8.6 -I/usr/include/postgresql -I/usr/include/postgresql/9.6/server
PGSQL_LIBS: -L/usr/lib/x86_64-linux-gnu -lpq
Cassandra CQL:
no
Developer:
Enable Debugging: no
Google Tests: no
Valgrind: not found
C++ Code Coverage: no
Logger checks: no
Generate Documentation: no
Parser Generation: no
Kea-shell: no
Here’s the details on the build dependencies. I had to re-run aclocal before ./configure because I’m running aclocal 1.15.1, and there seems to be some static references to 1.14.1 where otherwise make would fail:
root at kea1:/usr/local/etc/kea# aptitude show automake libtool pkg-config libboost-dev libboost-system-dev liblog4cplus-dev postgresql-server-dev-all libpq-dev build-essential libssl-dev
Package: automake
Version: 1:1.15-6
State: installed
Automatically installed: no
Multi-Arch: foreign
Priority: optional
Section: devel
Maintainer: Eric Dorland <eric at debian.org>
Architecture: all
Uncompressed Size: 1,748 k
Depends: autoconf (>= 2.65), autotools-dev (>= 20020320.1)
Suggests: autoconf-doc, gnu-standards
Conflicts: automake (< 1:1.4-p5-1), automake1.10-doc, automake1.5 (< 1.5-2), automake1.6 (< 1.6.1-4)
Provides: automake-1.15, automaken
Description: Tool for generating GNU Standards-compliant Makefiles
Automake is a tool for automatically generating `Makefile.in's from files called `Makefile.am'.
The goal of Automake is to remove the burden of Makefile maintenance from the back of the individual GNU maintainer (and put it on the back of the Automake maintainer).
The `Makefile.am' is basically a series of `make' macro definitions (with rules being thrown in occasionally). The generated `Makefile.in's are compliant with the GNU Makefile
standards.
Automake 1.15 fails to work in a number of situations that Automake 1.4, 1.6, 1.7, 1.8, 1.9, 1.10, 1.11 and 1.14 did, so previous versions are available as separate packages.
Homepage: https://www.gnu.org/software/automake/
Tags: devel::buildtools, implemented-in::TODO, interface::commandline, role::program, suite::gnu, use::configuring
Package: libtool
Version: 2.4.6-2
State: installed
Automatically installed: no
Multi-Arch: foreign
Priority: optional
Section: devel
Maintainer: Kurt Roeckx <kurt at roeckx.be>
Architecture: all
Uncompressed Size: 1,257 k
Depends: gcc | c-compiler, cpp, libc6-dev | libc-dev, file, autotools-dev
Recommends: libltdl-dev
Suggests: libtool-doc, autoconf (> 2.50), automaken, gfortran | fortran95-compiler, gcj-jdk
Conflicts: autoconf (<= 2.12), automake (<= 1.3), libtool1.4
Description: Generic library support script
This is GNU libtool, a generic library support script. Libtool hides the complexity of generating special library types (such as shared libraries) behind a consistent interface.
To use libtool, add the new generic library building commands to your Makefile, Makefile.in, or Makefile.am. See the documentation for details. Libtool supports building static
libraries on all platforms.
Libtool supports generation of C, C++, Fortran and Java libraries.
Homepage: http://www.gnu.org/software/libtool/
Tags: devel::buildtools, devel::lang:c, devel::lang:c++, devel::lang:fortran, devel::lang:java, devel::library, implemented-in::shell, role::program, scope::utility, suite::gnu
Package: pkg-config
Version: 0.29-4+b1
State: installed
Automatically installed: no
Multi-Arch: foreign
Priority: optional
Section: devel
Maintainer: Tollef Fog Heen <tfheen at debian.org>
Architecture: amd64
Uncompressed Size: 193 k
Depends: libc6 (>= 2.14), libglib2.0-0 (>= 2.16.0), libdpkg-perl
Conflicts: pkg-config-bin
Replaces: pkg-config-bin
Provided by: pkgconf (0.9.12-6)
Description: manage compile and link flags for libraries
pkg-config is a system for managing library compile and link flags that works with automake and autoconf.
Increasingly libraries ship with ".pc" files that allow querying of the compiler and linker flags needed to use them through the pkg-config(1) program.
Homepage: http://pkg-config.freedesktop.org
Tags: admin::configuring, devel::buildtools, interface::commandline, role::program, scope::utility
Package: libboost-dev
Version: 1.62.0.1
State: installed
Automatically installed: no
Multi-Arch: same
Priority: optional
Section: libdevel
Maintainer: Debian Boost Team <pkg-boost-devel at lists.alioth.debian.org>
Architecture: amd64
Uncompressed Size: 10.2 k
Depends: libboost1.62-dev
Suggests: libboost-doc
Description: Boost C++ Libraries development files (default version)
The Boost web site provides free, peer-reviewed, portable C++ source libraries. The emphasis is on libraries which work well with the C++ Standard Library. One goal is to establish
"existing practice" and provide reference implementations so that the Boost libraries are suitable for eventual standardization. Some of the libraries have already been proposed
for inclusion in the C++ Standards Committee's upcoming C++ Standard Library Technical Report.
This package provides headers for all Boost libraries.
Extended precision arithmetic package libmpfrc++-dev or libntl-dev is required to use the Boost.Multiprecision wrapping of the respective library.
This package is a dependency package, which depends on Debian's default Boost version (currently 1.62).
Homepage: http://www.boost.org/
Tags: devel::lang:c++, devel::library, implemented-in::c++, role::devel-lib
Package: libboost-system-dev
Version: 1.62.0.1
State: installed
Automatically installed: no
Multi-Arch: same
Priority: optional
Section: libdevel
Maintainer: Debian Boost Team <pkg-boost-devel at lists.alioth.debian.org>
Architecture: amd64
Uncompressed Size: 10.2 k
Depends: libboost-system1.62-dev
Description: Operating system (e.g. diagnostics support) library (default version)
This package forms part of the Boost C++ Libraries collection.
The Boost System library provides simple, light-weight error_code objects that encapsulate system-specific error code values, yet also provide access to more abstract and portable
error conditions via error_condition objects. Because error_code objects can represent errors from sources other than the operating system, including user-defined sources, each
error_code and error_condition has an associated error_category.
This package is a dependency package, which depends on Debian's default Boost version (currently 1.62).
Homepage: http://www.boost.org/libs/system/
Tags: devel::library, role::devel-lib
Package: liblog4cplus-dev
Version: 1.1.2-3.2
State: installed
Automatically installed: no
Priority: extra
Section: libdevel
Maintainer: Andrew Pollock <apollock at debian.org>
Architecture: amd64
Uncompressed Size: 1,496 k
Depends: liblog4cplus-1.1-9 (= 1.1.2-3.2)
Description: C++ logging API modeled after the Java log4j API - development library
log4cplus is a simple to use C++ logging API providing thread-safe, flexible, and arbitrarily granular control over log management and configuration. It is modeled after the Java
log4j API.
This package contains the header files and static library for developers.
Homepage: http://log4cplus.sourceforge.net
Tags: devel::library, role::devel-lib
Package: postgresql-server-dev-all
Version: 181
State: installed
Automatically installed: no
Priority: optional
Section: database
Maintainer: Debian PostgreSQL Maintainers <pkg-postgresql-public at lists.alioth.debian.org>
Architecture: all
Uncompressed Size: 78.8 k
Depends: dctrl-tools, iproute2 | net-tools, lsb-release, make, postgresql-common (>= 117~), postgresql-server-dev-9.6
Description: extension build tool for multiple PostgreSQL versions
The postgresql-server-dev-all package provides the pg_buildext script for simplifying packaging of a PostgreSQL extension supporting multiple major versions of the product.
PostgreSQL is a fully featured object-relational database management system. It supports a large part of the SQL standard and is designed to be extensible by users in many aspects.
Its features include ACID transactions, foreign keys, views, sequences, subqueries, triggers, outer joins, multiversion concurrency control, and user-defined types and functions.
Package: libpq-dev
Version: 9.6.4-0+deb9u1
State: installed
Automatically installed: yes
Priority: optional
Section: libdevel
Maintainer: Debian PostgreSQL Maintainers <pkg-postgresql-public at lists.alioth.debian.org>
Architecture: amd64
Uncompressed Size: 1,020 k
Depends: libpq5 (= 9.6.4-0+deb9u1), libc6 (>= 2.4)
Suggests: postgresql-doc-9.6
Description: header files for libpq5 (PostgreSQL library)
Header files and static library for compiling C programs to link with the libpq library in order to communicate with a PostgreSQL database backend.
PostgreSQL is an object-relational SQL database management system.
Homepage: http://www.postgresql.org/
Tags: devel::library, role::devel-lib
Package: build-essential
Version: 12.3
State: installed
Automatically installed: no
Priority: optional
Section: devel
Maintainer: Matthias Klose <doko at debian.org>
Architecture: amd64
Uncompressed Size: 20.5 k
Depends: libc6-dev | libc-dev, gcc (>= 4:6.3), g++ (>= 4:6.3), make, dpkg-dev (>= 1.17.11)
Description: Informational list of build-essential packages
If you do not plan to build Debian packages, you don't need this package. Starting with dpkg (>= 1.14.18) this package is required for building Debian packages.
This package contains an informational list of packages which are considered essential for building Debian packages. This package also depends on the packages on that list, to
make it easy to have the build-essential packages installed.
If you have this package installed, you only need to install whatever a package specifies as its build-time dependencies to build the package. Conversely, if you are determining
what your package needs to build-depend on, you can always leave out the packages this package depends on.
This package is NOT the definition of what packages are build-essential; the real definition is in the Debian Policy Manual. This package contains merely an informational list,
which is all most people need. However, if this package and the manual disagree, the manual is correct.
Tags: devel::packaging, interface::commandline, role::data, suite::debian
Package: libssl-dev
Version: 1.1.0f-3
State: installed
Automatically installed: no
Multi-Arch: same
Priority: optional
Section: libdevel
Maintainer: Debian OpenSSL Team <pkg-openssl-devel at lists.alioth.debian.org>
Architecture: amd64
Uncompressed Size: 7,050 k
Depends: libssl1.1 (= 1.1.0f-3)
Recommends: libssl-doc
Conflicts: libssl1.0-dev
Description: Secure Sockets Layer toolkit - development files
This package is part of the OpenSSL project's implementation of the SSL and TLS cryptographic protocols for secure communication over the Internet.
It contains development libraries, header files, and manpages for libssl and libcrypto.
Homepage: https://www.openssl.org/
Tags: devel::lang:c, devel::library, implemented-in::TODO, implemented-in::c, protocol::ssl, role::devel-lib, security::cryptography
root at kea1:/usr/local/etc/kea#
Thanks in advance..
More information about the Kea-users
mailing list