I am trying to compile twister-core on windows 8(64 bit) using Cygwin . I have copy the code from Github :
.
I have run the "./bootstrap.sh" successfully without any error.
There are some errors occur when I run the "make" command.
Amit@Blank /cygdrive/e/Project/twister-core
$ make
CXX libtorrent/src/web_connection_base.o
In file included from /usr/include/w32api/winsock2.h:56:0,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/w32api/psdk_inc/_fd_types.h:100:2: warning: #warning "fd_set and associated macros have been defined in sys/types. This can cause runtime problems with W32 sockets" [-Wcpp]
#warning "fd_set and associated macros have been defined in sys/types. \
^
In file included from ./libtorrent/include/../../src/serialize.h:22:0,
from ./libtorrent/include/../../src/leveldb.h:7,
from ./libtorrent/include/libtorrent/storage.hpp:36,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:63,
from libtorrent/src/web_connection_base.cpp:40:
./libtorrent/include/../../src/allocators.h:19:0: warning: "WIN32_LEAN_AND_MEAN" redefined
#define WIN32_LEAN_AND_MEAN 1
^
In file included from /usr/include/boost/asio/ip/tcp.hpp:18:0,
from ./libtorrent/include/libtorrent/socket.hpp:61,
from ./libtorrent/include/libtorrent/policy.hpp:42,
from ./libtorrent/include/libtorrent/peer_connection.hpp:71,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/boost/asio/detail/config.hpp:587:0: note: this is the location of the previous definition
# define WIN32_LEAN_AND_MEAN
^
In file included from /usr/include/openssl/crypto.h:129:0,
from ./libtorrent/include/../../src/allocators.h:12,
from ./libtorrent/include/../../src/serialize.h:22,
from ./libtorrent/include/../../src/leveldb.h:7,
from ./libtorrent/include/libtorrent/storage.hpp:36,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:63,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/x509.h:192:1: error: pasting "stack_st_" and "(" does not give a valid preprocessing token
DECLARE_STACK_OF(X509_NAME)
^
/usr/include/openssl/pkcs7.h:103:1: error: pasting "stack_st_" and "(" does not give a valid preprocessing token
DECLARE_STACK_OF(PKCS7_SIGNER_INFO)
^
In file included from /usr/include/openssl/objects.h:965:0,
from /usr/include/openssl/evp.h:94,
from /usr/include/openssl/x509.h:73,
from /usr/include/openssl/ssl.h:156,
from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from ./libtorrent/include/libtorrent/tracker_manager.hpp:68,
from ./libtorrent/include/libtorrent/torrent.hpp:63,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:67,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/pkcs7.h:273:24: error: pasting ")" and "_new" does not give a valid preprocessing token
DECLARE_ASN1_FUNCTIONS(PKCS7_SIGNER_INFO)
^
/usr/include/openssl/pkcs7.h:273:24: error: pasting ")" and "_free" does not give a valid preprocessing token
DECLARE_ASN1_FUNCTIONS(PKCS7_SIGNER_INFO)
^
/usr/include/openssl/pkcs7.h:273:1: error: pasting "d2i_" and "(" does not give a valid preprocessing token
DECLARE_ASN1_FUNCTIONS(PKCS7_SIGNER_INFO)
^
/usr/include/openssl/pkcs7.h:273:1: error: pasting "i2d_" and "(" does not give a valid preprocessing token
DECLARE_ASN1_FUNCTIONS(PKCS7_SIGNER_INFO)
^
/usr/include/openssl/pkcs7.h:273:24: error: pasting ")" and "_it" does not give a valid preprocessing token
DECLARE_ASN1_FUNCTIONS(PKCS7_SIGNER_INFO)
^
/usr/include/openssl/x509.h:813:48: error: pasting ")" and "_it" does not give a valid preprocessing token
DECLARE_ASN1_ENCODE_FUNCTIONS(X509_EXTENSIONS, X509_EXTENSIONS, X509_EXTENSIONS)
^
/usr/include/openssl/x509.h:817:24: error: pasting ")" and "_new" does not give a valid preprocessing token
DECLARE_ASN1_FUNCTIONS(X509_NAME)
^
/usr/include/openssl/x509.h:817:24: error: pasting ")" and "_free" does not give a valid preprocessing token
DECLARE_ASN1_FUNCTIONS(X509_NAME)
^
/usr/include/openssl/x509.h:817:1: error: pasting "d2i_" and "(" does not give a valid preprocessing token
DECLARE_ASN1_FUNCTIONS(X509_NAME)
^
/usr/include/openssl/x509.h:817:1: error: pasting "i2d_" and "(" does not give a valid preprocessing token
DECLARE_ASN1_FUNCTIONS(X509_NAME)
^
/usr/include/openssl/x509.h:817:24: error: pasting ")" and "_it" does not give a valid preprocessing token
DECLARE_ASN1_FUNCTIONS(X509_NAME)
^
/usr/include/openssl/x509.h:826:24: error: pasting ")" and "_new" does not give a valid preprocessing token
DECLARE_ASN1_FUNCTIONS(X509_CERT_PAIR)
^
/usr/include/openssl/x509.h:826:24: error: pasting ")" and "_free" does not give a valid preprocessing token
DECLARE_ASN1_FUNCTIONS(X509_CERT_PAIR)
^
/usr/include/openssl/x509.h:826:1: error: pasting "d2i_" and "(" does not give a valid preprocessing token
DECLARE_ASN1_FUNCTIONS(X509_CERT_PAIR)
^
/usr/include/openssl/x509.h:826:1: error: pasting "i2d_" and "(" does not give a valid preprocessing token
DECLARE_ASN1_FUNCTIONS(X509_CERT_PAIR)
^
/usr/include/openssl/x509.h:826:24: error: pasting ")" and "_it" does not give a valid preprocessing token
DECLARE_ASN1_FUNCTIONS(X509_CERT_PAIR)
^
In file included from /usr/include/openssl/ssl.h:162:0,
from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from ./libtorrent/include/libtorrent/tracker_manager.hpp:68,
from ./libtorrent/include/libtorrent/torrent.hpp:63,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:67,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/pem.h:453:1: error: pasting "PEM_read_bio_" and "(" does not give a valid preprocessing token
DECLARE_PEM_rw(X509_CERT_PAIR, X509_CERT_PAIR)
^
/usr/include/openssl/pem.h:453:1: error: pasting "PEM_read_" and "(" does not give a valid preprocessing token
DECLARE_PEM_rw(X509_CERT_PAIR, X509_CERT_PAIR)
^
/usr/include/openssl/pem.h:453:1: error: pasting "PEM_write_bio_" and "(" does not give a valid preprocessing token
DECLARE_PEM_rw(X509_CERT_PAIR, X509_CERT_PAIR)
^
/usr/include/openssl/pem.h:453:1: error: pasting "PEM_write_" and "(" does not give a valid preprocessing token
DECLARE_PEM_rw(X509_CERT_PAIR, X509_CERT_PAIR)
^
In file included from ./libtorrent/include/libtorrent/error_code.hpp:41:0,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/w32api/winsock2.h:995:123: error: conflicting declaration of C function ‘int select(int, _types_fd_set*, _types_fd_set*, _types_fd_set*, PTIMEVAL)’
WINSOCK_API_LINKAGE int WSAAPI select(int nfds,fd_set *readfds,fd_set *writefds,fd_set *exceptfds,const PTIMEVAL timeout);
^
In file included from /usr/include/sys/time.h:49:0,
from /usr/include/boost/date_time/c_time.hpp:31,
from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/lock_types.hpp:18,
from /usr/include/boost/thread/pthread/mutex.hpp:16,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/pool/detail/mutex.hpp:14,
from /usr/include/boost/pool/poolfwd.hpp:24,
from /usr/include/boost/pool/pool.hpp:27,
from ./libtorrent/include/libtorrent/peer_connection.hpp:56,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/sys/select.h:31:5: note: previous declaration ‘int select(int, _types_fd_set*, _types_fd_set*, _types_fd_set*, timeval*)’
int select __P ((int __n, fd_set *__readfds, fd_set *__writefds,
^
In file included from ./libtorrent/include/libtorrent/error_code.hpp:41:0,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/w32api/winsock2.h:1004:68: error: conflicting declaration of C function ‘int gethostname(char*, int)’
WINSOCK_API_LINKAGE int WSAAPI gethostname(char *name,int namelen);
^
In file included from /usr/include/sys/unistd.h:8:0,
from /usr/include/unistd.h:4,
from /usr/include/boost/config/stdlib/libstdcpp3.hpp:78,
from /usr/include/boost/config.hpp:48,
from /usr/include/boost/bind/bind.hpp:24,
from /usr/include/boost/bind.hpp:22,
from libtorrent/src/web_connection_base.cpp:37:
/usr/include/sys/unistd.h:249:6: note: previous declaration ‘int gethostname(char*, size_t)’
int _EXFUN(gethostname, (char *__name, size_t __len));
^
In file included from /usr/include/boost/asio/detail/thread.hpp:26:0,
from /usr/include/boost/asio/detail/win_iocp_io_service.hpp:29,
from /usr/include/boost/asio/impl/io_service.hpp:69,
from /usr/include/boost/asio/io_service.hpp:767,
from /usr/include/boost/asio/basic_io_object.hpp:19,
from /usr/include/boost/asio/basic_socket_acceptor.hpp:19,
from /usr/include/boost/asio/ip/tcp.hpp:19,
from ./libtorrent/include/libtorrent/socket.hpp:61,
from ./libtorrent/include/libtorrent/policy.hpp:42,
from ./libtorrent/include/libtorrent/peer_connection.hpp:71,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/boost/asio/detail/win_thread.hpp: In static member function ‘static bool boost::asio::detail::win_thread_base<T>::terminate_threads()’:
/usr/include/boost/asio/detail/win_thread.hpp:45:59: error: no matching function for call to ‘_InterlockedExchangeAdd(long int*&, int)’
return ::InterlockedExchangeAdd(&terminate_threads_, 0) != 0;
^
/usr/include/boost/asio/detail/win_thread.hpp:45:59: note: candidates are:
In file included from /usr/include/w32api/winnt.h:27:0,
from /usr/include/w32api/minwindef.h:163,
from /usr/include/w32api/windef.h:8,
from /usr/include/w32api/windows.h:69,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/w32api/psdk_inc/intrin-impl.h:986:10: note: int _InterlockedExchangeAdd(volatile int*, int)
__LONG32 _InterlockedExchangeAdd(__LONG32 volatile *Addend, __LONG32 Value) {
^
/usr/include/w32api/psdk_inc/intrin-impl.h:986:10: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile int*’
In file included from /usr/include/w32api/windows.h:70:0,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/w32api/winbase.h:2987:24: note: unsigned int _InterlockedExchangeAdd(volatile unsigned int*, unsigned int)
FORCEINLINE unsigned InterlockedExchangeAdd (unsigned volatile *Addend, unsigned Value) {
^
/usr/include/w32api/winbase.h:2987:24: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile unsigned int*’
/usr/include/w32api/winbase.h:2995:29: note: long unsigned int _InterlockedExchangeAdd(volatile long unsigned int*, long unsigned int) <near match>
FORCEINLINE unsigned long InterlockedExchangeAdd (unsigned long volatile *Addend, unsigned long Value) {
^
/usr/include/w32api/winbase.h:2995:29: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile long unsigned int*’
/usr/include/w32api/winbase.h:3012:32: note: long long unsigned int _InterlockedExchangeAdd(volatile long long unsigned int*, long long unsigned int) <near match>
FORCEINLINE unsigned __int64 InterlockedExchangeAdd (unsigned __int64 volatile *Addend, unsigned __int64 Value) {
^
/usr/include/w32api/winbase.h:3012:32: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile long long unsigned int*’
In file included from /usr/include/boost/asio/detail/thread.hpp:26:0,
from /usr/include/boost/asio/detail/win_iocp_io_service.hpp:29,
from /usr/include/boost/asio/impl/io_service.hpp:69,
from /usr/include/boost/asio/io_service.hpp:767,
from /usr/include/boost/asio/basic_io_object.hpp:19,
from /usr/include/boost/asio/basic_socket_acceptor.hpp:19,
from /usr/include/boost/asio/ip/tcp.hpp:19,
from ./libtorrent/include/libtorrent/socket.hpp:61,
from ./libtorrent/include/libtorrent/policy.hpp:42,
from ./libtorrent/include/libtorrent/peer_connection.hpp:71,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/boost/asio/detail/win_thread.hpp: In static member function ‘static void boost::asio::detail::win_thread_base<T>::set_terminate_threads(bool)’:
/usr/include/boost/asio/detail/win_thread.hpp:50:57: error: no matching function for call to ‘_InterlockedExchange(long int*&, int)’
::InterlockedExchange(&terminate_threads_, b ? 1 : 0);
^
/usr/include/boost/asio/detail/win_thread.hpp:50:57: note: candidates are:
In file included from /usr/include/w32api/winnt.h:27:0,
from /usr/include/w32api/minwindef.h:163,
from /usr/include/w32api/windef.h:8,
from /usr/include/w32api/windows.h:69,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/w32api/psdk_inc/intrin-impl.h:1022:10: note: int _InterlockedExchange(volatile int*, int)
__LONG32 _InterlockedExchange(__LONG32 volatile *Target, __LONG32 Value) {
^
/usr/include/w32api/psdk_inc/intrin-impl.h:1022:10: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile int*’
In file included from /usr/include/w32api/windows.h:70:0,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/w32api/winbase.h:2969:24: note: unsigned int _InterlockedExchange(volatile unsigned int*, unsigned int)
FORCEINLINE unsigned InterlockedExchange (unsigned volatile *Target, unsigned Value) {
^
/usr/include/w32api/winbase.h:2969:24: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile unsigned int*’
/usr/include/w32api/winbase.h:2973:29: note: long unsigned int _InterlockedExchange(volatile long unsigned int*, long unsigned int) <near match>
FORCEINLINE unsigned long InterlockedExchange (unsigned long volatile *Target, unsigned long Value) {
^
/usr/include/w32api/winbase.h:2973:29: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile long unsigned int*’
/usr/include/w32api/winbase.h:2982:32: note: long long unsigned int _InterlockedExchange(volatile long long unsigned int*, long long unsigned int) <near match>
FORCEINLINE unsigned __int64 InterlockedExchange (unsigned __int64 volatile *Target, unsigned __int64 Value) {
^
/usr/include/w32api/winbase.h:2982:32: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile long long unsigned int*’
In file included from /usr/include/boost/asio/impl/io_service.hpp:69:0,
from /usr/include/boost/asio/io_service.hpp:767,
from /usr/include/boost/asio/basic_io_object.hpp:19,
from /usr/include/boost/asio/basic_socket_acceptor.hpp:19,
from /usr/include/boost/asio/ip/tcp.hpp:19,
from ./libtorrent/include/libtorrent/socket.hpp:61,
from ./libtorrent/include/libtorrent/policy.hpp:42,
from ./libtorrent/include/libtorrent/peer_connection.hpp:71,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/boost/asio/detail/win_iocp_io_service.hpp: In member function ‘bool boost::asio::detail::win_iocp_io_service::stopped() const’:
/usr/include/boost/asio/detail/win_iocp_io_service.hpp:84:49: error: call of overloaded ‘_InterlockedExchangeAdd(long int*, int)’ is ambiguous
return ::InterlockedExchangeAdd(&stopped_, 0) != 0;
^
/usr/include/boost/asio/detail/win_iocp_io_service.hpp:84:49: note: candidates are:
In file included from /usr/include/w32api/windows.h:70:0,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/w32api/winbase.h:2995:29: note: long unsigned int _InterlockedExchangeAdd(volatile long unsigned int*, long unsigned int) <near match>
FORCEINLINE unsigned long InterlockedExchangeAdd (unsigned long volatile *Addend, unsigned long Value) {
^
/usr/include/w32api/winbase.h:2995:29: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile long unsigned int*’
/usr/include/w32api/winbase.h:3012:32: note: long long unsigned int _InterlockedExchangeAdd(volatile long long unsigned int*, long long unsigned int) <near match>
FORCEINLINE unsigned __int64 InterlockedExchangeAdd (unsigned __int64 volatile *Addend, unsigned __int64 Value) {
^
/usr/include/w32api/winbase.h:3012:32: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile long long unsigned int*’
In file included from /usr/include/boost/asio/impl/io_service.hpp:69:0,
from /usr/include/boost/asio/io_service.hpp:767,
from /usr/include/boost/asio/basic_io_object.hpp:19,
from /usr/include/boost/asio/basic_socket_acceptor.hpp:19,
from /usr/include/boost/asio/ip/tcp.hpp:19,
from ./libtorrent/include/libtorrent/socket.hpp:61,
from ./libtorrent/include/libtorrent/policy.hpp:42,
from ./libtorrent/include/libtorrent/peer_connection.hpp:71,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/boost/asio/detail/win_iocp_io_service.hpp: In member function ‘void boost::asio::detail::win_iocp_io_service::reset()’:
/usr/include/boost/asio/detail/win_iocp_io_service.hpp:90:39: error: call of overloaded ‘_InterlockedExchange(long int*, int)’ is ambiguous
::InterlockedExchange(&stopped_, 0);
^
/usr/include/boost/asio/detail/win_iocp_io_service.hpp:90:39: note: candidates are:
In file included from /usr/include/w32api/windows.h:70:0,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/w32api/winbase.h:2973:29: note: long unsigned int _InterlockedExchange(volatile long unsigned int*, long unsigned int) <near match>
FORCEINLINE unsigned long InterlockedExchange (unsigned long volatile *Target, unsigned long Value) {
^
/usr/include/w32api/winbase.h:2973:29: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile long unsigned int*’
/usr/include/w32api/winbase.h:2982:32: note: long long unsigned int _InterlockedExchange(volatile long long unsigned int*, long long unsigned int) <near match>
FORCEINLINE unsigned __int64 InterlockedExchange (unsigned __int64 volatile *Target, unsigned __int64 Value) {
^
/usr/include/w32api/winbase.h:2982:32: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile long long unsigned int*’
In file included from /usr/include/boost/asio/impl/io_service.hpp:69:0,
from /usr/include/boost/asio/io_service.hpp:767,
from /usr/include/boost/asio/basic_io_object.hpp:19,
from /usr/include/boost/asio/basic_socket_acceptor.hpp:19,
from /usr/include/boost/asio/ip/tcp.hpp:19,
from ./libtorrent/include/libtorrent/socket.hpp:61,
from ./libtorrent/include/libtorrent/policy.hpp:42,
from ./libtorrent/include/libtorrent/peer_connection.hpp:71,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/boost/asio/detail/win_iocp_io_service.hpp: In member function ‘void boost::asio::detail::win_iocp_io_service::work_started()’:
/usr/include/boost/asio/detail/win_iocp_io_service.hpp:96:46: error: call of overloaded ‘_InterlockedIncrement(long int*)’ is ambiguous
::InterlockedIncrement(&outstanding_work_);
^
/usr/include/boost/asio/detail/win_iocp_io_service.hpp:96:46: note: candidates are:
In file included from /usr/include/w32api/windows.h:70:0,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/w32api/winbase.h:2937:29: note: long unsigned int _InterlockedIncrement(volatile long unsigned int*) <near match>
FORCEINLINE unsigned long InterlockedIncrement (unsigned long volatile *Addend) {
^
/usr/include/w32api/winbase.h:2937:29: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile long unsigned int*’
/usr/include/w32api/winbase.h:2946:32: note: long long unsigned int _InterlockedIncrement(volatile long long unsigned int*) <near match>
FORCEINLINE unsigned __int64 InterlockedIncrement (unsigned __int64 volatile *Addend) {
^
/usr/include/w32api/winbase.h:2946:32: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile long long unsigned int*’
In file included from /usr/include/boost/asio/impl/io_service.hpp:69:0,
from /usr/include/boost/asio/io_service.hpp:767,
from /usr/include/boost/asio/basic_io_object.hpp:19,
from /usr/include/boost/asio/basic_socket_acceptor.hpp:19,
from /usr/include/boost/asio/ip/tcp.hpp:19,
from ./libtorrent/include/libtorrent/socket.hpp:61,
from ./libtorrent/include/libtorrent/policy.hpp:42,
from ./libtorrent/include/libtorrent/peer_connection.hpp:71,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/boost/asio/detail/win_iocp_io_service.hpp: In member function ‘void boost::asio::detail::win_iocp_io_service::work_finished()’:
/usr/include/boost/asio/detail/win_iocp_io_service.hpp:102:50: error: call of overloaded ‘_InterlockedDecrement(long int*)’ is ambiguous
if (::InterlockedDecrement(&outstanding_work_) == 0)
^
/usr/include/boost/asio/detail/win_iocp_io_service.hpp:102:50: note: candidates are:
In file included from /usr/include/w32api/windows.h:70:0,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/w32api/winbase.h:2955:29: note: long unsigned int _InterlockedDecrement(volatile long unsigned int*) <near match>
FORCEINLINE unsigned long InterlockedDecrement (unsigned long volatile *Addend) {
^
/usr/include/w32api/winbase.h:2955:29: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile long unsigned int*’
/usr/include/w32api/winbase.h:2964:32: note: long long unsigned int _InterlockedDecrement(volatile long long unsigned int*) <near match>
FORCEINLINE unsigned __int64 InterlockedDecrement (unsigned __int64 volatile *Addend) {
^
/usr/include/w32api/winbase.h:2964:32: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile long long unsigned int*’
In file included from /usr/include/boost/asio/detail/win_iocp_io_service.hpp:310:0,
from /usr/include/boost/asio/impl/io_service.hpp:69,
from /usr/include/boost/asio/io_service.hpp:767,
from /usr/include/boost/asio/basic_io_object.hpp:19,
from /usr/include/boost/asio/basic_socket_acceptor.hpp:19,
from /usr/include/boost/asio/ip/tcp.hpp:19,
from ./libtorrent/include/libtorrent/socket.hpp:61,
from ./libtorrent/include/libtorrent/policy.hpp:42,
from ./libtorrent/include/libtorrent/peer_connection.hpp:71,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/boost/asio/detail/impl/win_iocp_io_service.hpp: In member function ‘void boost::asio::detail::win_iocp_io_service::schedule_timer(boost::asio::detail::timer_queue<Time_Traits>&, const typename Time_Traits::time_type&, typename boost::asio::detail::timer_queue<Time_Traits>::per_timer_data&, boost::asio::detail::wait_op*)’:
/usr/include/boost/asio/detail/impl/win_iocp_io_service.hpp:94:45: error: no matching function for call to ‘_InterlockedExchangeAdd(long int*&, int)’
if (::InterlockedExchangeAdd(&shutdown_, 0) != 0)
^
/usr/include/boost/asio/detail/impl/win_iocp_io_service.hpp:94:45: note: candidates are:
In file included from /usr/include/w32api/winnt.h:27:0,
from /usr/include/w32api/minwindef.h:163,
from /usr/include/w32api/windef.h:8,
from /usr/include/w32api/windows.h:69,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/w32api/psdk_inc/intrin-impl.h:986:10: note: int _InterlockedExchangeAdd(volatile int*, int)
__LONG32 _InterlockedExchangeAdd(__LONG32 volatile *Addend, __LONG32 Value) {
^
/usr/include/w32api/psdk_inc/intrin-impl.h:986:10: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile int*’
In file included from /usr/include/w32api/windows.h:70:0,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/w32api/winbase.h:2987:24: note: unsigned int _InterlockedExchangeAdd(volatile unsigned int*, unsigned int)
FORCEINLINE unsigned InterlockedExchangeAdd (unsigned volatile *Addend, unsigned Value) {
^
/usr/include/w32api/winbase.h:2987:24: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile unsigned int*’
/usr/include/w32api/winbase.h:2995:29: note: long unsigned int _InterlockedExchangeAdd(volatile long unsigned int*, long unsigned int) <near match>
FORCEINLINE unsigned long InterlockedExchangeAdd (unsigned long volatile *Addend, unsigned long Value) {
^
/usr/include/w32api/winbase.h:2995:29: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile long unsigned int*’
/usr/include/w32api/winbase.h:3012:32: note: long long unsigned int _InterlockedExchangeAdd(volatile long long unsigned int*, long long unsigned int) <near match>
FORCEINLINE unsigned __int64 InterlockedExchangeAdd (unsigned __int64 volatile *Addend, unsigned __int64 Value) {
^
/usr/include/w32api/winbase.h:3012:32: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile long long unsigned int*’
In file included from /usr/include/boost/asio/detail/win_iocp_io_service.hpp:310:0,
from /usr/include/boost/asio/impl/io_service.hpp:69,
from /usr/include/boost/asio/io_service.hpp:767,
from /usr/include/boost/asio/basic_io_object.hpp:19,
from /usr/include/boost/asio/basic_socket_acceptor.hpp:19,
from /usr/include/boost/asio/ip/tcp.hpp:19,
from ./libtorrent/include/libtorrent/socket.hpp:61,
from ./libtorrent/include/libtorrent/policy.hpp:42,
from ./libtorrent/include/libtorrent/peer_connection.hpp:71,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/boost/asio/detail/impl/win_iocp_io_service.hpp: In member function ‘std::size_t boost::asio::detail::win_iocp_io_service::cancel_timer(boost::asio::detail::timer_queue<Time_Traits>&, typename boost::asio::detail::timer_queue<Time_Traits>::per_timer_data&, std::size_t)’:
/usr/include/boost/asio/detail/impl/win_iocp_io_service.hpp:114:45: error: no matching function for call to ‘_InterlockedExchangeAdd(long int*&, int)’
if (::InterlockedExchangeAdd(&shutdown_, 0) != 0)
^
/usr/include/boost/asio/detail/impl/win_iocp_io_service.hpp:114:45: note: candidates are:
In file included from /usr/include/w32api/winnt.h:27:0,
from /usr/include/w32api/minwindef.h:163,
from /usr/include/w32api/windef.h:8,
from /usr/include/w32api/windows.h:69,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/w32api/psdk_inc/intrin-impl.h:986:10: note: int _InterlockedExchangeAdd(volatile int*, int)
__LONG32 _InterlockedExchangeAdd(__LONG32 volatile *Addend, __LONG32 Value) {
^
/usr/include/w32api/psdk_inc/intrin-impl.h:986:10: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile int*’
In file included from /usr/include/w32api/windows.h:70:0,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/w32api/winbase.h:2987:24: note: unsigned int _InterlockedExchangeAdd(volatile unsigned int*, unsigned int)
FORCEINLINE unsigned InterlockedExchangeAdd (unsigned volatile *Addend, unsigned Value) {
^
/usr/include/w32api/winbase.h:2987:24: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile unsigned int*’
/usr/include/w32api/winbase.h:2995:29: note: long unsigned int _InterlockedExchangeAdd(volatile long unsigned int*, long unsigned int) <near match>
FORCEINLINE unsigned long InterlockedExchangeAdd (unsigned long volatile *Addend, unsigned long Value) {
^
/usr/include/w32api/winbase.h:2995:29: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile long unsigned int*’
/usr/include/w32api/winbase.h:3012:32: note: long long unsigned int _InterlockedExchangeAdd(volatile long long unsigned int*, long long unsigned int) <near match>
FORCEINLINE unsigned __int64 InterlockedExchangeAdd (unsigned __int64 volatile *Addend, unsigned __int64 Value) {
^
/usr/include/w32api/winbase.h:3012:32: note: no known conversion for argument 1 from ‘long int*’ to ‘volatile long long unsigned int*’
In file included from /usr/include/boost/asio/detail/fd_set_adapter.hpp:23:0,
from /usr/include/boost/asio/detail/select_reactor.hpp:27,
from /usr/include/boost/asio/detail/reactor.hpp:29,
from /usr/include/boost/asio/detail/win_iocp_socket_service.hpp:34,
from /usr/include/boost/asio/socket_acceptor_service.hpp:27,
from /usr/include/boost/asio/basic_socket_acceptor.hpp:25,
from /usr/include/boost/asio/ip/tcp.hpp:19,
from ./libtorrent/include/libtorrent/socket.hpp:61,
from ./libtorrent/include/libtorrent/policy.hpp:42,
from ./libtorrent/include/libtorrent/peer_connection.hpp:71,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/boost/asio/detail/win_fd_set_adapter.hpp: In member function ‘bool boost::asio::detail::win_fd_set_adapter::is_set(boost::asio::detail::socket_type) const’:
/usr/include/boost/asio/detail/win_fd_set_adapter.hpp:84:70: error: ‘__WSAFDIsSet’ was not declared in this scope
const_cast<fd_set*>(reinterpret_cast<const fd_set*>(fd_set_)));
^
In file included from /usr/include/w32api/windows.h:95:0,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/ossl_typ.h: At global scope:
/usr/include/openssl/ossl_typ.h:159:29: error: expected ‘)’ before numeric constant
typedef struct X509_name_st X509_NAME;
^
/usr/include/openssl/ossl_typ.h:205:33: error: expected ‘)’ before numeric constant
typedef struct ocsp_response_st OCSP_RESPONSE;
^
In file included from /usr/include/openssl/crypto.h:129:0,
from ./libtorrent/include/../../src/allocators.h:12,
from ./libtorrent/include/../../src/serialize.h:22,
from ./libtorrent/include/../../src/leveldb.h:7,
from ./libtorrent/include/libtorrent/storage.hpp:36,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:63,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/x509.h:192:18: error: expected ‘)’ before numeric constant
DECLARE_STACK_OF(X509_NAME)
^
In file included from /usr/include/w32api/windows.h:95:0,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/x509.h:202:34: error: expected ‘)’ before numeric constant
typedef STACK_OF(X509_EXTENSION) X509_EXTENSIONS;
^
/usr/include/openssl/x509.h:229:5: error: expected ‘)’ before numeric constant
X509_NAME *subject;
^
/usr/include/openssl/x509.h:246:5: error: expected ‘)’ before numeric constant
X509_NAME *issuer;
^
/usr/include/openssl/x509.h:248:5: error: expected ‘)’ before numeric constant
X509_NAME *subject;
^
/usr/include/openssl/x509.h:320:3: error: expected ‘)’ before numeric constant
} X509_CERT_PAIR;
^
/usr/include/openssl/x509.h:444:5: error: expected ‘)’ before numeric constant
X509_NAME *issuer;
^
/usr/include/openssl/x509_vfy.h:148:56: error: expected identifier before ‘(’ token
int (*get_by_subject) (X509_LOOKUP *ctx, int type, X509_NAME *name,
^
/usr/include/openssl/x509_vfy.h:148:56: error: expected ‘)’ before numeric constant
int (*get_by_subject) (X509_LOOKUP *ctx, int type, X509_NAME *name,
^
/usr/include/openssl/x509_vfy.h:148:56: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509_vfy.h:148:56: error: expected ‘;’ at end of member declaration
int (*get_by_subject) (X509_LOOKUP *ctx, int type, X509_NAME *name,
^
/usr/include/openssl/x509_vfy.h:148:56: error: expected unqualified-id before numeric constant
int (*get_by_subject) (X509_LOOKUP *ctx, int type, X509_NAME *name,
^
/usr/include/openssl/x509_vfy.h:150:62: error: expected identifier before ‘(’ token
int (*get_by_issuer_serial) (X509_LOOKUP *ctx, int type, X509_NAME *name,
^
/usr/include/openssl/x509_vfy.h:150:62: error: expected ‘)’ before numeric constant
int (*get_by_issuer_serial) (X509_LOOKUP *ctx, int type, X509_NAME *name,
^
/usr/include/openssl/x509_vfy.h:150:62: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509_vfy.h:150:62: error: expected ‘;’ at end of member declaration
int (*get_by_issuer_serial) (X509_LOOKUP *ctx, int type, X509_NAME *name,
^
/usr/include/openssl/x509_vfy.h:150:62: error: expected unqualified-id before numeric constant
int (*get_by_issuer_serial) (X509_LOOKUP *ctx, int type, X509_NAME *name,
^
/usr/include/openssl/x509_vfy.h:210:59: error: expected identifier before ‘(’ token
STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx, X509_NAME *nm);
^
/usr/include/openssl/x509_vfy.h:210:59: error: expected ‘)’ before numeric constant
STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx, X509_NAME *nm);
^
/usr/include/openssl/x509_vfy.h:210:59: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509_vfy.h:210:59: error: expected ‘;’ at end of member declaration
STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx, X509_NAME *nm);
^
/usr/include/openssl/x509_vfy.h:210:59: error: expected unqualified-id before numeric constant
STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx, X509_NAME *nm);
^
/usr/include/openssl/x509_vfy.h:211:62: error: expected identifier before ‘(’ token
STACK_OF(X509_CRL) *(*lookup_crls) (X509_STORE_CTX *ctx, X509_NAME *nm);
^
/usr/include/openssl/x509_vfy.h:211:62: error: expected ‘)’ before numeric constant
STACK_OF(X509_CRL) *(*lookup_crls) (X509_STORE_CTX *ctx, X509_NAME *nm);
^
/usr/include/openssl/x509_vfy.h:211:62: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509_vfy.h:211:62: error: expected ‘;’ at end of member declaration
STACK_OF(X509_CRL) *(*lookup_crls) (X509_STORE_CTX *ctx, X509_NAME *nm);
^
/usr/include/openssl/x509_vfy.h:211:62: error: expected unqualified-id before numeric constant
STACK_OF(X509_CRL) *(*lookup_crls) (X509_STORE_CTX *ctx, X509_NAME *nm);
^
/usr/include/openssl/x509_vfy.h:268:59: error: expected identifier before ‘(’ token
STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx, X509_NAME *nm);
^
/usr/include/openssl/x509_vfy.h:268:59: error: expected ‘)’ before numeric constant
STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx, X509_NAME *nm);
^
/usr/include/openssl/x509_vfy.h:268:59: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509_vfy.h:268:59: error: expected ‘;’ at end of member declaration
STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx, X509_NAME *nm);
^
/usr/include/openssl/x509_vfy.h:268:59: error: expected unqualified-id before numeric constant
STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx, X509_NAME *nm);
^
/usr/include/openssl/x509_vfy.h:269:62: error: expected identifier before ‘(’ token
STACK_OF(X509_CRL) *(*lookup_crls) (X509_STORE_CTX *ctx, X509_NAME *nm);
^
/usr/include/openssl/x509_vfy.h:269:62: error: expected ‘)’ before numeric constant
STACK_OF(X509_CRL) *(*lookup_crls) (X509_STORE_CTX *ctx, X509_NAME *nm);
^
/usr/include/openssl/x509_vfy.h:269:62: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509_vfy.h:269:62: error: expected ‘;’ at end of member declaration
STACK_OF(X509_CRL) *(*lookup_crls) (X509_STORE_CTX *ctx, X509_NAME *nm);
^
/usr/include/openssl/x509_vfy.h:269:62: error: expected unqualified-id before numeric constant
STACK_OF(X509_CRL) *(*lookup_crls) (X509_STORE_CTX *ctx, X509_NAME *nm);
^
/usr/include/openssl/x509_vfy.h:455:32: error: expected identifier before ‘(’ token
X509_NAME *name);
^
/usr/include/openssl/x509_vfy.h:455:32: error: expected ‘)’ before numeric constant
X509_NAME *name);
^
/usr/include/openssl/x509_vfy.h:455:32: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509_vfy.h:455:32: error: expected initializer before numeric constant
/usr/include/openssl/x509_vfy.h:457:56: error: expected identifier before ‘(’ token
int type, X509_NAME *name);
^
/usr/include/openssl/x509_vfy.h:457:56: error: expected ‘)’ before numeric constant
int type, X509_NAME *name);
^
/usr/include/openssl/x509_vfy.h:457:56: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509_vfy.h:457:56: error: expected initializer before numeric constant
/usr/include/openssl/x509_vfy.h:465:59: error: expected identifier before ‘(’ token
STACK_OF(X509) *X509_STORE_get1_certs(X509_STORE_CTX *st, X509_NAME *nm);
^
/usr/include/openssl/x509_vfy.h:465:59: error: expected ‘)’ before numeric constant
STACK_OF(X509) *X509_STORE_get1_certs(X509_STORE_CTX *st, X509_NAME *nm);
^
/usr/include/openssl/x509_vfy.h:465:59: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509_vfy.h:465:59: error: expected initializer before numeric constant
/usr/include/openssl/x509_vfy.h:466:62: error: expected identifier before ‘(’ token
STACK_OF(X509_CRL) *X509_STORE_get1_crls(X509_STORE_CTX *st, X509_NAME *nm);
^
/usr/include/openssl/x509_vfy.h:466:62: error: expected ‘)’ before numeric constant
STACK_OF(X509_CRL) *X509_STORE_get1_crls(X509_STORE_CTX *st, X509_NAME *nm);
^
/usr/include/openssl/x509_vfy.h:466:62: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509_vfy.h:466:62: error: expected initializer before numeric constant
/usr/include/openssl/x509_vfy.h:478:63: error: expected identifier before ‘(’ token
X509_NAME *nm));
^
/usr/include/openssl/x509_vfy.h:478:63: error: expected ‘)’ before numeric constant
X509_NAME *nm));
^
/usr/include/openssl/x509_vfy.h:478:63: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509_vfy.h:478:63: error: expected ‘,’ or ‘...’ before numeric constant
In file included from /usr/include/openssl/x509.h:581:0,
from /usr/include/openssl/ssl.h:156,
from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from ./libtorrent/include/libtorrent/tracker_manager.hpp:68,
from ./libtorrent/include/libtorrent/torrent.hpp:63,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:67,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/x509_vfy.h:478:73: error: expected initializer before ‘*’ token
X509_NAME *nm));
^
In file included from /usr/include/w32api/windows.h:95:0,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/x509_vfy.h:500:61: error: expected identifier before ‘(’ token
int X509_STORE_get_by_subject(X509_STORE_CTX *vs, int type, X509_NAME *name,
^
/usr/include/openssl/x509_vfy.h:500:61: error: expected ‘)’ before numeric constant
int X509_STORE_get_by_subject(X509_STORE_CTX *vs, int type, X509_NAME *name,
^
/usr/include/openssl/x509_vfy.h:500:61: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509_vfy.h:500:61: error: expected initializer before numeric constant
/usr/include/openssl/x509_vfy.h:515:56: error: expected identifier before ‘(’ token
int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, int type, X509_NAME *name,
^
/usr/include/openssl/x509_vfy.h:515:56: error: expected ‘)’ before numeric constant
int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, int type, X509_NAME *name,
^
/usr/include/openssl/x509_vfy.h:515:56: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509_vfy.h:515:56: error: expected initializer before numeric constant
/usr/include/openssl/x509_vfy.h:517:62: error: expected identifier before ‘(’ token
int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, int type, X509_NAME *name,
^
/usr/include/openssl/x509_vfy.h:517:62: error: expected ‘)’ before numeric constant
int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, int type, X509_NAME *name,
^
/usr/include/openssl/x509_vfy.h:517:62: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509_vfy.h:517:62: error: expected initializer before numeric constant
/usr/include/openssl/pkcs7.h:87:5: error: expected ‘)’ before numeric constant
X509_NAME *issuer;
^
/usr/include/openssl/pkcs7.h:101:3: error: expected ‘)’ before numeric constant
} PKCS7_SIGNER_INFO;
^
In file included from /usr/include/openssl/crypto.h:129:0,
from ./libtorrent/include/../../src/allocators.h:12,
from ./libtorrent/include/../../src/serialize.h:22,
from ./libtorrent/include/../../src/leveldb.h:7,
from ./libtorrent/include/libtorrent/storage.hpp:36,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:63,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/pkcs7.h:103:18: error: expected ‘)’ before numeric constant
DECLARE_STACK_OF(PKCS7_SIGNER_INFO)
^
In file included from /usr/include/openssl/objects.h:965:0,
from /usr/include/openssl/evp.h:94,
from /usr/include/openssl/x509.h:73,
from /usr/include/openssl/ssl.h:156,
from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from ./libtorrent/include/libtorrent/tracker_manager.hpp:68,
from ./libtorrent/include/libtorrent/torrent.hpp:63,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:67,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/pkcs7.h:273:24: error: expected ‘)’ before numeric constant
DECLARE_ASN1_FUNCTIONS(PKCS7_SIGNER_INFO)
^
/usr/include/openssl/pkcs7.h:273:24: error: expected ‘)’ before numeric constant
DECLARE_ASN1_FUNCTIONS(PKCS7_SIGNER_INFO)
^
/usr/include/openssl/pkcs7.h:273:24: error: expected ‘)’ before numeric constant
DECLARE_ASN1_FUNCTIONS(PKCS7_SIGNER_INFO)
^
/usr/include/openssl/pkcs7.h:273:24: error: invalid conversion from ‘LPCSTR {aka const char*}’ to ‘int’ [-fpermissive]
DECLARE_ASN1_FUNCTIONS(PKCS7_SIGNER_INFO)
^
/usr/include/openssl/pkcs7.h:273:1: error: expected ‘,’ or ‘;’ before ‘(’ token
DECLARE_ASN1_FUNCTIONS(PKCS7_SIGNER_INFO)
^
/usr/include/openssl/pkcs7.h:273:24: error: expected ‘)’ before numeric constant
DECLARE_ASN1_FUNCTIONS(PKCS7_SIGNER_INFO)
^
In file included from /usr/include/openssl/x509.h:582:0,
from /usr/include/openssl/ssl.h:156,
from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from ./libtorrent/include/libtorrent/tracker_manager.hpp:68,
from ./libtorrent/include/libtorrent/torrent.hpp:63,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:67,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/pkcs7.h:294:46: error: ‘p7i’ was not declared in this scope
int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey,
^
/usr/include/openssl/pkcs7.h:294:56: error: expected primary-expression before ‘*’ token
int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey,
^
/usr/include/openssl/pkcs7.h:294:57: error: ‘x509’ was not declared in this scope
int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey,
^
/usr/include/openssl/pkcs7.h:294:72: error: expected primary-expression before ‘*’ token
int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey,
^
/usr/include/openssl/pkcs7.h:294:73: error: ‘pkey’ was not declared in this scope
int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey,
^
/usr/include/openssl/pkcs7.h:295:27: error: expected primary-expression before ‘const’
const EVP_MD *dgst);
^
/usr/include/openssl/pkcs7.h:295:45: error: expression list treated as compound expression in initializer [-fpermissive]
const EVP_MD *dgst);
^
/usr/include/openssl/pkcs7.h:296:47: error: ‘si’ was not declared in this scope
int PKCS7_SIGNER_INFO_sign(PKCS7_SIGNER_INFO *si);
^
In file included from /usr/include/w32api/windows.h:95:0,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/pkcs7.h:297:33: error: expected identifier before ‘(’ token
int PKCS7_add_signer(PKCS7 *p7, PKCS7_SIGNER_INFO *p7i);
^
/usr/include/openssl/pkcs7.h:297:33: error: expected ‘)’ before numeric constant
int PKCS7_add_signer(PKCS7 *p7, PKCS7_SIGNER_INFO *p7i);
^
/usr/include/openssl/pkcs7.h:297:33: error: expected ‘)’ before numeric constant
/usr/include/openssl/pkcs7.h:297:33: error: expected initializer before numeric constant
/usr/include/openssl/pkcs7.h:302:43: error: expected identifier before ‘(’ token
BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si);
^
/usr/include/openssl/pkcs7.h:302:43: error: expected ‘)’ before numeric constant
BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si);
^
/usr/include/openssl/pkcs7.h:302:43: error: expected ‘)’ before numeric constant
/usr/include/openssl/pkcs7.h:302:43: error: expected initializer before numeric constant
/usr/include/openssl/pkcs7.h:303:48: error: expected identifier before ‘(’ token
int PKCS7_signatureVerify(BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si,
^
/usr/include/openssl/pkcs7.h:303:48: error: expected ‘)’ before numeric constant
int PKCS7_signatureVerify(BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si,
^
/usr/include/openssl/pkcs7.h:303:48: error: expected ‘)’ before numeric constant
/usr/include/openssl/pkcs7.h:303:48: error: expected initializer before numeric constant
/usr/include/openssl/pkcs7.h:310:1: error: expected ‘)’ before numeric constant
PKCS7_SIGNER_INFO *PKCS7_add_signature(PKCS7 *p7, X509 *x509,
^
/usr/include/openssl/pkcs7.h:312:46: error: expected identifier before ‘(’ token
X509 *PKCS7_cert_from_signer_info(PKCS7 *p7, PKCS7_SIGNER_INFO *si);
^
/usr/include/openssl/pkcs7.h:312:46: error: expected ‘)’ before numeric constant
X509 *PKCS7_cert_from_signer_info(PKCS7 *p7, PKCS7_SIGNER_INFO *si);
^
/usr/include/openssl/pkcs7.h:312:46: error: expected ‘)’ before numeric constant
/usr/include/openssl/pkcs7.h:312:46: error: expected initializer before numeric constant
In file included from /usr/include/openssl/x509.h:582:0,
from /usr/include/openssl/ssl.h:156,
from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from ./libtorrent/include/libtorrent/tracker_manager.hpp:68,
from ./libtorrent/include/libtorrent/torrent.hpp:63,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:67,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/pkcs7.h:317:33: error: variable or field ‘PKCS7_SIGNER_INFO_get0_algs’ declared void
void PKCS7_SIGNER_INFO_get0_algs(PKCS7_SIGNER_INFO *si, EVP_PKEY **pk,
^
/usr/include/openssl/pkcs7.h:317:53: error: ‘si’ was not declared in this scope
void PKCS7_SIGNER_INFO_get0_algs(PKCS7_SIGNER_INFO *si, EVP_PKEY **pk,
^
/usr/include/openssl/pkcs7.h:317:66: error: expected primary-expression before ‘*’ token
void PKCS7_SIGNER_INFO_get0_algs(PKCS7_SIGNER_INFO *si, EVP_PKEY **pk,
^
/usr/include/openssl/pkcs7.h:317:68: error: ‘pk’ was not declared in this scope
void PKCS7_SIGNER_INFO_get0_algs(PKCS7_SIGNER_INFO *si, EVP_PKEY **pk,
^
/usr/include/openssl/pkcs7.h:318:45: error: expected primary-expression before ‘*’ token
X509_ALGOR **pdig, X509_ALGOR **psig);
^
/usr/include/openssl/pkcs7.h:318:47: error: ‘pdig’ was not declared in this scope
X509_ALGOR **pdig, X509_ALGOR **psig);
^
/usr/include/openssl/pkcs7.h:318:64: error: expected primary-expression before ‘*’ token
X509_ALGOR **pdig, X509_ALGOR **psig);
^
/usr/include/openssl/pkcs7.h:318:66: error: ‘psig’ was not declared in this scope
X509_ALGOR **pdig, X509_ALGOR **psig);
^
/usr/include/openssl/pkcs7.h:327:51: error: ‘p7si’ was not declared in this scope
int PKCS7_add_signed_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int type,
^
/usr/include/openssl/pkcs7.h:327:57: error: expected primary-expression before ‘int’
int PKCS7_add_signed_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int type,
^
/usr/include/openssl/pkcs7.h:327:66: error: expected primary-expression before ‘int’
int PKCS7_add_signed_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int type,
^
/usr/include/openssl/pkcs7.h:328:32: error: expected primary-expression before ‘void’
void *data);
^
/usr/include/openssl/pkcs7.h:328:42: error: expression list treated as compound expression in initializer [-fpermissive]
void *data);
^
/usr/include/openssl/pkcs7.h:329:44: error: ‘p7si’ was not declared in this scope
int PKCS7_add_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int atrtype,
^
/usr/include/openssl/pkcs7.h:329:50: error: expected primary-expression before ‘int’
int PKCS7_add_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int atrtype,
^
/usr/include/openssl/pkcs7.h:329:59: error: expected primary-expression before ‘int’
int PKCS7_add_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int atrtype,
^
/usr/include/openssl/pkcs7.h:330:25: error: expected primary-expression before ‘void’
void *value);
^
/usr/include/openssl/pkcs7.h:330:36: error: expression list treated as compound expression in initializer [-fpermissive]
void *value);
^
/usr/include/openssl/pkcs7.h:331:51: error: ‘si’ was not declared in this scope
ASN1_TYPE *PKCS7_get_attribute(PKCS7_SIGNER_INFO *si, int nid);
^
/usr/include/openssl/pkcs7.h:331:55: error: expected primary-expression before ‘int’
ASN1_TYPE *PKCS7_get_attribute(PKCS7_SIGNER_INFO *si, int nid);
^
/usr/include/openssl/pkcs7.h:331:62: error: expression list treated as compound expression in initializer [-fpermissive]
ASN1_TYPE *PKCS7_get_attribute(PKCS7_SIGNER_INFO *si, int nid);
^
/usr/include/openssl/pkcs7.h:332:58: error: ‘si’ was not declared in this scope
ASN1_TYPE *PKCS7_get_signed_attribute(PKCS7_SIGNER_INFO *si, int nid);
^
/usr/include/openssl/pkcs7.h:332:62: error: expected primary-expression before ‘int’
ASN1_TYPE *PKCS7_get_signed_attribute(PKCS7_SIGNER_INFO *si, int nid);
^
/usr/include/openssl/pkcs7.h:332:69: error: expression list treated as compound expression in initializer [-fpermissive]
ASN1_TYPE *PKCS7_get_signed_attribute(PKCS7_SIGNER_INFO *si, int nid);
^
/usr/include/openssl/pkcs7.h:333:52: error: ‘p7si’ was not declared in this scope
int PKCS7_set_signed_attributes(PKCS7_SIGNER_INFO *p7si,
^
In file included from /usr/include/openssl/crypto.h:129:0,
from ./libtorrent/include/../../src/allocators.h:12,
from ./libtorrent/include/../../src/serialize.h:22,
from ./libtorrent/include/../../src/leveldb.h:7,
from ./libtorrent/include/libtorrent/storage.hpp:36,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:63,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/pkcs7.h:334:33: error: expected primary-expression before ‘struct’
STACK_OF(X509_ATTRIBUTE) *sk);
^
In file included from /usr/include/openssl/x509.h:582:0,
from /usr/include/openssl/ssl.h:156,
from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from ./libtorrent/include/libtorrent/tracker_manager.hpp:68,
from ./libtorrent/include/libtorrent/torrent.hpp:63,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:67,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/pkcs7.h:334:61: error: expression list treated as compound expression in initializer [-fpermissive]
STACK_OF(X509_ATTRIBUTE) *sk);
^
/usr/include/openssl/pkcs7.h:335:45: error: ‘p7si’ was not declared in this scope
int PKCS7_set_attributes(PKCS7_SIGNER_INFO *p7si,
^
In file included from /usr/include/openssl/crypto.h:129:0,
from ./libtorrent/include/../../src/allocators.h:12,
from ./libtorrent/include/../../src/serialize.h:22,
from ./libtorrent/include/../../src/leveldb.h:7,
from ./libtorrent/include/libtorrent/storage.hpp:36,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:63,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/pkcs7.h:336:26: error: expected primary-expression before ‘struct’
STACK_OF(X509_ATTRIBUTE) *sk);
^
In file included from /usr/include/openssl/x509.h:582:0,
from /usr/include/openssl/ssl.h:156,
from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from ./libtorrent/include/libtorrent/tracker_manager.hpp:68,
from ./libtorrent/include/libtorrent/torrent.hpp:63,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:67,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/pkcs7.h:336:54: error: expression list treated as compound expression in initializer [-fpermissive]
STACK_OF(X509_ATTRIBUTE) *sk);
^
In file included from /usr/include/w32api/windows.h:95:0,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/pkcs7.h:341:1: error: expected ‘)’ before numeric constant
PKCS7_SIGNER_INFO *PKCS7_sign_add_signer(PKCS7 *p7,
^
In file included from /usr/include/openssl/x509.h:582:0,
from /usr/include/openssl/ssl.h:156,
from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from ./libtorrent/include/libtorrent/tracker_manager.hpp:68,
from ./libtorrent/include/libtorrent/torrent.hpp:63,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:67,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/pkcs7.h:355:50: error: ‘si’ was not declared in this scope
int PKCS7_add_attrib_smimecap(PKCS7_SIGNER_INFO *si,
^
In file included from /usr/include/openssl/crypto.h:129:0,
from ./libtorrent/include/../../src/allocators.h:12,
from ./libtorrent/include/../../src/serialize.h:22,
from ./libtorrent/include/../../src/leveldb.h:7,
from ./libtorrent/include/libtorrent/storage.hpp:36,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:63,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/pkcs7.h:356:31: error: expected primary-expression before ‘struct’
STACK_OF(X509_ALGOR) *cap);
^
In file included from /usr/include/openssl/x509.h:582:0,
from /usr/include/openssl/ssl.h:156,
from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from ./libtorrent/include/libtorrent/tracker_manager.hpp:68,
from ./libtorrent/include/libtorrent/torrent.hpp:63,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:67,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/pkcs7.h:356:56: error: expression list treated as compound expression in initializer [-fpermissive]
STACK_OF(X509_ALGOR) *cap);
^
/usr/include/openssl/pkcs7.h:357:61: error: ‘si’ was not declared in this scope
STACK_OF(X509_ALGOR) *PKCS7_get_smimecap(PKCS7_SIGNER_INFO *si);
^
/usr/include/openssl/pkcs7.h:360:54: error: ‘si’ was not declared in this scope
int PKCS7_add_attrib_content_type(PKCS7_SIGNER_INFO *si, ASN1_OBJECT *coid);
^
/usr/include/openssl/pkcs7.h:360:70: error: expected primary-expression before ‘*’ token
int PKCS7_add_attrib_content_type(PKCS7_SIGNER_INFO *si, ASN1_OBJECT *coid);
^
/usr/include/openssl/pkcs7.h:360:71: error: ‘coid’ was not declared in this scope
int PKCS7_add_attrib_content_type(PKCS7_SIGNER_INFO *si, ASN1_OBJECT *coid);
^
/usr/include/openssl/pkcs7.h:360:75: error: expression list treated as compound expression in initializer [-fpermissive]
int PKCS7_add_attrib_content_type(PKCS7_SIGNER_INFO *si, ASN1_OBJECT *coid);
^
/usr/include/openssl/pkcs7.h:361:55: error: ‘si’ was not declared in this scope
int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t);
^
/usr/include/openssl/pkcs7.h:361:69: error: expected primary-expression before ‘*’ token
int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t);
^
/usr/include/openssl/pkcs7.h:361:70: error: ‘t’ was not declared in this scope
int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t);
^
/usr/include/openssl/pkcs7.h:361:71: error: expression list treated as compound expression in initializer [-fpermissive]
int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t);
^
/usr/include/openssl/pkcs7.h:362:49: error: ‘si’ was not declared in this scope
int PKCS7_add1_attrib_digest(PKCS7_SIGNER_INFO *si,
^
/usr/include/openssl/pkcs7.h:363:30: error: expected primary-expression before ‘const’
const unsigned char *md, int mdlen);
^
/usr/include/openssl/pkcs7.h:363:55: error: expected primary-expression before ‘int’
const unsigned char *md, int mdlen);
^
/usr/include/openssl/pkcs7.h:363:64: error: expression list treated as compound expression in initializer [-fpermissive]
const unsigned char *md, int mdlen);
^
In file included from /usr/include/w32api/windows.h:95:0,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/x509.h:614:57: error: expected identifier before ‘(’ token
X509_NAME *issuer),
^
/usr/include/openssl/x509.h:614:57: error: expected ‘)’ before numeric constant
X509_NAME *issuer),
^
/usr/include/openssl/x509.h:614:57: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509.h:614:57: error: expected ‘,’ or ‘...’ before numeric constant
In file included from /usr/include/openssl/ssl.h:156:0,
from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from ./libtorrent/include/libtorrent/tracker_manager.hpp:68,
from ./libtorrent/include/libtorrent/torrent.hpp:63,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:67,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/x509.h:614:67: error: expected initializer before ‘*’ token
X509_NAME *issuer),
^
/usr/include/openssl/x509.h:665:22: error: expected primary-expression before ‘const’
int X509_NAME_digest(const X509_NAME *data, const EVP_MD *type,
^
/usr/include/openssl/x509.h:665:45: error: expected primary-expression before ‘const’
int X509_NAME_digest(const X509_NAME *data, const EVP_MD *type,
^
/usr/include/openssl/x509.h:666:22: error: expected primary-expression before ‘unsigned’
unsigned char *md, unsigned int *len);
^
/usr/include/openssl/x509.h:666:41: error: expected primary-expression before ‘unsigned’
unsigned char *md, unsigned int *len);
^
/usr/include/openssl/x509.h:666:58: error: expression list treated as compound expression in initializer [-fpermissive]
unsigned char *md, unsigned int *len);
^
In file included from /usr/include/w32api/windows.h:95:0,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/x509.h:761:1: error: expected ‘)’ before numeric constant
X509_NAME *X509_NAME_dup(X509_NAME *xn);
^
In file included from /usr/include/openssl/objects.h:965:0,
from /usr/include/openssl/evp.h:94,
from /usr/include/openssl/x509.h:73,
from /usr/include/openssl/ssl.h:156,
from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from ./libtorrent/include/libtorrent/tracker_manager.hpp:68,
from ./libtorrent/include/libtorrent/torrent.hpp:63,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:67,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/x509.h:813:31: error: expected ‘)’ before numeric constant
DECLARE_ASN1_ENCODE_FUNCTIONS(X509_EXTENSIONS, X509_EXTENSIONS, X509_EXTENSIONS)
^
/usr/include/openssl/x509.h:813:1: error: ‘a’ was not declared in this scope
DECLARE_ASN1_ENCODE_FUNCTIONS(X509_EXTENSIONS, X509_EXTENSIONS, X509_EXTENSIONS)
^
/usr/include/openssl/x509.h:813:1: error: expected primary-expression before ‘unsigned’
DECLARE_ASN1_ENCODE_FUNCTIONS(X509_EXTENSIONS, X509_EXTENSIONS, X509_EXTENSIONS)
^
/usr/include/openssl/x509.h:813:1: error: expression list treated as compound expression in initializer [-fpermissive]
DECLARE_ASN1_ENCODE_FUNCTIONS(X509_EXTENSIONS, X509_EXTENSIONS, X509_EXTENSIONS)
^
/usr/include/openssl/x509.h:813:48: error: expected ‘)’ before numeric constant
DECLARE_ASN1_ENCODE_FUNCTIONS(X509_EXTENSIONS, X509_EXTENSIONS, X509_EXTENSIONS)
^
/usr/include/openssl/x509.h:817:24: error: expected ‘)’ before numeric constant
DECLARE_ASN1_FUNCTIONS(X509_NAME)
^
/usr/include/openssl/x509.h:817:24: error: expected ‘)’ before numeric constant
DECLARE_ASN1_FUNCTIONS(X509_NAME)
^
/usr/include/openssl/x509.h:817:24: error: expected ‘)’ before numeric constant
DECLARE_ASN1_FUNCTIONS(X509_NAME)
^
/usr/include/openssl/x509.h:817:24: error: redefinition of ‘int i2d_’
DECLARE_ASN1_FUNCTIONS(X509_NAME)
^
/usr/include/openssl/pkcs7.h:273:1: note: ‘int i2d_’ previously defined here
DECLARE_ASN1_FUNCTIONS(PKCS7_SIGNER_INFO)
^
/usr/include/openssl/x509.h:817:24: error: expected ‘)’ before numeric constant
DECLARE_ASN1_FUNCTIONS(X509_NAME)
^
In file included from /usr/include/openssl/ssl.h:156:0,
from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from ./libtorrent/include/libtorrent/tracker_manager.hpp:68,
from ./libtorrent/include/libtorrent/torrent.hpp:63,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:67,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/x509.h:819:31: error: ‘xn’ was not declared in this scope
int X509_NAME_set(X509_NAME **xn, X509_NAME *name);
^
/usr/include/openssl/x509.h:819:46: error: ‘name’ was not declared in this scope
int X509_NAME_set(X509_NAME **xn, X509_NAME *name);
^
/usr/include/openssl/x509.h:819:50: error: expression list treated as compound expression in initializer [-fpermissive]
int X509_NAME_set(X509_NAME **xn, X509_NAME *name);
^
In file included from /usr/include/openssl/objects.h:965:0,
from /usr/include/openssl/evp.h:94,
from /usr/include/openssl/x509.h:73,
from /usr/include/openssl/ssl.h:156,
from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from ./libtorrent/include/libtorrent/tracker_manager.hpp:68,
from ./libtorrent/include/libtorrent/torrent.hpp:63,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:67,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/x509.h:826:24: error: expected ‘)’ before numeric constant
DECLARE_ASN1_FUNCTIONS(X509_CERT_PAIR)
^
/usr/include/openssl/x509.h:826:24: error: expected ‘)’ before numeric constant
DECLARE_ASN1_FUNCTIONS(X509_CERT_PAIR)
^
/usr/include/openssl/x509.h:826:24: error: expected ‘)’ before numeric constant
DECLARE_ASN1_FUNCTIONS(X509_CERT_PAIR)
^
/usr/include/openssl/x509.h:826:24: error: redefinition of ‘int i2d_’
DECLARE_ASN1_FUNCTIONS(X509_CERT_PAIR)
^
/usr/include/openssl/pkcs7.h:273:1: note: ‘int i2d_’ previously defined here
DECLARE_ASN1_FUNCTIONS(PKCS7_SIGNER_INFO)
^
/usr/include/openssl/x509.h:826:24: error: expected ‘)’ before numeric constant
DECLARE_ASN1_FUNCTIONS(X509_CERT_PAIR)
^
In file included from /usr/include/openssl/ssl.h:156:0,
from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from ./libtorrent/include/libtorrent/tracker_manager.hpp:68,
from ./libtorrent/include/libtorrent/torrent.hpp:63,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:67,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/x509.h:875:36: error: ‘a’ was not declared in this scope
char *X509_NAME_oneline(X509_NAME *a, char *buf, int size);
^
/usr/include/openssl/x509.h:875:39: error: expected primary-expression before ‘char’
char *X509_NAME_oneline(X509_NAME *a, char *buf, int size);
^
/usr/include/openssl/x509.h:875:50: error: expected primary-expression before ‘int’
char *X509_NAME_oneline(X509_NAME *a, char *buf, int size);
^
/usr/include/openssl/x509.h:875:58: error: expression list treated as compound expression in initializer [-fpermissive]
char *X509_NAME_oneline(X509_NAME *a, char *buf, int size);
^
In file included from /usr/include/w32api/windows.h:95:0,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/x509.h:904:35: error: expected identifier before ‘(’ token
int X509_set_issuer_name(X509 *x, X509_NAME *name);
^
/usr/include/openssl/x509.h:904:35: error: expected ‘)’ before numeric constant
int X509_set_issuer_name(X509 *x, X509_NAME *name);
^
/usr/include/openssl/x509.h:904:35: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509.h:904:35: error: expected initializer before numeric constant
/usr/include/openssl/x509.h:905:1: error: expected ‘)’ before numeric constant
X509_NAME *X509_get_issuer_name(X509 *a);
^
/usr/include/openssl/x509.h:906:36: error: expected identifier before ‘(’ token
int X509_set_subject_name(X509 *x, X509_NAME *name);
^
/usr/include/openssl/x509.h:906:36: error: expected ‘)’ before numeric constant
int X509_set_subject_name(X509 *x, X509_NAME *name);
^
/usr/include/openssl/x509.h:906:36: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509.h:906:36: error: expected initializer before numeric constant
/usr/include/openssl/x509.h:907:1: error: expected ‘)’ before numeric constant
X509_NAME *X509_get_subject_name(X509 *a);
^
/usr/include/openssl/x509.h:916:46: error: expected identifier before ‘(’ token
int X509_REQ_set_subject_name(X509_REQ *req, X509_NAME *name);
^
/usr/include/openssl/x509.h:916:46: error: expected ‘)’ before numeric constant
int X509_REQ_set_subject_name(X509_REQ *req, X509_NAME *name);
^
/usr/include/openssl/x509.h:916:46: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509.h:916:46: error: expected initializer before numeric constant
/usr/include/openssl/x509.h:944:43: error: expected identifier before ‘(’ token
int X509_CRL_set_issuer_name(X509_CRL *x, X509_NAME *name);
^
/usr/include/openssl/x509.h:944:43: error: expected ‘)’ before numeric constant
int X509_CRL_set_issuer_name(X509_CRL *x, X509_NAME *name);
^
/usr/include/openssl/x509.h:944:43: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509.h:944:43: error: expected initializer before numeric constant
In file included from /usr/include/openssl/ssl.h:156:0,
from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from ./libtorrent/include/libtorrent/tracker_manager.hpp:68,
from ./libtorrent/include/libtorrent/torrent.hpp:63,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:67,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/x509.h:979:19: error: expected primary-expression before ‘const’
int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b);
^
/usr/include/openssl/x509.h:979:39: error: expected primary-expression before ‘const’
int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b);
^
/usr/include/openssl/x509.h:979:57: error: expression list treated as compound expression in initializer [-fpermissive]
int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b);
^
/usr/include/openssl/x509.h:980:41: error: ‘x’ was not declared in this scope
unsigned long X509_NAME_hash(X509_NAME *x);
^
/usr/include/openssl/x509.h:981:45: error: ‘x’ was not declared in this scope
unsigned long X509_NAME_hash_old(X509_NAME *x);
^
In file included from /usr/include/w32api/windows.h:95:0,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/x509.h:991:37: error: expected identifier before ‘(’ token
int X509_NAME_print_ex_fp(FILE *fp, X509_NAME *nm, int indent,
^
/usr/include/openssl/x509.h:991:37: error: expected ‘)’ before numeric constant
int X509_NAME_print_ex_fp(FILE *fp, X509_NAME *nm, int indent,
^
/usr/include/openssl/x509.h:991:37: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509.h:991:37: error: expected initializer before numeric constant
/usr/include/openssl/x509.h:996:30: error: expected identifier before ‘(’ token
int X509_NAME_print(BIO *bp, X509_NAME *name, int obase);
^
/usr/include/openssl/x509.h:996:30: error: expected ‘)’ before numeric constant
int X509_NAME_print(BIO *bp, X509_NAME *name, int obase);
^
/usr/include/openssl/x509.h:996:30: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509.h:996:30: error: expected initializer before numeric constant
/usr/include/openssl/x509.h:997:34: error: expected identifier before ‘(’ token
int X509_NAME_print_ex(BIO *out, X509_NAME *nm, int indent,
^
/usr/include/openssl/x509.h:997:34: error: expected ‘)’ before numeric constant
int X509_NAME_print_ex(BIO *out, X509_NAME *nm, int indent,
^
/usr/include/openssl/x509.h:997:34: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509.h:997:34: error: expected initializer before numeric constant
In file included from /usr/include/openssl/ssl.h:156:0,
from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from ./libtorrent/include/libtorrent/tracker_manager.hpp:68,
from ./libtorrent/include/libtorrent/torrent.hpp:63,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:67,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/x509.h:1010:38: error: ‘name’ was not declared in this scope
int X509_NAME_entry_count(X509_NAME *name);
^
/usr/include/openssl/x509.h:1011:42: error: ‘name’ was not declared in this scope
int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf, int len);
^
/usr/include/openssl/x509.h:1011:48: error: expected primary-expression before ‘int’
int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf, int len);
^
/usr/include/openssl/x509.h:1011:57: error: expected primary-expression before ‘char’
int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf, int len);
^
/usr/include/openssl/x509.h:1011:68: error: expected primary-expression before ‘int’
int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf, int len);
^
/usr/include/openssl/x509.h:1011:75: error: expression list treated as compound expression in initializer [-fpermissive]
int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf, int len);
^
/usr/include/openssl/x509.h:1012:42: error: ‘name’ was not declared in this scope
int X509_NAME_get_text_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj,
^
/usr/include/openssl/x509.h:1012:60: error: expected primary-expression before ‘*’ token
int X509_NAME_get_text_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj,
^
/usr/include/openssl/x509.h:1012:61: error: ‘obj’ was not declared in this scope
int X509_NAME_get_text_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj,
^
/usr/include/openssl/x509.h:1013:31: error: expected primary-expression before ‘char’
char *buf, int len);
^
/usr/include/openssl/x509.h:1013:42: error: expected primary-expression before ‘int’
char *buf, int len);
^
/usr/include/openssl/x509.h:1013:49: error: expression list treated as compound expression in initializer [-fpermissive]
char *buf, int len);
^
/usr/include/openssl/x509.h:1019:43: error: ‘name’ was not declared in this scope
int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos);
^
/usr/include/openssl/x509.h:1019:49: error: expected primary-expression before ‘int’
int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos);
^
/usr/include/openssl/x509.h:1019:58: error: expected primary-expression before ‘int’
int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos);
^
/usr/include/openssl/x509.h:1019:69: error: expression list treated as compound expression in initializer [-fpermissive]
int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos);
^
/usr/include/openssl/x509.h:1020:43: error: ‘name’ was not declared in this scope
int X509_NAME_get_index_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj,
^
/usr/include/openssl/x509.h:1020:61: error: expected primary-expression before ‘*’ token
int X509_NAME_get_index_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj,
^
/usr/include/openssl/x509.h:1020:62: error: ‘obj’ was not declared in this scope
int X509_NAME_get_index_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj,
^
/usr/include/openssl/x509.h:1021:32: error: expected primary-expression before ‘int’
int lastpos);
^
/usr/include/openssl/x509.h:1021:43: error: expression list treated as compound expression in initializer [-fpermissive]
int lastpos);
^
/usr/include/openssl/x509.h:1022:49: error: ‘name’ was not declared in this scope
X509_NAME_ENTRY *X509_NAME_get_entry(X509_NAME *name, int loc);
^
/usr/include/openssl/x509.h:1022:55: error: expected primary-expression before ‘int’
X509_NAME_ENTRY *X509_NAME_get_entry(X509_NAME *name, int loc);
^
/usr/include/openssl/x509.h:1022:62: error: expression list treated as compound expression in initializer [-fpermissive]
X509_NAME_ENTRY *X509_NAME_get_entry(X509_NAME *name, int loc);
^
/usr/include/openssl/x509.h:1023:52: error: ‘name’ was not declared in this scope
X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc);
^
/usr/include/openssl/x509.h:1023:58: error: expected primary-expression before ‘int’
X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc);
^
/usr/include/openssl/x509.h:1023:65: error: expression list treated as compound expression in initializer [-fpermissive]
X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc);
^
/usr/include/openssl/x509.h:1024:36: error: ‘name’ was not declared in this scope
int X509_NAME_add_entry(X509_NAME *name, X509_NAME_ENTRY *ne,
^
/usr/include/openssl/x509.h:1024:58: error: expected primary-expression before ‘*’ token
int X509_NAME_add_entry(X509_NAME *name, X509_NAME_ENTRY *ne,
^
/usr/include/openssl/x509.h:1024:59: error: ‘ne’ was not declared in this scope
int X509_NAME_add_entry(X509_NAME *name, X509_NAME_ENTRY *ne,
^
/usr/include/openssl/x509.h:1025:25: error: expected primary-expression before ‘int’
int loc, int set);
^
/usr/include/openssl/x509.h:1025:34: error: expected primary-expression before ‘int’
int loc, int set);
^
/usr/include/openssl/x509.h:1025:41: error: expression list treated as compound expression in initializer [-fpermissive]
int loc, int set);
^
/usr/include/openssl/x509.h:1026:43: error: ‘name’ was not declared in this scope
int X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type,
^
/usr/include/openssl/x509.h:1026:61: error: expected primary-expression before ‘*’ token
int X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type,
^
/usr/include/openssl/x509.h:1026:62: error: ‘obj’ was not declared in this scope
int X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type,
^
/usr/include/openssl/x509.h:1026:67: error: expected primary-expression before ‘int’
int X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type,
^
/usr/include/openssl/x509.h:1027:32: error: expected primary-expression before ‘unsigned’
unsigned char *bytes, int len, int loc,
^
/usr/include/openssl/x509.h:1027:54: error: expected primary-expression before ‘int’
unsigned char *bytes, int len, int loc,
^
/usr/include/openssl/x509.h:1027:63: error: expected primary-expression before ‘int’
unsigned char *bytes, int len, int loc,
^
/usr/include/openssl/x509.h:1028:32: error: expected primary-expression before ‘int’
int set);
^
/usr/include/openssl/x509.h:1028:39: error: expression list treated as compound expression in initializer [-fpermissive]
int set);
^
/usr/include/openssl/x509.h:1029:43: error: ‘name’ was not declared in this scope
int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type,
^
/usr/include/openssl/x509.h:1029:49: error: expected primary-expression before ‘int’
int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type,
^
/usr/include/openssl/x509.h:1029:58: error: expected primary-expression before ‘int’
int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type,
^
/usr/include/openssl/x509.h:1030:32: error: expected primary-expression before ‘unsigned’
unsigned char *bytes, int len, int loc,
^
/usr/include/openssl/x509.h:1030:54: error: expected primary-expression before ‘int’
unsigned char *bytes, int len, int loc,
^
/usr/include/openssl/x509.h:1030:63: error: expected primary-expression before ‘int’
unsigned char *bytes, int len, int loc,
^
/usr/include/openssl/x509.h:1031:32: error: expected primary-expression before ‘int’
int set);
^
/usr/include/openssl/x509.h:1031:39: error: expression list treated as compound expression in initializer [-fpermissive]
int set);
^
/usr/include/openssl/x509.h:1039:43: error: ‘name’ was not declared in this scope
int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type,
^
/usr/include/openssl/x509.h:1039:49: error: expected primary-expression before ‘const’
int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type,
^
/usr/include/openssl/x509.h:1039:68: error: expected primary-expression before ‘int’
int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type,
^
/usr/include/openssl/x509.h:1040:32: error: expected primary-expression before ‘const’
const unsigned char *bytes, int len, int loc,
^
/usr/include/openssl/x509.h:1040:60: error: expected primary-expression before ‘int’
const unsigned char *bytes, int len, int loc,
^
/usr/include/openssl/x509.h:1040:69: error: expected primary-expression before ‘int’
const unsigned char *bytes, int len, int loc,
^
/usr/include/openssl/x509.h:1041:32: error: expected primary-expression before ‘int’
int set);
^
/usr/include/openssl/x509.h:1041:39: error: expression list treated as compound expression in initializer [-fpermissive]
int set);
^
In file included from /usr/include/w32api/windows.h:95:0,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/x509.h:1176:58: error: expected identifier before ‘(’ token
X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk, X509_NAME *name,
^
/usr/include/openssl/x509.h:1176:58: error: expected ‘)’ before numeric constant
X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk, X509_NAME *name,
^
/usr/include/openssl/x509.h:1176:58: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509.h:1176:58: error: expected initializer before numeric constant
/usr/include/openssl/x509.h:1178:48: error: expected identifier before ‘(’ token
X509 *X509_find_by_subject(STACK_OF(X509) *sk, X509_NAME *name);
^
/usr/include/openssl/x509.h:1178:48: error: expected ‘)’ before numeric constant
X509 *X509_find_by_subject(STACK_OF(X509) *sk, X509_NAME *name);
^
/usr/include/openssl/x509.h:1178:48: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509.h:1178:48: error: expected initializer before numeric constant
/usr/include/openssl/pem.h:159:5: error: expected ‘)’ before numeric constant
X509_NAME *dn;
^
In file included from /usr/include/openssl/ssl.h:162:0,
from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from ./libtorrent/include/libtorrent/tracker_manager.hpp:68,
from ./libtorrent/include/libtorrent/torrent.hpp:63,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:67,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/pem.h:453:32: error: expected ‘)’ before numeric constant
DECLARE_PEM_rw(X509_CERT_PAIR, X509_CERT_PAIR)
^
/usr/include/openssl/pem.h:453:32: error: expected ‘)’ before numeric constant
DECLARE_PEM_rw(X509_CERT_PAIR, X509_CERT_PAIR)
^
/usr/include/openssl/pem.h:453:16: error: invalid conversion from ‘LPCSTR {aka const char*}’ to ‘int’ [-fpermissive]
DECLARE_PEM_rw(X509_CERT_PAIR, X509_CERT_PAIR)
^
/usr/include/openssl/pem.h:453:1: error: expected ‘,’ or ‘;’ before ‘(’ token
DECLARE_PEM_rw(X509_CERT_PAIR, X509_CERT_PAIR)
^
/usr/include/openssl/pem.h:453:16: error: invalid conversion from ‘LPCSTR {aka const char*}’ to ‘int’ [-fpermissive]
DECLARE_PEM_rw(X509_CERT_PAIR, X509_CERT_PAIR)
^
/usr/include/openssl/pem.h:453:1: error: expected ‘,’ or ‘;’ before ‘(’ token
DECLARE_PEM_rw(X509_CERT_PAIR, X509_CERT_PAIR)
^
In file included from /usr/include/w32api/windows.h:95:0,
from /usr/include/w32api/winsock2.h:23,
from ./libtorrent/include/libtorrent/error_code.hpp:41,
from ./libtorrent/include/libtorrent/escape_string.hpp:41,
from ./libtorrent/include/libtorrent/peer_id.hpp:45,
from ./libtorrent/include/libtorrent/peer_connection.hpp:64,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:60,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/ssl.h:1611:5: error: expected ‘)’ before numeric constant
X509_EXTENSIONS *tlsext_ocsp_exts;
^
/usr/include/openssl/x509v3.h:194:9: error: expected ‘)’ before numeric constant
X509_NAME *directoryName;
^
/usr/include/openssl/x509v3.h:201:9: error: expected ‘)’ before numeric constant
X509_NAME *dirn; /* dirn */
^
/usr/include/openssl/x509v3.h:233:5: error: expected ‘)’ before numeric constant
X509_NAME *dpname;
^
/usr/include/openssl/x509v3.h:578:49: error: expected identifier before ‘(’ token
int DIST_POINT_set_dpname(DIST_POINT_NAME *dpn, X509_NAME *iname);
^
/usr/include/openssl/x509v3.h:578:49: error: expected ‘)’ before numeric constant
int DIST_POINT_set_dpname(DIST_POINT_NAME *dpn, X509_NAME *iname);
^
/usr/include/openssl/x509v3.h:578:49: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509v3.h:578:49: error: expected initializer before numeric constant
In file included from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:25:0,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from ./libtorrent/include/libtorrent/tracker_manager.hpp:68,
from ./libtorrent/include/libtorrent/torrent.hpp:63,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:67,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/x509v3.h:752:41: error: ‘nm’ was not declared in this scope
int X509V3_NAME_from_section(X509_NAME *nm, STACK_OF(CONF_VALUE) *dn_sk,
^
In file included from /usr/include/openssl/crypto.h:129:0,
from ./libtorrent/include/../../src/allocators.h:12,
from ./libtorrent/include/../../src/serialize.h:22,
from ./libtorrent/include/../../src/leveldb.h:7,
from ./libtorrent/include/libtorrent/storage.hpp:36,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:63,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/x509v3.h:752:45: error: expected primary-expression before ‘struct’
int X509V3_NAME_from_section(X509_NAME *nm, STACK_OF(CONF_VALUE) *dn_sk,
^
In file included from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:25:0,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from ./libtorrent/include/libtorrent/tracker_manager.hpp:68,
from ./libtorrent/include/libtorrent/torrent.hpp:63,
from ./libtorrent/include/libtorrent/web_connection_base.hpp:67,
from libtorrent/src/web_connection_base.cpp:40:
/usr/include/openssl/x509v3.h:753:30: error: expected primary-expression before ‘unsigned’
unsigned long chtype);
^
/usr/include/openssl/x509v3.h:753:50: error: expression list treated as compound expression in initializer [-fpermissive]
unsigned long chtype);
^
Makefile:1407: recipe for target 'libtorrent/src/web_connection_base.o' failed
make: *** [libtorrent/src/web_connection_base.o] Error 1