Browse Source

Backup before routing refactor: etcp_bind id=0 + etcp_send routing

nodeinfo-routing-update
Evgeny 8 months ago
parent
commit
801770f117
  1. 937
      Makefile
  2. 156
      build.old/config.h
  3. 799
      build.old/config.log
  4. 1203
      build.old/config.status
  5. 1
      build.old/stamp-h1
  6. 156
      build.old2/config.h
  7. 802
      build.old2/config.log
  8. 1203
      build.old2/config.status
  9. 1
      build.old2/stamp-h1
  10. 0
      build.old2/tests/src-objects-built.stamp
  11. 156
      build.old3/config.h
  12. 802
      build.old3/config.log
  13. 1203
      build.old3/config.status
  14. 1
      build.old3/stamp-h1
  15. 156
      build.old4/config.h
  16. 802
      build.old4/config.log
  17. 1203
      build.old4/config.status
  18. 1
      build.old4/stamp-h1
  19. BIN
      build.old4/tests/test_etcp_crypto
  20. 156
      build.old5/config.h
  21. 802
      build.old5/config.log
  22. 1203
      build.old5/config.status
  23. 1
      build.old5/stamp-h1
  24. BIN
      build.old5/tests/test_etcp_crypto
  25. 156
      build.old6/config.h
  26. 802
      build.old6/config.log
  27. 1203
      build.old6/config.status
  28. 1
      build.old6/stamp-h1
  29. BIN
      build.old6/tests/test_etcp_crypto
  30. BIN
      build.old7/bench_timeout_heap
  31. BIN
      build.old7/bench_uasync_timeouts
  32. 156
      build.old7/config.h
  33. 803
      build.old7/config.log
  34. 1203
      build.old7/config.status
  35. 1
      build.old7/stamp-h1
  36. BIN
      build.old7/test_config_debug
  37. BIN
      build.old7/test_crypto
  38. BIN
      build.old7/test_debug_categories
  39. BIN
      build.old7/test_ecc_encrypt
  40. BIN
      build.old7/test_etcp_100_packets
  41. BIN
      build.old7/test_etcp_crypto
  42. BIN
      build.old7/test_etcp_minimal
  43. BIN
      build.old7/test_etcp_simple_traffic
  44. BIN
      build.old7/test_etcp_two_instances
  45. BIN
      build.old7/test_intensive_memory_pool
  46. BIN
      build.old7/test_ll_queue
  47. BIN
      build.old7/test_memory_pool_and_config
  48. BIN
      build.old7/test_packet_dump
  49. BIN
      build.old7/test_pkt_normalizer_etcp
  50. BIN
      build.old7/test_pkt_normalizer_standalone
  51. BIN
      build.old7/test_u_async_comprehensive
  52. BIN
      build.old7/test_u_async_performance
  53. BIN
      build.old7/tests/bench_timeout_heap
  54. 25
      build.old7/tests/bench_timeout_heap.log
  55. 4
      build.old7/tests/bench_timeout_heap.trs
  56. BIN
      build.old7/tests/bench_uasync_timeouts
  57. 150
      build.old7/tests/bench_uasync_timeouts.log
  58. 4
      build.old7/tests/bench_uasync_timeouts.trs
  59. 86
      build.old7/tests/test-suite.log
  60. BIN
      build.old7/tests/test_config_debug
  61. 7
      build.old7/tests/test_config_debug.log
  62. 4
      build.old7/tests/test_config_debug.trs
  63. BIN
      build.old7/tests/test_crypto
  64. 7
      build.old7/tests/test_crypto.log
  65. 4
      build.old7/tests/test_crypto.trs
  66. BIN
      build.old7/tests/test_debug_categories
  67. 9
      build.old7/tests/test_debug_categories.log
  68. 4
      build.old7/tests/test_debug_categories.trs
  69. BIN
      build.old7/tests/test_ecc_encrypt
  70. 20
      build.old7/tests/test_ecc_encrypt.log
  71. 4
      build.old7/tests/test_ecc_encrypt.trs
  72. BIN
      build.old7/tests/test_etcp_100_packets
  73. 8
      build.old7/tests/test_etcp_100_packets.log
  74. 4
      build.old7/tests/test_etcp_100_packets.trs
  75. BIN
      build.old7/tests/test_etcp_crypto
  76. 7
      build.old7/tests/test_etcp_crypto.log
  77. 4
      build.old7/tests/test_etcp_crypto.trs
  78. BIN
      build.old7/tests/test_etcp_minimal
  79. 47
      build.old7/tests/test_etcp_minimal.log
  80. 4
      build.old7/tests/test_etcp_minimal.trs
  81. BIN
      build.old7/tests/test_etcp_simple_traffic
  82. 15
      build.old7/tests/test_etcp_simple_traffic.log
  83. 4
      build.old7/tests/test_etcp_simple_traffic.trs
  84. BIN
      build.old7/tests/test_etcp_two_instances
  85. 10
      build.old7/tests/test_etcp_two_instances.log
  86. 4
      build.old7/tests/test_etcp_two_instances.trs
  87. BIN
      build.old7/tests/test_intensive_memory_pool
  88. 41
      build.old7/tests/test_intensive_memory_pool.log
  89. 4
      build.old7/tests/test_intensive_memory_pool.trs
  90. BIN
      build.old7/tests/test_ll_queue
  91. 105
      build.old7/tests/test_ll_queue.log
  92. 4
      build.old7/tests/test_ll_queue.trs
  93. BIN
      build.old7/tests/test_memory_pool_and_config
  94. 25
      build.old7/tests/test_memory_pool_and_config.log
  95. 4
      build.old7/tests/test_memory_pool_and_config.trs
  96. BIN
      build.old7/tests/test_packet_dump
  97. 4
      build.old7/tests/test_packet_dump.log
  98. 4
      build.old7/tests/test_packet_dump.trs
  99. BIN
      build.old7/tests/test_pkt_normalizer_etcp
  100. 12
      build.old7/tests/test_pkt_normalizer_etcp.log
  101. Some files were not shown because too many files have changed in this diff Show More

937
Makefile

@ -1,138 +1,817 @@
# Root Makefile for uTun - Out-of-tree build wrapper
# This Makefile provides convenient targets for building in a separate directory
# while keeping binaries in the project root.
# Makefile.in generated by automake 1.16.5 from Makefile.am.
# Makefile. Generated from Makefile.in by configure.
# Build directory
# Copyright (C) 1994-2021 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
# Main Makefile.am for utun - root directory configuration
# This is the root Makefile.am - tests are defined in tests/Makefile.am
am__is_gnu_make = { \
if test -z '$(MAKELEVEL)'; then \
false; \
elif test -n '$(MAKE_HOST)'; then \
true; \
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
true; \
else \
false; \
fi; \
}
am__make_running_with_option = \
case $${target_option-} in \
?) ;; \
*) echo "am__make_running_with_option: internal error: invalid" \
"target option '$${target_option-}' specified" >&2; \
exit 1;; \
esac; \
has_opt=no; \
sane_makeflags=$$MAKEFLAGS; \
if $(am__is_gnu_make); then \
sane_makeflags=$$MFLAGS; \
else \
case $$MAKEFLAGS in \
*\\[\ \ ]*) \
bs=\\; \
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
esac; \
fi; \
skip_next=no; \
strip_trailopt () \
{ \
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
}; \
for flg in $$sane_makeflags; do \
test $$skip_next = yes && { skip_next=no; continue; }; \
case $$flg in \
*=*|--*) continue;; \
-*I) strip_trailopt 'I'; skip_next=yes;; \
-*I?*) strip_trailopt 'I';; \
-*O) strip_trailopt 'O'; skip_next=yes;; \
-*O?*) strip_trailopt 'O';; \
-*l) strip_trailopt 'l'; skip_next=yes;; \
-*l?*) strip_trailopt 'l';; \
-[dEDm]) skip_next=yes;; \
-[JT]) skip_next=yes;; \
esac; \
case $$flg in \
*$$target_option*) has_opt=yes; break;; \
esac; \
done; \
test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/utun
pkgincludedir = $(includedir)/utun
pkglibdir = $(libdir)/utun
pkglibexecdir = $(libexecdir)/utun
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = x86_64-pc-linux-gnu
host_triplet = x86_64-pc-linux-gnu
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
$(am__configure_deps) $(am__DIST_COMMON)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
AM_V_P = $(am__v_P_$(V))
am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_$(V))
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
am__v_GEN_0 = @echo " GEN " $@;
am__v_GEN_1 =
AM_V_at = $(am__v_at_$(V))
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
am__v_at_0 = @
am__v_at_1 =
SOURCES =
DIST_SOURCES =
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
ctags-recursive dvi-recursive html-recursive info-recursive \
install-data-recursive install-dvi-recursive \
install-exec-recursive install-html-recursive \
install-info-recursive install-pdf-recursive \
install-ps-recursive install-recursive installcheck-recursive \
installdirs-recursive pdf-recursive ps-recursive \
tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
am__recursive_targets = \
$(RECURSIVE_TARGETS) \
$(RECURSIVE_CLEAN_TARGETS) \
$(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope distdir distdir-am dist dist-all distcheck
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
config.h.in
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates. Input order is
# *not* preserved.
am__uniquify_input = $(AWK) '\
BEGIN { nonempty = 0; } \
{ items[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in items) print i; }; } \
'
# Make sure the list of sources is unique. This is necessary because,
# e.g., the same source file might be shared among _SOURCES variables
# for different programs/libraries.
am__define_uniq_tagged_files = \
list='$(am__tagged_files)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
DIST_SUBDIRS = $(SUBDIRS)
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
$(top_srcdir)/build-aux/ar-lib $(top_srcdir)/build-aux/compile \
$(top_srcdir)/build-aux/config.guess \
$(top_srcdir)/build-aux/config.sub \
$(top_srcdir)/build-aux/install-sh \
$(top_srcdir)/build-aux/missing build-aux/ar-lib \
build-aux/compile build-aux/config.guess build-aux/config.sub \
build-aux/depcomp build-aux/install-sh build-aux/missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
if test -d "$(distdir)"; then \
find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
&& rm -rf "$(distdir)" \
|| { sleep 5 && rm -rf "$(distdir)"; }; \
else :; fi
am__post_remove_distdir = $(am__remove_distdir)
am__relativize = \
dir0=`pwd`; \
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
sed_rest='s,^[^/]*/*,,'; \
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
sed_butlast='s,/*[^/]*$$,,'; \
while test -n "$$dir1"; do \
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
if test "$$first" != "."; then \
if test "$$first" = ".."; then \
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
else \
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
if test "$$first2" = "$$first"; then \
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
else \
dir2="../$$dir2"; \
fi; \
dir0="$$dir0"/"$$first"; \
fi; \
fi; \
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
done; \
reldir="$$dir2"
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best
DIST_TARGETS = dist-gzip
# Exists only to be overridden by the user if desired.
AM_DISTCHECK_DVI_TARGET = dvi
distuninstallcheck_listfiles = find . -type f -print
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
distcleancheck_listfiles = find . -type f -print
ACLOCAL = ${SHELL} '/home/vnc1/proj/utun3/build-aux/missing' aclocal-1.16
AMTAR = $${TAR-tar}
AM_DEFAULT_VERBOSITY = 1
AR = ar
AUTOCONF = ${SHELL} '/home/vnc1/proj/utun3/build-aux/missing' autoconf
AUTOHEADER = ${SHELL} '/home/vnc1/proj/utun3/build-aux/missing' autoheader
AUTOMAKE = ${SHELL} '/home/vnc1/proj/utun3/build-aux/missing' automake-1.16
AWK = mawk
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -g -O2
CPPFLAGS =
CSCOPE = cscope
CTAGS = ctags
CYGPATH_W = echo
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
ECHO_C =
ECHO_N = -n
ECHO_T =
ETAGS = etags
EXEEXT =
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
LDFLAGS =
LIBOBJS =
LIBS = -lcrypto
LTLIBOBJS =
MAKEINFO = ${SHELL} '/home/vnc1/proj/utun3/build-aux/missing' makeinfo
MKDIR_P = /usr/bin/mkdir -p
OBJEXT = o
PACKAGE = utun
PACKAGE_BUGREPORT = https://github.com/anomalyco/utun3/issues
PACKAGE_NAME = utun
PACKAGE_STRING = utun 2.0.0
PACKAGE_TARNAME = utun
PACKAGE_URL =
PACKAGE_VERSION = 2.0.0
PATH_SEPARATOR = :
RANLIB = ranlib
SET_MAKE =
SHELL = /bin/bash
STRIP =
VERSION = 2.0.0
abs_builddir = /home/vnc1/proj/utun3
abs_srcdir = /home/vnc1/proj/utun3
abs_top_builddir = /home/vnc1/proj/utun3
abs_top_srcdir = /home/vnc1/proj/utun3
ac_ct_AR = ar
ac_ct_CC = gcc
am__include = include
am__leading_dot = .
am__quote =
am__tar = $${TAR-tar} chof - "$$tardir"
am__untar = $${TAR-tar} xf -
bindir = ${exec_prefix}/bin
build = x86_64-pc-linux-gnu
build_alias =
build_cpu = x86_64
build_os = linux-gnu
build_vendor = pc
builddir = .
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
dvidir = ${docdir}
exec_prefix = ${prefix}
host = x86_64-pc-linux-gnu
host_alias =
host_cpu = x86_64
host_os = linux-gnu
host_vendor = pc
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = ${datarootdir}/info
install_sh = ${SHELL} /home/vnc1/proj/utun3/build-aux/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
localstatedir = ${prefix}/var
mandir = ${datarootdir}/man
mkdir_p = $(MKDIR_P)
oldincludedir = /usr/include
pdfdir = ${docdir}
prefix = /usr/local
program_transform_name = s,x,x,
psdir = ${docdir}
runstatedir = ${localstatedir}/run
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
srcdir = .
sysconfdir = ${prefix}/etc
target_alias =
top_build_prefix =
top_builddir = .
top_srcdir = .
# Basic configuration for root directory
# Order matters: lib -> src -> tests (tests depend on src objects)
SUBDIRS = lib src tests
# Build directory for out-of-tree builds
BUILD_DIR = build
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
# Detect source directory (where this Makefile is located)
SRC_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
.SUFFIXES:
am--refresh: Makefile
@:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
$(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --foreign Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
echo ' $(SHELL) ./config.status'; \
$(SHELL) ./config.status;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
esac;
# Check if build directory is configured
BUILD_CONFIGURED := $(shell test -f $(BUILD_DIR)/Makefile && echo yes || echo no)
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
# Default target: build everything
.PHONY: all
all:
ifeq ($(BUILD_CONFIGURED),yes)
@$(MAKE) -C $(BUILD_DIR) all
else
@echo "Build directory not configured. Run 'make setup' first."
@exit 1
endif
# Setup target: create build directory and configure
.PHONY: setup
setup:
@echo "Setting up build in $(BUILD_DIR)/..."
@mkdir -p $(BUILD_DIR)
@if test ! -f $(BUILD_DIR)/Makefile; then \
echo "Running configure..."; \
cd $(BUILD_DIR) && $(SRC_DIR)/configure; \
$(top_srcdir)/configure: $(am__configure_deps)
$(am__cd) $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
$(am__aclocal_m4_deps):
config.h: stamp-h1
@test -f $@ || rm -f stamp-h1
@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
@rm -f stamp-h1
cd $(top_builddir) && $(SHELL) ./config.status config.h
$(srcdir)/config.h.in: $(am__configure_deps)
($(am__cd) $(top_srcdir) && $(AUTOHEADER))
rm -f stamp-h1
touch $@
distclean-hdr:
-rm -f config.h stamp-h1
# This directory's subdirectories are mostly independent; you can cd
# into them and run 'make' without going through this Makefile.
# To change the values of 'make' variables: instead of editing Makefiles,
# (1) if the variable is set in 'config.status', edit 'config.status'
# (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
$(am__recursive_targets):
@fail=; \
if $(am__make_keepgoing); then \
failcom='fail=yes'; \
else \
failcom='exit 1'; \
fi; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
*) list='$(SUBDIRS)' ;; \
esac; \
for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
ID: $(am__tagged_files)
$(am__define_uniq_tagged_files); mkid -fID $$unique
tags: tags-recursive
TAGS: tags
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
include_option=--etags-include; \
empty_fix=.; \
else \
include_option=--include; \
empty_fix=; \
fi; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test ! -f $$subdir/TAGS || \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
$(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
if test $$# -gt 0; then \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
"$$@" $$unique; \
else \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$unique; \
fi; \
fi
ctags: ctags-recursive
CTAGS: ctags
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
$(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
clean-cscope:
-rm -f cscope.files
cscope.files: clean-cscope cscopelist
cscopelist: cscopelist-recursive
cscopelist-am: $(am__tagged_files)
list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
esac; \
for i in $$list; do \
if test -f "$$i"; then \
echo "$(subdir)/$$i"; \
else \
echo "$$sdir/$$i"; \
fi; \
done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
distdir: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) distdir-am
distdir-am: $(DISTFILES)
$(am__remove_distdir)
test -d "$(distdir)" || mkdir "$(distdir)"
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
$(am__make_dryrun) \
|| test -d "$(distdir)/$$subdir" \
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|| exit 1; \
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
$(am__relativize); \
new_distdir=$$reldir; \
dir1=$$subdir; dir2="$(top_distdir)"; \
$(am__relativize); \
new_top_distdir=$$reldir; \
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
($(am__cd) $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$$new_top_distdir" \
distdir="$$new_distdir" \
am__remove_distdir=: \
am__skip_length_check=: \
am__skip_mode_fix=: \
distdir) \
|| exit 1; \
fi; \
done
-test -n "$(am__skip_mode_fix)" \
|| find "$(distdir)" -type d ! -perm -755 \
-exec chmod u+rwx,go+rx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r "$(distdir)"
dist-gzip: distdir
tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
$(am__post_remove_distdir)
dist-bzip2: distdir
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
$(am__post_remove_distdir)
dist-lzip: distdir
tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
$(am__post_remove_distdir)
dist-xz: distdir
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
$(am__post_remove_distdir)
dist-zstd: distdir
tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
$(am__post_remove_distdir)
dist-tarZ: distdir
@echo WARNING: "Support for distribution archives compressed with" \
"legacy program 'compress' is deprecated." >&2
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
$(am__post_remove_distdir)
dist-shar: distdir
@echo WARNING: "Support for shar distribution archives is" \
"deprecated." >&2
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
$(am__post_remove_distdir)
dist-zip: distdir
-rm -f $(distdir).zip
zip -rq $(distdir).zip $(distdir)
$(am__post_remove_distdir)
dist dist-all:
$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
$(am__post_remove_distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lz*) \
lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
*.tar.xz*) \
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
*.tar.zst*) \
zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
esac
chmod -R a-w $(distdir)
chmod u+w $(distdir)
mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
chmod a-w $(distdir)
test -d $(distdir)/_build || exit 0; \
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
&& am__cwd=`pwd` \
&& $(am__cd) $(distdir)/_build/sub \
&& ../../configure \
$(AM_DISTCHECK_CONFIGURE_FLAGS) \
$(DISTCHECK_CONFIGURE_FLAGS) \
--srcdir=../.. --prefix="$$dc_install_base" \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
distuninstallcheck \
&& chmod -R a-w "$$dc_install_base" \
&& ({ \
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
} || { rm -rf "$$dc_destdir"; exit 1; }) \
&& rm -rf "$$dc_destdir" \
&& $(MAKE) $(AM_MAKEFLAGS) dist \
&& rm -rf $(DIST_ARCHIVES) \
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
&& cd "$$am__cwd" \
|| exit 1
$(am__post_remove_distdir)
@(echo "$(distdir) archives ready for distribution: "; \
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
distuninstallcheck:
@test -n '$(distuninstallcheck_dir)' || { \
echo 'ERROR: trying to run $@ with an empty' \
'$$(distuninstallcheck_dir)' >&2; \
exit 1; \
}; \
$(am__cd) '$(distuninstallcheck_dir)' || { \
echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
exit 1; \
}; \
test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
|| { echo "ERROR: files left after uninstall:" ; \
if test -n "$(DESTDIR)"; then \
echo " (check DESTDIR support)"; \
fi ; \
$(distuninstallcheck_listfiles) ; \
exit 1; } >&2
distcleancheck: distclean
@if test '$(srcdir)' = . ; then \
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
exit 1 ; \
fi
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|| { echo "ERROR: files left in build directory after distclean:" ; \
$(distcleancheck_listfiles) ; \
exit 1; } >&2
check-am: all-am
check: check-recursive
all-am: Makefile config.h
installdirs: installdirs-recursive
installdirs-am:
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-recursive
install-strip:
if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
install; \
else \
echo "Build already configured."; \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
@echo "Setup complete. Run 'make' to build."
# Reconfigure target
.PHONY: reconfigure
reconfigure:
@rm -rf $(BUILD_DIR)
@$(MAKE) setup
# Build just the main binary (skip tests)
.PHONY: utun
utun:
ifeq ($(BUILD_CONFIGURED),yes)
@$(MAKE) -C $(BUILD_DIR)/lib
@$(MAKE) -C $(BUILD_DIR)/src
@echo "utun binary built successfully."
else
@echo "Build directory not configured. Run 'make setup' first."
@exit 1
endif
# Run tests (make all builds everything including tests)
.PHONY: check test
check: all
ifeq ($(BUILD_CONFIGURED),yes)
@$(MAKE) -C $(BUILD_DIR) check
else
@echo "Build directory not configured. Run 'make setup' first."
@exit 1
endif
test: check
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive
clean-am: clean-generic clean-local mostlyclean-am
distclean: distclean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -f Makefile
distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
dvi: dvi-recursive
dvi-am:
html: html-recursive
html-am:
info: info-recursive
info-am:
install-data-am:
install-dvi: install-dvi-recursive
install-dvi-am:
install-exec-am:
install-html: install-html-recursive
install-html-am:
install-info: install-info-recursive
install-info-am:
install-man:
install-pdf: install-pdf-recursive
install-pdf-am:
install-ps: install-ps-recursive
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-recursive
mostlyclean-am: mostlyclean-generic
pdf: pdf-recursive
pdf-am:
ps: ps-recursive
ps-am:
uninstall-am:
.MAKE: $(am__recursive_targets) all install-am install-strip
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
am--refresh check check-am clean clean-cscope clean-generic \
clean-local cscope cscopelist-am ctags ctags-am dist dist-all \
dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz \
dist-zip dist-zstd distcheck distclean distclean-generic \
distclean-hdr distclean-tags distcleancheck distdir \
distuninstallcheck dvi dvi-am html html-am info info-am \
install install-am install-data install-data-am install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-info install-info-am install-man \
install-pdf install-pdf-am install-ps install-ps-am \
install-strip installcheck installcheck-am installdirs \
installdirs-am maintainer-clean maintainer-clean-generic \
mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
tags-am uninstall uninstall-am
.PRECIOUS: Makefile
# Custom target to run full build in separate directory
.PHONY: fullbuild
fullbuild:
@echo "Building in $(BUILD_DIR)/ directory..."
@$(MKDIR_P) $(BUILD_DIR)
@if test ! -f $(BUILD_DIR)/Makefile; then \
echo "Running configure in $(BUILD_DIR)..."; \
cd $(BUILD_DIR) && $(top_srcdir)/configure; \
fi
@$(MAKE) -C $(BUILD_DIR) all
@echo "Build complete. Binaries copied to project root."
# Clean build directory
.PHONY: clean
clean:
ifeq ($(BUILD_CONFIGURED),yes)
@$(MAKE) -C $(BUILD_DIR) clean
else
@echo "Build directory not configured."
endif
# Full clean - remove build directory and generated files
.PHONY: distclean
distclean:
@rm -rf $(BUILD_DIR)
@echo "Build directory removed."
# Install from build directory
.PHONY: install
install: all
@$(MAKE) -C $(BUILD_DIR) install
# Debug build setup
.PHONY: setup-debug
setup-debug:
@echo "Setting up debug build in $(BUILD_DIR)/..."
@mkdir -p $(BUILD_DIR)
cd $(BUILD_DIR) && $(SRC_DIR)/configure --enable-debug
# Release build setup
.PHONY: setup-release
setup-release:
@echo "Setting up release build in $(BUILD_DIR)/..."
@mkdir -p $(BUILD_DIR)
cd $(BUILD_DIR) && $(SRC_DIR)/configure --disable-debug
# Print help
.PHONY: help
help:
@echo "uTun Build System (Out-of-tree build)"
@echo "======================================"
@echo ""
@echo "Setup targets:"
@echo " setup - Configure the build directory"
@echo " setup-debug - Configure for debug build"
@echo " setup-release - Configure for release build"
@echo " reconfigure - Clean and reconfigure build"
@echo ""
@echo "Build targets:"
@echo " all - Build everything: lib, src, tests"
@echo " utun - Build only main utun binary (faster)"
@echo " check - Run all tests (builds if needed)"
@echo " test - Alias for check"
@echo " install - Install binaries"
@echo ""
@echo "Maintenance:"
@echo " clean - Clean build artifacts"
@echo " distclean - Remove build directory completely"
@echo " help - Show this help"
@echo ""
@echo "Build directory: $(BUILD_DIR)/"
@echo "Source directory: $(SRC_DIR)/"
@echo ""
@echo "Usage: make setup && make"
# Pass through any unknown targets to the build directory if configured
.PHONY: %
%:
ifeq ($(BUILD_CONFIGURED),yes)
@$(MAKE) -C $(BUILD_DIR) $@
else
@echo "Build directory not configured. Run 'make setup' first."
@exit 1
endif
clean-local:
-rm -rf $(BUILD_DIR)
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

156
build.old/config.h

@ -0,0 +1,156 @@
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H 1
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the `crypto' library (-lcrypto). */
#define HAVE_LIBCRYPTO 1
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
to 0 otherwise. */
#define HAVE_MALLOC 1
/* Define to 1 if you have the `memset' function. */
#define HAVE_MEMSET 1
/* Define to 1 if you have the <netinet/in.h> header file. */
#define HAVE_NETINET_IN_H 1
/* Define to 1 if you have the `socket' function. */
#define HAVE_SOCKET 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdio.h> header file. */
#define HAVE_STDIO_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the `strstr' function. */
#define HAVE_STRSTR 1
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1
/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define if TUN/TAP is available */
/* #undef HAVE_TUN_TAP */
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Name of package */
#define PACKAGE "utun"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
/* Define to the full name of this package. */
#define PACKAGE_NAME "utun"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "utun 2.0.0"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "utun"
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.0.0"
/* Define to 1 if all of the C90 standard headers exist (not just the ones
required in a freestanding environment). This macro is provided for
backward compatibility; new code need not use it. */
#define STDC_HEADERS 1
/* Define to use OpenSSL for cryptography */
#define USE_OPENSSL 1
/* Version number of package */
#define VERSION "2.0.0"
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT32_T */
/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT64_T */
/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT8_T */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* #undef inline */
#endif
/* Define to rpl_malloc if the replacement function should be used. */
/* #undef malloc */
/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */
/* Define to `int' if <sys/types.h> does not define. */
/* #undef ssize_t */
/* Define to the type of an unsigned integer type of width exactly 16 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint16_t */
/* Define to the type of an unsigned integer type of width exactly 32 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint32_t */
/* Define to the type of an unsigned integer type of width exactly 64 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint64_t */
/* Define to the type of an unsigned integer type of width exactly 8 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint8_t */

799
build.old/config.log

@ -0,0 +1,799 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by utun configure 2.0.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ /home/vnc1/proj/utun3/configure
## --------- ##
## Platform. ##
## --------- ##
hostname = user-Standard-PC-i440FX-PIIX-1996
uname -m = x86_64
uname -r = 6.14.0-37-generic
uname -s = Linux
uname -v = #37~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 10:25:38 UTC 2
/usr/bin/uname -p = x86_64
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /root/.cargo/bin/
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
PATH: /snap/bin/
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2461: looking for aux files: config.guess config.sub missing install-sh ar-lib compile
configure:2474: trying /home/vnc1/proj/utun3/build-aux/
configure:2503: /home/vnc1/proj/utun3/build-aux/config.guess found
configure:2503: /home/vnc1/proj/utun3/build-aux/config.sub found
configure:2503: /home/vnc1/proj/utun3/build-aux/missing found
configure:2485: /home/vnc1/proj/utun3/build-aux/install-sh found
configure:2503: /home/vnc1/proj/utun3/build-aux/ar-lib found
configure:2503: /home/vnc1/proj/utun3/build-aux/compile found
configure:2683: checking for gcc
configure:2704: found /usr/bin/gcc
configure:2715: result: gcc
configure:3068: checking for C compiler version
configure:3077: gcc --version >&5
gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3088: $? = 0
configure:3077: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
... rest of stderr output deleted ...
configure:3088: $? = 0
configure:3077: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3077: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3077: gcc -version >&5
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3108: checking whether the C compiler works
configure:3130: gcc conftest.c >&5
configure:3134: $? = 0
configure:3184: result: yes
configure:3187: checking for C compiler default output file name
configure:3189: result: a.out
configure:3195: checking for suffix of executables
configure:3202: gcc -o conftest conftest.c >&5
configure:3206: $? = 0
configure:3229: result:
configure:3251: checking whether we are cross compiling
configure:3259: gcc -o conftest conftest.c >&5
configure:3263: $? = 0
configure:3270: ./conftest
configure:3274: $? = 0
configure:3289: result: no
configure:3294: checking for suffix of object files
configure:3317: gcc -c conftest.c >&5
configure:3321: $? = 0
configure:3343: result: o
configure:3347: checking whether the compiler supports GNU C
configure:3367: gcc -c conftest.c >&5
configure:3367: $? = 0
configure:3377: result: yes
configure:3388: checking whether gcc accepts -g
configure:3409: gcc -c -g conftest.c >&5
configure:3409: $? = 0
configure:3453: result: yes
configure:3473: checking for gcc option to enable C11 features
configure:3488: gcc -c -g -O2 conftest.c >&5
configure:3488: $? = 0
configure:3506: result: none needed
configure:3627: checking whether gcc understands -c and -o together
configure:3650: gcc -c conftest.c -o conftest2.o
configure:3653: $? = 0
configure:3650: gcc -c conftest.c -o conftest2.o
configure:3653: $? = 0
configure:3665: result: yes
configure:3730: checking for ranlib
configure:3751: found /usr/bin/ranlib
configure:3762: result: ranlib
configure:3840: checking for ar
configure:3861: found /usr/bin/ar
configure:3872: result: ar
configure:3898: checking the archiver (ar) interface
configure:3915: gcc -c -g -O2 conftest.c >&5
configure:3915: $? = 0
configure:3918: ar cru libconftest.a conftest.o >&5
ar: `u' modifier ignored since `D' is the default (see `U')
configure:3921: $? = 0
configure:3949: result: ar
configure:3986: checking for a BSD-compatible install
configure:4059: result: /usr/bin/install -c
configure:4070: checking whether build environment is sane
configure:4125: result: yes
configure:4280: checking for a race-free mkdir -p
configure:4324: result: /usr/bin/mkdir -p
configure:4331: checking for gawk
configure:4366: result: no
configure:4331: checking for mawk
configure:4352: found /usr/bin/mawk
configure:4363: result: mawk
configure:4374: checking whether make sets $(MAKE)
configure:4397: result: yes
configure:4419: checking whether make supports the include directive
configure:4434: make -f confmf.GNU && cat confinc.out
make[1]: Entering directory '/home/vnc1/proj/utun3/build'
make[1]: Leaving directory '/home/vnc1/proj/utun3/build'
this is the am__doit target
configure:4437: $? = 0
configure:4456: result: yes (GNU style)
configure:4491: checking whether make supports nested variables
configure:4509: result: yes
configure:4590: checking dependency style of gcc
configure:4702: result: gcc3
configure:4777: checking whether make sets $(MAKE)
configure:4800: result: yes
configure:4822: checking for SHA256_Init in -lcrypto
configure:4845: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:4845: $? = 0
configure:4855: result: yes
configure:4886: checking for stdio.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for stdlib.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for string.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for inttypes.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for stdint.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for strings.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for sys/stat.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for sys/types.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for unistd.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4911: checking for arpa/inet.h
configure:4911: gcc -c -g -O2 conftest.c >&5
configure:4911: $? = 0
configure:4911: result: yes
configure:4917: checking for fcntl.h
configure:4917: gcc -c -g -O2 conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4923: checking for limits.h
configure:4923: gcc -c -g -O2 conftest.c >&5
configure:4923: $? = 0
configure:4923: result: yes
configure:4929: checking for netinet/in.h
configure:4929: gcc -c -g -O2 conftest.c >&5
configure:4929: $? = 0
configure:4929: result: yes
configure:4935: checking for stdlib.h
configure:4935: result: yes
configure:4941: checking for string.h
configure:4941: result: yes
configure:4947: checking for sys/ioctl.h
configure:4947: gcc -c -g -O2 conftest.c >&5
configure:4947: $? = 0
configure:4947: result: yes
configure:4953: checking for sys/socket.h
configure:4953: gcc -c -g -O2 conftest.c >&5
configure:4953: $? = 0
configure:4953: result: yes
configure:4959: checking for unistd.h
configure:4959: result: yes
configure:4968: checking for size_t
configure:4968: gcc -c -g -O2 conftest.c >&5
configure:4968: $? = 0
configure:4968: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:63:21: error: expected expression before ')' token
63 | if (sizeof ((size_t)))
| ^
configure:4968: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:4968: result: yes
configure:4978: checking for ssize_t
configure:4978: gcc -c -g -O2 conftest.c >&5
configure:4978: $? = 0
configure:4978: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:63:22: error: expected expression before ')' token
63 | if (sizeof ((ssize_t)))
| ^
configure:4978: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| if (sizeof ((ssize_t)))
| return 0;
| ;
| return 0;
| }
configure:4978: result: yes
configure:4988: checking for uint16_t
configure:4988: gcc -c -g -O2 conftest.c >&5
configure:4988: $? = 0
configure:4988: result: yes
configure:4998: checking for uint32_t
configure:4998: gcc -c -g -O2 conftest.c >&5
configure:4998: $? = 0
configure:4998: result: yes
configure:5010: checking for uint64_t
configure:5010: gcc -c -g -O2 conftest.c >&5
configure:5010: $? = 0
configure:5010: result: yes
configure:5022: checking for uint8_t
configure:5022: gcc -c -g -O2 conftest.c >&5
configure:5022: $? = 0
configure:5022: result: yes
configure:5034: checking for inline
configure:5051: gcc -c -g -O2 conftest.c >&5
configure:5051: $? = 0
configure:5060: result: inline
configure:5086: checking build system type
configure:5101: result: x86_64-pc-linux-gnu
configure:5121: checking host system type
configure:5135: result: x86_64-pc-linux-gnu
configure:5155: checking for GNU libc compatible malloc
configure:5187: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5187: $? = 0
configure:5187: ./conftest
configure:5187: $? = 0
configure:5198: result: yes
configure:5220: checking for gettimeofday
configure:5220: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5220: $? = 0
configure:5220: result: yes
configure:5226: checking for memset
configure:5226: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:50:6: warning: conflicting types for built-in function 'memset'; expected 'void *(void *, int, long unsigned int)' [-Wbuiltin-declaration-mismatch]
50 | char memset ();
| ^~~~~~
conftest.c:42:1: note: 'memset' is declared in header '<string.h>'
41 | #include <limits.h>
42 | #undef memset
configure:5226: $? = 0
configure:5226: result: yes
configure:5232: checking for socket
configure:5232: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5232: $? = 0
configure:5232: result: yes
configure:5238: checking for strchr
configure:5238: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:52:6: warning: conflicting types for built-in function 'strchr'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch]
52 | char strchr ();
| ^~~~~~
conftest.c:44:1: note: 'strchr' is declared in header '<string.h>'
43 | #include <limits.h>
44 | #undef strchr
configure:5238: $? = 0
configure:5238: result: yes
configure:5244: checking for strdup
configure:5244: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:53:6: warning: conflicting types for built-in function 'strdup'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch]
53 | char strdup ();
| ^~~~~~
configure:5244: $? = 0
configure:5244: result: yes
configure:5250: checking for strerror
configure:5250: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5250: $? = 0
configure:5250: result: yes
configure:5256: checking for strstr
configure:5256: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:55:6: warning: conflicting types for built-in function 'strstr'; expected 'char *(const char *, const char *)' [-Wbuiltin-declaration-mismatch]
55 | char strstr ();
| ^~~~~~
conftest.c:47:1: note: 'strstr' is declared in header '<string.h>'
46 | #include <limits.h>
47 | #undef strstr
configure:5256: $? = 0
configure:5256: result: yes
configure:5265: checking for TUN/TAP support
configure:5282: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:47:10: warning: implicit declaration of function 'open' [-Wimplicit-function-declaration]
47 | int fd = open("/dev/net/tun", O_RDWR);
| ^~~~
conftest.c:47:31: error: 'O_RDWR' undeclared (first use in this function)
47 | int fd = open("/dev/net/tun", O_RDWR);
| ^~~~~~
conftest.c:47:31: note: each undeclared identifier is reported only once for each function it appears in
configure:5282: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_MALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MEMSET 1
| #define HAVE_SOCKET 1
| #define HAVE_STRCHR 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| #define HAVE_STRSTR 1
| /* end confdefs.h. */
|
| #include <linux/if_tun.h>
|
| int
| main (void)
| {
|
| int fd = open("/dev/net/tun", O_RDWR);
|
| ;
| return 0;
| }
configure:5293: result: no
configure:5404: checking that generated files are newer than configure
configure:5410: result: done
configure:5437: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by utun config.status 2.0.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on user-Standard-PC-i440FX-PIIX-1996
config.status:881: creating Makefile
config.status:881: creating src/Makefile
config.status:881: creating tests/Makefile
config.status:881: creating lib/Makefile
config.status:881: creating config.h
config.status:1095: executing depfiles commands
config.status:1172: cd src && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[1]: Entering directory '/home/vnc1/proj/utun3/build/src'
make[1]: Nothing to be done for 'am--depfiles'.
make[1]: Leaving directory '/home/vnc1/proj/utun3/build/src'
config.status:1177: $? = 0
config.status:1172: cd tests && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[1]: Entering directory '/home/vnc1/proj/utun3/build/tests'
make[1]: Nothing to be done for 'am--depfiles'.
make[1]: Leaving directory '/home/vnc1/proj/utun3/build/tests'
config.status:1177: $? = 0
config.status:1172: cd lib && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[1]: Entering directory '/home/vnc1/proj/utun3/build/lib'
make[1]: Nothing to be done for 'am--depfiles'.
make[1]: Leaving directory '/home/vnc1/proj/utun3/build/lib'
config.status:1177: $? = 0
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_c_uint16_t=yes
ac_cv_c_uint32_t=yes
ac_cv_c_uint64_t=yes
ac_cv_c_uint8_t=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_gettimeofday=yes
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_memset=yes
ac_cv_func_socket=yes
ac_cv_func_strchr=yes
ac_cv_func_strdup=yes
ac_cv_func_strerror=yes
ac_cv_func_strstr=yes
ac_cv_header_arpa_inet_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_lib_crypto_SHA256_Init=yes
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c11=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_make_make_set=yes
ac_cv_type_size_t=yes
ac_cv_type_ssize_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_ar_interface=ar
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' automake-1.16'
AWK='mawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPPFLAGS=''
CSCOPE='cscope'
CTAGS='ctags'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ETAGS='etags'
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS='-lcrypto '
LTLIBOBJS=''
MAKEINFO='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' makeinfo'
MKDIR_P='/usr/bin/mkdir -p'
OBJEXT='o'
PACKAGE='utun'
PACKAGE_BUGREPORT='https://github.com/anomalyco/utun3/issues'
PACKAGE_NAME='utun'
PACKAGE_STRING='utun 2.0.0'
PACKAGE_TARNAME='utun'
PACKAGE_URL=''
PACKAGE_VERSION='2.0.0'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
USE_OPENSSL_FALSE='#'
USE_OPENSSL_TRUE=''
VERSION='2.0.0'
ac_ct_AR='ar'
ac_ct_CC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/vnc1/proj/utun3/build-aux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "utun"
#define PACKAGE_TARNAME "utun"
#define PACKAGE_VERSION "2.0.0"
#define PACKAGE_STRING "utun 2.0.0"
#define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
#define PACKAGE_URL ""
#define PACKAGE "utun"
#define VERSION "2.0.0"
#define HAVE_LIBCRYPTO 1
#define USE_OPENSSL 1
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_ARPA_INET_H 1
#define HAVE_FCNTL_H 1
#define HAVE_LIMITS_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_UNISTD_H 1
#define HAVE_MALLOC 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_MEMSET 1
#define HAVE_SOCKET 1
#define HAVE_STRCHR 1
#define HAVE_STRDUP 1
#define HAVE_STRERROR 1
#define HAVE_STRSTR 1
configure: exit 0

1203
build.old/config.status

File diff suppressed because it is too large Load Diff

1
build.old/stamp-h1

@ -0,0 +1 @@
timestamp for config.h

156
build.old2/config.h

@ -0,0 +1,156 @@
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H 1
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the `crypto' library (-lcrypto). */
#define HAVE_LIBCRYPTO 1
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
to 0 otherwise. */
#define HAVE_MALLOC 1
/* Define to 1 if you have the `memset' function. */
#define HAVE_MEMSET 1
/* Define to 1 if you have the <netinet/in.h> header file. */
#define HAVE_NETINET_IN_H 1
/* Define to 1 if you have the `socket' function. */
#define HAVE_SOCKET 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdio.h> header file. */
#define HAVE_STDIO_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the `strstr' function. */
#define HAVE_STRSTR 1
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1
/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define if TUN/TAP is available */
/* #undef HAVE_TUN_TAP */
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Name of package */
#define PACKAGE "utun"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
/* Define to the full name of this package. */
#define PACKAGE_NAME "utun"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "utun 2.0.0"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "utun"
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.0.0"
/* Define to 1 if all of the C90 standard headers exist (not just the ones
required in a freestanding environment). This macro is provided for
backward compatibility; new code need not use it. */
#define STDC_HEADERS 1
/* Define to use OpenSSL for cryptography */
#define USE_OPENSSL 1
/* Version number of package */
#define VERSION "2.0.0"
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT32_T */
/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT64_T */
/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT8_T */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* #undef inline */
#endif
/* Define to rpl_malloc if the replacement function should be used. */
/* #undef malloc */
/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */
/* Define to `int' if <sys/types.h> does not define. */
/* #undef ssize_t */
/* Define to the type of an unsigned integer type of width exactly 16 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint16_t */
/* Define to the type of an unsigned integer type of width exactly 32 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint32_t */
/* Define to the type of an unsigned integer type of width exactly 64 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint64_t */
/* Define to the type of an unsigned integer type of width exactly 8 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint8_t */

802
build.old2/config.log

@ -0,0 +1,802 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by utun configure 2.0.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ /home/vnc1/proj/utun3/configure
## --------- ##
## Platform. ##
## --------- ##
hostname = user-Standard-PC-i440FX-PIIX-1996
uname -m = x86_64
uname -r = 6.14.0-37-generic
uname -s = Linux
uname -v = #37~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 10:25:38 UTC 2
/usr/bin/uname -p = x86_64
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/vnc1/.cargo/bin/
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
PATH: /usr/games/
PATH: /usr/local/games/
PATH: /snap/bin/
PATH: /snap/bin/
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2461: looking for aux files: config.guess config.sub missing install-sh ar-lib compile
configure:2474: trying /home/vnc1/proj/utun3/build-aux/
configure:2503: /home/vnc1/proj/utun3/build-aux/config.guess found
configure:2503: /home/vnc1/proj/utun3/build-aux/config.sub found
configure:2503: /home/vnc1/proj/utun3/build-aux/missing found
configure:2485: /home/vnc1/proj/utun3/build-aux/install-sh found
configure:2503: /home/vnc1/proj/utun3/build-aux/ar-lib found
configure:2503: /home/vnc1/proj/utun3/build-aux/compile found
configure:2683: checking for gcc
configure:2704: found /usr/bin/gcc
configure:2715: result: gcc
configure:3068: checking for C compiler version
configure:3077: gcc --version >&5
gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3088: $? = 0
configure:3077: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
... rest of stderr output deleted ...
configure:3088: $? = 0
configure:3077: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3077: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3077: gcc -version >&5
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3108: checking whether the C compiler works
configure:3130: gcc conftest.c >&5
configure:3134: $? = 0
configure:3184: result: yes
configure:3187: checking for C compiler default output file name
configure:3189: result: a.out
configure:3195: checking for suffix of executables
configure:3202: gcc -o conftest conftest.c >&5
configure:3206: $? = 0
configure:3229: result:
configure:3251: checking whether we are cross compiling
configure:3259: gcc -o conftest conftest.c >&5
configure:3263: $? = 0
configure:3270: ./conftest
configure:3274: $? = 0
configure:3289: result: no
configure:3294: checking for suffix of object files
configure:3317: gcc -c conftest.c >&5
configure:3321: $? = 0
configure:3343: result: o
configure:3347: checking whether the compiler supports GNU C
configure:3367: gcc -c conftest.c >&5
configure:3367: $? = 0
configure:3377: result: yes
configure:3388: checking whether gcc accepts -g
configure:3409: gcc -c -g conftest.c >&5
configure:3409: $? = 0
configure:3453: result: yes
configure:3473: checking for gcc option to enable C11 features
configure:3488: gcc -c -g -O2 conftest.c >&5
configure:3488: $? = 0
configure:3506: result: none needed
configure:3627: checking whether gcc understands -c and -o together
configure:3650: gcc -c conftest.c -o conftest2.o
configure:3653: $? = 0
configure:3650: gcc -c conftest.c -o conftest2.o
configure:3653: $? = 0
configure:3665: result: yes
configure:3730: checking for ranlib
configure:3751: found /usr/bin/ranlib
configure:3762: result: ranlib
configure:3840: checking for ar
configure:3861: found /usr/bin/ar
configure:3872: result: ar
configure:3898: checking the archiver (ar) interface
configure:3915: gcc -c -g -O2 conftest.c >&5
configure:3915: $? = 0
configure:3918: ar cru libconftest.a conftest.o >&5
ar: `u' modifier ignored since `D' is the default (see `U')
configure:3921: $? = 0
configure:3949: result: ar
configure:3986: checking for a BSD-compatible install
configure:4059: result: /usr/bin/install -c
configure:4070: checking whether build environment is sane
configure:4125: result: yes
configure:4280: checking for a race-free mkdir -p
configure:4324: result: /usr/bin/mkdir -p
configure:4331: checking for gawk
configure:4366: result: no
configure:4331: checking for mawk
configure:4352: found /usr/bin/mawk
configure:4363: result: mawk
configure:4374: checking whether make sets $(MAKE)
configure:4397: result: yes
configure:4419: checking whether make supports the include directive
configure:4434: make -f confmf.GNU && cat confinc.out
make[1]: Entering directory '/home/vnc1/proj/utun3/build'
make[1]: Leaving directory '/home/vnc1/proj/utun3/build'
this is the am__doit target
configure:4437: $? = 0
configure:4456: result: yes (GNU style)
configure:4491: checking whether make supports nested variables
configure:4509: result: yes
configure:4590: checking dependency style of gcc
configure:4702: result: gcc3
configure:4777: checking whether make sets $(MAKE)
configure:4800: result: yes
configure:4822: checking for SHA256_Init in -lcrypto
configure:4845: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:4845: $? = 0
configure:4855: result: yes
configure:4886: checking for stdio.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for stdlib.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for string.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for inttypes.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for stdint.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for strings.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for sys/stat.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for sys/types.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for unistd.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4911: checking for arpa/inet.h
configure:4911: gcc -c -g -O2 conftest.c >&5
configure:4911: $? = 0
configure:4911: result: yes
configure:4917: checking for fcntl.h
configure:4917: gcc -c -g -O2 conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4923: checking for limits.h
configure:4923: gcc -c -g -O2 conftest.c >&5
configure:4923: $? = 0
configure:4923: result: yes
configure:4929: checking for netinet/in.h
configure:4929: gcc -c -g -O2 conftest.c >&5
configure:4929: $? = 0
configure:4929: result: yes
configure:4935: checking for stdlib.h
configure:4935: result: yes
configure:4941: checking for string.h
configure:4941: result: yes
configure:4947: checking for sys/ioctl.h
configure:4947: gcc -c -g -O2 conftest.c >&5
configure:4947: $? = 0
configure:4947: result: yes
configure:4953: checking for sys/socket.h
configure:4953: gcc -c -g -O2 conftest.c >&5
configure:4953: $? = 0
configure:4953: result: yes
configure:4959: checking for unistd.h
configure:4959: result: yes
configure:4968: checking for size_t
configure:4968: gcc -c -g -O2 conftest.c >&5
configure:4968: $? = 0
configure:4968: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:63:21: error: expected expression before ')' token
63 | if (sizeof ((size_t)))
| ^
configure:4968: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:4968: result: yes
configure:4978: checking for ssize_t
configure:4978: gcc -c -g -O2 conftest.c >&5
configure:4978: $? = 0
configure:4978: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:63:22: error: expected expression before ')' token
63 | if (sizeof ((ssize_t)))
| ^
configure:4978: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| if (sizeof ((ssize_t)))
| return 0;
| ;
| return 0;
| }
configure:4978: result: yes
configure:4988: checking for uint16_t
configure:4988: gcc -c -g -O2 conftest.c >&5
configure:4988: $? = 0
configure:4988: result: yes
configure:4998: checking for uint32_t
configure:4998: gcc -c -g -O2 conftest.c >&5
configure:4998: $? = 0
configure:4998: result: yes
configure:5010: checking for uint64_t
configure:5010: gcc -c -g -O2 conftest.c >&5
configure:5010: $? = 0
configure:5010: result: yes
configure:5022: checking for uint8_t
configure:5022: gcc -c -g -O2 conftest.c >&5
configure:5022: $? = 0
configure:5022: result: yes
configure:5034: checking for inline
configure:5051: gcc -c -g -O2 conftest.c >&5
configure:5051: $? = 0
configure:5060: result: inline
configure:5086: checking build system type
configure:5101: result: x86_64-pc-linux-gnu
configure:5121: checking host system type
configure:5135: result: x86_64-pc-linux-gnu
configure:5155: checking for GNU libc compatible malloc
configure:5187: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5187: $? = 0
configure:5187: ./conftest
configure:5187: $? = 0
configure:5198: result: yes
configure:5220: checking for gettimeofday
configure:5220: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5220: $? = 0
configure:5220: result: yes
configure:5226: checking for memset
configure:5226: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:50:6: warning: conflicting types for built-in function 'memset'; expected 'void *(void *, int, long unsigned int)' [-Wbuiltin-declaration-mismatch]
50 | char memset ();
| ^~~~~~
conftest.c:42:1: note: 'memset' is declared in header '<string.h>'
41 | #include <limits.h>
42 | #undef memset
configure:5226: $? = 0
configure:5226: result: yes
configure:5232: checking for socket
configure:5232: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5232: $? = 0
configure:5232: result: yes
configure:5238: checking for strchr
configure:5238: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:52:6: warning: conflicting types for built-in function 'strchr'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch]
52 | char strchr ();
| ^~~~~~
conftest.c:44:1: note: 'strchr' is declared in header '<string.h>'
43 | #include <limits.h>
44 | #undef strchr
configure:5238: $? = 0
configure:5238: result: yes
configure:5244: checking for strdup
configure:5244: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:53:6: warning: conflicting types for built-in function 'strdup'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch]
53 | char strdup ();
| ^~~~~~
configure:5244: $? = 0
configure:5244: result: yes
configure:5250: checking for strerror
configure:5250: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5250: $? = 0
configure:5250: result: yes
configure:5256: checking for strstr
configure:5256: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:55:6: warning: conflicting types for built-in function 'strstr'; expected 'char *(const char *, const char *)' [-Wbuiltin-declaration-mismatch]
55 | char strstr ();
| ^~~~~~
conftest.c:47:1: note: 'strstr' is declared in header '<string.h>'
46 | #include <limits.h>
47 | #undef strstr
configure:5256: $? = 0
configure:5256: result: yes
configure:5265: checking for TUN/TAP support
configure:5282: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:47:10: warning: implicit declaration of function 'open' [-Wimplicit-function-declaration]
47 | int fd = open("/dev/net/tun", O_RDWR);
| ^~~~
conftest.c:47:31: error: 'O_RDWR' undeclared (first use in this function)
47 | int fd = open("/dev/net/tun", O_RDWR);
| ^~~~~~
conftest.c:47:31: note: each undeclared identifier is reported only once for each function it appears in
configure:5282: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_MALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MEMSET 1
| #define HAVE_SOCKET 1
| #define HAVE_STRCHR 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| #define HAVE_STRSTR 1
| /* end confdefs.h. */
|
| #include <linux/if_tun.h>
|
| int
| main (void)
| {
|
| int fd = open("/dev/net/tun", O_RDWR);
|
| ;
| return 0;
| }
configure:5293: result: no
configure:5404: checking that generated files are newer than configure
configure:5410: result: done
configure:5437: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by utun config.status 2.0.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on user-Standard-PC-i440FX-PIIX-1996
config.status:881: creating Makefile
config.status:881: creating src/Makefile
config.status:881: creating tests/Makefile
config.status:881: creating lib/Makefile
config.status:881: creating config.h
config.status:1095: executing depfiles commands
config.status:1172: cd src && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[1]: Entering directory '/home/vnc1/proj/utun3/build/src'
make[1]: Nothing to be done for 'am--depfiles'.
make[1]: Leaving directory '/home/vnc1/proj/utun3/build/src'
config.status:1177: $? = 0
config.status:1172: cd tests && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[1]: Entering directory '/home/vnc1/proj/utun3/build/tests'
make[1]: Nothing to be done for 'am--depfiles'.
make[1]: Leaving directory '/home/vnc1/proj/utun3/build/tests'
config.status:1177: $? = 0
config.status:1172: cd lib && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[1]: Entering directory '/home/vnc1/proj/utun3/build/lib'
make[1]: Nothing to be done for 'am--depfiles'.
make[1]: Leaving directory '/home/vnc1/proj/utun3/build/lib'
config.status:1177: $? = 0
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_c_uint16_t=yes
ac_cv_c_uint32_t=yes
ac_cv_c_uint64_t=yes
ac_cv_c_uint8_t=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_gettimeofday=yes
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_memset=yes
ac_cv_func_socket=yes
ac_cv_func_strchr=yes
ac_cv_func_strdup=yes
ac_cv_func_strerror=yes
ac_cv_func_strstr=yes
ac_cv_header_arpa_inet_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_lib_crypto_SHA256_Init=yes
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c11=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_make_make_set=yes
ac_cv_type_size_t=yes
ac_cv_type_ssize_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_ar_interface=ar
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' automake-1.16'
AWK='mawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPPFLAGS=''
CSCOPE='cscope'
CTAGS='ctags'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ETAGS='etags'
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS='-lcrypto '
LTLIBOBJS=''
MAKEINFO='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' makeinfo'
MKDIR_P='/usr/bin/mkdir -p'
OBJEXT='o'
PACKAGE='utun'
PACKAGE_BUGREPORT='https://github.com/anomalyco/utun3/issues'
PACKAGE_NAME='utun'
PACKAGE_STRING='utun 2.0.0'
PACKAGE_TARNAME='utun'
PACKAGE_URL=''
PACKAGE_VERSION='2.0.0'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
USE_OPENSSL_FALSE='#'
USE_OPENSSL_TRUE=''
VERSION='2.0.0'
ac_ct_AR='ar'
ac_ct_CC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/vnc1/proj/utun3/build-aux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "utun"
#define PACKAGE_TARNAME "utun"
#define PACKAGE_VERSION "2.0.0"
#define PACKAGE_STRING "utun 2.0.0"
#define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
#define PACKAGE_URL ""
#define PACKAGE "utun"
#define VERSION "2.0.0"
#define HAVE_LIBCRYPTO 1
#define USE_OPENSSL 1
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_ARPA_INET_H 1
#define HAVE_FCNTL_H 1
#define HAVE_LIMITS_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_UNISTD_H 1
#define HAVE_MALLOC 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_MEMSET 1
#define HAVE_SOCKET 1
#define HAVE_STRCHR 1
#define HAVE_STRDUP 1
#define HAVE_STRERROR 1
#define HAVE_STRSTR 1
configure: exit 0

1203
build.old2/config.status

File diff suppressed because it is too large Load Diff

1
build.old2/stamp-h1

@ -0,0 +1 @@
timestamp for config.h

0
test_full.log → build.old2/tests/src-objects-built.stamp

156
build.old3/config.h

@ -0,0 +1,156 @@
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H 1
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the `crypto' library (-lcrypto). */
#define HAVE_LIBCRYPTO 1
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
to 0 otherwise. */
#define HAVE_MALLOC 1
/* Define to 1 if you have the `memset' function. */
#define HAVE_MEMSET 1
/* Define to 1 if you have the <netinet/in.h> header file. */
#define HAVE_NETINET_IN_H 1
/* Define to 1 if you have the `socket' function. */
#define HAVE_SOCKET 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdio.h> header file. */
#define HAVE_STDIO_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the `strstr' function. */
#define HAVE_STRSTR 1
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1
/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define if TUN/TAP is available */
/* #undef HAVE_TUN_TAP */
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Name of package */
#define PACKAGE "utun"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
/* Define to the full name of this package. */
#define PACKAGE_NAME "utun"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "utun 2.0.0"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "utun"
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.0.0"
/* Define to 1 if all of the C90 standard headers exist (not just the ones
required in a freestanding environment). This macro is provided for
backward compatibility; new code need not use it. */
#define STDC_HEADERS 1
/* Define to use OpenSSL for cryptography */
#define USE_OPENSSL 1
/* Version number of package */
#define VERSION "2.0.0"
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT32_T */
/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT64_T */
/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT8_T */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* #undef inline */
#endif
/* Define to rpl_malloc if the replacement function should be used. */
/* #undef malloc */
/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */
/* Define to `int' if <sys/types.h> does not define. */
/* #undef ssize_t */
/* Define to the type of an unsigned integer type of width exactly 16 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint16_t */
/* Define to the type of an unsigned integer type of width exactly 32 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint32_t */
/* Define to the type of an unsigned integer type of width exactly 64 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint64_t */
/* Define to the type of an unsigned integer type of width exactly 8 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint8_t */

802
build.old3/config.log

@ -0,0 +1,802 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by utun configure 2.0.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ /home/vnc1/proj/utun3/configure
## --------- ##
## Platform. ##
## --------- ##
hostname = user-Standard-PC-i440FX-PIIX-1996
uname -m = x86_64
uname -r = 6.14.0-37-generic
uname -s = Linux
uname -v = #37~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 10:25:38 UTC 2
/usr/bin/uname -p = x86_64
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/vnc1/.cargo/bin/
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
PATH: /usr/games/
PATH: /usr/local/games/
PATH: /snap/bin/
PATH: /snap/bin/
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2461: looking for aux files: config.guess config.sub missing install-sh ar-lib compile
configure:2474: trying /home/vnc1/proj/utun3/build-aux/
configure:2503: /home/vnc1/proj/utun3/build-aux/config.guess found
configure:2503: /home/vnc1/proj/utun3/build-aux/config.sub found
configure:2503: /home/vnc1/proj/utun3/build-aux/missing found
configure:2485: /home/vnc1/proj/utun3/build-aux/install-sh found
configure:2503: /home/vnc1/proj/utun3/build-aux/ar-lib found
configure:2503: /home/vnc1/proj/utun3/build-aux/compile found
configure:2683: checking for gcc
configure:2704: found /usr/bin/gcc
configure:2715: result: gcc
configure:3068: checking for C compiler version
configure:3077: gcc --version >&5
gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3088: $? = 0
configure:3077: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
... rest of stderr output deleted ...
configure:3088: $? = 0
configure:3077: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3077: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3077: gcc -version >&5
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3108: checking whether the C compiler works
configure:3130: gcc conftest.c >&5
configure:3134: $? = 0
configure:3184: result: yes
configure:3187: checking for C compiler default output file name
configure:3189: result: a.out
configure:3195: checking for suffix of executables
configure:3202: gcc -o conftest conftest.c >&5
configure:3206: $? = 0
configure:3229: result:
configure:3251: checking whether we are cross compiling
configure:3259: gcc -o conftest conftest.c >&5
configure:3263: $? = 0
configure:3270: ./conftest
configure:3274: $? = 0
configure:3289: result: no
configure:3294: checking for suffix of object files
configure:3317: gcc -c conftest.c >&5
configure:3321: $? = 0
configure:3343: result: o
configure:3347: checking whether the compiler supports GNU C
configure:3367: gcc -c conftest.c >&5
configure:3367: $? = 0
configure:3377: result: yes
configure:3388: checking whether gcc accepts -g
configure:3409: gcc -c -g conftest.c >&5
configure:3409: $? = 0
configure:3453: result: yes
configure:3473: checking for gcc option to enable C11 features
configure:3488: gcc -c -g -O2 conftest.c >&5
configure:3488: $? = 0
configure:3506: result: none needed
configure:3627: checking whether gcc understands -c and -o together
configure:3650: gcc -c conftest.c -o conftest2.o
configure:3653: $? = 0
configure:3650: gcc -c conftest.c -o conftest2.o
configure:3653: $? = 0
configure:3665: result: yes
configure:3730: checking for ranlib
configure:3751: found /usr/bin/ranlib
configure:3762: result: ranlib
configure:3840: checking for ar
configure:3861: found /usr/bin/ar
configure:3872: result: ar
configure:3898: checking the archiver (ar) interface
configure:3915: gcc -c -g -O2 conftest.c >&5
configure:3915: $? = 0
configure:3918: ar cru libconftest.a conftest.o >&5
ar: `u' modifier ignored since `D' is the default (see `U')
configure:3921: $? = 0
configure:3949: result: ar
configure:3986: checking for a BSD-compatible install
configure:4059: result: /usr/bin/install -c
configure:4070: checking whether build environment is sane
configure:4125: result: yes
configure:4280: checking for a race-free mkdir -p
configure:4324: result: /usr/bin/mkdir -p
configure:4331: checking for gawk
configure:4366: result: no
configure:4331: checking for mawk
configure:4352: found /usr/bin/mawk
configure:4363: result: mawk
configure:4374: checking whether make sets $(MAKE)
configure:4397: result: yes
configure:4419: checking whether make supports the include directive
configure:4434: make -f confmf.GNU && cat confinc.out
make[1]: Entering directory '/home/vnc1/proj/utun3/build'
make[1]: Leaving directory '/home/vnc1/proj/utun3/build'
this is the am__doit target
configure:4437: $? = 0
configure:4456: result: yes (GNU style)
configure:4491: checking whether make supports nested variables
configure:4509: result: yes
configure:4590: checking dependency style of gcc
configure:4702: result: gcc3
configure:4777: checking whether make sets $(MAKE)
configure:4800: result: yes
configure:4822: checking for SHA256_Init in -lcrypto
configure:4845: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:4845: $? = 0
configure:4855: result: yes
configure:4886: checking for stdio.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for stdlib.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for string.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for inttypes.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for stdint.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for strings.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for sys/stat.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for sys/types.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for unistd.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4911: checking for arpa/inet.h
configure:4911: gcc -c -g -O2 conftest.c >&5
configure:4911: $? = 0
configure:4911: result: yes
configure:4917: checking for fcntl.h
configure:4917: gcc -c -g -O2 conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4923: checking for limits.h
configure:4923: gcc -c -g -O2 conftest.c >&5
configure:4923: $? = 0
configure:4923: result: yes
configure:4929: checking for netinet/in.h
configure:4929: gcc -c -g -O2 conftest.c >&5
configure:4929: $? = 0
configure:4929: result: yes
configure:4935: checking for stdlib.h
configure:4935: result: yes
configure:4941: checking for string.h
configure:4941: result: yes
configure:4947: checking for sys/ioctl.h
configure:4947: gcc -c -g -O2 conftest.c >&5
configure:4947: $? = 0
configure:4947: result: yes
configure:4953: checking for sys/socket.h
configure:4953: gcc -c -g -O2 conftest.c >&5
configure:4953: $? = 0
configure:4953: result: yes
configure:4959: checking for unistd.h
configure:4959: result: yes
configure:4968: checking for size_t
configure:4968: gcc -c -g -O2 conftest.c >&5
configure:4968: $? = 0
configure:4968: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:63:21: error: expected expression before ')' token
63 | if (sizeof ((size_t)))
| ^
configure:4968: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:4968: result: yes
configure:4978: checking for ssize_t
configure:4978: gcc -c -g -O2 conftest.c >&5
configure:4978: $? = 0
configure:4978: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:63:22: error: expected expression before ')' token
63 | if (sizeof ((ssize_t)))
| ^
configure:4978: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| if (sizeof ((ssize_t)))
| return 0;
| ;
| return 0;
| }
configure:4978: result: yes
configure:4988: checking for uint16_t
configure:4988: gcc -c -g -O2 conftest.c >&5
configure:4988: $? = 0
configure:4988: result: yes
configure:4998: checking for uint32_t
configure:4998: gcc -c -g -O2 conftest.c >&5
configure:4998: $? = 0
configure:4998: result: yes
configure:5010: checking for uint64_t
configure:5010: gcc -c -g -O2 conftest.c >&5
configure:5010: $? = 0
configure:5010: result: yes
configure:5022: checking for uint8_t
configure:5022: gcc -c -g -O2 conftest.c >&5
configure:5022: $? = 0
configure:5022: result: yes
configure:5034: checking for inline
configure:5051: gcc -c -g -O2 conftest.c >&5
configure:5051: $? = 0
configure:5060: result: inline
configure:5086: checking build system type
configure:5101: result: x86_64-pc-linux-gnu
configure:5121: checking host system type
configure:5135: result: x86_64-pc-linux-gnu
configure:5155: checking for GNU libc compatible malloc
configure:5187: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5187: $? = 0
configure:5187: ./conftest
configure:5187: $? = 0
configure:5198: result: yes
configure:5220: checking for gettimeofday
configure:5220: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5220: $? = 0
configure:5220: result: yes
configure:5226: checking for memset
configure:5226: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:50:6: warning: conflicting types for built-in function 'memset'; expected 'void *(void *, int, long unsigned int)' [-Wbuiltin-declaration-mismatch]
50 | char memset ();
| ^~~~~~
conftest.c:42:1: note: 'memset' is declared in header '<string.h>'
41 | #include <limits.h>
42 | #undef memset
configure:5226: $? = 0
configure:5226: result: yes
configure:5232: checking for socket
configure:5232: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5232: $? = 0
configure:5232: result: yes
configure:5238: checking for strchr
configure:5238: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:52:6: warning: conflicting types for built-in function 'strchr'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch]
52 | char strchr ();
| ^~~~~~
conftest.c:44:1: note: 'strchr' is declared in header '<string.h>'
43 | #include <limits.h>
44 | #undef strchr
configure:5238: $? = 0
configure:5238: result: yes
configure:5244: checking for strdup
configure:5244: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:53:6: warning: conflicting types for built-in function 'strdup'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch]
53 | char strdup ();
| ^~~~~~
configure:5244: $? = 0
configure:5244: result: yes
configure:5250: checking for strerror
configure:5250: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5250: $? = 0
configure:5250: result: yes
configure:5256: checking for strstr
configure:5256: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:55:6: warning: conflicting types for built-in function 'strstr'; expected 'char *(const char *, const char *)' [-Wbuiltin-declaration-mismatch]
55 | char strstr ();
| ^~~~~~
conftest.c:47:1: note: 'strstr' is declared in header '<string.h>'
46 | #include <limits.h>
47 | #undef strstr
configure:5256: $? = 0
configure:5256: result: yes
configure:5265: checking for TUN/TAP support
configure:5282: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:47:10: warning: implicit declaration of function 'open' [-Wimplicit-function-declaration]
47 | int fd = open("/dev/net/tun", O_RDWR);
| ^~~~
conftest.c:47:31: error: 'O_RDWR' undeclared (first use in this function)
47 | int fd = open("/dev/net/tun", O_RDWR);
| ^~~~~~
conftest.c:47:31: note: each undeclared identifier is reported only once for each function it appears in
configure:5282: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_MALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MEMSET 1
| #define HAVE_SOCKET 1
| #define HAVE_STRCHR 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| #define HAVE_STRSTR 1
| /* end confdefs.h. */
|
| #include <linux/if_tun.h>
|
| int
| main (void)
| {
|
| int fd = open("/dev/net/tun", O_RDWR);
|
| ;
| return 0;
| }
configure:5293: result: no
configure:5404: checking that generated files are newer than configure
configure:5410: result: done
configure:5437: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by utun config.status 2.0.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on user-Standard-PC-i440FX-PIIX-1996
config.status:881: creating Makefile
config.status:881: creating src/Makefile
config.status:881: creating tests/Makefile
config.status:881: creating lib/Makefile
config.status:881: creating config.h
config.status:1095: executing depfiles commands
config.status:1172: cd src && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[1]: Entering directory '/home/vnc1/proj/utun3/build/src'
make[1]: Nothing to be done for 'am--depfiles'.
make[1]: Leaving directory '/home/vnc1/proj/utun3/build/src'
config.status:1177: $? = 0
config.status:1172: cd tests && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[1]: Entering directory '/home/vnc1/proj/utun3/build/tests'
make[1]: Nothing to be done for 'am--depfiles'.
make[1]: Leaving directory '/home/vnc1/proj/utun3/build/tests'
config.status:1177: $? = 0
config.status:1172: cd lib && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[1]: Entering directory '/home/vnc1/proj/utun3/build/lib'
make[1]: Nothing to be done for 'am--depfiles'.
make[1]: Leaving directory '/home/vnc1/proj/utun3/build/lib'
config.status:1177: $? = 0
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_c_uint16_t=yes
ac_cv_c_uint32_t=yes
ac_cv_c_uint64_t=yes
ac_cv_c_uint8_t=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_gettimeofday=yes
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_memset=yes
ac_cv_func_socket=yes
ac_cv_func_strchr=yes
ac_cv_func_strdup=yes
ac_cv_func_strerror=yes
ac_cv_func_strstr=yes
ac_cv_header_arpa_inet_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_lib_crypto_SHA256_Init=yes
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c11=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_make_make_set=yes
ac_cv_type_size_t=yes
ac_cv_type_ssize_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_ar_interface=ar
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' automake-1.16'
AWK='mawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPPFLAGS=''
CSCOPE='cscope'
CTAGS='ctags'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ETAGS='etags'
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS='-lcrypto '
LTLIBOBJS=''
MAKEINFO='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' makeinfo'
MKDIR_P='/usr/bin/mkdir -p'
OBJEXT='o'
PACKAGE='utun'
PACKAGE_BUGREPORT='https://github.com/anomalyco/utun3/issues'
PACKAGE_NAME='utun'
PACKAGE_STRING='utun 2.0.0'
PACKAGE_TARNAME='utun'
PACKAGE_URL=''
PACKAGE_VERSION='2.0.0'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
USE_OPENSSL_FALSE='#'
USE_OPENSSL_TRUE=''
VERSION='2.0.0'
ac_ct_AR='ar'
ac_ct_CC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/vnc1/proj/utun3/build-aux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "utun"
#define PACKAGE_TARNAME "utun"
#define PACKAGE_VERSION "2.0.0"
#define PACKAGE_STRING "utun 2.0.0"
#define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
#define PACKAGE_URL ""
#define PACKAGE "utun"
#define VERSION "2.0.0"
#define HAVE_LIBCRYPTO 1
#define USE_OPENSSL 1
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_ARPA_INET_H 1
#define HAVE_FCNTL_H 1
#define HAVE_LIMITS_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_UNISTD_H 1
#define HAVE_MALLOC 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_MEMSET 1
#define HAVE_SOCKET 1
#define HAVE_STRCHR 1
#define HAVE_STRDUP 1
#define HAVE_STRERROR 1
#define HAVE_STRSTR 1
configure: exit 0

1203
build.old3/config.status

File diff suppressed because it is too large Load Diff

1
build.old3/stamp-h1

@ -0,0 +1 @@
timestamp for config.h

156
build.old4/config.h

@ -0,0 +1,156 @@
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H 1
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the `crypto' library (-lcrypto). */
#define HAVE_LIBCRYPTO 1
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
to 0 otherwise. */
#define HAVE_MALLOC 1
/* Define to 1 if you have the `memset' function. */
#define HAVE_MEMSET 1
/* Define to 1 if you have the <netinet/in.h> header file. */
#define HAVE_NETINET_IN_H 1
/* Define to 1 if you have the `socket' function. */
#define HAVE_SOCKET 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdio.h> header file. */
#define HAVE_STDIO_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the `strstr' function. */
#define HAVE_STRSTR 1
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1
/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define if TUN/TAP is available */
/* #undef HAVE_TUN_TAP */
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Name of package */
#define PACKAGE "utun"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
/* Define to the full name of this package. */
#define PACKAGE_NAME "utun"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "utun 2.0.0"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "utun"
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.0.0"
/* Define to 1 if all of the C90 standard headers exist (not just the ones
required in a freestanding environment). This macro is provided for
backward compatibility; new code need not use it. */
#define STDC_HEADERS 1
/* Define to use OpenSSL for cryptography */
#define USE_OPENSSL 1
/* Version number of package */
#define VERSION "2.0.0"
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT32_T */
/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT64_T */
/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT8_T */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* #undef inline */
#endif
/* Define to rpl_malloc if the replacement function should be used. */
/* #undef malloc */
/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */
/* Define to `int' if <sys/types.h> does not define. */
/* #undef ssize_t */
/* Define to the type of an unsigned integer type of width exactly 16 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint16_t */
/* Define to the type of an unsigned integer type of width exactly 32 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint32_t */
/* Define to the type of an unsigned integer type of width exactly 64 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint64_t */
/* Define to the type of an unsigned integer type of width exactly 8 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint8_t */

802
build.old4/config.log

@ -0,0 +1,802 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by utun configure 2.0.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ /home/vnc1/proj/utun3/configure
## --------- ##
## Platform. ##
## --------- ##
hostname = user-Standard-PC-i440FX-PIIX-1996
uname -m = x86_64
uname -r = 6.14.0-37-generic
uname -s = Linux
uname -v = #37~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 10:25:38 UTC 2
/usr/bin/uname -p = x86_64
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/vnc1/.cargo/bin/
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
PATH: /usr/games/
PATH: /usr/local/games/
PATH: /snap/bin/
PATH: /snap/bin/
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2461: looking for aux files: config.guess config.sub missing install-sh ar-lib compile
configure:2474: trying /home/vnc1/proj/utun3/build-aux/
configure:2503: /home/vnc1/proj/utun3/build-aux/config.guess found
configure:2503: /home/vnc1/proj/utun3/build-aux/config.sub found
configure:2503: /home/vnc1/proj/utun3/build-aux/missing found
configure:2485: /home/vnc1/proj/utun3/build-aux/install-sh found
configure:2503: /home/vnc1/proj/utun3/build-aux/ar-lib found
configure:2503: /home/vnc1/proj/utun3/build-aux/compile found
configure:2683: checking for gcc
configure:2704: found /usr/bin/gcc
configure:2715: result: gcc
configure:3068: checking for C compiler version
configure:3077: gcc --version >&5
gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3088: $? = 0
configure:3077: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
... rest of stderr output deleted ...
configure:3088: $? = 0
configure:3077: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3077: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3077: gcc -version >&5
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3108: checking whether the C compiler works
configure:3130: gcc conftest.c >&5
configure:3134: $? = 0
configure:3184: result: yes
configure:3187: checking for C compiler default output file name
configure:3189: result: a.out
configure:3195: checking for suffix of executables
configure:3202: gcc -o conftest conftest.c >&5
configure:3206: $? = 0
configure:3229: result:
configure:3251: checking whether we are cross compiling
configure:3259: gcc -o conftest conftest.c >&5
configure:3263: $? = 0
configure:3270: ./conftest
configure:3274: $? = 0
configure:3289: result: no
configure:3294: checking for suffix of object files
configure:3317: gcc -c conftest.c >&5
configure:3321: $? = 0
configure:3343: result: o
configure:3347: checking whether the compiler supports GNU C
configure:3367: gcc -c conftest.c >&5
configure:3367: $? = 0
configure:3377: result: yes
configure:3388: checking whether gcc accepts -g
configure:3409: gcc -c -g conftest.c >&5
configure:3409: $? = 0
configure:3453: result: yes
configure:3473: checking for gcc option to enable C11 features
configure:3488: gcc -c -g -O2 conftest.c >&5
configure:3488: $? = 0
configure:3506: result: none needed
configure:3627: checking whether gcc understands -c and -o together
configure:3650: gcc -c conftest.c -o conftest2.o
configure:3653: $? = 0
configure:3650: gcc -c conftest.c -o conftest2.o
configure:3653: $? = 0
configure:3665: result: yes
configure:3730: checking for ranlib
configure:3751: found /usr/bin/ranlib
configure:3762: result: ranlib
configure:3840: checking for ar
configure:3861: found /usr/bin/ar
configure:3872: result: ar
configure:3898: checking the archiver (ar) interface
configure:3915: gcc -c -g -O2 conftest.c >&5
configure:3915: $? = 0
configure:3918: ar cru libconftest.a conftest.o >&5
ar: `u' modifier ignored since `D' is the default (see `U')
configure:3921: $? = 0
configure:3949: result: ar
configure:3986: checking for a BSD-compatible install
configure:4059: result: /usr/bin/install -c
configure:4070: checking whether build environment is sane
configure:4125: result: yes
configure:4280: checking for a race-free mkdir -p
configure:4324: result: /usr/bin/mkdir -p
configure:4331: checking for gawk
configure:4366: result: no
configure:4331: checking for mawk
configure:4352: found /usr/bin/mawk
configure:4363: result: mawk
configure:4374: checking whether make sets $(MAKE)
configure:4397: result: yes
configure:4419: checking whether make supports the include directive
configure:4434: make -f confmf.GNU && cat confinc.out
make[1]: Entering directory '/home/vnc1/proj/utun3/build'
make[1]: Leaving directory '/home/vnc1/proj/utun3/build'
this is the am__doit target
configure:4437: $? = 0
configure:4456: result: yes (GNU style)
configure:4491: checking whether make supports nested variables
configure:4509: result: yes
configure:4590: checking dependency style of gcc
configure:4702: result: gcc3
configure:4777: checking whether make sets $(MAKE)
configure:4800: result: yes
configure:4822: checking for SHA256_Init in -lcrypto
configure:4845: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:4845: $? = 0
configure:4855: result: yes
configure:4886: checking for stdio.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for stdlib.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for string.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for inttypes.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for stdint.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for strings.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for sys/stat.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for sys/types.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for unistd.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4911: checking for arpa/inet.h
configure:4911: gcc -c -g -O2 conftest.c >&5
configure:4911: $? = 0
configure:4911: result: yes
configure:4917: checking for fcntl.h
configure:4917: gcc -c -g -O2 conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4923: checking for limits.h
configure:4923: gcc -c -g -O2 conftest.c >&5
configure:4923: $? = 0
configure:4923: result: yes
configure:4929: checking for netinet/in.h
configure:4929: gcc -c -g -O2 conftest.c >&5
configure:4929: $? = 0
configure:4929: result: yes
configure:4935: checking for stdlib.h
configure:4935: result: yes
configure:4941: checking for string.h
configure:4941: result: yes
configure:4947: checking for sys/ioctl.h
configure:4947: gcc -c -g -O2 conftest.c >&5
configure:4947: $? = 0
configure:4947: result: yes
configure:4953: checking for sys/socket.h
configure:4953: gcc -c -g -O2 conftest.c >&5
configure:4953: $? = 0
configure:4953: result: yes
configure:4959: checking for unistd.h
configure:4959: result: yes
configure:4968: checking for size_t
configure:4968: gcc -c -g -O2 conftest.c >&5
configure:4968: $? = 0
configure:4968: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:63:21: error: expected expression before ')' token
63 | if (sizeof ((size_t)))
| ^
configure:4968: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:4968: result: yes
configure:4978: checking for ssize_t
configure:4978: gcc -c -g -O2 conftest.c >&5
configure:4978: $? = 0
configure:4978: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:63:22: error: expected expression before ')' token
63 | if (sizeof ((ssize_t)))
| ^
configure:4978: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| if (sizeof ((ssize_t)))
| return 0;
| ;
| return 0;
| }
configure:4978: result: yes
configure:4988: checking for uint16_t
configure:4988: gcc -c -g -O2 conftest.c >&5
configure:4988: $? = 0
configure:4988: result: yes
configure:4998: checking for uint32_t
configure:4998: gcc -c -g -O2 conftest.c >&5
configure:4998: $? = 0
configure:4998: result: yes
configure:5010: checking for uint64_t
configure:5010: gcc -c -g -O2 conftest.c >&5
configure:5010: $? = 0
configure:5010: result: yes
configure:5022: checking for uint8_t
configure:5022: gcc -c -g -O2 conftest.c >&5
configure:5022: $? = 0
configure:5022: result: yes
configure:5034: checking for inline
configure:5051: gcc -c -g -O2 conftest.c >&5
configure:5051: $? = 0
configure:5060: result: inline
configure:5086: checking build system type
configure:5101: result: x86_64-pc-linux-gnu
configure:5121: checking host system type
configure:5135: result: x86_64-pc-linux-gnu
configure:5155: checking for GNU libc compatible malloc
configure:5187: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5187: $? = 0
configure:5187: ./conftest
configure:5187: $? = 0
configure:5198: result: yes
configure:5220: checking for gettimeofday
configure:5220: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5220: $? = 0
configure:5220: result: yes
configure:5226: checking for memset
configure:5226: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:50:6: warning: conflicting types for built-in function 'memset'; expected 'void *(void *, int, long unsigned int)' [-Wbuiltin-declaration-mismatch]
50 | char memset ();
| ^~~~~~
conftest.c:42:1: note: 'memset' is declared in header '<string.h>'
41 | #include <limits.h>
42 | #undef memset
configure:5226: $? = 0
configure:5226: result: yes
configure:5232: checking for socket
configure:5232: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5232: $? = 0
configure:5232: result: yes
configure:5238: checking for strchr
configure:5238: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:52:6: warning: conflicting types for built-in function 'strchr'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch]
52 | char strchr ();
| ^~~~~~
conftest.c:44:1: note: 'strchr' is declared in header '<string.h>'
43 | #include <limits.h>
44 | #undef strchr
configure:5238: $? = 0
configure:5238: result: yes
configure:5244: checking for strdup
configure:5244: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:53:6: warning: conflicting types for built-in function 'strdup'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch]
53 | char strdup ();
| ^~~~~~
configure:5244: $? = 0
configure:5244: result: yes
configure:5250: checking for strerror
configure:5250: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5250: $? = 0
configure:5250: result: yes
configure:5256: checking for strstr
configure:5256: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:55:6: warning: conflicting types for built-in function 'strstr'; expected 'char *(const char *, const char *)' [-Wbuiltin-declaration-mismatch]
55 | char strstr ();
| ^~~~~~
conftest.c:47:1: note: 'strstr' is declared in header '<string.h>'
46 | #include <limits.h>
47 | #undef strstr
configure:5256: $? = 0
configure:5256: result: yes
configure:5265: checking for TUN/TAP support
configure:5282: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:47:10: warning: implicit declaration of function 'open' [-Wimplicit-function-declaration]
47 | int fd = open("/dev/net/tun", O_RDWR);
| ^~~~
conftest.c:47:31: error: 'O_RDWR' undeclared (first use in this function)
47 | int fd = open("/dev/net/tun", O_RDWR);
| ^~~~~~
conftest.c:47:31: note: each undeclared identifier is reported only once for each function it appears in
configure:5282: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_MALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MEMSET 1
| #define HAVE_SOCKET 1
| #define HAVE_STRCHR 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| #define HAVE_STRSTR 1
| /* end confdefs.h. */
|
| #include <linux/if_tun.h>
|
| int
| main (void)
| {
|
| int fd = open("/dev/net/tun", O_RDWR);
|
| ;
| return 0;
| }
configure:5293: result: no
configure:5404: checking that generated files are newer than configure
configure:5410: result: done
configure:5437: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by utun config.status 2.0.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on user-Standard-PC-i440FX-PIIX-1996
config.status:881: creating Makefile
config.status:881: creating src/Makefile
config.status:881: creating tests/Makefile
config.status:881: creating lib/Makefile
config.status:881: creating config.h
config.status:1095: executing depfiles commands
config.status:1172: cd src && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[1]: Entering directory '/home/vnc1/proj/utun3/build/src'
make[1]: Nothing to be done for 'am--depfiles'.
make[1]: Leaving directory '/home/vnc1/proj/utun3/build/src'
config.status:1177: $? = 0
config.status:1172: cd tests && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[1]: Entering directory '/home/vnc1/proj/utun3/build/tests'
make[1]: Nothing to be done for 'am--depfiles'.
make[1]: Leaving directory '/home/vnc1/proj/utun3/build/tests'
config.status:1177: $? = 0
config.status:1172: cd lib && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[1]: Entering directory '/home/vnc1/proj/utun3/build/lib'
make[1]: Nothing to be done for 'am--depfiles'.
make[1]: Leaving directory '/home/vnc1/proj/utun3/build/lib'
config.status:1177: $? = 0
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_c_uint16_t=yes
ac_cv_c_uint32_t=yes
ac_cv_c_uint64_t=yes
ac_cv_c_uint8_t=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_gettimeofday=yes
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_memset=yes
ac_cv_func_socket=yes
ac_cv_func_strchr=yes
ac_cv_func_strdup=yes
ac_cv_func_strerror=yes
ac_cv_func_strstr=yes
ac_cv_header_arpa_inet_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_lib_crypto_SHA256_Init=yes
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c11=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_make_make_set=yes
ac_cv_type_size_t=yes
ac_cv_type_ssize_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_ar_interface=ar
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' automake-1.16'
AWK='mawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPPFLAGS=''
CSCOPE='cscope'
CTAGS='ctags'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ETAGS='etags'
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS='-lcrypto '
LTLIBOBJS=''
MAKEINFO='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' makeinfo'
MKDIR_P='/usr/bin/mkdir -p'
OBJEXT='o'
PACKAGE='utun'
PACKAGE_BUGREPORT='https://github.com/anomalyco/utun3/issues'
PACKAGE_NAME='utun'
PACKAGE_STRING='utun 2.0.0'
PACKAGE_TARNAME='utun'
PACKAGE_URL=''
PACKAGE_VERSION='2.0.0'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
USE_OPENSSL_FALSE='#'
USE_OPENSSL_TRUE=''
VERSION='2.0.0'
ac_ct_AR='ar'
ac_ct_CC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/vnc1/proj/utun3/build-aux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "utun"
#define PACKAGE_TARNAME "utun"
#define PACKAGE_VERSION "2.0.0"
#define PACKAGE_STRING "utun 2.0.0"
#define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
#define PACKAGE_URL ""
#define PACKAGE "utun"
#define VERSION "2.0.0"
#define HAVE_LIBCRYPTO 1
#define USE_OPENSSL 1
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_ARPA_INET_H 1
#define HAVE_FCNTL_H 1
#define HAVE_LIMITS_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_UNISTD_H 1
#define HAVE_MALLOC 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_MEMSET 1
#define HAVE_SOCKET 1
#define HAVE_STRCHR 1
#define HAVE_STRDUP 1
#define HAVE_STRERROR 1
#define HAVE_STRSTR 1
configure: exit 0

1203
build.old4/config.status

File diff suppressed because it is too large Load Diff

1
build.old4/stamp-h1

@ -0,0 +1 @@
timestamp for config.h

BIN
build.old4/tests/test_etcp_crypto

Binary file not shown.

156
build.old5/config.h

@ -0,0 +1,156 @@
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H 1
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the `crypto' library (-lcrypto). */
#define HAVE_LIBCRYPTO 1
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
to 0 otherwise. */
#define HAVE_MALLOC 1
/* Define to 1 if you have the `memset' function. */
#define HAVE_MEMSET 1
/* Define to 1 if you have the <netinet/in.h> header file. */
#define HAVE_NETINET_IN_H 1
/* Define to 1 if you have the `socket' function. */
#define HAVE_SOCKET 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdio.h> header file. */
#define HAVE_STDIO_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the `strstr' function. */
#define HAVE_STRSTR 1
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1
/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define if TUN/TAP is available */
/* #undef HAVE_TUN_TAP */
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Name of package */
#define PACKAGE "utun"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
/* Define to the full name of this package. */
#define PACKAGE_NAME "utun"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "utun 2.0.0"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "utun"
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.0.0"
/* Define to 1 if all of the C90 standard headers exist (not just the ones
required in a freestanding environment). This macro is provided for
backward compatibility; new code need not use it. */
#define STDC_HEADERS 1
/* Define to use OpenSSL for cryptography */
#define USE_OPENSSL 1
/* Version number of package */
#define VERSION "2.0.0"
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT32_T */
/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT64_T */
/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT8_T */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* #undef inline */
#endif
/* Define to rpl_malloc if the replacement function should be used. */
/* #undef malloc */
/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */
/* Define to `int' if <sys/types.h> does not define. */
/* #undef ssize_t */
/* Define to the type of an unsigned integer type of width exactly 16 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint16_t */
/* Define to the type of an unsigned integer type of width exactly 32 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint32_t */
/* Define to the type of an unsigned integer type of width exactly 64 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint64_t */
/* Define to the type of an unsigned integer type of width exactly 8 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint8_t */

802
build.old5/config.log

@ -0,0 +1,802 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by utun configure 2.0.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ /home/vnc1/proj/utun3/configure
## --------- ##
## Platform. ##
## --------- ##
hostname = user-Standard-PC-i440FX-PIIX-1996
uname -m = x86_64
uname -r = 6.14.0-37-generic
uname -s = Linux
uname -v = #37~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 10:25:38 UTC 2
/usr/bin/uname -p = x86_64
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/vnc1/.cargo/bin/
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
PATH: /usr/games/
PATH: /usr/local/games/
PATH: /snap/bin/
PATH: /snap/bin/
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2461: looking for aux files: config.guess config.sub missing install-sh ar-lib compile
configure:2474: trying /home/vnc1/proj/utun3/build-aux/
configure:2503: /home/vnc1/proj/utun3/build-aux/config.guess found
configure:2503: /home/vnc1/proj/utun3/build-aux/config.sub found
configure:2503: /home/vnc1/proj/utun3/build-aux/missing found
configure:2485: /home/vnc1/proj/utun3/build-aux/install-sh found
configure:2503: /home/vnc1/proj/utun3/build-aux/ar-lib found
configure:2503: /home/vnc1/proj/utun3/build-aux/compile found
configure:2683: checking for gcc
configure:2704: found /usr/bin/gcc
configure:2715: result: gcc
configure:3068: checking for C compiler version
configure:3077: gcc --version >&5
gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3088: $? = 0
configure:3077: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
... rest of stderr output deleted ...
configure:3088: $? = 0
configure:3077: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3077: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3077: gcc -version >&5
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3108: checking whether the C compiler works
configure:3130: gcc conftest.c >&5
configure:3134: $? = 0
configure:3184: result: yes
configure:3187: checking for C compiler default output file name
configure:3189: result: a.out
configure:3195: checking for suffix of executables
configure:3202: gcc -o conftest conftest.c >&5
configure:3206: $? = 0
configure:3229: result:
configure:3251: checking whether we are cross compiling
configure:3259: gcc -o conftest conftest.c >&5
configure:3263: $? = 0
configure:3270: ./conftest
configure:3274: $? = 0
configure:3289: result: no
configure:3294: checking for suffix of object files
configure:3317: gcc -c conftest.c >&5
configure:3321: $? = 0
configure:3343: result: o
configure:3347: checking whether the compiler supports GNU C
configure:3367: gcc -c conftest.c >&5
configure:3367: $? = 0
configure:3377: result: yes
configure:3388: checking whether gcc accepts -g
configure:3409: gcc -c -g conftest.c >&5
configure:3409: $? = 0
configure:3453: result: yes
configure:3473: checking for gcc option to enable C11 features
configure:3488: gcc -c -g -O2 conftest.c >&5
configure:3488: $? = 0
configure:3506: result: none needed
configure:3627: checking whether gcc understands -c and -o together
configure:3650: gcc -c conftest.c -o conftest2.o
configure:3653: $? = 0
configure:3650: gcc -c conftest.c -o conftest2.o
configure:3653: $? = 0
configure:3665: result: yes
configure:3730: checking for ranlib
configure:3751: found /usr/bin/ranlib
configure:3762: result: ranlib
configure:3840: checking for ar
configure:3861: found /usr/bin/ar
configure:3872: result: ar
configure:3898: checking the archiver (ar) interface
configure:3915: gcc -c -g -O2 conftest.c >&5
configure:3915: $? = 0
configure:3918: ar cru libconftest.a conftest.o >&5
ar: `u' modifier ignored since `D' is the default (see `U')
configure:3921: $? = 0
configure:3949: result: ar
configure:3986: checking for a BSD-compatible install
configure:4059: result: /usr/bin/install -c
configure:4070: checking whether build environment is sane
configure:4125: result: yes
configure:4280: checking for a race-free mkdir -p
configure:4324: result: /usr/bin/mkdir -p
configure:4331: checking for gawk
configure:4366: result: no
configure:4331: checking for mawk
configure:4352: found /usr/bin/mawk
configure:4363: result: mawk
configure:4374: checking whether make sets $(MAKE)
configure:4397: result: yes
configure:4419: checking whether make supports the include directive
configure:4434: make -f confmf.GNU && cat confinc.out
make[1]: Entering directory '/home/vnc1/proj/utun3/build'
make[1]: Leaving directory '/home/vnc1/proj/utun3/build'
this is the am__doit target
configure:4437: $? = 0
configure:4456: result: yes (GNU style)
configure:4491: checking whether make supports nested variables
configure:4509: result: yes
configure:4590: checking dependency style of gcc
configure:4702: result: gcc3
configure:4777: checking whether make sets $(MAKE)
configure:4800: result: yes
configure:4822: checking for SHA256_Init in -lcrypto
configure:4845: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:4845: $? = 0
configure:4855: result: yes
configure:4886: checking for stdio.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for stdlib.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for string.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for inttypes.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for stdint.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for strings.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for sys/stat.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for sys/types.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for unistd.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4911: checking for arpa/inet.h
configure:4911: gcc -c -g -O2 conftest.c >&5
configure:4911: $? = 0
configure:4911: result: yes
configure:4917: checking for fcntl.h
configure:4917: gcc -c -g -O2 conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4923: checking for limits.h
configure:4923: gcc -c -g -O2 conftest.c >&5
configure:4923: $? = 0
configure:4923: result: yes
configure:4929: checking for netinet/in.h
configure:4929: gcc -c -g -O2 conftest.c >&5
configure:4929: $? = 0
configure:4929: result: yes
configure:4935: checking for stdlib.h
configure:4935: result: yes
configure:4941: checking for string.h
configure:4941: result: yes
configure:4947: checking for sys/ioctl.h
configure:4947: gcc -c -g -O2 conftest.c >&5
configure:4947: $? = 0
configure:4947: result: yes
configure:4953: checking for sys/socket.h
configure:4953: gcc -c -g -O2 conftest.c >&5
configure:4953: $? = 0
configure:4953: result: yes
configure:4959: checking for unistd.h
configure:4959: result: yes
configure:4968: checking for size_t
configure:4968: gcc -c -g -O2 conftest.c >&5
configure:4968: $? = 0
configure:4968: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:63:21: error: expected expression before ')' token
63 | if (sizeof ((size_t)))
| ^
configure:4968: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:4968: result: yes
configure:4978: checking for ssize_t
configure:4978: gcc -c -g -O2 conftest.c >&5
configure:4978: $? = 0
configure:4978: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:63:22: error: expected expression before ')' token
63 | if (sizeof ((ssize_t)))
| ^
configure:4978: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| if (sizeof ((ssize_t)))
| return 0;
| ;
| return 0;
| }
configure:4978: result: yes
configure:4988: checking for uint16_t
configure:4988: gcc -c -g -O2 conftest.c >&5
configure:4988: $? = 0
configure:4988: result: yes
configure:4998: checking for uint32_t
configure:4998: gcc -c -g -O2 conftest.c >&5
configure:4998: $? = 0
configure:4998: result: yes
configure:5010: checking for uint64_t
configure:5010: gcc -c -g -O2 conftest.c >&5
configure:5010: $? = 0
configure:5010: result: yes
configure:5022: checking for uint8_t
configure:5022: gcc -c -g -O2 conftest.c >&5
configure:5022: $? = 0
configure:5022: result: yes
configure:5034: checking for inline
configure:5051: gcc -c -g -O2 conftest.c >&5
configure:5051: $? = 0
configure:5060: result: inline
configure:5086: checking build system type
configure:5101: result: x86_64-pc-linux-gnu
configure:5121: checking host system type
configure:5135: result: x86_64-pc-linux-gnu
configure:5155: checking for GNU libc compatible malloc
configure:5187: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5187: $? = 0
configure:5187: ./conftest
configure:5187: $? = 0
configure:5198: result: yes
configure:5220: checking for gettimeofday
configure:5220: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5220: $? = 0
configure:5220: result: yes
configure:5226: checking for memset
configure:5226: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:50:6: warning: conflicting types for built-in function 'memset'; expected 'void *(void *, int, long unsigned int)' [-Wbuiltin-declaration-mismatch]
50 | char memset ();
| ^~~~~~
conftest.c:42:1: note: 'memset' is declared in header '<string.h>'
41 | #include <limits.h>
42 | #undef memset
configure:5226: $? = 0
configure:5226: result: yes
configure:5232: checking for socket
configure:5232: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5232: $? = 0
configure:5232: result: yes
configure:5238: checking for strchr
configure:5238: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:52:6: warning: conflicting types for built-in function 'strchr'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch]
52 | char strchr ();
| ^~~~~~
conftest.c:44:1: note: 'strchr' is declared in header '<string.h>'
43 | #include <limits.h>
44 | #undef strchr
configure:5238: $? = 0
configure:5238: result: yes
configure:5244: checking for strdup
configure:5244: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:53:6: warning: conflicting types for built-in function 'strdup'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch]
53 | char strdup ();
| ^~~~~~
configure:5244: $? = 0
configure:5244: result: yes
configure:5250: checking for strerror
configure:5250: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5250: $? = 0
configure:5250: result: yes
configure:5256: checking for strstr
configure:5256: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:55:6: warning: conflicting types for built-in function 'strstr'; expected 'char *(const char *, const char *)' [-Wbuiltin-declaration-mismatch]
55 | char strstr ();
| ^~~~~~
conftest.c:47:1: note: 'strstr' is declared in header '<string.h>'
46 | #include <limits.h>
47 | #undef strstr
configure:5256: $? = 0
configure:5256: result: yes
configure:5265: checking for TUN/TAP support
configure:5282: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:47:10: warning: implicit declaration of function 'open' [-Wimplicit-function-declaration]
47 | int fd = open("/dev/net/tun", O_RDWR);
| ^~~~
conftest.c:47:31: error: 'O_RDWR' undeclared (first use in this function)
47 | int fd = open("/dev/net/tun", O_RDWR);
| ^~~~~~
conftest.c:47:31: note: each undeclared identifier is reported only once for each function it appears in
configure:5282: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_MALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MEMSET 1
| #define HAVE_SOCKET 1
| #define HAVE_STRCHR 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| #define HAVE_STRSTR 1
| /* end confdefs.h. */
|
| #include <linux/if_tun.h>
|
| int
| main (void)
| {
|
| int fd = open("/dev/net/tun", O_RDWR);
|
| ;
| return 0;
| }
configure:5293: result: no
configure:5404: checking that generated files are newer than configure
configure:5410: result: done
configure:5437: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by utun config.status 2.0.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on user-Standard-PC-i440FX-PIIX-1996
config.status:881: creating Makefile
config.status:881: creating src/Makefile
config.status:881: creating tests/Makefile
config.status:881: creating lib/Makefile
config.status:881: creating config.h
config.status:1095: executing depfiles commands
config.status:1172: cd src && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[1]: Entering directory '/home/vnc1/proj/utun3/build/src'
make[1]: Nothing to be done for 'am--depfiles'.
make[1]: Leaving directory '/home/vnc1/proj/utun3/build/src'
config.status:1177: $? = 0
config.status:1172: cd tests && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[1]: Entering directory '/home/vnc1/proj/utun3/build/tests'
make[1]: Nothing to be done for 'am--depfiles'.
make[1]: Leaving directory '/home/vnc1/proj/utun3/build/tests'
config.status:1177: $? = 0
config.status:1172: cd lib && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[1]: Entering directory '/home/vnc1/proj/utun3/build/lib'
make[1]: Nothing to be done for 'am--depfiles'.
make[1]: Leaving directory '/home/vnc1/proj/utun3/build/lib'
config.status:1177: $? = 0
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_c_uint16_t=yes
ac_cv_c_uint32_t=yes
ac_cv_c_uint64_t=yes
ac_cv_c_uint8_t=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_gettimeofday=yes
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_memset=yes
ac_cv_func_socket=yes
ac_cv_func_strchr=yes
ac_cv_func_strdup=yes
ac_cv_func_strerror=yes
ac_cv_func_strstr=yes
ac_cv_header_arpa_inet_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_lib_crypto_SHA256_Init=yes
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c11=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_make_make_set=yes
ac_cv_type_size_t=yes
ac_cv_type_ssize_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_ar_interface=ar
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' automake-1.16'
AWK='mawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPPFLAGS=''
CSCOPE='cscope'
CTAGS='ctags'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ETAGS='etags'
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS='-lcrypto '
LTLIBOBJS=''
MAKEINFO='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' makeinfo'
MKDIR_P='/usr/bin/mkdir -p'
OBJEXT='o'
PACKAGE='utun'
PACKAGE_BUGREPORT='https://github.com/anomalyco/utun3/issues'
PACKAGE_NAME='utun'
PACKAGE_STRING='utun 2.0.0'
PACKAGE_TARNAME='utun'
PACKAGE_URL=''
PACKAGE_VERSION='2.0.0'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
USE_OPENSSL_FALSE='#'
USE_OPENSSL_TRUE=''
VERSION='2.0.0'
ac_ct_AR='ar'
ac_ct_CC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/vnc1/proj/utun3/build-aux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "utun"
#define PACKAGE_TARNAME "utun"
#define PACKAGE_VERSION "2.0.0"
#define PACKAGE_STRING "utun 2.0.0"
#define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
#define PACKAGE_URL ""
#define PACKAGE "utun"
#define VERSION "2.0.0"
#define HAVE_LIBCRYPTO 1
#define USE_OPENSSL 1
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_ARPA_INET_H 1
#define HAVE_FCNTL_H 1
#define HAVE_LIMITS_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_UNISTD_H 1
#define HAVE_MALLOC 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_MEMSET 1
#define HAVE_SOCKET 1
#define HAVE_STRCHR 1
#define HAVE_STRDUP 1
#define HAVE_STRERROR 1
#define HAVE_STRSTR 1
configure: exit 0

1203
build.old5/config.status

File diff suppressed because it is too large Load Diff

1
build.old5/stamp-h1

@ -0,0 +1 @@
timestamp for config.h

BIN
build.old5/tests/test_etcp_crypto

Binary file not shown.

156
build.old6/config.h

@ -0,0 +1,156 @@
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H 1
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the `crypto' library (-lcrypto). */
#define HAVE_LIBCRYPTO 1
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
to 0 otherwise. */
#define HAVE_MALLOC 1
/* Define to 1 if you have the `memset' function. */
#define HAVE_MEMSET 1
/* Define to 1 if you have the <netinet/in.h> header file. */
#define HAVE_NETINET_IN_H 1
/* Define to 1 if you have the `socket' function. */
#define HAVE_SOCKET 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdio.h> header file. */
#define HAVE_STDIO_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the `strstr' function. */
#define HAVE_STRSTR 1
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1
/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define if TUN/TAP is available */
/* #undef HAVE_TUN_TAP */
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Name of package */
#define PACKAGE "utun"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
/* Define to the full name of this package. */
#define PACKAGE_NAME "utun"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "utun 2.0.0"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "utun"
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.0.0"
/* Define to 1 if all of the C90 standard headers exist (not just the ones
required in a freestanding environment). This macro is provided for
backward compatibility; new code need not use it. */
#define STDC_HEADERS 1
/* Define to use OpenSSL for cryptography */
#define USE_OPENSSL 1
/* Version number of package */
#define VERSION "2.0.0"
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT32_T */
/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT64_T */
/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT8_T */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* #undef inline */
#endif
/* Define to rpl_malloc if the replacement function should be used. */
/* #undef malloc */
/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */
/* Define to `int' if <sys/types.h> does not define. */
/* #undef ssize_t */
/* Define to the type of an unsigned integer type of width exactly 16 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint16_t */
/* Define to the type of an unsigned integer type of width exactly 32 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint32_t */
/* Define to the type of an unsigned integer type of width exactly 64 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint64_t */
/* Define to the type of an unsigned integer type of width exactly 8 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint8_t */

802
build.old6/config.log

