You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your interest in n2n v3. I just committed the changes for tuntap on OS X. Please check out the latest changes and let me know if you have other issues.
I noticed a bit of activity for the project lately, version 3 looks interesting...
I can compile version 2 successfully but having error compiling v3 under MacOSX
Seems there is no change in "tuntap_osx.c" since v2 ...but something is causing this error.
Let me know if you see anything obvious I missed.
Thank you.
MacBook-Pro:n2n_v3-master root$ make clean
uname: illegal option -- o
usage: uname [-amnprsv]
rm -rf n2n.o n2n_net.o n2n_keyfile.o n2n_list.o n2n_log.o n2n_utils.o n2n_wire.o minilzo.o twofish.o transform_null.o transform_tf.o transform_aes.o tuntap_freebsd.o tuntap_netbsd.o tuntap_osx.o version.o n2n.a edge supernode edge.8.gz supernode.1.gz n2n_v3.0.gz test .dSYM *~
MacBook-Pro:n2n_v3-master root$ make
uname: illegal option -- o
usage: uname [-amnprsv]
gcc -g3 -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs "-DN2N_HAVE_AES" -c n2n.c -o n2n.o
gcc -g3 -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs "-DN2N_HAVE_AES" -c n2n_net.c -o n2n_net.o
n2n_net.c: In function ‘sendto_sock’:
n2n_net.c:285: warning: unused variable ‘sockbuf’
n2n_net.c: In function ‘scan_address’:
n2n_net.c:528: warning: unused variable ‘retval’
n2n_net.c: At top level:
n2n_net.c:252: warning: ‘fill_sockaddr’ defined but not used
gcc -g3 -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs "-DN2N_HAVE_AES" -c n2n_keyfile.c -o n2n_keyfile.o
gcc -g3 -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs "-DN2N_HAVE_AES" -c n2n_list.c -o n2n_list.o
n2n_list.c: In function ‘read_list_from_file’:
n2n_list.c:187: warning: label ‘out_err’ defined but not used
n2n_list.c: In function ‘write_list_to_file’:
n2n_list.c:212: warning: label ‘out_err’ defined but not used
gcc -g3 -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs "-DN2N_HAVE_AES" -c n2n_log.c -o n2n_log.o
gcc -g3 -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs "-DN2N_HAVE_AES" -c n2n_utils.c -o n2n_utils.o
gcc -g3 -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs "-DN2N_HAVE_AES" -c n2n_wire.c -o n2n_wire.o
gcc -g3 -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs "-DN2N_HAVE_AES" -c minilzo.c -o minilzo.o
gcc -g3 -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs "-DN2N_HAVE_AES" -c twofish.c -o twofish.o
gcc -g3 -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs "-DN2N_HAVE_AES" -c transform_null.c -o transform_null.o
gcc -g3 -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs "-DN2N_HAVE_AES" -c transform_tf.c -o transform_tf.o
gcc -g3 -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs "-DN2N_HAVE_AES" -c transform_aes.c -o transform_aes.o
transform_aes.c: In function ‘transop_encode_aes’:
transform_aes.c:174: warning: ‘AES_cbc_encrypt’ is deprecated (declared at /usr/include/openssl/aes.h:106)
transform_aes.c: In function ‘transop_decode_aes’:
transform_aes.c:268: warning: ‘AES_cbc_encrypt’ is deprecated (declared at /usr/include/openssl/aes.h:106)
transform_aes.c: In function ‘transop_addspec_aes’:
transform_aes.c:378: warning: ‘AES_set_encrypt_key’ is deprecated (declared at /usr/include/openssl/aes.h:93)
transform_aes.c:379: warning: ‘AES_set_decrypt_key’ is deprecated (declared at /usr/include/openssl/aes.h:95)
gcc -g3 -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs "-DN2N_HAVE_AES" -c tuntap_freebsd.c -o tuntap_freebsd.o
gcc -g3 -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs "-DN2N_HAVE_AES" -c tuntap_netbsd.c -o tuntap_netbsd.o
gcc -g3 -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs "-DN2N_HAVE_AES" -c tuntap_osx.c -o tuntap_osx.o
tuntap_osx.c:22: error: expected ‘)’ before ‘’ token
tuntap_osx.c:27: error: expected ‘)’ before ‘’ token
tuntap_osx.c:120: warning: ‘struct tuntap_dev’ declared inside parameter list
tuntap_osx.c:120: warning: its scope is only this definition or declaration, which is probably not what you want
tuntap_osx.c:121: warning: no previous declaration for ‘tuntap_read’
tuntap_osx.c: In function ‘tuntap_read’:
tuntap_osx.c:122: error: dereferencing pointer to incomplete type
tuntap_osx.c: At top level:
tuntap_osx.c:127: warning: ‘struct tuntap_dev’ declared inside parameter list
tuntap_osx.c:128: warning: no previous declaration for ‘tuntap_write’
tuntap_osx.c: In function ‘tuntap_write’:
tuntap_osx.c:129: error: dereferencing pointer to incomplete type
tuntap_osx.c: At top level:
tuntap_osx.c:134: warning: ‘struct tuntap_dev’ declared inside parameter list
tuntap_osx.c:135: warning: no previous declaration for ‘tuntap_close’
tuntap_osx.c: In function ‘tuntap_close’:
tuntap_osx.c:136: error: dereferencing pointer to incomplete type
tuntap_osx.c: At top level:
tuntap_osx.c:141: warning: ‘struct tuntap_dev’ declared inside parameter list
tuntap_osx.c:142: warning: no previous declaration for ‘tuntap_get_address’
make: ** [tuntap_osx.o] Error 1
MacBook-Pro:n2n_v3-master root$
The text was updated successfully, but these errors were encountered: