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
Compile with default setting is OK.
But if run ./configure ARIA2_STATIC=yes first, compiler will report redefinition of "struct addrinfo".
CXX AbstractAuthResolver.lo
CXX AbstractCommand.lo
In file included from a2time.h:45:0,
from TimerA2.h:39,
from AbstractCommand.h:44,
from AbstractCommand.cc:35:
gettimeofday.h:55:13: error: expected initializer before 'gettimeofday'
int __cdecl gettimeofday(struct timeval *__restrict__ tp,
^
In file included from a2netcompat.h:85:0,
from DownloadEngine.h:46,
from AbstractCommand.cc:40:
getaddrinfo.h:242:8: error: redefinition of 'struct addrinfo'
struct addrinfo {
^
In file included from a2netcompat.h:57:0,
from DownloadEngine.h:46,
from AbstractCommand.cc:40:
/usr/include/netdb.h:567:8: error: previous definition of 'struct addrinfo'
struct addrinfo
^
make[3]: *** [AbstractCommand.lo] Error 1
It only happens when compiling with GNUtls instead of OpenSSL.
The text was updated successfully, but these errors were encountered:
Compile with default setting is OK.
But if run ./configure ARIA2_STATIC=yes first, compiler will report redefinition of "struct addrinfo".
It only happens when compiling with GNUtls instead of OpenSSL.
The text was updated successfully, but these errors were encountered: