Closed akzare closed 3 years ago
2 issues fixed (typo in configure and issues caused by all built-in databases are disabled), please check latest "master"
Thanks. There is a build issue.
The fetch and build script:
#!/bin/sh
SDK_SYSROOT_DIR="/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux"
SDK_CROSSCOMPILER_DIR="/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin"
# Fetch the ipv6calc master branch
rm -rf ipv6calc
git clone -b master https://github.com/pbiering/ipv6calc.git
cd ipv6calc
git pull
git checkout 9e219848a81a000addabbb5eca5908b23650ce30
# Configure ipv6calc for cross compile
./configure \
--build=x86_64-linux \
--host=aarch64-linux \
--target=aarch64-linux \
--prefix=$SDK_SYSROOT_DIR/usr/local \
--with-sysroot=$SDK_SYSROOT_DIR \
CC=$SDK_CROSSCOMPILER_DIR/aarch64-linux-gnu-gcc \
CXX=$SDK_CROSSCOMPILER_DIR/aarch64-linux-gnu-g++ \
CFLAGS="-march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=$SDK_SYSROOT_DIR $CFLAGS" \
CPPFLAGS="-march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=$SDK_SYSROOT_DIR $CPPFLAGS" \
LDFLAGS="-march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=$SDK_SYSROOT_DIR -L$SDK_SYSROOT_DIR/usr/lib -L$SDK_SYSROOT_DIR/usr/lib/aarch64-linux-gnu/8.3.0 $LDFLAGS" \
--disable-internal --disable-dynamic-load --disable-geoip2 --disable-dbip2 --enable-bundled-md5 --enable-bundled-getopt
# make ipv6calc
make
# install ipv6calc to $SDK_SYSROOT_DIR/usr/local
#sudo make install
The configure log:
configure: WARNING: unrecognized options: --with-sysroot, --disable-internal
checking for gawk... gawk
checking for aarch64-linux-gcc... /opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc accepts -g... yes
checking for /opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc option to accept ISO C89... none needed
checking for aarch64-linux-ranlib... no
checking for ranlib... ranlib
configure: WARNING: using cross tools not prefixed with host triplet
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... /opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking whether byte ordering is bigendian... no
checking for working memcmp... no
checking for strspn... yes
checking for strstr... yes
**** analyze compiler options: CC=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc
*** check for CFLAGS: -Werror=format-security
*** CFLAGS supported: -Werror=format-security
*** check for CFLAGS: -Wsizeof-array-argument
*** CFLAGS supported: -Wsizeof-array-argument
*** check for CFLAGS: -Wparentheses-equality
configure: WARNING: *** missing CFLAGS support: -Wparentheses-equality
*** check for CFLAGS: -Wextra
*** CFLAGS supported: -Wextra
*** check for CFLAGS: -Werror=format-truncation=0
*** CFLAGS supported: -Werror=format-truncation=0
checking for getopt_long... yes
*** use of system getopt library autoselected
*** use of system MD5 library forced
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
*** Dynamic loading of libraries is SUPPORTED
configure: WARNING: Build of mod_ipv6calc NOT enabled
configure: creating ./config.status
config.status: creating Makefile
config.status: creating md5/Makefile
config.status: creating tools/Makefile
config.status: creating getopt/Makefile
config.status: creating ipv6calc/Makefile
config.status: creating lib/Makefile
config.status: creating man/Makefile
config.status: creating databases/lib/Makefile
config.status: creating ipv6logconv/Makefile
config.status: creating ipv6loganon/Makefile
config.status: creating ipv6logstats/Makefile
config.status: creating ipv6calcweb/Makefile
config.status: creating contrib/ipv6calc.spec
config.status: creating tools/ipv6calc-db-update.sh
config.status: creating tools/DBIP-update.sh
config.status: creating tools/IP2Location-update.sh
config.status: creating tools/GeoIP-update.sh
config.status: creating mod_ipv6calc/Makefile
config.status: creating VERSION
config.status: creating config.h
configure: WARNING: unrecognized options: --with-sysroot, --disable-internal
***** Summary
*** MMDB =no
*** MMDB_DYN =
*** MMDB_DYN_LIB =libmaxminddb.so.0
*** MMDB_INCLUDE =
*** MMDB_INCLUDE_VERSION =
*** MMDB_LIB =
*** MMDB_LIB_NAME =maxminddb
*** MMDB_LIB_DIR =
*** IP2LOCATION =no
*** IP2LOCATION_DB =/usr/share/IP2Location
*** IP2LOCATION_DYN =
*** IP2LOCATION_DYN_LIB =libIP2Location.so.3
*** IP2LOCATION_INCLUDE =
*** IP2LOCATION_INCLUDE_VERSION=
*** IP2LOCATION_LIB =
*** IP2LOCATION_LIB_NAME =IP2Location
*** IP2LOCATION_LIB_DIR =
*** GEOIP2 =no
*** GEOIP2_DB =/usr/share/GeoIP
*** DBIP2 =no
*** DBIP2_DB =/usr/share/DBIP
*** EXTERNAL =no
*** EXTERNAL_DB =/usr/share/ipv6calc/db
*** BUILTIN =no
*** DB_IPV4 =no
*** DB_IPV6 =no
*** DB_IEEE =no
*** DB_AS_REG =no
*** DB_CC_REG =no
*** CC =/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc
*** CFLAGS_EXTRA =-march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0
*** LDFLAGS_EXTRA =-lcrypto -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -L/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux/usr/lib -L/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux/usr/lib/arm-poky-linux-gnueabi/7.3.0
*** LD_LIBRARY_PATH =
*** LD_LIBRARY_PATH_BASIC =
*** CPPLAGS =
*** CFLAGS =-march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux
*** LDFLAGS =-march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -L/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux/usr/lib -L/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux/usr/lib/arm-poky-linux-gnueabi/7.3.0
*** PACKAGE_VERSION_NUMERIC =3000000
*** PACKAGE_VERSION_STRING =3.0.0
*** API_VERSION_NUMERIC =3000000
*** API_VERSION_STRING =3.0.0
*** ENABLE_MOD_IPV6CALC =0
The build log:
cd databases/ieee-oui && make
make[1]: Entering directory '/home/ipv6/ipv6calc/databases/ieee-oui'
test -f dbieee_oui.h || make update
make[1]: Leaving directory '/home/ipv6/ipv6calc/databases/ieee-oui'
cd databases/ieee-iab && make
make[1]: Entering directory '/home/ipv6/ipv6calc/databases/ieee-iab'
test -f dbieee_iab.h || make update
make[1]: Leaving directory '/home/ipv6/ipv6calc/databases/ieee-iab'
cd databases/ipv4-assignment && make
make[1]: Entering directory '/home/ipv6/ipv6calc/databases/ipv4-assignment'
test -f dbipv4addr_assignment.h || make update
make[1]: Leaving directory '/home/ipv6/ipv6calc/databases/ipv4-assignment'
cd databases/ipv6-assignment && make
make[1]: Entering directory '/home/ipv6/ipv6calc/databases/ipv6-assignment'
test -f dbipv6addr_assignment.h || make update
make[1]: Leaving directory '/home/ipv6/ipv6calc/databases/ipv6-assignment'
cd databases/lib && make
make[1]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.a
make[2]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipv6calc_db_wrapper.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I../../lib -I../..
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipv6calc_db_wrapper_MMDB.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I../../lib -I../..
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipv6calc_db_wrapper_GeoIP2.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I../../lib -I../..
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipv6calc_db_wrapper_IP2Location.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I../../lib -I../..
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipv6calc_db_wrapper_DBIP2.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I../../lib -I../..
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipv6calc_db_wrapper_External.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I../../lib -I../..
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipv6calc_db_wrapper_BuiltIn.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I../../lib -I../..
echo "Create library"
Create library
ar r libipv6calc_db_wrapper.a libipv6calc_db_wrapper.o libipv6calc_db_wrapper_MMDB.o libipv6calc_db_wrapper_GeoIP2.o libipv6calc_db_wrapper_IP2Location.o libipv6calc_db_wrapper_DBIP2.o libipv6calc_db_wrapper_External.o libipv6calc_db_wrapper_BuiltIn.o
ar: creating libipv6calc_db_wrapper.a
ranlib libipv6calc_db_wrapper.a
make[2]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.so.3.0.0
make[2]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
echo "Nothing to do (shared libary mode is not enabled)"
Nothing to do (shared libary mode is not enabled)
make[2]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make[1]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make: Circular db-lib-make <- db-lib-make dependency dropped.
cd databases/cc-assignment && make
make[1]: Entering directory '/home/ipv6/ipv6calc/databases/cc-assignment'
test -f db_cc_reg_assignment.h || make update
make[1]: Leaving directory '/home/ipv6/ipv6calc/databases/cc-assignment'
cd databases/as-assignment && make
make[1]: Entering directory '/home/ipv6/ipv6calc/databases/as-assignment'
test -f dbasn_assignment.h || make update
make[1]: Leaving directory '/home/ipv6/ipv6calc/databases/as-assignment'
cd databases/lib && make
make[1]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.a
make[2]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make[2]: 'libipv6calc_db_wrapper.a' is up to date.
make[2]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.so.3.0.0
make[2]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
echo "Nothing to do (shared libary mode is not enabled)"
Nothing to do (shared libary mode is not enabled)
make[2]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make[1]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
cd lib && make GETOPT_INCLUDE=
make[1]: Entering directory '/home/ipv6/ipv6calc/lib'
make libipv6calc.a
make[2]: Entering directory '/home/ipv6/ipv6calc/lib'
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipv6calc.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipv6addr.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipv4addr.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipaddr.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libieee.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libeui64.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libmac.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c librfc1884.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c librfc1886.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c librfc1924.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c librfc2874.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c librfc3041.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c librfc3056.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c librfc5569.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c librfc6052.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libifinet6.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c ipv6calchelp.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c ipv6calcoptions.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c ipv6calctypes.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
cd ../ && make db-ieee-oui-make
make[3]: Entering directory '/home/ipv6/ipv6calc'
cd databases/ieee-oui && make
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/ieee-oui'
test -f dbieee_oui.h || make update
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/ieee-oui'
make[3]: Leaving directory '/home/ipv6/ipv6calc'
cd ../ && make db-ipv4-assignment-make
make[3]: Entering directory '/home/ipv6/ipv6calc'
cd databases/ipv4-assignment && make
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/ipv4-assignment'
test -f dbipv4addr_assignment.h || make update
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/ipv4-assignment'
make[3]: Leaving directory '/home/ipv6/ipv6calc'
cd ../ && make db-ipv6-assignment-make
make[3]: Entering directory '/home/ipv6/ipv6calc'
cd databases/ipv6-assignment && make
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/ipv6-assignment'
test -f dbipv6addr_assignment.h || make update
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/ipv6-assignment'
make[3]: Leaving directory '/home/ipv6/ipv6calc'
echo "Create library (.a)"
Create library (.a)
ar r libipv6calc.a libipv6calc.o libipv6addr.o libipv4addr.o libipaddr.o libieee.o libeui64.o libmac.o librfc1884.o librfc1886.o librfc1924.o librfc2874.o librfc3041.o librfc3056.o librfc5569.o librfc6052.o libifinet6.o ipv6calchelp.o ipv6calcoptions.o ipv6calctypes.o
ar: creating libipv6calc.a
ranlib libipv6calc.a
make[2]: Leaving directory '/home/ipv6/ipv6calc/lib'
make libipv6calc.so.3.0.0
make[2]: Entering directory '/home/ipv6/ipv6calc/lib'
echo "Nothing to do (shared libary mode is not enabled)"
Nothing to do (shared libary mode is not enabled)
make[2]: Leaving directory '/home/ipv6/ipv6calc/lib'
make[1]: Leaving directory '/home/ipv6/ipv6calc/lib'
cd ipv6calc && make
make[1]: Entering directory '/home/ipv6/ipv6calc/ipv6calc'
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c ipv6calc.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -I../ -I../lib/ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c showinfo.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -I../ -I../lib/ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c ipv6calchelp_local.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -I../ -I../lib/ -I../databases/lib/
cd ../ && make lib-make
make[2]: Entering directory '/home/ipv6/ipv6calc'
cd databases/ieee-oui && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/ieee-oui'
test -f dbieee_oui.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/ieee-oui'
cd databases/ieee-iab && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/ieee-iab'
test -f dbieee_iab.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/ieee-iab'
cd databases/ipv4-assignment && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/ipv4-assignment'
test -f dbipv4addr_assignment.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/ipv4-assignment'
cd databases/ipv6-assignment && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/ipv6-assignment'
test -f dbipv6addr_assignment.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/ipv6-assignment'
cd databases/lib && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.a
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make[4]: 'libipv6calc_db_wrapper.a' is up to date.
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.so.3.0.0
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
echo "Nothing to do (shared libary mode is not enabled)"
Nothing to do (shared libary mode is not enabled)
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make[2]: Circular db-lib-make <- db-lib-make dependency dropped.
cd databases/cc-assignment && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/cc-assignment'
test -f db_cc_reg_assignment.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/cc-assignment'
cd databases/as-assignment && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/as-assignment'
test -f dbasn_assignment.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/as-assignment'
cd databases/lib && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.a
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make[4]: 'libipv6calc_db_wrapper.a' is up to date.
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.so.3.0.0
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
echo "Nothing to do (shared libary mode is not enabled)"
Nothing to do (shared libary mode is not enabled)
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
cd lib && make GETOPT_INCLUDE=
make[3]: Entering directory '/home/ipv6/ipv6calc/lib'
make libipv6calc.a
make[4]: Entering directory '/home/ipv6/ipv6calc/lib'
make[4]: 'libipv6calc.a' is up to date.
make[4]: Leaving directory '/home/ipv6/ipv6calc/lib'
make libipv6calc.so.3.0.0
make[4]: Entering directory '/home/ipv6/ipv6calc/lib'
echo "Nothing to do (shared libary mode is not enabled)"
Nothing to do (shared libary mode is not enabled)
make[4]: Leaving directory '/home/ipv6/ipv6calc/lib'
make[3]: Leaving directory '/home/ipv6/ipv6calc/lib'
make[2]: Leaving directory '/home/ipv6/ipv6calc'
cd ../ && make lib-make
make[2]: Entering directory '/home/ipv6/ipv6calc'
cd databases/ieee-oui && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/ieee-oui'
test -f dbieee_oui.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/ieee-oui'
cd databases/ieee-iab && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/ieee-iab'
test -f dbieee_iab.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/ieee-iab'
cd databases/ipv4-assignment && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/ipv4-assignment'
test -f dbipv4addr_assignment.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/ipv4-assignment'
cd databases/ipv6-assignment && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/ipv6-assignment'
test -f dbipv6addr_assignment.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/ipv6-assignment'
cd databases/lib && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.a
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make[4]: 'libipv6calc_db_wrapper.a' is up to date.
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.so.3.0.0
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
echo "Nothing to do (shared libary mode is not enabled)"
Nothing to do (shared libary mode is not enabled)
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make[2]: Circular db-lib-make <- db-lib-make dependency dropped.
cd databases/cc-assignment && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/cc-assignment'
test -f db_cc_reg_assignment.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/cc-assignment'
cd databases/as-assignment && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/as-assignment'
test -f dbasn_assignment.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/as-assignment'
cd databases/lib && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.a
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make[4]: 'libipv6calc_db_wrapper.a' is up to date.
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.so.3.0.0
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
echo "Nothing to do (shared libary mode is not enabled)"
Nothing to do (shared libary mode is not enabled)
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
cd lib && make GETOPT_INCLUDE=
make[3]: Entering directory '/home/ipv6/ipv6calc/lib'
make libipv6calc.a
make[4]: Entering directory '/home/ipv6/ipv6calc/lib'
make[4]: 'libipv6calc.a' is up to date.
make[4]: Leaving directory '/home/ipv6/ipv6calc/lib'
make libipv6calc.so.3.0.0
make[4]: Entering directory '/home/ipv6/ipv6calc/lib'
echo "Nothing to do (shared libary mode is not enabled)"
Nothing to do (shared libary mode is not enabled)
make[4]: Leaving directory '/home/ipv6/ipv6calc/lib'
make[3]: Leaving directory '/home/ipv6/ipv6calc/lib'
make[2]: Leaving directory '/home/ipv6/ipv6calc'
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -o ipv6calc ipv6calc.o showinfo.o ipv6calchelp_local.o memcmp.o -L../lib/ -L../databases/lib/ -lipv6calc_db_wrapper -lipv6calc -lm -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -L/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux/usr/lib -L/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux/usr/lib/arm-poky-linux-gnueabi/7.3.0 -lcrypto -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -L/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux/usr/lib -L/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux/usr/lib/arm-poky-linux-gnueabi/7.3.0
aarch64-linux-gnu-gcc: error: memcmp.o: No such file or directory
Makefile:52: recipe for target 'ipv6calc' failed
make[1]: *** [ipv6calc] Error 1
make[1]: Leaving directory '/home/ipv6/ipv6calc/ipv6calc'
Makefile:115: recipe for target 'ipv6calc-make' failed
make: *** [ipv6calc-make] Error 2
cd databases/ieee-oui && make
make[1]: Entering directory '/home/ipv6/ipv6calc/databases/ieee-oui'
test -f dbieee_oui.h || make update
make[1]: Leaving directory '/home/ipv6/ipv6calc/databases/ieee-oui'
cd databases/ieee-iab && make
make[1]: Entering directory '/home/ipv6/ipv6calc/databases/ieee-iab'
test -f dbieee_iab.h || make update
make[1]: Leaving directory '/home/ipv6/ipv6calc/databases/ieee-iab'
cd databases/ipv4-assignment && make
make[1]: Entering directory '/home/ipv6/ipv6calc/databases/ipv4-assignment'
test -f dbipv4addr_assignment.h || make update
make[1]: Leaving directory '/home/ipv6/ipv6calc/databases/ipv4-assignment'
cd databases/ipv6-assignment && make
make[1]: Entering directory '/home/ipv6/ipv6calc/databases/ipv6-assignment'
test -f dbipv6addr_assignment.h || make update
make[1]: Leaving directory '/home/ipv6/ipv6calc/databases/ipv6-assignment'
cd databases/lib && make
make[1]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.a
make[2]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipv6calc_db_wrapper.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I../../lib -I../..
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipv6calc_db_wrapper_MMDB.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I../../lib -I../..
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipv6calc_db_wrapper_GeoIP2.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I../../lib -I../..
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipv6calc_db_wrapper_IP2Location.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I../../lib -I../..
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipv6calc_db_wrapper_DBIP2.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I../../lib -I../..
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipv6calc_db_wrapper_External.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I../../lib -I../..
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipv6calc_db_wrapper_BuiltIn.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I../../lib -I../..
echo "Create library"
Create library
ar r libipv6calc_db_wrapper.a libipv6calc_db_wrapper.o libipv6calc_db_wrapper_MMDB.o libipv6calc_db_wrapper_GeoIP2.o libipv6calc_db_wrapper_IP2Location.o libipv6calc_db_wrapper_DBIP2.o libipv6calc_db_wrapper_External.o libipv6calc_db_wrapper_BuiltIn.o
ar: creating libipv6calc_db_wrapper.a
ranlib libipv6calc_db_wrapper.a
make[2]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.so.3.0.0
make[2]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
echo "Nothing to do (shared libary mode is not enabled)"
Nothing to do (shared libary mode is not enabled)
make[2]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make[1]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make: Circular db-lib-make <- db-lib-make dependency dropped.
cd databases/cc-assignment && make
make[1]: Entering directory '/home/ipv6/ipv6calc/databases/cc-assignment'
test -f db_cc_reg_assignment.h || make update
make[1]: Leaving directory '/home/ipv6/ipv6calc/databases/cc-assignment'
cd databases/as-assignment && make
make[1]: Entering directory '/home/ipv6/ipv6calc/databases/as-assignment'
test -f dbasn_assignment.h || make update
make[1]: Leaving directory '/home/ipv6/ipv6calc/databases/as-assignment'
cd databases/lib && make
make[1]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.a
make[2]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make[2]: 'libipv6calc_db_wrapper.a' is up to date.
make[2]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.so.3.0.0
make[2]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
echo "Nothing to do (shared libary mode is not enabled)"
Nothing to do (shared libary mode is not enabled)
make[2]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make[1]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
cd lib && make GETOPT_INCLUDE=
make[1]: Entering directory '/home/ipv6/ipv6calc/lib'
make libipv6calc.a
make[2]: Entering directory '/home/ipv6/ipv6calc/lib'
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipv6calc.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipv6addr.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipv4addr.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libipaddr.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libieee.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libeui64.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libmac.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c librfc1884.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c librfc1886.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c librfc1924.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c librfc2874.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c librfc3041.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c librfc3056.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c librfc5569.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c librfc6052.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c libifinet6.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c ipv6calchelp.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c ipv6calcoptions.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c ipv6calctypes.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/
cd ../ && make db-ieee-oui-make
make[3]: Entering directory '/home/ipv6/ipv6calc'
cd databases/ieee-oui && make
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/ieee-oui'
test -f dbieee_oui.h || make update
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/ieee-oui'
make[3]: Leaving directory '/home/ipv6/ipv6calc'
cd ../ && make db-ipv4-assignment-make
make[3]: Entering directory '/home/ipv6/ipv6calc'
cd databases/ipv4-assignment && make
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/ipv4-assignment'
test -f dbipv4addr_assignment.h || make update
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/ipv4-assignment'
make[3]: Leaving directory '/home/ipv6/ipv6calc'
cd ../ && make db-ipv6-assignment-make
make[3]: Entering directory '/home/ipv6/ipv6calc'
cd databases/ipv6-assignment && make
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/ipv6-assignment'
test -f dbipv6addr_assignment.h || make update
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/ipv6-assignment'
make[3]: Leaving directory '/home/ipv6/ipv6calc'
echo "Create library (.a)"
Create library (.a)
ar r libipv6calc.a libipv6calc.o libipv6addr.o libipv4addr.o libipaddr.o libieee.o libeui64.o libmac.o librfc1884.o librfc1886.o librfc1924.o librfc2874.o librfc3041.o librfc3056.o librfc5569.o librfc6052.o libifinet6.o ipv6calchelp.o ipv6calcoptions.o ipv6calctypes.o
ar: creating libipv6calc.a
ranlib libipv6calc.a
make[2]: Leaving directory '/home/ipv6/ipv6calc/lib'
make libipv6calc.so.3.0.0
make[2]: Entering directory '/home/ipv6/ipv6calc/lib'
echo "Nothing to do (shared libary mode is not enabled)"
Nothing to do (shared libary mode is not enabled)
make[2]: Leaving directory '/home/ipv6/ipv6calc/lib'
make[1]: Leaving directory '/home/ipv6/ipv6calc/lib'
cd ipv6calc && make
make[1]: Entering directory '/home/ipv6/ipv6calc/ipv6calc'
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c ipv6calc.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -I../ -I../lib/ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c showinfo.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -I../ -I../lib/ -I../databases/lib/
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -c ipv6calchelp_local.c -D_GNU_SOURCE -O2 -Wall -g -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -Wformat -Werror -Werror=format-security -Wsizeof-array-argument -Wextra -Werror=format-truncation=0 -I../ -I../lib/ -I../databases/lib/
cd ../ && make lib-make
make[2]: Entering directory '/home/ipv6/ipv6calc'
cd databases/ieee-oui && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/ieee-oui'
test -f dbieee_oui.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/ieee-oui'
cd databases/ieee-iab && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/ieee-iab'
test -f dbieee_iab.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/ieee-iab'
cd databases/ipv4-assignment && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/ipv4-assignment'
test -f dbipv4addr_assignment.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/ipv4-assignment'
cd databases/ipv6-assignment && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/ipv6-assignment'
test -f dbipv6addr_assignment.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/ipv6-assignment'
cd databases/lib && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.a
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make[4]: 'libipv6calc_db_wrapper.a' is up to date.
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.so.3.0.0
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
echo "Nothing to do (shared libary mode is not enabled)"
Nothing to do (shared libary mode is not enabled)
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make[2]: Circular db-lib-make <- db-lib-make dependency dropped.
cd databases/cc-assignment && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/cc-assignment'
test -f db_cc_reg_assignment.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/cc-assignment'
cd databases/as-assignment && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/as-assignment'
test -f dbasn_assignment.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/as-assignment'
cd databases/lib && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.a
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make[4]: 'libipv6calc_db_wrapper.a' is up to date.
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.so.3.0.0
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
echo "Nothing to do (shared libary mode is not enabled)"
Nothing to do (shared libary mode is not enabled)
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
cd lib && make GETOPT_INCLUDE=
make[3]: Entering directory '/home/ipv6/ipv6calc/lib'
make libipv6calc.a
make[4]: Entering directory '/home/ipv6/ipv6calc/lib'
make[4]: 'libipv6calc.a' is up to date.
make[4]: Leaving directory '/home/ipv6/ipv6calc/lib'
make libipv6calc.so.3.0.0
make[4]: Entering directory '/home/ipv6/ipv6calc/lib'
echo "Nothing to do (shared libary mode is not enabled)"
Nothing to do (shared libary mode is not enabled)
make[4]: Leaving directory '/home/ipv6/ipv6calc/lib'
make[3]: Leaving directory '/home/ipv6/ipv6calc/lib'
make[2]: Leaving directory '/home/ipv6/ipv6calc'
cd ../ && make lib-make
make[2]: Entering directory '/home/ipv6/ipv6calc'
cd databases/ieee-oui && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/ieee-oui'
test -f dbieee_oui.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/ieee-oui'
cd databases/ieee-iab && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/ieee-iab'
test -f dbieee_iab.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/ieee-iab'
cd databases/ipv4-assignment && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/ipv4-assignment'
test -f dbipv4addr_assignment.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/ipv4-assignment'
cd databases/ipv6-assignment && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/ipv6-assignment'
test -f dbipv6addr_assignment.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/ipv6-assignment'
cd databases/lib && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.a
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make[4]: 'libipv6calc_db_wrapper.a' is up to date.
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.so.3.0.0
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
echo "Nothing to do (shared libary mode is not enabled)"
Nothing to do (shared libary mode is not enabled)
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make[2]: Circular db-lib-make <- db-lib-make dependency dropped.
cd databases/cc-assignment && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/cc-assignment'
test -f db_cc_reg_assignment.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/cc-assignment'
cd databases/as-assignment && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/as-assignment'
test -f dbasn_assignment.h || make update
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/as-assignment'
cd databases/lib && make
make[3]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.a
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
make[4]: 'libipv6calc_db_wrapper.a' is up to date.
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make libipv6calc_db_wrapper.so.3.0.0
make[4]: Entering directory '/home/ipv6/ipv6calc/databases/lib'
echo "Nothing to do (shared libary mode is not enabled)"
Nothing to do (shared libary mode is not enabled)
make[4]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
make[3]: Leaving directory '/home/ipv6/ipv6calc/databases/lib'
cd lib && make GETOPT_INCLUDE=
make[3]: Entering directory '/home/ipv6/ipv6calc/lib'
make libipv6calc.a
make[4]: Entering directory '/home/ipv6/ipv6calc/lib'
make[4]: 'libipv6calc.a' is up to date.
make[4]: Leaving directory '/home/ipv6/ipv6calc/lib'
make libipv6calc.so.3.0.0
make[4]: Entering directory '/home/ipv6/ipv6calc/lib'
echo "Nothing to do (shared libary mode is not enabled)"
Nothing to do (shared libary mode is not enabled)
make[4]: Leaving directory '/home/ipv6/ipv6calc/lib'
make[3]: Leaving directory '/home/ipv6/ipv6calc/lib'
make[2]: Leaving directory '/home/ipv6/ipv6calc'
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -o ipv6calc ipv6calc.o showinfo.o ipv6calchelp_local.o memcmp.o -L../lib/ -L../databases/lib/ -lipv6calc_db_wrapper -lipv6calc -lm -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -L/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux/usr/lib -L/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux/usr/lib/arm-poky-linux-gnueabi/7.3.0 -lcrypto -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -L/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux/usr/lib -L/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux/usr/lib/arm-poky-linux-gnueabi/7.3.0
aarch64-linux-gnu-gcc: error: memcmp.o: No such file or directory
Makefile:52: recipe for target 'ipv6calc' failed
make[1]: *** [ipv6calc] Error 1
make[1]: Leaving directory '/home/ipv6/ipv6calc/ipv6calc'
Makefile:115: recipe for target 'ipv6calc-make' failed
make: *** [ipv6calc-make] Error 2
configure option "--disable-builtin" enabled and aligned, please check current master, hopefully everything fixed now.
btw: missing of memcmp.o must be related to arch somehow, configure has a builtin check for that looks like not validated somehow...can you please paste your "grep" output, mine is:
$ grep memcmp config.log
configure:4086: checking for working memcmp
ac_cv_func_memcmp_working=yes
your output should be different, potentially I should check this and create a warning. BTW: it's only used in the caching code, so potentially I can find a workaround for that part...let me check tomorrow.
I have checked out : 'ac72b68a8de5d11eab9eab4db66327b15b605d43'
Configuration options:
./configure \
--build=x86_64-linux \
--host=aarch64-linux \
--target=aarch64-linux \
--prefix=$SDK_SYSROOT_DIR/usr/local \
--with-sysroot=$SDK_SYSROOT_DIR \
CC=$SDK_CROSSCOMPILER_DIR/aarch64-linux-gnu-gcc \
CXX=$SDK_CROSSCOMPILER_DIR/aarch64-linux-gnu-g++ \
CFLAGS="-march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=$SDK_SYSROOT_DIR $CFLAGS" \
CPPFLAGS="-march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=$SDK_SYSROOT_DIR $CPPFLAGS" \
LDFLAGS="-march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=$SDK_SYSROOT_DIR -L$SDK_SYSROOT_DIR/usr/lib -L$SDK_SYSROOT_DIR/usr/lib/aarch64-linux-gnu/8.3.0 $LDFLAGS" \
--disable-builtin --disable-internal --disable-dynamic-load --disable-geoip2 --disable-dbip2 --enable-bundled-md5 --enable-bundled-getopt
The output of 'grep memcmp':
$ grep memcmp config.log
configure:4117: checking for working memcmp
ac_cv_func_memcmp_working=no
LIBOBJS=' ${LIBOBJDIR}memcmp$U.o'
LTLIBOBJS=' ${LIBOBJDIR}memcmp$U.lo'
However, still I have build issue:
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-gcc -o ipv6calc ipv6calc.o showinfo.o ipv6calchelp_local.o memcmp.o -L../lib/ -L../databases/lib/ -lipv6calc_db_wrapper -lipv6calc -lm -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -L/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux/usr/lib -L/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux/usr/lib/arm-poky-linux-gnueabi/7.3.0 -lcrypto -march=armv8-a -fPIC -mcpu=cortex-a72 --sysroot=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux -L/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux/usr/lib -L/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/sysroots/aarch64-linux/usr/lib/arm-poky-linux-gnueabi/7.3.0
aarch64-linux-gnu-gcc: error: memcmp.o: No such file or directory
Makefile:52: recipe for target 'ipv6calc' failed
The result of searching in the SDK toolchain directory for memcmp:
/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu$ find . -name "*memcmp*"
./sysroots/aarch64-linux/usr/src/debug/libunistring/0.9.10-r0/libunistring-0.9.10/lib/memcmp2.h
./sysroots/aarch64-linux/usr/src/debug/libunistring/0.9.10-r0/libunistring-0.9.10/lib/memcmp2.c
./sysroots/aarch64-linux/usr/src/debug/xz/5.2.4-r0/xz-5.2.4/src/liblzma/common/memcmplen.h
./sysroots/aarch64-linux/usr/src/debug/slang/2.3.2-r0/slang-2.3.2/src/slmemcmp.c
use of memcmp replaced, please try latest commit (which contains additional bugfixes) - regression tests currently running.
Revision 2d75431f4e552a19bf54a01158e03b3b41a047ec can be cross compiled successfully. I will check the generated executable on target platform and let yo know how it would work at runtime.
It works fine on the target embedded platform. Thank you so much. Vielen Dank!
ipv6calc version: 3.0.0 Host: Ubuntu 18.04 64-bit Target: ARM 64-bit Cross compiler toolchain: gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu
I have developed this bash script to grab the code and build it:
Config log:
Compile log: