You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

130 lines
8.4 KiB

make all-recursive
make[1]: Entering directory '/c/ARM/_uTun/utun2'
Making all in lib
make[2]: Entering directory '/c/ARM/_uTun/utun2/lib'
gcc -DHAVE_CONFIG_H -I. -I.. -D_ISOC99_SOURCE -DDEBUG_OUTPUT_STDERR -I../src -I../lib -g -O2 -MT libuasync_a-u_async.o -MD -MP -MF .deps/libuasync_a-u_async.Tpo -c -o libuasync_a-u_async.o `test -f 'u_async.c' || echo './'`u_async.c
gcc -DHAVE_CONFIG_H -I. -I.. -D_ISOC99_SOURCE -DDEBUG_OUTPUT_STDERR -I../src -I../lib -g -O2 -MT libuasync_a-ll_queue.o -MD -MP -MF .deps/libuasync_a-ll_queue.Tpo -c -o libuasync_a-ll_queue.o `test -f 'll_queue.c' || echo './'`ll_queue.c
gcc -DHAVE_CONFIG_H -I. -I.. -D_ISOC99_SOURCE -DDEBUG_OUTPUT_STDERR -I../src -I../lib -g -O2 -MT libuasync_a-debug_config.o -MD -MP -MF .deps/libuasync_a-debug_config.Tpo -c -o libuasync_a-debug_config.o `test -f 'debug_config.c' || echo './'`debug_config.c
In file included from ll_queue.c:6:
ll_queue.h:69:42: warning: 'struct ll_queue' declared inside parameter list will not be visible outside of this definition or declaration
69 | typedef void (*queue_callback_fn)(struct ll_queue* q, void* arg);
| ^~~~~~~~
ll_queue.h:77:52: warning: 'struct ll_queue' declared inside parameter list will not be visible outside of this definition or declaration
77 | typedef void (*queue_threshold_callback_fn)(struct ll_queue* q, void* arg);
| ^~~~~~~~
ll_queue.c: In function 'queue_resume_timeout_cb':
ll_queue.c:98:21: warning: passing argument 1 of 'q->callback' from incompatible pointer type [-Wincompatible-pointer-types]
98 | q->callback(q, q->callback_arg);
| ^
| |
| struct ll_queue *
ll_queue.c:98:21: note: expected 'struct ll_queue *' but argument is of type 'struct ll_queue *'
ll_queue.c: In function 'check_waiters':
ll_queue.c:219:30: warning: passing argument 1 of 'waiter->callback' from incompatible pointer type [-Wincompatible-pointer-types]
219 | waiter->callback(q, waiter->callback_arg);
| ^
| |
| struct ll_queue *
ll_queue.c:219:30: note: expected 'struct ll_queue *' but argument is of type 'struct ll_queue *'
ll_queue.c: In function 'queue_data_put':
ll_queue.c:259:21: warning: passing argument 1 of 'q->callback' from incompatible pointer type [-Wincompatible-pointer-types]
259 | q->callback(q, q->callback_arg);
| ^
| |
| struct ll_queue *
ll_queue.c:259:21: note: expected 'struct ll_queue *' but argument is of type 'struct ll_queue *'
ll_queue.c: In function 'queue_data_put_first':
ll_queue.c:299:21: warning: passing argument 1 of 'q->callback' from incompatible pointer type [-Wincompatible-pointer-types]
299 | q->callback(q, q->callback_arg);
| ^
| |
| struct ll_queue *
ll_queue.c:299:21: note: expected 'struct ll_queue *' but argument is of type 'struct ll_queue *'
ll_queue.c: In function 'queue_wait_threshold':
ll_queue.c:351:18: warning: passing argument 1 of 'callback' from incompatible pointer type [-Wincompatible-pointer-types]
351 | callback(q, arg);
| ^
| |
| struct ll_queue *
ll_queue.c:351:18: note: expected 'struct ll_queue *' but argument is of type 'struct ll_queue *'
u_async.c: In function 'uasync_poll':
u_async.c:780:15: warning: implicit declaration of function 'poll' [-Wimplicit-function-declaration]
780 | int ret = poll(ua->poll_fds, ua->poll_fds_count, timeout_ms);
| ^~~~
mv -f .deps/libuasync_a-ll_queue.Tpo .deps/libuasync_a-ll_queue.Po
mv -f .deps/libuasync_a-debug_config.Tpo .deps/libuasync_a-debug_config.Po
mv -f .deps/libuasync_a-u_async.Tpo .deps/libuasync_a-u_async.Po
rm -f libuasync.a
ar cru libuasync.a libuasync_a-u_async.o libuasync_a-ll_queue.o libuasync_a-debug_config.o libuasync_a-timeout_heap.o libuasync_a-memory_pool.o libuasync_a-sha256.o libuasync_a-socket_compat.o
C:\msys64\ucrt64\bin\ar.exe: `u' modifier ignored since `D' is the default (see `U')
ranlib libuasync.a
make[2]: Leaving directory '/c/ARM/_uTun/utun2/lib'
Making all in src
make[2]: Entering directory '/c/ARM/_uTun/utun2/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../tinycrypt/lib/include -I../tinycrypt/lib/source -g -O2 -MT utun-utun.o -MD -MP -MF .deps/utun-utun.Tpo -c -o utun-utun.o `test -f 'utun.c' || echo './'`utun.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../tinycrypt/lib/include -I../tinycrypt/lib/source -g -O2 -MT utun-utun_instance.o -MD -MP -MF .deps/utun-utun_instance.Tpo -c -o utun-utun_instance.o `test -f 'utun_instance.c' || echo './'`utun_instance.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../tinycrypt/lib/include -I../tinycrypt/lib/source -g -O2 -MT utun-config_parser.o -MD -MP -MF .deps/utun-config_parser.Tpo -c -o utun-config_parser.o `test -f 'config_parser.c' || echo './'`config_parser.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../tinycrypt/lib/include -I../tinycrypt/lib/source -g -O2 -MT utun-config_updater.o -MD -MP -MF .deps/utun-config_updater.Tpo -c -o utun-config_updater.o `test -f 'config_updater.c' || echo './'`config_updater.c
In file included from etcp_api.h:19,
from utun_instance.h:9,
from utun_instance.c:2:
../lib/ll_queue.h:69:42: warning: 'struct ll_queue' declared inside parameter list will not be visible outside of this definition or declaration
69 | typedef void (*queue_callback_fn)(struct ll_queue* q, void* arg);
| ^~~~~~~~
../lib/ll_queue.h:77:52: warning: 'struct ll_queue' declared inside parameter list will not be visible outside of this definition or declaration
77 | typedef void (*queue_threshold_callback_fn)(struct ll_queue* q, void* arg);
| ^~~~~~~~
In file included from config_updater.c:4:
config_parser.h:18:5: error: unknown type name 'sa_family_t'
18 | sa_family_t family;
| ^~~~~~~~~~~
In file included from utun_instance.c:3:
config_parser.h:18:5: error: unknown type name 'sa_family_t'
18 | sa_family_t family;
| ^~~~~~~~~~~
utun_instance.c:18:10: fatal error: arpa/inet.h: No such file or directory
18 | #include <arpa/inet.h>
| ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:623: utun-utun_instance.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from utun.c:4:
config_parser.h:18:5: error: unknown type name 'sa_family_t'
18 | sa_family_t family;
| ^~~~~~~~~~~
make[2]: *** [Makefile:651: utun-config_updater.o] Error 1
In file included from etcp_api.h:19,
from utun_instance.h:9,
from etcp_connections.h:7,
from utun.c:5:
../lib/ll_queue.h:69:42: warning: 'struct ll_queue' declared inside parameter list will not be visible outside of this definition or declaration
69 | typedef void (*queue_callback_fn)(struct ll_queue* q, void* arg);
| ^~~~~~~~
../lib/ll_queue.h:77:52: warning: 'struct ll_queue' declared inside parameter list will not be visible outside of this definition or declaration
77 | typedef void (*queue_threshold_callback_fn)(struct ll_queue* q, void* arg);
| ^~~~~~~~
In file included from config_parser.c:3:
config_parser.h:18:5: error: unknown type name 'sa_family_t'
18 | sa_family_t family;
| ^~~~~~~~~~~
utun.c:22:10: fatal error: arpa/inet.h: No such file or directory
22 | #include <arpa/inet.h>
| ^~~~~~~~~~~~~
compilation terminated.
config_parser.c:10:10: fatal error: arpa/inet.h: No such file or directory
10 | #include <arpa/inet.h>
| ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:609: utun-utun.o] Error 1
make[2]: *** [Makefile:637: utun-config_parser.o] Error 1
make[2]: Leaving directory '/c/ARM/_uTun/utun2/src'
make[1]: *** [Makefile:379: all-recursive] Error 1
make[1]: Leaving directory '/c/ARM/_uTun/utun2'
make: *** [Makefile:320: all] Error 2
make[1]: Leaving directory '/c/ARM/_uTun/utun2'
make: *** [Makefile:320: all] Error 2
Build completed successfully!
Binary: src/utun.exe
Make sure wintun.dll is in the same directory as utun.exe