@ -0,0 +1,802 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by utun configure 2.0.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ /home/vnc1/proj/utun3/configure
## --------- ##
## Platform. ##
## --------- ##
hostname = user-Standard-PC-i440FX-PIIX-1996
uname -m = x86_64
uname -r = 6.14.0-37-generic
uname -s = Linux
uname -v = #37~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 10:25:38 UTC 2
/usr/bin/uname -p = x86_64
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/vnc1/.cargo/bin/
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
PATH: /usr/games/
PATH: /usr/local/games/
PATH: /snap/bin/
PATH: /snap/bin/
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2461: looking for aux files: config.guess config.sub missing install-sh ar-lib compile
configure:2474: trying /home/vnc1/proj/utun3/build-aux/
configure:2503: /home/vnc1/proj/utun3/build-aux/config.guess found
configure:2503: /home/vnc1/proj/utun3/build-aux/config.sub found
configure:2503: /home/vnc1/proj/utun3/build-aux/missing found
configure:2485: /home/vnc1/proj/utun3/build-aux/install-sh found
configure:2503: /home/vnc1/proj/utun3/build-aux/ar-lib found
configure:2503: /home/vnc1/proj/utun3/build-aux/compile found
configure:2683: checking for gcc
configure:2704: found /usr/bin/gcc
configure:2715: result: gcc
configure:3068: checking for C compiler version
configure:3077: gcc --version >&5
gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3088: $? = 0
configure:3077: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
... rest of stderr output deleted ...
configure:3088: $? = 0
configure:3077: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3077: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3077: gcc -version >&5
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3108: checking whether the C compiler works
configure:3130: gcc conftest.c >&5
configure:3134: $? = 0
configure:3184: result: yes
configure:3187: checking for C compiler default output file name
configure:3189: result: a.out
configure:3195: checking for suffix of executables
configure:3202: gcc -o conftest conftest.c >&5
configure:3206: $? = 0
configure:3229: result:
configure:3251: checking whether we are cross compiling
configure:3259: gcc -o conftest conftest.c >&5
configure:3263: $? = 0
configure:3270: ./conftest
configure:3274: $? = 0
configure:3289: result: no
configure:3294: checking for suffix of object files
configure:3317: gcc -c conftest.c >&5
configure:3321: $? = 0
configure:3343: result: o
configure:3347: checking whether the compiler supports GNU C
configure:3367: gcc -c conftest.c >&5
configure:3367: $? = 0
configure:3377: result: yes
configure:3388: checking whether gcc accepts -g
configure:3409: gcc -c -g conftest.c >&5
configure:3409: $? = 0
configure:3453: result: yes
configure:3473: checking for gcc option to enable C11 features
configure:3488: gcc -c -g -O2 conftest.c >&5
configure:3488: $? = 0
configure:3506: result: none needed
configure:3627: checking whether gcc understands -c and -o together
configure:3650: gcc -c conftest.c -o conftest2.o
configure:3653: $? = 0
configure:3650: gcc -c conftest.c -o conftest2.o
configure:3653: $? = 0
configure:3665: result: yes
configure:3730: checking for ranlib
configure:3751: found /usr/bin/ranlib
configure:3762: result: ranlib
configure:3840: checking for ar
configure:3861: found /usr/bin/ar
configure:3872: result: ar
configure:3898: checking the archiver (ar) interface
configure:3915: gcc -c -g -O2 conftest.c >&5
configure:3915: $? = 0
configure:3918: ar cru libconftest.a conftest.o >&5
ar: `u' modifier ignored since `D' is the default (see `U')
configure:3921: $? = 0
configure:3949: result: ar
configure:3986: checking for a BSD-compatible install
configure:4059: result: /usr/bin/install -c
configure:4070: checking whether build environment is sane
configure:4125: result: yes
configure:4280: checking for a race-free mkdir -p
configure:4324: result: /usr/bin/mkdir -p
configure:4331: checking for gawk
configure:4366: result: no
configure:4331: checking for mawk
configure:4352: found /usr/bin/mawk
configure:4363: result: mawk
configure:4374: checking whether make sets $(MAKE)
configure:4397: result: yes
configure:4419: checking whether make supports the include directive
configure:4434: make -f confmf.GNU && cat confinc.out
make[1]: Entering directory '/home/vnc1/proj/utun3/build'
make[1]: Leaving directory '/home/vnc1/proj/utun3/build'
this is the am__doit target
configure:4437: $? = 0
configure:4456: result: yes (GNU style)
configure:4491: checking whether make supports nested variables
configure:4509: result: yes
configure:4590: checking dependency style of gcc
configure:4702: result: gcc3
configure:4777: checking whether make sets $(MAKE)
configure:4800: result: yes
configure:4822: checking for SHA256_Init in -lcrypto
configure:4845: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:4845: $? = 0
configure:4855: result: yes
configure:4886: checking for stdio.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for stdlib.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for string.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for inttypes.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for stdint.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for strings.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for sys/stat.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for sys/types.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for unistd.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4911: checking for arpa/inet.h
configure:4911: gcc -c -g -O2 conftest.c >&5
configure:4911: $? = 0
configure:4911: result: yes
configure:4917: checking for fcntl.h
configure:4917: gcc -c -g -O2 conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4923: checking for limits.h
configure:4923: gcc -c -g -O2 conftest.c >&5
configure:4923: $? = 0
configure:4923: result: yes
configure:4929: checking for netinet/in.h
configure:4929: gcc -c -g -O2 conftest.c >&5
configure:4929: $? = 0
configure:4929: result: yes
configure:4935: checking for stdlib.h
configure:4935: result: yes
configure:4941: checking for string.h
configure:4941: result: yes
configure:4947: checking for sys/ioctl.h
configure:4947: gcc -c -g -O2 conftest.c >&5
configure:4947: $? = 0
configure:4947: result: yes
configure:4953: checking for sys/socket.h
configure:4953: gcc -c -g -O2 conftest.c >&5
configure:4953: $? = 0
configure:4953: result: yes
configure:4959: checking for unistd.h
configure:4959: result: yes
configure:4968: checking for size_t
configure:4968: gcc -c -g -O2 conftest.c >&5
configure:4968: $? = 0
configure:4968: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:63:21: error: expected expression before ')' token
63 | if (sizeof ((size_t)))
| ^
configure:4968: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:4968: result: yes
configure:4978: checking for ssize_t
configure:4978: gcc -c -g -O2 conftest.c >&5
configure:4978: $? = 0
configure:4978: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:63:22: error: expected expression before ')' token
63 | if (sizeof ((ssize_t)))
| ^
configure:4978: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| if (sizeof ((ssize_t)))
| return 0;
| ;
| return 0;
| }
configure:4978: result: yes
configure:4988: checking for uint16_t
configure:4988: gcc -c -g -O2 conftest.c >&5
configure:4988: $? = 0
configure:4988: result: yes
configure:4998: checking for uint32_t
configure:4998: gcc -c -g -O2 conftest.c >&5
configure:4998: $? = 0
configure:4998: result: yes
configure:5010: checking for uint64_t
configure:5010: gcc -c -g -O2 conftest.c >&5
configure:5010: $? = 0
configure:5010: result: yes
configure:5022: checking for uint8_t
configure:5022: gcc -c -g -O2 conftest.c >&5
configure:5022: $? = 0
configure:5022: result: yes
configure:5034: checking for inline
configure:5051: gcc -c -g -O2 conftest.c >&5
configure:5051: $? = 0
configure:5060: result: inline
configure:5086: checking build system type
configure:5101: result: x86_64-pc-linux-gnu
configure:5121: checking host system type
configure:5135: result: x86_64-pc-linux-gnu
configure:5155: checking for GNU libc compatible malloc
configure:5187: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5187: $? = 0
configure:5187: ./conftest
configure:5187: $? = 0
configure:5198: result: yes
configure:5220: checking for gettimeofday
configure:5220: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5220: $? = 0
configure:5220: result: yes
configure:5226: checking for memset
configure:5226: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:50:6: warning: conflicting types for built-in function 'memset'; expected 'void *(void *, int, long unsigned int)' [-Wbuiltin-declaration-mismatch]
50 | char memset ();
| ^~~~~~
conftest.c:42:1: note: 'memset' is declared in header '<string.h>'
41 | #include <limits.h>
42 | #undef memset
configure:5226: $? = 0
configure:5226: result: yes
configure:5232: checking for socket
configure:5232: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5232: $? = 0
configure:5232: result: yes
configure:5238: checking for strchr
configure:5238: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:52:6: warning: conflicting types for built-in function 'strchr'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch]
52 | char strchr ();
| ^~~~~~
conftest.c:44:1: note: 'strchr' is declared in header '<string.h>'
43 | #include <limits.h>
44 | #undef strchr
configure:5238: $? = 0
configure:5238: result: yes
configure:5244: checking for strdup
configure:5244: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:53:6: warning: conflicting types for built-in function 'strdup'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch]
53 | char strdup ();
| ^~~~~~
configure:5244: $? = 0
configure:5244: result: yes
configure:5250: checking for strerror
configure:5250: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5250: $? = 0
configure:5250: result: yes
configure:5256: checking for strstr
configure:5256: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:55:6: warning: conflicting types for built-in function 'strstr'; expected 'char *(const char *, const char *)' [-Wbuiltin-declaration-mismatch]
55 | char strstr ();
| ^~~~~~
conftest.c:47:1: note: 'strstr' is declared in header '<string.h>'
46 | #include <limits.h>
47 | #undef strstr
configure:5256: $? = 0
configure:5256: result: yes
configure:5265: checking for TUN/TAP support
configure:5282: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:47:10: warning: implicit declaration of function 'open' [-Wimplicit-function-declaration]
47 | int fd = open("/dev/net/tun", O_RDWR);
| ^~~~
conftest.c:47:31: error: 'O_RDWR' undeclared (first use in this function)
47 | int fd = open("/dev/net/tun", O_RDWR);
| ^~~~~~
conftest.c:47:31: note: each undeclared identifier is reported only once for each function it appears in
configure:5282: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_MALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MEMSET 1
| #define HAVE_SOCKET 1
| #define HAVE_STRCHR 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| #define HAVE_STRSTR 1
| /* end confdefs.h. */
|
| #include <linux/if_tun.h>
|
| int
| main (void)
| {
|
| int fd = open("/dev/net/tun", O_RDWR);
|
| ;
| return 0;
| }
configure:5293: result: no
configure:5404: checking that generated files are newer than configure
configure:5410: result: done
configure:5437: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by utun config.status 2.0.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on user-Standard-PC-i440FX-PIIX-1996
config.status:881: creating Makefile
config.status:881: creating src/Makefile
config.status:881: creating tests/Makefile
config.status:881: creating lib/Makefile
config.status:881: creating config.h
config.status:1095: executing depfiles commands
config.status:1172: cd src && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[1]: Entering directory '/home/vnc1/proj/utun3/build/src'
make[1]: Nothing to be done for 'am--depfiles'.
make[1]: Leaving directory '/home/vnc1/proj/utun3/build/src'
config.status:1177: $? = 0
config.status:1172: cd tests && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[1]: Entering directory '/home/vnc1/proj/utun3/build/tests'
make[1]: Nothing to be done for 'am--depfiles'.
make[1]: Leaving directory '/home/vnc1/proj/utun3/build/tests'
config.status:1177: $? = 0
config.status:1172: cd lib && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[1]: Entering directory '/home/vnc1/proj/utun3/build/lib'
make[1]: Nothing to be done for 'am--depfiles'.
make[1]: Leaving directory '/home/vnc1/proj/utun3/build/lib'
config.status:1177: $? = 0
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_c_uint16_t=yes
ac_cv_c_uint32_t=yes
ac_cv_c_uint64_t=yes
ac_cv_c_uint8_t=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_gettimeofday=yes
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_memset=yes
ac_cv_func_socket=yes
ac_cv_func_strchr=yes
ac_cv_func_strdup=yes
ac_cv_func_strerror=yes
ac_cv_func_strstr=yes
ac_cv_header_arpa_inet_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_lib_crypto_SHA256_Init=yes
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c11=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_make_make_set=yes
ac_cv_type_size_t=yes
ac_cv_type_ssize_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_ar_interface=ar
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' automake-1.16'
AWK='mawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPPFLAGS=''
CSCOPE='cscope'
CTAGS='ctags'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ETAGS='etags'
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS='-lcrypto '
LTLIBOBJS=''
MAKEINFO='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' makeinfo'
MKDIR_P='/usr/bin/mkdir -p'
OBJEXT='o'
PACKAGE='utun'
PACKAGE_BUGREPORT='https://github.com/anomalyco/utun3/issues'
PACKAGE_NAME='utun'
PACKAGE_STRING='utun 2.0.0'
PACKAGE_TARNAME='utun'
PACKAGE_URL=''
PACKAGE_VERSION='2.0.0'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
USE_OPENSSL_FALSE='#'
USE_OPENSSL_TRUE=''
VERSION='2.0.0'
ac_ct_AR='ar'
ac_ct_CC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/vnc1/proj/utun3/build-aux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "utun"
#define PACKAGE_TARNAME "utun"
#define PACKAGE_VERSION "2.0.0"
#define PACKAGE_STRING "utun 2.0.0"
#define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
#define PACKAGE_URL ""
#define PACKAGE "utun"
#define VERSION "2.0.0"
#define HAVE_LIBCRYPTO 1
#define USE_OPENSSL 1
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_ARPA_INET_H 1
#define HAVE_FCNTL_H 1
#define HAVE_LIMITS_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_UNISTD_H 1
#define HAVE_MALLOC 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_MEMSET 1
#define HAVE_SOCKET 1
#define HAVE_STRCHR 1
#define HAVE_STRDUP 1
#define HAVE_STRERROR 1
#define HAVE_STRSTR 1
configure: exit 0

1203
build.old6/config.status

File diff suppressed because it is too large Load Diff

1
build.old6/stamp-h1

@ -0,0 +1 @@
timestamp for config.h

BIN
build.old6/tests/test_etcp_crypto

Binary file not shown.

BIN
build.old7/bench_timeout_heap

Binary file not shown.

BIN
build.old7/bench_uasync_timeouts

Binary file not shown.

156
build.old7/config.h

@ -0,0 +1,156 @@
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H 1
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the `crypto' library (-lcrypto). */
#define HAVE_LIBCRYPTO 1
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
to 0 otherwise. */
#define HAVE_MALLOC 1
/* Define to 1 if you have the `memset' function. */
#define HAVE_MEMSET 1
/* Define to 1 if you have the <netinet/in.h> header file. */
#define HAVE_NETINET_IN_H 1
/* Define to 1 if you have the `socket' function. */
#define HAVE_SOCKET 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdio.h> header file. */
#define HAVE_STDIO_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the `strstr' function. */
#define HAVE_STRSTR 1
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1
/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define if TUN/TAP is available */
/* #undef HAVE_TUN_TAP */
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Name of package */
#define PACKAGE "utun"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
/* Define to the full name of this package. */
#define PACKAGE_NAME "utun"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "utun 2.0.0"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "utun"
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.0.0"
/* Define to 1 if all of the C90 standard headers exist (not just the ones
required in a freestanding environment). This macro is provided for
backward compatibility; new code need not use it. */
#define STDC_HEADERS 1
/* Define to use OpenSSL for cryptography */
#define USE_OPENSSL 1
/* Version number of package */
#define VERSION "2.0.0"
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT32_T */
/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT64_T */
/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
/* #undef _UINT8_T */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* #undef inline */
#endif
/* Define to rpl_malloc if the replacement function should be used. */
/* #undef malloc */
/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */
/* Define to `int' if <sys/types.h> does not define. */
/* #undef ssize_t */
/* Define to the type of an unsigned integer type of width exactly 16 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint16_t */
/* Define to the type of an unsigned integer type of width exactly 32 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint32_t */
/* Define to the type of an unsigned integer type of width exactly 64 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint64_t */
/* Define to the type of an unsigned integer type of width exactly 8 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint8_t */

803
build.old7/config.log

@ -0,0 +1,803 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by utun configure 2.0.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ /home/vnc1/proj/utun3/configure --no-create --no-recursion
## --------- ##
## Platform. ##
## --------- ##
hostname = user-Standard-PC-i440FX-PIIX-1996
uname -m = x86_64
uname -r = 6.14.0-37-generic
uname -s = Linux
uname -v = #37~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 10:25:38 UTC 2
/usr/bin/uname -p = x86_64
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/vnc1/.cargo/bin/
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
PATH: /usr/games/
PATH: /usr/local/games/
PATH: /snap/bin/
PATH: /snap/bin/
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2461: looking for aux files: config.guess config.sub missing install-sh ar-lib compile
configure:2474: trying /home/vnc1/proj/utun3/build-aux/
configure:2503: /home/vnc1/proj/utun3/build-aux/config.guess found
configure:2503: /home/vnc1/proj/utun3/build-aux/config.sub found
configure:2503: /home/vnc1/proj/utun3/build-aux/missing found
configure:2485: /home/vnc1/proj/utun3/build-aux/install-sh found
configure:2503: /home/vnc1/proj/utun3/build-aux/ar-lib found
configure:2503: /home/vnc1/proj/utun3/build-aux/compile found
configure:2683: checking for gcc
configure:2704: found /usr/bin/gcc
configure:2715: result: gcc
configure:3068: checking for C compiler version
configure:3077: gcc --version >&5
gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3088: $? = 0
configure:3077: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
... rest of stderr output deleted ...
configure:3088: $? = 0
configure:3077: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3077: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3077: gcc -version >&5
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
configure:3088: $? = 1
configure:3108: checking whether the C compiler works
configure:3130: gcc conftest.c >&5
configure:3134: $? = 0
configure:3184: result: yes
configure:3187: checking for C compiler default output file name
configure:3189: result: a.out
configure:3195: checking for suffix of executables
configure:3202: gcc -o conftest conftest.c >&5
configure:3206: $? = 0
configure:3229: result:
configure:3251: checking whether we are cross compiling
configure:3259: gcc -o conftest conftest.c >&5
configure:3263: $? = 0
configure:3270: ./conftest
configure:3274: $? = 0
configure:3289: result: no
configure:3294: checking for suffix of object files
configure:3317: gcc -c conftest.c >&5
configure:3321: $? = 0
configure:3343: result: o
configure:3347: checking whether the compiler supports GNU C
configure:3367: gcc -c conftest.c >&5
configure:3367: $? = 0
configure:3377: result: yes
configure:3388: checking whether gcc accepts -g
configure:3409: gcc -c -g conftest.c >&5
configure:3409: $? = 0
configure:3453: result: yes
configure:3473: checking for gcc option to enable C11 features
configure:3488: gcc -c -g -O2 conftest.c >&5
configure:3488: $? = 0
configure:3506: result: none needed
configure:3627: checking whether gcc understands -c and -o together
configure:3650: gcc -c conftest.c -o conftest2.o
configure:3653: $? = 0
configure:3650: gcc -c conftest.c -o conftest2.o
configure:3653: $? = 0
configure:3665: result: yes
configure:3730: checking for ranlib
configure:3751: found /usr/bin/ranlib
configure:3762: result: ranlib
configure:3840: checking for ar
configure:3861: found /usr/bin/ar
configure:3872: result: ar
configure:3898: checking the archiver (ar) interface
configure:3915: gcc -c -g -O2 conftest.c >&5
configure:3915: $? = 0
configure:3918: ar cru libconftest.a conftest.o >&5
ar: `u' modifier ignored since `D' is the default (see `U')
configure:3921: $? = 0
configure:3949: result: ar
configure:3986: checking for a BSD-compatible install
configure:4059: result: /usr/bin/install -c
configure:4070: checking whether build environment is sane
configure:4125: result: yes
configure:4280: checking for a race-free mkdir -p
configure:4324: result: /usr/bin/mkdir -p
configure:4331: checking for gawk
configure:4366: result: no
configure:4331: checking for mawk
configure:4352: found /usr/bin/mawk
configure:4363: result: mawk
configure:4374: checking whether make sets $(MAKE)
configure:4397: result: yes
configure:4419: checking whether make supports the include directive
configure:4434: make -f confmf.GNU && cat confinc.out
make[2]: Entering directory '/home/vnc1/proj/utun3/build'
make[2]: Leaving directory '/home/vnc1/proj/utun3/build'
this is the am__doit target
configure:4437: $? = 0
configure:4456: result: yes (GNU style)
configure:4491: checking whether make supports nested variables
configure:4509: result: yes
configure:4590: checking dependency style of gcc
configure:4702: result: gcc3
configure:4777: checking whether make sets $(MAKE)
configure:4800: result: yes
configure:4822: checking for SHA256_Init in -lcrypto
configure:4845: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:4845: $? = 0
configure:4855: result: yes
configure:4886: checking for stdio.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for stdlib.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for string.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for inttypes.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for stdint.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for strings.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for sys/stat.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for sys/types.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4886: checking for unistd.h
configure:4886: gcc -c -g -O2 conftest.c >&5
configure:4886: $? = 0
configure:4886: result: yes
configure:4911: checking for arpa/inet.h
configure:4911: gcc -c -g -O2 conftest.c >&5
configure:4911: $? = 0
configure:4911: result: yes
configure:4917: checking for fcntl.h
configure:4917: gcc -c -g -O2 conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4923: checking for limits.h
configure:4923: gcc -c -g -O2 conftest.c >&5
configure:4923: $? = 0
configure:4923: result: yes
configure:4929: checking for netinet/in.h
configure:4929: gcc -c -g -O2 conftest.c >&5
configure:4929: $? = 0
configure:4929: result: yes
configure:4935: checking for stdlib.h
configure:4935: result: yes
configure:4941: checking for string.h
configure:4941: result: yes
configure:4947: checking for sys/ioctl.h
configure:4947: gcc -c -g -O2 conftest.c >&5
configure:4947: $? = 0
configure:4947: result: yes
configure:4953: checking for sys/socket.h
configure:4953: gcc -c -g -O2 conftest.c >&5
configure:4953: $? = 0
configure:4953: result: yes
configure:4959: checking for unistd.h
configure:4959: result: yes
configure:4968: checking for size_t
configure:4968: gcc -c -g -O2 conftest.c >&5
configure:4968: $? = 0
configure:4968: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:63:21: error: expected expression before ')' token
63 | if (sizeof ((size_t)))
| ^
configure:4968: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:4968: result: yes
configure:4978: checking for ssize_t
configure:4978: gcc -c -g -O2 conftest.c >&5
configure:4978: $? = 0
configure:4978: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:63:22: error: expected expression before ')' token
63 | if (sizeof ((ssize_t)))
| ^
configure:4978: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| if (sizeof ((ssize_t)))
| return 0;
| ;
| return 0;
| }
configure:4978: result: yes
configure:4988: checking for uint16_t
configure:4988: gcc -c -g -O2 conftest.c >&5
configure:4988: $? = 0
configure:4988: result: yes
configure:4998: checking for uint32_t
configure:4998: gcc -c -g -O2 conftest.c >&5
configure:4998: $? = 0
configure:4998: result: yes
configure:5010: checking for uint64_t
configure:5010: gcc -c -g -O2 conftest.c >&5
configure:5010: $? = 0
configure:5010: result: yes
configure:5022: checking for uint8_t
configure:5022: gcc -c -g -O2 conftest.c >&5
configure:5022: $? = 0
configure:5022: result: yes
configure:5034: checking for inline
configure:5051: gcc -c -g -O2 conftest.c >&5
configure:5051: $? = 0
configure:5060: result: inline
configure:5086: checking build system type
configure:5101: result: x86_64-pc-linux-gnu
configure:5121: checking host system type
configure:5135: result: x86_64-pc-linux-gnu
configure:5155: checking for GNU libc compatible malloc
configure:5187: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5187: $? = 0
configure:5187: ./conftest
configure:5187: $? = 0
configure:5198: result: yes
configure:5220: checking for gettimeofday
configure:5220: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5220: $? = 0
configure:5220: result: yes
configure:5226: checking for memset
configure:5226: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:50:6: warning: conflicting types for built-in function 'memset'; expected 'void *(void *, int, long unsigned int)' [-Wbuiltin-declaration-mismatch]
50 | char memset ();
| ^~~~~~
conftest.c:42:1: note: 'memset' is declared in header '<string.h>'
41 | #include <limits.h>
42 | #undef memset
configure:5226: $? = 0
configure:5226: result: yes
configure:5232: checking for socket
configure:5232: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5232: $? = 0
configure:5232: result: yes
configure:5238: checking for strchr
configure:5238: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:52:6: warning: conflicting types for built-in function 'strchr'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch]
52 | char strchr ();
| ^~~~~~
conftest.c:44:1: note: 'strchr' is declared in header '<string.h>'
43 | #include <limits.h>
44 | #undef strchr
configure:5238: $? = 0
configure:5238: result: yes
configure:5244: checking for strdup
configure:5244: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:53:6: warning: conflicting types for built-in function 'strdup'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch]
53 | char strdup ();
| ^~~~~~
configure:5244: $? = 0
configure:5244: result: yes
configure:5250: checking for strerror
configure:5250: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
configure:5250: $? = 0
configure:5250: result: yes
configure:5256: checking for strstr
configure:5256: gcc -o conftest -g -O2 conftest.c -lcrypto >&5
conftest.c:55:6: warning: conflicting types for built-in function 'strstr'; expected 'char *(const char *, const char *)' [-Wbuiltin-declaration-mismatch]
55 | char strstr ();
| ^~~~~~
conftest.c:47:1: note: 'strstr' is declared in header '<string.h>'
46 | #include <limits.h>
47 | #undef strstr
configure:5256: $? = 0
configure:5256: result: yes
configure:5265: checking for TUN/TAP support
configure:5282: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:47:10: warning: implicit declaration of function 'open' [-Wimplicit-function-declaration]
47 | int fd = open("/dev/net/tun", O_RDWR);
| ^~~~
conftest.c:47:31: error: 'O_RDWR' undeclared (first use in this function)
47 | int fd = open("/dev/net/tun", O_RDWR);
| ^~~~~~
conftest.c:47:31: note: each undeclared identifier is reported only once for each function it appears in
configure:5282: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "utun"
| #define PACKAGE_TARNAME "utun"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "utun 2.0.0"
| #define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "utun"
| #define VERSION "2.0.0"
| #define HAVE_LIBCRYPTO 1
| #define USE_OPENSSL 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_MALLOC 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MEMSET 1
| #define HAVE_SOCKET 1
| #define HAVE_STRCHR 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| #define HAVE_STRSTR 1
| /* end confdefs.h. */
|
| #include <linux/if_tun.h>
|
| int
| main (void)
| {
|
| int fd = open("/dev/net/tun", O_RDWR);
|
| ;
| return 0;
| }
configure:5293: result: no
configure:5404: checking that generated files are newer than configure
configure:5410: result: done
configure:5437: creating ./config.status
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_c_uint16_t=yes
ac_cv_c_uint32_t=yes
ac_cv_c_uint64_t=yes
ac_cv_c_uint8_t=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_gettimeofday=yes
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_memset=yes
ac_cv_func_socket=yes
ac_cv_func_strchr=yes
ac_cv_func_strdup=yes
ac_cv_func_strerror=yes
ac_cv_func_strstr=yes
ac_cv_header_arpa_inet_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_lib_crypto_SHA256_Init=yes
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c11=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_make_make_set=yes
ac_cv_type_size_t=yes
ac_cv_type_ssize_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_ar_interface=ar
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' automake-1.16'
AWK='mawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPPFLAGS=''
CSCOPE='cscope'
CTAGS='ctags'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ETAGS='etags'
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS='-lcrypto '
LTLIBOBJS=''
MAKEINFO='${SHELL} '\''/home/vnc1/proj/utun3/build-aux/missing'\'' makeinfo'
MKDIR_P='/usr/bin/mkdir -p'
OBJEXT='o'
PACKAGE='utun'
PACKAGE_BUGREPORT='https://github.com/anomalyco/utun3/issues'
PACKAGE_NAME='utun'
PACKAGE_STRING='utun 2.0.0'
PACKAGE_TARNAME='utun'
PACKAGE_URL=''
PACKAGE_VERSION='2.0.0'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
USE_OPENSSL_FALSE='#'
USE_OPENSSL_TRUE=''
VERSION='2.0.0'
ac_ct_AR='ar'
ac_ct_CC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/vnc1/proj/utun3/build-aux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "utun"
#define PACKAGE_TARNAME "utun"
#define PACKAGE_VERSION "2.0.0"
#define PACKAGE_STRING "utun 2.0.0"
#define PACKAGE_BUGREPORT "https://github.com/anomalyco/utun3/issues"
#define PACKAGE_URL ""
#define PACKAGE "utun"
#define VERSION "2.0.0"
#define HAVE_LIBCRYPTO 1
#define USE_OPENSSL 1
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_ARPA_INET_H 1
#define HAVE_FCNTL_H 1
#define HAVE_LIMITS_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_UNISTD_H 1
#define HAVE_MALLOC 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_MEMSET 1
#define HAVE_SOCKET 1
#define HAVE_STRCHR 1
#define HAVE_STRDUP 1
#define HAVE_STRERROR 1
#define HAVE_STRSTR 1
configure: exit 0
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by utun config.status 2.0.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on user-Standard-PC-i440FX-PIIX-1996
config.status:881: creating Makefile
config.status:881: creating src/Makefile
config.status:881: creating tests/Makefile
config.status:881: creating lib/Makefile
config.status:881: creating config.h
config.status:1047: config.h is unchanged
config.status:1095: executing depfiles commands
config.status:1172: cd src && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[2]: Entering directory '/home/vnc1/proj/utun3/build/src'
make[2]: Nothing to be done for 'am--depfiles'.
make[2]: Leaving directory '/home/vnc1/proj/utun3/build/src'
config.status:1177: $? = 0
config.status:1172: cd tests && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[2]: Entering directory '/home/vnc1/proj/utun3/build/tests'
make[2]: Nothing to be done for 'am--depfiles'.
make[2]: Leaving directory '/home/vnc1/proj/utun3/build/tests'
config.status:1177: $? = 0
config.status:1172: cd lib && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make[2]: Entering directory '/home/vnc1/proj/utun3/build/lib'
make[2]: Nothing to be done for 'am--depfiles'.
make[2]: Leaving directory '/home/vnc1/proj/utun3/build/lib'
config.status:1177: $? = 0

1203
build.old7/config.status

File diff suppressed because it is too large Load Diff

1
build.old7/stamp-h1

@ -0,0 +1 @@
timestamp for config.h

BIN
build.old7/test_config_debug

Binary file not shown.

BIN
build.old7/test_crypto

Binary file not shown.

BIN
build.old7/test_debug_categories

Binary file not shown.

BIN
build.old7/test_ecc_encrypt

Binary file not shown.

BIN
build.old7/test_etcp_100_packets

Binary file not shown.

BIN
build.old7/test_etcp_crypto

Binary file not shown.

BIN
build.old7/test_etcp_minimal

Binary file not shown.

BIN
build.old7/test_etcp_simple_traffic

Binary file not shown.

BIN
build.old7/test_etcp_two_instances

Binary file not shown.

BIN
build.old7/test_intensive_memory_pool

Binary file not shown.

BIN
build.old7/test_ll_queue

Binary file not shown.

BIN
build.old7/test_memory_pool_and_config

Binary file not shown.

BIN
build.old7/test_packet_dump

Binary file not shown.

BIN
build.old7/test_pkt_normalizer_etcp

Binary file not shown.

BIN
build.old7/test_pkt_normalizer_standalone

Binary file not shown.

BIN
build.old7/test_u_async_comprehensive

Binary file not shown.

BIN
build.old7/test_u_async_performance

Binary file not shown.

BIN
build.old7/tests/bench_timeout_heap

Binary file not shown.

25
build.old7/tests/bench_timeout_heap.log

@ -0,0 +1,25 @@
=== timeout_heap benchmark ===
Operations: 100 each
Push 100 items:
Total time: 0.001 ms
Average per push: 0.015 us
Heap size after: 100
Cancel 50 items:
Total time: 0.001 ms
Average per cancel: 0.024 us
Heap size: 100 (deleted marked)
Pop 50 items:
Total time: 0.002 ms
Average per pop: 0.045 us
Heap size after: 0
=== Summary ===
Push: 0.001 ms total, 0.015 us/op
Cancel: 0.001 ms total, 0.024 us/op
Pop: 0.002 ms total, 0.045 us/op
Total operations: 250
PASS bench_timeout_heap (exit status: 0)

4
build.old7/tests/bench_timeout_heap.trs

@ -0,0 +1,4 @@
:test-result: PASS
:global-test-result: PASS
:recheck: no
:copy-in-global-log: no

BIN
build.old7/tests/bench_uasync_timeouts

Binary file not shown.

150
build.old7/tests/bench_uasync_timeouts.log

@ -0,0 +1,150 @@
=================================================
uasync timeout benchmark: with vs without sockets
=================================================
=== Test 1: Zero timeouts WITHOUT sockets ===
Set 100 zero timeouts: 0.008 ms (0.080 us/op)
Mainloop 100 iterations: 0.040 ms (0.396 us/iter)
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x6341285ae2b0
Timer Statistics: allocated=100, freed=100, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
=== Test 2: Zero timeouts WITH 100 sockets ===
Created 100 sockets
Set 100 zero timeouts: 0.007 ms (0.071 us/op)
Mainloop 100 iterations: 0.039 ms (0.393 us/iter)
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x6341285afe80
Timer Statistics: allocated=100, freed=100, active=0
Socket Statistics: allocated=100, freed=0, active=100
Active timers in heap: 0
Socket array capacity: 128, active: 100
Socket: fd=6, active=1
Socket: fd=7, active=1
Socket: fd=8, active=1
Socket: fd=9, active=1
Socket: fd=11, active=1
Socket: fd=13, active=1
Socket: fd=14, active=1
Socket: fd=15, active=1
Socket: fd=16, active=1
Socket: fd=17, active=1
Socket: fd=18, active=1
Socket: fd=19, active=1
Socket: fd=20, active=1
Socket: fd=21, active=1
Socket: fd=22, active=1
Socket: fd=23, active=1
Socket: fd=24, active=1
Socket: fd=25, active=1
Socket: fd=26, active=1
Socket: fd=27, active=1
Socket: fd=28, active=1
Socket: fd=29, active=1
Socket: fd=30, active=1
Socket: fd=31, active=1
Socket: fd=32, active=1
Socket: fd=33, active=1
Socket: fd=34, active=1
Socket: fd=35, active=1
Socket: fd=36, active=1
Socket: fd=37, active=1
Socket: fd=38, active=1
Socket: fd=39, active=1
Socket: fd=40, active=1
Socket: fd=41, active=1
Socket: fd=42, active=1
Socket: fd=43, active=1
Socket: fd=44, active=1
Socket: fd=45, active=1
Socket: fd=46, active=1
Socket: fd=47, active=1
Socket: fd=48, active=1
Socket: fd=49, active=1
Socket: fd=50, active=1
Socket: fd=51, active=1
Socket: fd=52, active=1
Socket: fd=53, active=1
Socket: fd=54, active=1
Socket: fd=55, active=1
Socket: fd=56, active=1
Socket: fd=57, active=1
Socket: fd=58, active=1
Socket: fd=59, active=1
Socket: fd=60, active=1
Socket: fd=61, active=1
Socket: fd=62, active=1
Socket: fd=63, active=1
Socket: fd=64, active=1
Socket: fd=65, active=1
Socket: fd=66, active=1
Socket: fd=67, active=1
Socket: fd=68, active=1
Socket: fd=69, active=1
Socket: fd=70, active=1
Socket: fd=71, active=1
Socket: fd=72, active=1
Socket: fd=73, active=1
Socket: fd=74, active=1
Socket: fd=75, active=1
Socket: fd=76, active=1
Socket: fd=77, active=1
Socket: fd=78, active=1
Socket: fd=79, active=1
Socket: fd=80, active=1
Socket: fd=81, active=1
Socket: fd=82, active=1
Socket: fd=83, active=1
Socket: fd=84, active=1
Socket: fd=85, active=1
Socket: fd=86, active=1
Socket: fd=87, active=1
Socket: fd=88, active=1
Socket: fd=89, active=1
Socket: fd=90, active=1
Socket: fd=91, active=1
Socket: fd=92, active=1
Socket: fd=93, active=1
Socket: fd=94, active=1
Socket: fd=95, active=1
Socket: fd=96, active=1
Socket: fd=97, active=1
Socket: fd=98, active=1
Socket: fd=99, active=1
Socket: fd=100, active=1
Socket: fd=101, active=1
Socket: fd=102, active=1
Socket: fd=103, active=1
Socket: fd=104, active=1
Socket: fd=105, active=1
Socket: fd=106, active=1
Socket: fd=107, active=1
Total active sockets: 100
🔚 BEFORE_DESTROY: End of resource report
=================================================
COMPARISON
=================================================
Set 100 timeouts:
Without sockets: 0.008 ms (0.080 us/op)
With 100 sockets: 0.007 ms (0.071 us/op)
Difference: -11.74%
Mainloop 100 iterations:
Without sockets: 0.040 ms (0.396 us/iter)
With 100 sockets: 0.039 ms (0.393 us/iter)
Difference: -0.89%
=================================================
PASS bench_uasync_timeouts (exit status: 0)

4
build.old7/tests/bench_uasync_timeouts.trs

@ -0,0 +1,4 @@
:test-result: PASS
:global-test-result: PASS
:recheck: no
:copy-in-global-log: no

86
build.old7/tests/test-suite.log

@ -0,0 +1,86 @@
======================================
utun 2.0.0: tests/test-suite.log
======================================
# TOTAL: 19
# PASS: 14
# SKIP: 0
# XFAIL: 0
# FAIL: 5
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test_etcp_two_instances
=============================
[22:27:05-864.142] [INFO] [8] (/home/vnc1/proj/utun3/tests/test_etcp_two_instances.c:126) main() === ETCP Two-Instance Connection Test ===
[22:27:05-864.207] [INFO] [256] (/home/vnc1/proj/utun3/src/utun_instance.c:33) utun_instance_set_tun_init_enabled() TUN initialization disabled
[22:27:05-864.213] [INFO] [8] (/home/vnc1/proj/utun3/tests/test_etcp_two_instances.c:132) main() Creating server instance...
[22:27:05-864.230] [INFO] [1] (/home/vnc1/proj/utun3/lib/u_async.c:757) uasync_create() Using epoll for socket monitoring
[CONFIG DEBUG] Opening config file: test_etcp_two_instances_server.conf
[CONFIG ERROR] Failed to open config file: test_etcp_two_instances_server.conf (errno=2)
[CONFIG ERROR] Failed to parse config: test_etcp_two_instances_server.conf
[22:27:05-864.240] [ERROR] [128] (/home/vnc1/proj/utun3/src/utun_instance.c:53) utun_instance_create() Failed to ensure keys and node_id in config: test_etcp_two_instances_server.conf
[22:27:05-864.244] [ERROR] [8] (/home/vnc1/proj/utun3/tests/test_etcp_two_instances.c:136) main() Failed to create server instance
FAIL test_etcp_two_instances (exit status: 1)
FAIL: test_etcp_simple_traffic
==============================
=== ETCP Simple Traffic Test (Queue-based) ===
[22:27:05-871.403] [TRACE] [32] (/home/vnc1/proj/utun3/tests/test_etcp_simple_traffic.c:281) main() *************1
Function names enabled: YES
===========================
[22:27:05-871.481] [INFO] [256] (/home/vnc1/proj/utun3/src/utun_instance.c:33) utun_instance_set_tun_init_enabled() TUN initialization disabled
Creating server instance...
[22:27:05-871.508] [INFO] [1] (/home/vnc1/proj/utun3/lib/u_async.c:757) uasync_create() Using epoll for socket monitoring
[CONFIG DEBUG] Opening config file: test_etcp_simple_traffic_server.conf
[CONFIG ERROR] Failed to open config file: test_etcp_simple_traffic_server.conf (errno=2)
[CONFIG ERROR] Failed to parse config: test_etcp_simple_traffic_server.conf
[22:27:05-871.522] [ERROR] [128] (/home/vnc1/proj/utun3/src/utun_instance.c:53) utun_instance_create() Failed to ensure keys and node_id in config: test_etcp_simple_traffic_server.conf
Failed to create server instance
FAIL test_etcp_simple_traffic (exit status: 1)
FAIL: test_etcp_100_packets
===========================
=== ETCP 100 Packets Bidirectional Test ===
Creating server...
[CONFIG DEBUG] Opening config file: test_etcp_100_packets_server.conf
[CONFIG ERROR] Failed to open config file: test_etcp_100_packets_server.conf (errno=2)
[CONFIG ERROR] Failed to parse config: test_etcp_100_packets_server.conf
Failed to create server
FAIL test_etcp_100_packets (exit status: 1)
FAIL: test_pkt_normalizer_etcp
==============================
=== PKT Normalizer + ETCP Test ===
Testing with 100 packets of random sizes (10-2000 bytes)
Total data to transfer: 103626 bytes (1.01 KB average per packet)
Creating server...
[CONFIG DEBUG] Opening config file: test_pkt_normalizer_etcp_server.conf
[CONFIG ERROR] Failed to open config file: test_pkt_normalizer_etcp_server.conf (errno=2)
[CONFIG ERROR] Failed to parse config: test_pkt_normalizer_etcp_server.conf
[22:27:05-892.396] [ERROR] [128] (/home/vnc1/proj/utun3/src/utun_instance.c:53) utun_instance_create() Failed to ensure keys and node_id in config: test_pkt_normalizer_etcp_server.conf
Failed to create server
FAIL test_pkt_normalizer_etcp (exit status: 1)
FAIL: test_config_debug
=======================
[22:27:05-987.347] [ERROR] [128] (/home/vnc1/proj/utun3/tests/test_config_debug.c:18) main() 1. До загрузки конфигурации:
[22:27:05-987.426] [ERROR] [128] (/home/vnc1/proj/utun3/tests/test_config_debug.c:19) main() ERROR сообщение до загрузки конфигурации
[22:27:05-987.433] [ERROR] [128] (/home/vnc1/proj/utun3/tests/test_config_debug.c:23) main() 2. Загрузка конфигурации из файла: test_config_with_debug.conf
[CONFIG DEBUG] Opening config file: test_config_with_debug.conf
[CONFIG ERROR] Failed to open config file: test_config_with_debug.conf (errno=2)
[22:27:05-987.441] [ERROR] [128] (/home/vnc1/proj/utun3/tests/test_config_debug.c:27) main() ❌ Ошибка загрузки конфигурации
FAIL test_config_debug (exit status: 1)

BIN
build.old7/tests/test_config_debug

Binary file not shown.

7
build.old7/tests/test_config_debug.log

@ -0,0 +1,7 @@
[22:27:05-987.347] [ERROR] [128] (/home/vnc1/proj/utun3/tests/test_config_debug.c:18) main() 1. До загрузки конфигурации:
[22:27:05-987.426] [ERROR] [128] (/home/vnc1/proj/utun3/tests/test_config_debug.c:19) main() ERROR сообщение до загрузки конфигурации
[22:27:05-987.433] [ERROR] [128] (/home/vnc1/proj/utun3/tests/test_config_debug.c:23) main() 2. Загрузка конфигурации из файла: test_config_with_debug.conf
[CONFIG DEBUG] Opening config file: test_config_with_debug.conf
[CONFIG ERROR] Failed to open config file: test_config_with_debug.conf (errno=2)
[22:27:05-987.441] [ERROR] [128] (/home/vnc1/proj/utun3/tests/test_config_debug.c:27) main() ❌ Ошибка загрузки конфигурации
FAIL test_config_debug (exit status: 1)

4
build.old7/tests/test_config_debug.trs

@ -0,0 +1,4 @@
:test-result: FAIL
:global-test-result: FAIL
:recheck: yes
:copy-in-global-log: yes

BIN
build.old7/tests/test_crypto

Binary file not shown.

7
build.old7/tests/test_crypto.log

@ -0,0 +1,7 @@
[22:27:05-855.398] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_crypto.c:16) main() === Basic Crypto Test ===
[22:27:05-855.464] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_crypto.c:27) main() AES key setup successful
[22:27:05-855.469] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_crypto.c:38) main() CCM config successful
[22:27:05-855.476] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_crypto.c:50) main() Encryption successful
[22:27:05-855.482] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_crypto.c:58) main() Decryption successful
[22:27:05-855.486] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_crypto.c:61) main() Crypto test PASSED
PASS test_crypto (exit status: 0)

4
build.old7/tests/test_crypto.trs

@ -0,0 +1,4 @@
:test-result: PASS
:global-test-result: PASS
:recheck: no
:copy-in-global-log: no

BIN
build.old7/tests/test_debug_categories

Binary file not shown.

9
build.old7/tests/test_debug_categories.log

@ -0,0 +1,9 @@
[22:27:05-981.966] [INFO] [18446744073709551615] (/home/vnc1/proj/utun3/tests/test_debug_categories.c:87) main() === Тестовые сообщения ===
[22:27:05-982.013] [INFO] [8] (/home/vnc1/proj/utun3/tests/test_debug_categories.c:90) main() Сообщение от ETCP категории
[22:27:05-982.019] [INFO] [2] (/home/vnc1/proj/utun3/tests/test_debug_categories.c:91) main() Сообщение от LL_QUEUE категории
[22:27:05-982.023] [INFO] [32] (/home/vnc1/proj/utun3/tests/test_debug_categories.c:92) main() Сообщение от MEMORY категории
[22:27:05-982.026] [INFO] [4] (/home/vnc1/proj/utun3/tests/test_debug_categories.c:93) main() Сообщение от CONNECTION категории
[22:27:05-982.030] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_debug_categories.c:94) main() Сообщение от CRYPTO категории
[22:27:05-982.033] [INFO] [18446744073709551615] (/home/vnc1/proj/utun3/tests/test_debug_categories.c:96) main() === Информация о текущих настройках ===
[22:27:05-982.037] [INFO] [18446744073709551615] (/home/vnc1/proj/utun3/tests/test_debug_categories.c:107) main() Активные категории: NONE
PASS test_debug_categories (exit status: 0)

