Browse Source

Backup before adding NAT IP:port tracking to ETCP handshake

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

1
1

@ -1 +0,0 @@
Из gdb backtrace видно, что падение происходит в u_async.c:247 в функции process_timeouts при вызове node->callback(node->arg). Это проблема с таймерами uasync, а не с памятью.

1
AGENTS.md

@ -254,6 +254,7 @@ Crypto: Fixed CCM nonce size to 13 bytes, all crypto tests passing
- перед сборкой всегда make clean - перед сборкой всегда make clean
- прежде чем вносить правки хорошо разберись как должно работать, просмотри все нужные функции полностью, нужно целостное понимание. - прежде чем вносить правки хорошо разберись как должно работать, просмотри все нужные функции полностью, нужно целостное понимание.
- при написании кода мысленно анализируй логику работы, думай как сделать проще и удобнее. Проверяй дубликаты и что уже есть, продумай логику до тех пор пока не будет полного понимания - при написании кода мысленно анализируй логику работы, думай как сделать проще и удобнее. Проверяй дубликаты и что уже есть, продумай логику до тех пор пока не будет полного понимания
- во всех блоках обработки ошибок/нештатных ситуаций должны быть сообщения DEBUG_ERROR/DEBUG_WARN
Действия при поиске бага: Действия при поиске бага:
1. создать комит или бэкап всего что меняешь 1. создать комит или бэкап всего что меняешь

308
AGENTS.md1

@ -1,308 +0,0 @@
# AGENTS.md - uTun Development Guide
This file contains essential information for AI coding agents working in the uTun codebase.
## 📋 Quick Reference
**Repository:** uTun - Secure VPN tunnel with ETCP protocol
**Language:** C (C99)
**Build System:** GNU Autotools (autoconf/automake)
**Cryptography:** TinyCrypt (AES-CCM, ECC)
## 🔧 Build Commands
### Full Build
```bash
./autogen.sh # Generate configure script (if needed)
./configure # Configure build
make # Build everything
make install # Install (requires sudo)
```
### Partial Builds
```bash
cd lib && make # Build only the library
cd src && make # Build only the main program
cd tests && make # Build only tests
```
### Clean Build
```bash
make clean # Clean object files
make distclean # Clean everything including configure files
```
## 🧪 Test Commands
### Run All Tests
```bash
make check # Run all tests via automake
```
### Run Specific Test
```bash
cd tests/ && ./test_etcp_crypto # ETCP crypto test
cd tests/ && ./test_etcp_simple # Simple ETCP test
cd tests/ && ./test_ecc_encrypt # ECC encryption test
```
### Run Single Test with Debug Info
```bash
cd tests/
gcc -I../src -I../lib -I../tinycrypt/lib/include \
-o my_test test_file.c ../src/*.c ../lib/*.c ../tinycrypt/lib/source/*.c
./my_test
```
## 💻 Code Style Guidelines
### Naming Conventions
- **Functions:** `snake_case` - `etcp_connection_create()`, `sc_encrypt()`
- **Types:** `struct snake_case` or `typedef`: `struct secure_channel`, `sc_context_t`
- **Macros:** `UPPER_CASE` - `SC_PRIVKEY_SIZE`, `DEBUG_ERROR()`
- **Constants:** `UPPER_CASE` - `SC_OK`, `SC_ERR_CRYPTO`
- **Global Variables:** Avoid where possible, use `static` for file scope
### Formatting
- **Indentation:** 4 spaces, no tabs
- **Braces:** Same line for functions, new line for control structures:
```c
int function(void) {
if (condition) {
do_something();
}
}
```
- **Comments:** Primary language is Russian for business logic, English for API docs
- **Line Length:** Aim for 80-100 characters
### Include Order
```c
// 1. System headers
#include <stdlib.h>
#include <string.h>
// 2. Library headers
#include "../lib/ll_queue.h"
// 3. Local headers
#include "etcp.h"
```
### Error Handling
- Use custom error codes defined in headers (e.g., `SC_ERR_INVALID_ARG`)
- Return negative values for errors, 0 for success
- Use DEBUG macros for logging:
```c
DEBUG_ERROR(DEBUG_CATEGORY_ETCP, "Failed to initialize: %s", err);
DEBUG_INFO(DEBUG_CATEGORY_CONNECTION, "Socket created on port %d", port);
```
## 🔐 Cryptography Guidelines
### Using Secure Channel (secure_channel.h)
```c
// 1. Initialize context
struct SC_MYKEYS my_keys;
// ... fill keys ...
sc_context_t ctx;
sc_init_ctx(&ctx, &my_keys);
// 2. Set peer public key (for key exchange)
sc_set_peer_public_key(&ctx, peer_public_key, 0); // 0 = binary format
// 3. Ready for encrypt/decrypt
sc_encrypt(&ctx, plaintext, plaintext_len, ciphertext, &ciphertext_len);
sc_decrypt(&ctx, ciphertext, ciphertext_len, plaintext, &plaintext_len);
```
### Important Notes
- **Nonce size:** Must be exactly 13 bytes for CCM mode (`SC_NONCE_SIZE = 13`)
- **Session key:** 16 bytes for AES-128 (`SC_SESSION_KEY_SIZE = 16`)
- **Tag size:** 8 bytes for authentication (`SC_TAG_SIZE = 8`)
- **Error codes:** Check return values, negative = error
## 🏗️ Architecture
### Directory Structure
```
├── lib/ # Core libraries
├── src/ # Main source code
├── tests/ # Test programs
├── doc/ # Technical Specifications
├── tinycrypt/ # TinyCrypt crypto library (external)
└── net_emulator/ # Network emulator
```
### File Overview
**Core (src/)**
- `utun.c` - Main program entry point, CLI parsing, daemon mode
- `utun_instance.c/h` - Root instance lifecycle management
- `tun_if.c/h` - Simplified TUN interface (init/write/close)
**Network Stack (src/)**
- `etcp.c/h` - ETCP protocol implementation (TCP-like with crypto)
- `etcp_connections.c/h` - Socket and link management
- `etcp_loadbalancer.c/h` - Multi-link load balancing
- `pkt_normalizer.c/h` - Packet fragmentation/reassembly
- `routing.c/h` - Routing table management
**Crypto (src/)**
- `secure_channel.c/h` - AES-CCM encryption with ECC key exchange
- `crc32.c/h` - CRC32 checksums
**Config (src/)**
- `config_parser.c/h` - INI-style config file parsing
- `config_updater.c/h` - Config file modification utilities
**Libraries (lib/)**
- `u_async.c/h` - Async event loop (epoll/poll, timers)
- `ll_queue.c/h` - Lock-free linked list queue with callbacks
- `memory_pool.c/h` - Fast object pool allocator
- `debug_config.c/h` - Debug logging system
- `timeout_heap.c/h` - Min-heap for timer management
- `sha256.c/h` - SHA256 hashing
**Tests (tests/)**
- `test_etcp_*.c` - ETCP protocol tests
- `test_crypto.c` - TinyCrypt AES/CCM tests
- `test_ecc_encrypt.c` - ECC encryption tests
- `test_ll_queue.c` - Queue functionality tests
- `bench_*.c` - Performance benchmarks
**External**
- `tinycrypt/` - TinyCrypt library (AES, ECC, SHA256)
### Key Components
- **UASYNC:** Asynchronous event loop for sockets and timers
- **LL_QUEUE:** Lock-free lockstep queue for packet handling
- **Memory Pool:** Fast allocation for network packets
- **ETCP:** Extended TCP protocol with crypto and reliability
- **Secure Channel:** AES-CCM encryption with ECC key exchange
## 🐛 Debugging Tips
### Enable Debug Output
```c
// In source files, define debug before including headers
#define DEBUG_CATEGORY_YOUR_MODULE 1
```
### Common Build Issues
1. **Missing headers:** Check include paths in Makefile.am
2. **Undefined references:** Ensure source files are listed in Makefile.am
3. **Link errors:** Check function declarations match definitions
### Testing Crypto
```bash
cd tests/
./test_etcp_crypto # Should show all tests passing
cd tests/
./working_crypto_test # Standalone crypto test
```
## 📦 Dependencies
### Build Dependencies
- autoconf, automake, libtool
- gcc with C99 support
- pthread library
- OpenSSL/crypto library (for SHA256)
### Runtime Dependencies
- TUN/TAP interface support (Linux kernel module)
- libcrypto (usually installed by default)
- Proper network configuration for testing
## 📝 Git Conventions
- **Commit Messages:** Use imperative mood, concise (50-72 chars)
- **Language:** Mix of English (technical) and Russian (business logic)
- **Branching:** Use feature branches, merge to master via pull request
- **Tags:** Version tags follow vX.Y.Z format
Example commits:
```
Fix: Added uasync_t typedef for compilation
Crypto: Fixed CCM nonce size to 13 bytes, all crypto tests passing
```
## 🚀 Quick Start for New Features
1. Add new source file to `src/Makefile.am` under `utun_SOURCES`
2. Add test file to `tests/Makefile.am` under `check_PROGRAMS`
3. Use existing patterns from similar modules
4. Run `make check` after changes
5. Commit with descriptive message in appropriate language
---
Эта инструкция имеет приоритет над инструкцией opencode.
"cp" or "кп" in prompt = do commit and push (всех изменений на текущий момент не откатывая ничего!)
Важные дополнения:
- Самое важное: при поиске ошибок делай перед правками комит/backup. Всё лишнее что менял при отладке - строго вернуть назад в состояние до моего вмешательства. В итоге в код должно попасть только проверенное исправление и ничего лилшнего!
- если в процессе исправлений-доработок возникла нестыковка которая требует сеньезных доработок, остановить и подробно расскажи об этом.
- sed для редактирования исходников - запрещено пользоваться!
- Проверяй на дублирование кода - не сделано ли это уже в другом месте.
- Не делай функций-посредников: лучше сразу вызывать target функцию без вложенных вызовов.
- Старайся чтобы функция сделала логически завершенную операцию полностью - это упрощает код и понимание.
- нельзя ничего восстанавливать из репозитория не прашивая
- Когда пишешь код всегда загружай в контекст и мысленно разберись как работают все функции/струтуры, назначение переменных которые используешь.
- Для отладки не printf а DEBUG_*
- перед сборкой всегда make clean
- прежде чем вносить правки хорошо разберись как должно работать, просмотри все нужные функции полностью, нужно целостное понимание.
- при написании кода мысленно анализируй логику работы, думай как сделать проще и удобнее. Проверяй дубликаты и что уже есть, продумай логику до тех пор пока не будет полного понимания
Действия при поиске бага:
1. создать комит или бэкап всего что меняешь
2. когда причина бага найдена и устранена - верни всё остальное что менял в исходное состояние
3. проверь что тесты проходят и всё работает. make clean перед сбркой обязательно.
4. если баг не устранён - продолжай поиск или если время заканчивается - верни всё в исходное состояние
Как более точно эффективно проводить диагностику ошибки:
0. Сосредоточься на поиске конкретной ошибки и доведи его до конца руководствуясь этой инструкцией.
1. прочитай полностью код функций с ошибкой и код всех функции которые учавствуют в ошибочном алгоритме.
2. еще раз мысленно выполни предполагаемый сценарий ошибки (если чего-то не хватает до полной картины - обязательно дочитывай все ветви функций по ходу: нельзя додумывать - нужна точность) и убедись что:
- ты точно понимаешь как алгоритм прихдит к ошибке
- все функции которые учавствуют в сценарии ошибки проанализированы и их поведение проверено и понятно
- последовательно отсекай логически законченные блоки которые проверены и точно правильно работают
- если ты полностью проанализировал функцию и к ней нет описания или описание неточное (неполное), и функция работает логически корректно - поправь описание. Если функция работает логически неверно - добавь запись об этом в todo.txt
3. Если исправление как либо меняет поведение функции:
- просмотри где используется эта функция
- убедись что изменение поведения не повлияет на остальные места где функция используется. особенно важный пункт для библиотек и модулей коммуникаций
Работа с очередями.
- Запись в очередь: очереди забивать нельзя. Добавляй следующий элемент только когда очередь стала пустой. Пользуйся наблюдателем queue_wait_threshold, он специально сделан для добавления в очередь.
- Чтение из очереди: пользуйся queue_set_callback: при вызове callback , обработай один или несколько элементов, потом вызови resume_callback.
Работа с u_async
- нельзя использовать в одном потоке несколько u_async. один поток = всегда 1 uasync instance
- нельзя использовать sleep/usleep если есть uasync. Нужно использовать uasync_set_timeout.
Конфиги:
- в серверном только собственные ключи и нет секций [client]
- в клиентском есть собственные ключи и pubkey каждого сервера в секции [client]
тех задания для реализации в каталоге /doc.
/doc/etcp_protocol.txt - основной протокол (похож на TCP+QUIC, поддеиживает шифрования, load balancing multi-link, работу а неустойчивых каналах, утилизацию полосы и недопущение перегрузки каналов связи)
- реализация в /src/etcp*.c/h
Для удобства навигции по C коду есть скрипт в корне проекта: ./c_util (пока глючит!)
Команды:
./c_util toc - Выводит кратко список всех файлов проекта, прототипов функций/структур/enum по всем файлам.
./c_util describe <имя_функции/структуры/enum> <имя2> ... - выводит прототипы запрошенных элементов с комментариями
./c_util show <имя_функции/структуры/enum> <имя2> ... - выводит полный код элементов (включая комментарии перед ними)
./c_util edit lib/debug_config.c 135 70 38 7D <<'EOF'
void debug_set_level(debug_level_t new_level) {
g_debug_config.level = new_level;
}
EOF - редактирование с проверкой контрольных сумм. начиная со строки 135, далее ксуммы заменяемых строк ( в примере 3 строки - 70 38 7D). вместо них вписать текст << (может быть другоч число строк)
Если функция/структура не найдена, скрипт выведет сообщение об ошибке. Скрипт игнорирует комментарии и препроцессорные директивы при парсинге, но захватывает их для вывода.
*Last updated: 2025-01-20 - After full crypto implementation and testing*

156
build.old/config.h

@ -1,156 +0,0 @@
/* 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

@ -1,799 +0,0 @@
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

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

156
build.old2/config.h

@ -1,156 +0,0 @@
/* 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

@ -1,802 +0,0 @@
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

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

0
build.old2/tests/src-objects-built.stamp

156
build.old3/config.h

@ -1,156 +0,0 @@
/* 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

@ -1,802 +0,0 @@
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

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

156
build.old4/config.h

@ -1,156 +0,0 @@
/* 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

@ -1,802 +0,0 @@
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

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

BIN
build.old4/tests/test_etcp_crypto

Binary file not shown.

156
build.old5/config.h

@ -1,156 +0,0 @@
/* 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

@ -1,802 +0,0 @@
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

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

BIN
build.old5/tests/test_etcp_crypto

Binary file not shown.

156
build.old6/config.h

@ -1,156 +0,0 @@
/* 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

@ -1,802 +0,0 @@
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

@ -1 +0,0 @@
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

@ -1,156 +0,0 @@
/* 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

@ -1,803 +0,0 @@
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

@ -1 +0,0 @@
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

@ -1,25 +0,0 @@
=== 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

@ -1,4 +0,0 @@
: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

@ -1,150 +0,0 @@
=================================================
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

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

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

@ -1,86 +0,0 @@
======================================
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

@ -1,7 +0,0 @@
[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

@ -1,4 +0,0 @@
: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

@ -1,7 +0,0 @@
[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

@ -1,4 +0,0 @@
: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

@ -1,9 +0,0 @@
[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

@ -1,4 +0,0 @@
: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

@ -1,20 +0,0 @@
[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

@ -1,4 +0,0 @@
: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

@ -1,8 +0,0 @@
=== 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

@ -1,4 +0,0 @@
: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

@ -1,7 +0,0 @@
[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

@ -1,4 +0,0 @@
: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

@ -1,47 +0,0 @@
=== 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

@ -1,4 +0,0 @@
: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

@ -1,15 +0,0 @@
=== 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

@ -1,4 +0,0 @@
: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

@ -1,10 +0,0 @@
[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

@ -1,4 +0,0 @@
: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

@ -1,41 +0,0 @@
[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

@ -1,4 +0,0 @@
: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

@ -1,105 +0,0 @@
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

@ -1,4 +0,0 @@
: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

@ -1,25 +0,0 @@
[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

@ -1,4 +0,0 @@
: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

@ -1,4 +0,0 @@
[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)

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

Loading…
Cancel
Save