4
build.old7/tests/test_debug_categories.trs

@ -0,0 +1,4 @@
:test-result: PASS
:global-test-result: PASS
:recheck: no
:copy-in-global-log: no

BIN
build.old7/tests/test_ecc_encrypt

Binary file not shown.

20
build.old7/tests/test_ecc_encrypt.log

@ -0,0 +1,20 @@
[22:27:05-915.604] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_ecc_encrypt.c:182) main() Performing client-server key exchange and encryption test:
[22:27:05-915.669] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_ecc_encrypt.c:90) test_key_exchange_and_encrypt() Generating client key pair...
[22:27:05-916.347] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_ecc_encrypt.c:96) test_key_exchange_and_encrypt() Generating server key pair...
[22:27:05-917.013] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_ecc_encrypt.c:103) test_key_exchange_and_encrypt() Computing shared secret on client side...
[22:27:05-917.686] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_ecc_encrypt.c:110) test_key_exchange_and_encrypt() Computing shared secret on server side...
[22:27:05-918.370] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_ecc_encrypt.c:123) test_key_exchange_and_encrypt() Shared secrets match.
[22:27:05-918.380] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_ecc_encrypt.c:145) test_key_exchange_and_encrypt() Encrypting plaintext...
[22:27:05-918.386] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_ecc_encrypt.c:155) test_key_exchange_and_encrypt() Decrypting ciphertext...
[22:27:05-918.391] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_ecc_encrypt.c:169) test_key_exchange_and_encrypt() Decryption successful. Test passed.
[22:27:05-918.394] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_ecc_encrypt.c:189) main() Result: PASS
[22:27:05-918.398] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_ecc_encrypt.c:190) main() Test SUCCESSFUL
PASS test_ecc_encrypt (exit status: 0)

4
build.old7/tests/test_ecc_encrypt.trs

@ -0,0 +1,4 @@
:test-result: PASS
:global-test-result: PASS
:recheck: no
:copy-in-global-log: no

BIN
build.old7/tests/test_etcp_100_packets

Binary file not shown.

8
build.old7/tests/test_etcp_100_packets.log

@ -0,0 +1,8 @@
=== ETCP 100 Packets Bidirectional Test ===
Creating server...
[CONFIG DEBUG] Opening config file: test_etcp_100_packets_server.conf
[CONFIG ERROR] Failed to open config file: test_etcp_100_packets_server.conf (errno=2)
[CONFIG ERROR] Failed to parse config: test_etcp_100_packets_server.conf
Failed to create server
FAIL test_etcp_100_packets (exit status: 1)

4
build.old7/tests/test_etcp_100_packets.trs

@ -0,0 +1,4 @@
:test-result: FAIL
:global-test-result: FAIL
:recheck: yes
:copy-in-global-log: yes

BIN
build.old7/tests/test_etcp_crypto

Binary file not shown.

7
build.old7/tests/test_etcp_crypto.log

@ -0,0 +1,7 @@
[22:27:05-847.348] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_etcp_crypto.c:17) main() === ETCP Crypto Test ===
[22:27:05-847.689] [ERROR] [16] (/home/vnc1/proj/utun3/src/secure_channel.c:211) sc_set_peer_public_key() sc_set_peer_public_key: invalid key
[22:27:05-847.708] [ERROR] [16] (/home/vnc1/proj/utun3/src/secure_channel.c:211) sc_set_peer_public_key() sc_set_peer_public_key: invalid key
[22:27:05-847.712] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_etcp_crypto.c:54) main() Crypto contexts initialized
[22:27:05-848.590] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_etcp_crypto.c:77) main() Client->Server encryption/decryption: PASSED
[22:27:05-848.600] [INFO] [16] (/home/vnc1/proj/utun3/tests/test_etcp_crypto.c:78) main() ETCP crypto test PASSED
PASS test_etcp_crypto (exit status: 0)

4
build.old7/tests/test_etcp_crypto.trs

@ -0,0 +1,4 @@
:test-result: PASS
:global-test-result: PASS
:recheck: no
:copy-in-global-log: no

BIN
build.old7/tests/test_etcp_minimal

Binary file not shown.

47
build.old7/tests/test_etcp_minimal.log

@ -0,0 +1,47 @@
=== Minimal ETCP Traffic Flow Debugging ===
=== Testing Basic Packet Analysis ===
Test packet: 00 00 06 00 01 48 65 6C 6C 6F
Section type: 0x00
Section length: 6
Total packet size: 10
This is a PAYLOAD section
Packet ID: 1
Payload size: 4 bytes
Payload data: 48 65 6C 6C
Payload as text: Hell
=== Testing Multi-Section Packet ===
Multi-section packet: 06 00 02 12 34 01 00 09 02 00 01 56 78 00 02 56 79 00 00 08 00 03 48 65 6C 6C 6F 21
Section 0 at position 0:
Type: 0x06 (TIMESTAMP)
Length: 2 bytes
Timestamp: 4660
Section 1 at position 5:
Type: 0x01 (ACK)
Length: 9 bytes
ACK count: 2
ACK[0]: id=1, ts=22136
ACK[1]: id=2, ts=22137
Section 2 at position 17:
Type: 0x00 (PAYLOAD)
Length: 8 bytes
Packet ID: 3
Payload: Hello!
Total sections parsed: 3
=== Testing Connection Establishment Packets ===
INIT_REQUEST packet:
Node ID: 0x2222222222222222
MTU: 1500
Keepalive: 100
INIT_RESPONSE packet:
Node ID: 0x1111111111111111
MTU: 1500
=== Test completed ===
PASS test_etcp_minimal (exit status: 0)

4
build.old7/tests/test_etcp_minimal.trs

@ -0,0 +1,4 @@
:test-result: PASS
:global-test-result: PASS
:recheck: no
:copy-in-global-log: no

BIN
build.old7/tests/test_etcp_simple_traffic

Binary file not shown.

15
build.old7/tests/test_etcp_simple_traffic.log

@ -0,0 +1,15 @@
=== ETCP Simple Traffic Test (Queue-based) ===
[22:27:05-871.403] [TRACE] [32] (/home/vnc1/proj/utun3/tests/test_etcp_simple_traffic.c:281) main() *************1
Function names enabled: YES
===========================
[22:27:05-871.481] [INFO] [256] (/home/vnc1/proj/utun3/src/utun_instance.c:33) utun_instance_set_tun_init_enabled() TUN initialization disabled
Creating server instance...
[22:27:05-871.508] [INFO] [1] (/home/vnc1/proj/utun3/lib/u_async.c:757) uasync_create() Using epoll for socket monitoring
[CONFIG DEBUG] Opening config file: test_etcp_simple_traffic_server.conf
[CONFIG ERROR] Failed to open config file: test_etcp_simple_traffic_server.conf (errno=2)
[CONFIG ERROR] Failed to parse config: test_etcp_simple_traffic_server.conf
[22:27:05-871.522] [ERROR] [128] (/home/vnc1/proj/utun3/src/utun_instance.c:53) utun_instance_create() Failed to ensure keys and node_id in config: test_etcp_simple_traffic_server.conf
Failed to create server instance
FAIL test_etcp_simple_traffic (exit status: 1)

4
build.old7/tests/test_etcp_simple_traffic.trs

@ -0,0 +1,4 @@
:test-result: FAIL
:global-test-result: FAIL
:recheck: yes
:copy-in-global-log: yes

BIN
build.old7/tests/test_etcp_two_instances

Binary file not shown.

10
build.old7/tests/test_etcp_two_instances.log

@ -0,0 +1,10 @@
[22:27:05-864.142] [INFO] [8] (/home/vnc1/proj/utun3/tests/test_etcp_two_instances.c:126) main() === ETCP Two-Instance Connection Test ===
[22:27:05-864.207] [INFO] [256] (/home/vnc1/proj/utun3/src/utun_instance.c:33) utun_instance_set_tun_init_enabled() TUN initialization disabled
[22:27:05-864.213] [INFO] [8] (/home/vnc1/proj/utun3/tests/test_etcp_two_instances.c:132) main() Creating server instance...
[22:27:05-864.230] [INFO] [1] (/home/vnc1/proj/utun3/lib/u_async.c:757) uasync_create() Using epoll for socket monitoring
[CONFIG DEBUG] Opening config file: test_etcp_two_instances_server.conf
[CONFIG ERROR] Failed to open config file: test_etcp_two_instances_server.conf (errno=2)
[CONFIG ERROR] Failed to parse config: test_etcp_two_instances_server.conf
[22:27:05-864.240] [ERROR] [128] (/home/vnc1/proj/utun3/src/utun_instance.c:53) utun_instance_create() Failed to ensure keys and node_id in config: test_etcp_two_instances_server.conf
[22:27:05-864.244] [ERROR] [8] (/home/vnc1/proj/utun3/tests/test_etcp_two_instances.c:136) main() Failed to create server instance
FAIL test_etcp_two_instances (exit status: 1)

4
build.old7/tests/test_etcp_two_instances.trs

@ -0,0 +1,4 @@
:test-result: FAIL
:global-test-result: FAIL
:recheck: yes
:copy-in-global-log: yes

BIN
build.old7/tests/test_intensive_memory_pool

Binary file not shown.

41
build.old7/tests/test_intensive_memory_pool.log

@ -0,0 +1,41 @@
[22:27:05-924.858] [INFO] [32] (/home/vnc1/proj/utun3/tests/test_intensive_memory_pool.c:127) main() === Интенсивный тест пулов памяти ===
[22:27:05-924.928] [INFO] [32] (/home/vnc1/proj/utun3/tests/test_intensive_memory_pool.c:128) main() Тестируется производительность с пулами vs без пулов
[22:27:05-924.934] [INFO] [32] (/home/vnc1/proj/utun3/tests/test_intensive_memory_pool.c:132) main() Запуск теста без пулов памяти...
[22:27:05-924.950] [INFO] [1] (/home/vnc1/proj/utun3/lib/u_async.c:757) uasync_create() Using epoll for socket monitoring
[22:27:05-924.957] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x650e7995fb40, hash_size=0
[22:27:05-925.329] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:60) queue_free() queue_free: freeing queue 0x650e7995fb40, head=(nil), tail=(nil), count=0
[22:27:05-925.336] [DEBUG] [1024] (/home/vnc1/proj/utun3/lib/u_async.c:827) uasync_destroy() uasync_destroy: starting cleanup for ua=0x650e7995f4c0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x650e7995f4c0
Timer Statistics: allocated=0, freed=0, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
[22:27:05-925.343] [DEBUG] [32] (/home/vnc1/proj/utun3/lib/u_async.c:875) uasync_destroy() Freed 0 socket nodes in destroy
[22:27:05-925.357] [DEBUG] [1024] (/home/vnc1/proj/utun3/lib/u_async.c:908) uasync_destroy() uasync_destroy: completed successfully for ua=0x650e7995f4c0
[22:27:05-925.363] [INFO] [32] (/home/vnc1/proj/utun3/tests/test_intensive_memory_pool.c:134) main() Время без пулов: 0.000 сек
[22:27:05-925.378] [INFO] [32] (/home/vnc1/proj/utun3/tests/test_intensive_memory_pool.c:135) main() Waiter callbacks: 32000
[22:27:05-925.381] [INFO] [32] (/home/vnc1/proj/utun3/tests/test_intensive_memory_pool.c:139) main() Запуск теста с пулами памяти...
[22:27:05-925.395] [INFO] [1] (/home/vnc1/proj/utun3/lib/u_async.c:757) uasync_create() Using epoll for socket monitoring
[22:27:05-925.401] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x650e799603c0, hash_size=0
[22:27:05-925.707] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:60) queue_free() queue_free: freeing queue 0x650e799603c0, head=(nil), tail=(nil), count=0
[22:27:05-925.723] [DEBUG] [1024] (/home/vnc1/proj/utun3/lib/u_async.c:827) uasync_destroy() uasync_destroy: starting cleanup for ua=0x650e7995fb40
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x650e7995fb40
Timer Statistics: allocated=0, freed=0, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
[22:27:05-925.731] [DEBUG] [32] (/home/vnc1/proj/utun3/lib/u_async.c:875) uasync_destroy() Freed 0 socket nodes in destroy
[22:27:05-925.748] [DEBUG] [1024] (/home/vnc1/proj/utun3/lib/u_async.c:908) uasync_destroy() uasync_destroy: completed successfully for ua=0x650e7995fb40
[22:27:05-925.755] [INFO] [32] (/home/vnc1/proj/utun3/tests/test_intensive_memory_pool.c:141) main() Время с пулами: 0.000 сек
[22:27:05-925.761] [INFO] [32] (/home/vnc1/proj/utun3/tests/test_intensive_memory_pool.c:142) main() Waiter callbacks: 32000
[22:27:05-925.765] [INFO] [32] (/home/vnc1/proj/utun3/tests/test_intensive_memory_pool.c:146) main() Результат: пулы памяти дали 1.15x ускорение
[22:27:05-925.771] [INFO] [32] (/home/vnc1/proj/utun3/tests/test_intensive_memory_pool.c:148) main() ✅ Пулы памяти эффективны!
PASS test_intensive_memory_pool (exit status: 0)

4
build.old7/tests/test_intensive_memory_pool.trs

@ -0,0 +1,4 @@
:test-result: PASS
:global-test-result: PASS
:recheck: no
:copy-in-global-log: no

BIN
build.old7/tests/test_ll_queue

Binary file not shown.

105
build.old7/tests/test_ll_queue.log

@ -0,0 +1,105 @@
TEST: basic creation / free [22:27:05-907.488] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x5583c022f930, hash_size=0
[22:27:05-907.516] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x5583c022fbe0, hash_size=16
[22:27:05-907.521] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:60) queue_free() queue_free: freeing queue 0x5583c022f930, head=(nil), tail=(nil), count=0
[22:27:05-907.526] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:60) queue_free() queue_free: freeing queue 0x5583c022fbe0, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x5583c022f2b0
Timer Statistics: allocated=0, freed=0, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
PASS
TEST: FIFO ordering [22:27:05-907.546] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x5583c0230170, hash_size=0
[22:27:05-907.551] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:60) queue_free() queue_free: freeing queue 0x5583c0230170, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x5583c022fd00
Timer Statistics: allocated=0, freed=0, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
PASS
TEST: put_first (LIFO priority) [22:27:05-907.567] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x5583c0230c40, hash_size=0
[22:27:05-907.572] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:60) queue_free() queue_free: freeing queue 0x5583c0230c40, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x5583c02307b0
Timer Statistics: allocated=0, freed=0, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
PASS
TEST: callback serial processing [22:27:05-907.590] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x5583c02310a0, hash_size=0
[22:27:05-907.595] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:60) queue_free() queue_free: freeing queue 0x5583c02310a0, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x5583c0230cd0
Timer Statistics: allocated=0, freed=0, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
PASS
TEST: wait_threshold + cancel [22:27:05-907.610] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x5583c02314b0, hash_size=0
[22:27:05-907.614] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:214) check_waiters() check_waiters: condition met, calling callback, count=2<=2, bytes=0<=0 (max_bytes_check=disabled)
[22:27:05-907.638] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:60) queue_free() queue_free: freeing queue 0x5583c02314b0, head=0x5583c0230470, tail=0x5583c02303a0, count=2
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x5583c0231130
Timer Statistics: allocated=0, freed=0, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
PASS
TEST: size limit + hash find/remove [22:27:05-907.656] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x5583c02318c0, hash_size=16
[22:27:05-907.660] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:60) queue_free() queue_free: freeing queue 0x5583c02318c0, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x5583c0231540
Timer Statistics: allocated=0, freed=0, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
PASS
TEST: memory_pool integration + reuse [22:27:05-907.681] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x5583c0231c70, hash_size=0
[22:27:05-907.685] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:60) queue_free() queue_free: freeing queue 0x5583c0231c70, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x5583c02318c0
Timer Statistics: allocated=0, freed=0, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
PASS
TEST: stress 10k ops [22:27:05-907.703] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x5583c0232110, hash_size=64
[22:27:05-908.102] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:60) queue_free() queue_free: freeing queue 0x5583c0232110, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x5583c0231c70
Timer Statistics: allocated=0, freed=0, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
PASS
=== SUMMARY ===
run=8 passed=8 failed=0
callbacks: queue=5 waiter=2
ops=10000 time=0.69 ms
PASS test_ll_queue (exit status: 0)

4
build.old7/tests/test_ll_queue.trs

@ -0,0 +1,4 @@
:test-result: PASS
:global-test-result: PASS
:recheck: no
:copy-in-global-log: no

BIN
build.old7/tests/test_memory_pool_and_config

Binary file not shown.

25
build.old7/tests/test_memory_pool_and_config.log

@ -0,0 +1,25 @@
[22:27:05-932.035] [INFO] [32] (/home/vnc1/proj/utun3/tests/test_memory_pool_and_config.c:33) main() === Memory Pool and Config File Test ===
[22:27:05-932.140] [INFO] [32] (/home/vnc1/proj/utun3/tests/test_memory_pool_and_config.c:36) main() Test 1: Memory pool optimization...
[22:27:05-932.157] [INFO] [1] (/home/vnc1/proj/utun3/lib/u_async.c:757) uasync_create() Using epoll for socket monitoring
[22:27:05-932.165] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:37) queue_new() queue_new: created queue 0x61464a680b40, hash_size=0
[22:27:05-932.171] [INFO] [32] (/home/vnc1/proj/utun3/tests/test_memory_pool_and_config.c:82) main() Pool statistics: allocations=0, reuse_count=0
[22:27:05-932.176] [INFO] [32] (/home/vnc1/proj/utun3/tests/test_memory_pool_and_config.c:83) main() Pool efficiency: 0.0%
[22:27:05-932.188] [DEBUG] [2] (/home/vnc1/proj/utun3/lib/ll_queue.c:60) queue_free() queue_free: freeing queue 0x61464a680b40, head=(nil), tail=(nil), count=0
[22:27:05-932.193] [DEBUG] [1024] (/home/vnc1/proj/utun3/lib/u_async.c:827) uasync_destroy() uasync_destroy: starting cleanup for ua=0x61464a6804c0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x61464a6804c0
Timer Statistics: allocated=0, freed=0, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
[22:27:05-932.199] [DEBUG] [32] (/home/vnc1/proj/utun3/lib/u_async.c:875) uasync_destroy() Freed 0 socket nodes in destroy
[22:27:05-932.211] [DEBUG] [1024] (/home/vnc1/proj/utun3/lib/u_async.c:908) uasync_destroy() uasync_destroy: completed successfully for ua=0x61464a6804c0
[22:27:05-932.216] [INFO] [32] (/home/vnc1/proj/utun3/tests/test_memory_pool_and_config.c:89) main() Memory pool test: PASS
[22:27:05-932.221] [INFO] [128] (/home/vnc1/proj/utun3/tests/test_memory_pool_and_config.c:92) main() Test 2: Configuration file support...
[22:27:05-932.290] [ERROR] [128] (/home/vnc1/proj/utun3/tests/test_memory_pool_and_config.c:125) main() Failed to parse configuration
[22:27:05-932.346] [INFO] [128] (/home/vnc1/proj/utun3/tests/test_memory_pool_and_config.c:133) main() Configuration file test: PASS
[22:27:05-932.352] [INFO] [32] (/home/vnc1/proj/utun3/tests/test_memory_pool_and_config.c:135) main() === All tests completed successfully ===
PASS test_memory_pool_and_config (exit status: 0)

4
build.old7/tests/test_memory_pool_and_config.trs

@ -0,0 +1,4 @@
:test-result: PASS
:global-test-result: PASS
:recheck: no
:copy-in-global-log: no

BIN
build.old7/tests/test_packet_dump

Binary file not shown.

4
build.old7/tests/test_packet_dump.log

@ -0,0 +1,4 @@
[22:27:05-938.972] [INFO] [8] (/home/vnc1/proj/utun3/tests/test_packet_dump.c:23) main() === Testing single-line packet dump ===
[22:27:05-939.040] [INFO] [8] (/home/vnc1/proj/utun3/tests/test_packet_dump.c:14) test_packet_dump() TEST_SEND: len=6 hex=021122334455
[22:27:05-939.074] [INFO] [8] (/home/vnc1/proj/utun3/tests/test_packet_dump.c:15) test_packet_dump() TEST_COMPACT: link=NULL type=0x02 ts=0 len=6
PASS test_packet_dump (exit status: 0)

4
build.old7/tests/test_packet_dump.trs

@ -0,0 +1,4 @@
:test-result: PASS
:global-test-result: PASS
:recheck: no
:copy-in-global-log: no

BIN
build.old7/tests/test_pkt_normalizer_etcp

Binary file not shown.

12
build.old7/tests/test_pkt_normalizer_etcp.log

@ -0,0 +1,12 @@
=== PKT Normalizer + ETCP Test ===
Testing with 100 packets of random sizes (10-2000 bytes)
Total data to transfer: 103626 bytes (1.01 KB average per packet)
Creating server...
[CONFIG DEBUG] Opening config file: test_pkt_normalizer_etcp_server.conf
[CONFIG ERROR] Failed to open config file: test_pkt_normalizer_etcp_server.conf (errno=2)
[CONFIG ERROR] Failed to parse config: test_pkt_normalizer_etcp_server.conf
[22:27:05-892.396] [ERROR] [128] (/home/vnc1/proj/utun3/src/utun_instance.c:53) utun_instance_create() Failed to ensure keys and node_id in config: test_pkt_normalizer_etcp_server.conf
Failed to create server
FAIL test_pkt_normalizer_etcp (exit status: 1)

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save