编译失败,有日志
QQ2017 opened this issue · 3 comments
FeatureConfig.cc:71:12: fatal error: libssh2.h: No such file or directory
提示找不到这个头文件,但是这个库是安装了的;
后面我 without libssh2 才编译成功;
最新测试,32位无法编译成功
version: 1.0.1-DEV shared 0:1:0
Host type: i686-w64-mingw32
Install prefix: /usr/local/i686-w64-mingw32
C compiler: i686-w64-mingw32-gcc
CFlags: -g -O2
Library types: Shared=yes, Static=yes
CUnit: no
Nettle: no
Build examples: no
configure: summary of build options:
Build: i686-w64-mingw32
Host: i686-w64-mingw32
Target: i686-w64-mingw32
Install prefix: /usr/local/i686-w64-mingw32
CC: i686-w64-mingw32-gcc
CXX: i686-w64-mingw32-g++
CPP: i686-w64-mingw32-gcc -E
CXXFLAGS: -g -O2
CFLAGS: -g -O2
CPPFLAGS: -I/usr/local/i686-w64-mingw32/include
LDFLAGS: -L/usr/local/i686-w64-mingw32/lib -Wl,--gc-sections,--build-id=none
LIBS:
DEFS: -DHAVE_CONFIG_H
CXX1XCXXFLAGS:
EXTRACXXFLAGS: -pipe
EXTRACFLAGS: -pipe
EXTRACPPFLAGS: -D_POSIX_C_SOURCE=1 -D_USE_32BIT_TIME_T
EXTRALDFLAGS: -Wl,--dynamicbase -Wl,--nxcompat -all-static
EXTRALIBS: -lws2_32 -lwsock32 -lgdi32 -lwinmm -liphlpapi -lpsapi -lntdll
WARNCXXFLAGS:
LibUV: no (CFLAGS='' LIBS='')
SQLite3: no (CFLAGS='' LIBS='')
SSL Support: yes
AppleTLS: no (LDFLAGS='')
WinTLS: yes (LIBS='-lcrypt32 -lsecur32 -ladvapi32')
GnuTLS: no (CFLAGS='' LIBS='')
OpenSSL: no (CFLAGS='' LIBS='')
CA Bundle:
LibNettle: no (CFLAGS='' LIBS='')
LibGmp: no (CFLAGS='' LIBS='')
LibGcrypt: no (CFLAGS='' LIBS='')
LibXML2: no (CFLAGS='' LIBS='')
LibExpat: no (CFLAGS='' LIBS='')
LibCares: yes (CFLAGS='-DCARES_STATICLIB -I/usr/local/i686-w64-mingw32/include' LIBS='-L/usr/local/i686-w64-mingw32/lib -lcares -lws2_32')
Zlib: yes (CFLAGS='' LIBS='-lz')
Libssh2: no (CFLAGS='' LIBS='')
Tcmalloc: no (CFLAGS='' LIBS='')
Jemalloc: no (CFLAGS='' LIBS='')
Epoll: no
Bittorrent: no
Metalink: no
XML-RPC: no
Message Digest: internal
WebSocket: yes (CFLAGS='-I$(top_builddir)/deps/wslay/lib/includes -I$(top_srcdir)/deps/wslay/lib/includes' LIBS='$(top_builddir)/deps/wslay/lib/libwslay.la')
Libaria2: no (shared=yes static=no)
bash_completion dir: ${datarootdir}/doc/${PACKAGE_TARNAME}/bash_completion
Static build: yes
make all-recursive
make[1]: 进入目录“/home/admin/aria2/aria2”
Making all in po
make[2]: 进入目录“/home/admin/aria2/aria2/po”
make[2]: 离开目录“/home/admin/aria2/aria2/po”
Making all in lib
make[2]: 进入目录“/home/admin/aria2/aria2/lib”
make[2]: 对“all”无需做任何事。
make[2]: 离开目录“/home/admin/aria2/aria2/lib”
Making all in deps
make[2]: 进入目录“/home/admin/aria2/aria2/deps”
Making all in wslay
make[3]: 进入目录“/home/admin/aria2/aria2/deps/wslay”
make all-recursive
make[4]: 进入目录“/home/admin/aria2/aria2/deps/wslay”
Making all in lib
make[5]: 进入目录“/home/admin/aria2/aria2/deps/wslay/lib”
Making all in includes
make[6]: 进入目录“/home/admin/aria2/aria2/deps/wslay/lib/includes”
make[6]: 对“all”无需做任何事。
make[6]: 离开目录“/home/admin/aria2/aria2/deps/wslay/lib/includes”
make[6]: 进入目录“/home/admin/aria2/aria2/deps/wslay/lib”
/bin/sh ../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/local/i686-w64-mingw32/include -Wall -g -O2 -MT wslay_frame.lo -MD -MP -MF .deps/wslay_frame.Tpo -c -o wslay_frame.lo wslay_frame.c
/bin/sh ../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/local/i686-w64-mingw32/include -Wall -g -O2 -MT wslay_event.lo -MD -MP -MF .deps/wslay_event.Tpo -c -o wslay_event.lo wslay_event.c
/bin/sh ../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/local/i686-w64-mingw32/include -Wall -g -O2 -MT wslay_queue.lo -MD -MP -MF .deps/wslay_queue.Tpo -c -o wslay_queue.lo wslay_queue.c
/bin/sh ../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/local/i686-w64-mingw32/include -Wall -g -O2 -MT wslay_net.lo -MD -MP -MF .deps/wslay_net.Tpo -c -o wslay_net.lo wslay_net.c
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/local/i686-w64-mingw32/include -Wall -g -O2 -MT wslay_frame.lo -MD -MP -MF .deps/wslay_frame.Tpo -c wslay_frame.c -DDLL_EXPORT -DPIC -o .libs/wslay_frame.o
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/local/i686-w64-mingw32/include -Wall -g -O2 -MT wslay_queue.lo -MD -MP -MF .deps/wslay_queue.Tpo -c wslay_queue.c -DDLL_EXPORT -DPIC -o .libs/wslay_queue.o
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/local/i686-w64-mingw32/include -Wall -g -O2 -MT wslay_event.lo -MD -MP -MF .deps/wslay_event.Tpo -c wslay_event.c -DDLL_EXPORT -DPIC -o .libs/wslay_event.o
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/local/i686-w64-mingw32/include -Wall -g -O2 -MT wslay_net.lo -MD -MP -MF .deps/wslay_net.Tpo -c wslay_net.c -DDLL_EXPORT -DPIC -o .libs/wslay_net.o
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/local/i686-w64-mingw32/include -Wall -g -O2 -MT wslay_queue.lo -MD -MP -MF .deps/wslay_queue.Tpo -c wslay_queue.c -o wslay_queue.o >/dev/null 2>&1
mv -f .deps/wslay_queue.Tpo .deps/wslay_queue.Plo
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/local/i686-w64-mingw32/include -Wall -g -O2 -MT wslay_net.lo -MD -MP -MF .deps/wslay_net.Tpo -c wslay_net.c -o wslay_net.o >/dev/null 2>&1
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/local/i686-w64-mingw32/include -Wall -g -O2 -MT wslay_frame.lo -MD -MP -MF .deps/wslay_frame.Tpo -c wslay_frame.c -o wslay_frame.o >/dev/null 2>&1
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/local/i686-w64-mingw32/include -Wall -g -O2 -MT wslay_event.lo -MD -MP -MF .deps/wslay_event.Tpo -c wslay_event.c -o wslay_event.o >/dev/null 2>&1
mv -f .deps/wslay_net.Tpo .deps/wslay_net.Plo
mv -f .deps/wslay_frame.Tpo .deps/wslay_frame.Plo
mv -f .deps/wslay_event.Tpo .deps/wslay_event.Plo
/bin/sh ../libtool --tag=CC --mode=link i686-w64-mingw32-gcc -Wall -g -O2 -no-undefined -version-info 0:1:0 -L/usr/local/i686-w64-mingw32/lib -Wl,--gc-sections,--build-id=none -o libwslay.la wslay_frame.lo wslay_event.lo wslay_queue.lo wslay_net.lo -lws2_32
libtool: warning: '-version-info/-version-number' is ignored for convenience libraries
libtool: link: rm -fr .libs/libwslay.a .libs/libwslay.la
libtool: link: ar cru .libs/libwslay.a .libs/wslay_frame.o .libs/wslay_event.o .libs/wslay_queue.o .libs/wslay_net.o
libtool: link: ranlib .libs/libwslay.a
libtool: link: ( cd ".libs" && rm -f "libwslay.la" && cp -pR "../libwslay.la" "libwslay.la" )
make[6]: 离开目录“/home/admin/aria2/aria2/deps/wslay/lib”
make[5]: 离开目录“/home/admin/aria2/aria2/deps/wslay/lib”
Making all in tests
make[5]: 进入目录“/home/admin/aria2/aria2/deps/wslay/tests”
make[5]: 对“all”无需做任何事。
make[5]: 离开目录“/home/admin/aria2/aria2/deps/wslay/tests”
make[5]: 进入目录“/home/admin/aria2/aria2/deps/wslay”
make[5]: 离开目录“/home/admin/aria2/aria2/deps/wslay”
make[4]: 离开目录“/home/admin/aria2/aria2/deps/wslay”
make[3]: 离开目录“/home/admin/aria2/aria2/deps/wslay”
make[3]: 进入目录“/home/admin/aria2/aria2/deps”
make[3]: 对“all-am”无需做任何事。
make[3]: 离开目录“/home/admin/aria2/aria2/deps”
make[2]: 离开目录“/home/admin/aria2/aria2/deps”
Making all in src
make[2]: 进入目录“/home/admin/aria2/aria2/src”
Making all in includes
make[3]: 进入目录“/home/admin/aria2/aria2/src/includes”
make[3]: 对“all”无需做任何事。
make[3]: 离开目录“/home/admin/aria2/aria2/src/includes”
make[3]: 进入目录“/home/admin/aria2/aria2/src”
CXX main.o
CXX AbstractAuthResolver.lo
CXX AbstractCommand.lo
CXX AbstractDiskWriter.lo
CXX AbstractHttpServerResponseCommand.lo
CXX AbstractOptionHandler.lo
CXX AbstractProxyRequestCommand.lo
CXX AbstractProxyResponseCommand.lo
CXX AbstractSingleDiskAdaptor.lo
CXX AdaptiveFileAllocationIterator.lo
CXX AdaptiveURISelector.lo
CXX AuthConfig.lo
CXX AuthConfigFactory.lo
CXX AutoSaveCommand.lo
CXX BackupIPv4ConnectCommand.lo
CXX base32.lo
CXX bitfield.lo
CXX BitfieldMan.lo
CXX BufferedFile.lo
CXX ByteArrayDiskWriter.lo
CXX CheckIntegrityCommand.lo
CXX CheckIntegrityDispatcherCommand.lo
CXX CheckIntegrityEntry.lo
CXX Checksum.lo
CXX ChecksumCheckIntegrityEntry.lo
CXX ChunkChecksum.lo
CXX ChunkedDecodingStreamFilter.lo
CXX ColorizedStream.lo
CXX Command.lo
CXX ConnectCommand.lo
CXX console.lo
CXX ConsoleStatCalc.lo
CXX ContentTypeRequestGroupCriteria.lo
CXX Context.lo
CXX ContextAttribute.lo
CXX Cookie.lo
CXX CookieStorage.lo
CXX cookie_helper.lo
CXX CreateRequestCommand.lo
CXX CUIDCounter.lo
CXX DefaultAuthResolver.lo
CXX DefaultBtProgressInfoFile.lo
CXX DefaultDiskWriter.lo
CXX DefaultDiskWriterFactory.lo
CXX DefaultPieceStorage.lo
CXX DefaultStreamPieceSelector.lo
CXX DirectDiskAdaptor.lo
CXX DiskAdaptor.lo
CXX DlAbortEx.lo
CXX DlRetryEx.lo
CXX DNSCache.lo
CXX DownloadCommand.lo
CXX DownloadContext.lo
CXX DownloadEngine.lo
CXX DownloadEngineFactory.lo
CXX DownloadFailureException.lo
CXX DownloadHandler.lo
CXX DownloadHandlerConstants.lo
CXX DownloadResult.lo
CXX download_handlers.lo
CXX download_helper.lo
CXX Exception.lo
CXX FatalException.lo
CXX FeatureConfig.lo
CXX FeedbackURISelector.lo
CXX File.lo
CXX FileAllocationCommand.lo
CXX FileAllocationDispatcherCommand.lo
CXX FileAllocationEntry.lo
CXX FileEntry.lo
CXX FillRequestGroupCommand.lo
CXX fmt.lo
CXX FtpConnection.lo
CXX FtpDownloadCommand.lo
CXX FtpFinishDownloadCommand.lo
CXX FtpInitiateConnectionCommand.lo
CXX FtpNegotiationCommand.lo
CXX FtpTunnelRequestCommand.lo
CXX FtpTunnelResponseCommand.lo
CXX GeomStreamPieceSelector.lo
CXX GroupId.lo
CXX GrowSegment.lo
CXX HaveEraseCommand.lo
CXX help_tags.lo
CXX HttpConnection.lo
CXX HttpDownloadCommand.lo
CXX HttpHeader.lo
CXX HttpHeaderProcessor.lo
CXX HttpInitiateConnectionCommand.lo
CXX HttpListenCommand.lo
CXX HttpProxyRequestCommand.lo
CXX HttpProxyResponseCommand.lo
CXX HttpRequest.lo
CXX HttpRequestCommand.lo
CXX HttpResponse.lo
CXX HttpResponseCommand.lo
CXX HttpServer.lo
CXX HttpServerBodyCommand.lo
CXX HttpServerCommand.lo
CXX HttpServerResponseCommand.lo
CXX HttpSkipResponseCommand.lo
CXX InitiateConnectionCommand.lo
CXX InitiateConnectionCommandFactory.lo
CXX InorderStreamPieceSelector.lo
CXX RandomStreamPieceSelector.lo
CXX InorderURISelector.lo
CXX IOFile.lo
CXX IteratableChecksumValidator.lo
CXX IteratableChunkChecksumValidator.lo
CXX json.lo
CXX JsonParser.lo
CXX LogFactory.lo
CXX Logger.lo
CXX LongestSequencePieceSelector.lo
CXX MessageDigest.lo
CXX message_digest_helper.lo
CXX MetadataInfo.lo
CXX MetalinkHttpEntry.lo
CXX MultiDiskAdaptor.lo
CXX MultiFileAllocationIterator.lo
CXX MultiUrlRequestInfo.lo
CXX NameResolver.lo
CXX Netrc.lo
CXX NetrcAuthResolver.lo
CXX NetStat.lo
CXX Notifier.lo
CXX NsCookieParser.lo
CXX NullSinkStreamFilter.lo
CXX Option.lo
CXX OptionHandler.lo
CXX OptionHandlerException.lo
CXX OptionHandlerFactory.lo
CXX OptionHandlerImpl.lo
CXX OptionParser.lo
CXX option_processing.lo
CXX paramed_string.lo
CXX PeerStat.lo
CXX Piece.lo
CXX PiecedSegment.lo
CXX PieceHashCheckIntegrityEntry.lo
CXX PieceStatMan.lo
CXX Platform.lo
CXX prefs.lo
CXX ProtocolDetector.lo
CXX Range.lo
CXX RarestPieceSelector.lo
CXX RealtimeCommand.lo
CXX RecoverableException.lo
CXX Request.lo
CXX RequestGroup.lo
CXX RequestGroupEntry.lo
CXX RequestGroupMan.lo
CXX RpcMethod.lo
CXX RpcMethodFactory.lo
CXX RpcMethodImpl.lo
CXX RpcRequest.lo
CXX RpcResponse.lo
CXX rpc_helper.lo
CXX SaveSessionCommand.lo
CXX SegmentMan.lo
CXX SelectEventPoll.lo
CXX ServerStat.lo
CXX ServerStatMan.lo
CXX SessionSerializer.lo
CXX Signature.lo
CXX SimpleRandomizer.lo
CXX SingleFileAllocationIterator.lo
CXX SinkStreamFilter.lo
CXX SocketBuffer.lo
CXX SocketCore.lo
CXX SocketRecvBuffer.lo
CXX SpeedCalc.lo
CXX StreamCheckIntegrityEntry.lo
CXX StreamFileAllocationEntry.lo
CXX StreamFilter.lo
CXX TimeA2.lo
CXX TimeBasedCommand.lo
CXX TimedHaltCommand.lo
CXX TimerA2.lo
CXX TorrentAttribute.lo
CXX TransferStat.lo
CXX TruncFileAllocationIterator.lo
CXX UnknownLengthPieceStorage.lo
CXX UnknownOptionException.lo
CXX uri.lo
CXX UriListParser.lo
CXX URIResult.lo
CXX util.lo
CXX util_security.lo
CXX ValueBase.lo
CXX ValueBaseStructParserStateImpl.lo
CXX ValueBaseStructParserStateMachine.lo
CXX version_usage.lo
CXX wallclock.lo
CXX WatchProcessCommand.lo
CXX WrDiskCache.lo
CXX WrDiskCacheEntry.lo
CXX XmlRpcRequestParserController.lo
CXX OpenedFileCounter.lo
CXX SHA1IOFile.lo
CXX EvictSocketPoolCommand.lo
CXX WinConsoleFile.lo
CXX WebSocketInteractionCommand.lo
CXX WebSocketResponseCommand.lo
CXX WebSocketSession.lo
CXX WebSocketSessionMan.lo
CXX FallocFileAllocationIterator.lo
CXX WinTLSContext.lo
CXX WinTLSSession.lo
CXX InternalDHKeyExchange.lo
CXX InternalARC4Encryptor.lo
CXX InternalMessageDigestImpl.lo
CXX crypto_hash.lo
CXX GZipDecodingStreamFilter.lo
CXX GZipEncoder.lo
CXX GZipFile.lo
CXX Adler32MessageDigestImpl.lo
CXX AsyncNameResolver.lo
CXX AsyncNameResolverMan.lo
CC gai_strerror.lo
CC strptime.lo
CC timegm.lo
CXX daemon.lo
CXXLD libaria2.la
CXXLD aria2c.exe
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(download_helper.o): in function ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC4ERKS4_': D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:451: undefined reference to
aria2::A2STR::NIL[abi:cxx11]'
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(download_helper.o): in function ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7_M_dataEv': D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:187: undefined reference to
aria2::A2STR::NIL[abi:cxx11]'
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(File.o): in function ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7_M_dataEv': D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:187: undefined reference to
aria2::A2STR::NIL[abi:cxx11]'
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(File.o): in function ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC4ERKS4_': D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:451: undefined reference to
aria2::A2STR::NIL[abi:cxx11]'
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(FileEntry.o): in function ZN5aria29FileEntry24removeURIWhoseHostnameIsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE': D:\Space\aria2-build-msys2-master\msys64\home\admin\aria2\aria2\src/FileEntry.cc:361: undefined reference to
uri_split'
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(FileEntry.o): in function ZN5aria29FileEntry6addUriERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE': D:\Space\aria2-build-msys2-master\msys64\home\admin\aria2\aria2\src/FileEntry.cc:545: undefined reference to
uri_split'
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(FileEntry.o):D:\Space\aria2-build-msys2-master\msys64\home\admin\aria2\aria2\src/FileEntry.cc:120: undefined reference to uri_split' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(FileEntry.o): in function
ZN5aria29FileEntry8reuseUriERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EE':
D:\Space\aria2-build-msys2-master\msys64\home\admin\aria2\aria2\src/FileEntry.cc:440: undefined reference to uri_split' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(FileEntry.o): in function
ZN5aria29FileEntry9insertUriERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj':
D:\Space\aria2-build-msys2-master\msys64\home\admin\aria2\aria2\src/FileEntry.cc:557: undefined reference to uri_split' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(FileEntry.o):D:\Space\aria2-build-msys2-master\msys64\home\admin\aria2\aria2\src/FileEntry.cc:287: more undefined references to
uri_split' follow
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(Option.o): in function ZNK5aria26Option3getB5cxx11EPKNS_4PrefE': D:\Space\aria2-build-msys2-master\msys64\home\admin\aria2\aria2\src/Option.cc:113: undefined reference to
aria2::A2STR::NIL[abi:cxx11]'
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(ProtocolDetector.o): in function ZNK5aria216ProtocolDetector16isStreamProtocolERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE': D:\Space\aria2-build-msys2-master\msys64\home\admin\aria2\aria2\src/ProtocolDetector.cc:58: undefined reference to
uri_split'
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: DWARF error: could not find variable specification at offset 17621
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: DWARF error: could not find variable specification at offset 17636
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: DWARF error: could not find variable specification at offset 17664
./.libs/libaria2.a(Request.o): in function ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignERKS4_': D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:1366: undefined reference to
aria2::A2STR::NIL[abi:cxx11]'
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:1366: undefined reference to aria2::A2STR::NIL[abi:cxx11]' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(Request.o): in function
ZN5aria27Request12initPeerStatEv':
D:\Space\aria2-build-msys2-master\msys64\home\admin\aria2\aria2\src/Request.cc:171: undefined reference to uri_split' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(RequestGroup.o): in function
ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7_M_dataEv':
D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:187: undefined reference to aria2::A2STR::NIL[abi:cxx11]' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(RequestGroup.o): in function
ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv':
D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:908: undefined reference to aria2::A2STR::NIL[abi:cxx11]' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: DWARF error: could not find variable specification at offset 16826f ./.libs/libaria2.a(RequestGroupMan.o): in function
ZN5aria215RequestGroupMan12getUsedHostsERSt6vectorISt4pairIjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS9_EE':
D:\Space\aria2-build-msys2-master\msys64\home\admin\aria2\aria2\src/RequestGroupMan.cc:1011: undefined reference to uri_split' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(RpcMethodImpl.o): in function
ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7_M_dataEv':
D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:187: undefined reference to aria2::A2STR::NIL[abi:cxx11]' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(RpcMethodImpl.o): in function
ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC4ERKS4_':
D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:451: undefined reference to aria2::A2STR::NIL[abi:cxx11]' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(RpcMethodImpl.o): in function
ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7_M_dataEv':
D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:187: undefined reference to aria2::A2STR::NIL[abi:cxx11]' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(RpcMethodImpl.o): in function
ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC4ERKS4_':
D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:451: undefined reference to aria2::A2STR::NIL[abi:cxx11]' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(RpcResponse.o):D:\Space\aria2-build-msys2-master\msys64\home\admin\aria2\aria2\src/RpcResponse.cc:211: undefined reference to
aria2::A2STR::NIL[abi:cxx11]'
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(RpcResponse.o):D:\Space\aria2-build-msys2-master\msys64\home\admin\aria2\aria2\src/RpcResponse.cc:217: more undefined references to aria2::A2STR::NIL[abi:cxx11]' follow D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(uri.o): in function
ZN5aria23uri5parseERNS0_9UriStructERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE':
D:\Space\aria2-build-msys2-master\msys64\home\admin\aria2\aria2\src/uri.cc:93: undefined reference to uri_split' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(uri.o): in function
ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignERKS4_':
D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:1366: undefined reference to aria2::A2STR::NIL[abi:cxx11]' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:1366: undefined reference to
aria2::A2STR::NIL[abi:cxx11]'
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:1366: undefined reference to aria2::A2STR::NIL[abi:cxx11]' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:1366: undefined reference to
aria2::A2STR::NIL[abi:cxx11]'
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(util.o): in function ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7_M_dataEv': D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:187: undefined reference to
aria2::A2STR::NIL[abi:cxx11]'
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(util.o):D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:451: more undefined references to aria2::A2STR::NIL[abi:cxx11]' follow D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(AdaptiveURISelector.o): in function
ZNK5aria219AdaptiveURISelector14getServerStatsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE':
D:\Space\aria2-build-msys2-master\msys64\home\admin\aria2\aria2\src/AdaptiveURISelector.cc:348: undefined reference to uri_split' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(AdaptiveURISelector.o): in function
ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC4ERKS4_':
D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:451: undefined reference to aria2::A2STR::NIL[abi:cxx11]' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(AdaptiveURISelector.o): in function
ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7_M_dataEv':
D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:187: undefined reference to aria2::A2STR::NIL[abi:cxx11]' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(AdaptiveURISelector.o): in function
ZSteqIcEN9__gnu_cxx11__enable_ifIXsrSt9__is_charIT_E7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS3_St11char_traitsIS3_ESaIS3_EEESE_':
D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:6164: undefined reference to aria2::A2STR::NIL[abi:cxx11]' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(AdaptiveURISelector.o): in function
ZNSt11char_traitsIcE7compareEPKcS2_j':
D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/char_traits.h:347: undefined reference to aria2::A2STR::NIL[abi:cxx11]' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(AdaptiveURISelector.o): in function
ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC4ERKS4_':
D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:451: undefined reference to aria2::A2STR::NIL[abi:cxx11]' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(AdaptiveURISelector.o):D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:187: more undefined references to
aria2::A2STR::NIL[abi:cxx11]' follow
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(FeedbackURISelector.o): in function ZN5aria219FeedbackURISelector11selectRarerERKSt5dequeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EERKSt6vectorISt4pairIjS7_ESaISE_EE': D:\Space\aria2-build-msys2-master\msys64\home\admin\aria2\aria2\src/FeedbackURISelector.cc:96: undefined reference to
uri_split'
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(FeedbackURISelector.o): in function ZN5aria219FeedbackURISelector12selectFasterERKSt5dequeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EERKSt6vectorISt4pairIjS7_ESaISE_EE': D:\Space\aria2-build-msys2-master\msys64\home\admin\aria2\aria2\src/FeedbackURISelector.cc:134: undefined reference to
uri_split'
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(FeedbackURISelector.o): in function ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC4ERKS4_': D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:451: undefined reference to
aria2::A2STR::NIL[abi:cxx11]'
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(FeedbackURISelector.o): in function ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7_M_dataEv': D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:187: undefined reference to
aria2::A2STR::NIL[abi:cxx11]'
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(FeedbackURISelector.o): in function ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC4ERKS4_': D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:451: undefined reference to
aria2::A2STR::NIL[abi:cxx11]'
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(FeedbackURISelector.o): in function ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7_M_dataEv': D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:187: undefined reference to
aria2::A2STR::NIL[abi:cxx11]'
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(GrowSegment.o): in function ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7_M_dataEv': D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:187: undefined reference to
aria2::A2STR::NIL[abi:cxx11]'
D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(GrowSegment.o):D:/Space/aria2-build-msys2-master/msys64/mingw32/include/c++/10.2.0/bits/basic_string.h:908: more undefined references to aria2::A2STR::NIL[abi:cxx11]' follow D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(HttpResponseCommand.o): in function
ZN5aria219HttpResponseCommand15executeInternalEv':
D:\Space\aria2-build-msys2-master\msys64\home\admin\aria2\aria2\src/HttpResponseCommand.cc:253: undefined reference to uri_split' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(HttpServerBodyCommand.o): in function
ZN5aria221HttpServerBodyCommand19sendJsonRpcResponseERKNS_3rpc11RpcResponseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE':
D:\Space\aria2-build-msys2-master\msys64\home\admin\aria2\aria2\src/HttpServerBodyCommand.cc:130: undefined reference to aria2::A2STR::NIL[abi:cxx11]' D:/Space/aria2-build-msys2-master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ./.libs/libaria2.a(AsyncNameResolverMan.o): in function
ZNK5aria220AsyncNameResolverMan12getLastErrorB5cxx11Ev':
D:\Space\aria2-build-msys2-master\msys64\home\admin\aria2\aria2\src/AsyncNameResolverMan.cc:194: undefined reference to `aria2::A2STR::NIL[abi:cxx11]'
collect2.exe: error: ld returned 1 exit status
make[3]: *** [Makefile:2155:aria2c.exe] 错误 1
make[3]: 离开目录“/home/admin/aria2/aria2/src”
make[2]: *** [Makefile:2677:all-recursive] 错误 1
make[2]: 离开目录“/home/admin/aria2/aria2/src”
make[1]: *** [Makefile:554:all-recursive] 错误 1
make[1]: 离开目录“/home/admin/aria2/aria2”
make: *** [Makefile:465:all] 错误 2
D:\Space\aria2-build-msys2-master\msys64\mingw32\bin\strip.exe: src/aria2c.exe£ºΞ´ˎļþ
切换到分支 'master'
您的分支与上游分支 'origin/master' 一致。
已删除分支 patch(曾为 3cc0608)。
D:/Space/aria2-build-msys2-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../src/.libs/libssh2.a(hostkey.o):hostkey.c:(.bss+0x0): multiple definition of `_libssh2_wincng'; ../src/.libs/libssh2.a(channel.o):channel.c:(.bss+0x0): first defined here
D:/Space/aria2-build-msys2-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../src/.libs/libssh2.a(misc.o):misc.c:(.bss+0x0): multiple definition of `_libssh2_wincng'; ../src/.libs/libssh2.a(channel.o):channel.c:(.bss+0x0): first defined here
D:/Space/aria2-build-msys2-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../src/.libs/libssh2.a(packet.o):packet.c:(.bss+0x0): multiple definition of `_libssh2_wincng'; ../src/.libs/libssh2.a(channel.o):channel.c:(.bss+0x0): first defined here
D:/Space/aria2-build-msys2-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../src/.libs/libssh2.a(session.o):session.c:(.bss+0x0): multiple definition of `_libssh2_wincng'; ../src/.libs/libssh2.a(channel.o):channel.c:(.bss+0x0): first defined here
D:/Space/aria2-build-msys2-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../src/.libs/libssh2.a(userauth.o):userauth.c:(.bss+0x0): multiple definition of `_libssh2_wincng'; ../src/.libs/libssh2.a(channel.o):channel.c:(.bss+0x0): first defined here
D:/Space/aria2-build-msys2-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../src/.libs/libssh2.a(transport.o):transport.c:(.bss+0x0): multiple definition of `_libssh2_wincng'; ../src/.libs/libssh2.a(channel.o):channel.c:(.bss+0x0): first defined here
D:/Space/aria2-build-msys2-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../src/.libs/libssh2.a(wincng.o):wincng.c:(.bss+0x0): multiple definition of `_libssh2_wincng'; ../src/.libs/libssh2.a(channel.o):channel.c:(.bss+0x0): first defined here
D:/Space/aria2-build-msys2-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../src/.libs/libssh2.a(pem.o):pem.c:(.bss+0x0): multiple definition of `_libssh2_wincng'; ../src/.libs/libssh2.a(channel.o):channel.c:(.bss+0x0): first defined here
D:/Space/aria2-build-msys2-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../src/.libs/libssh2.a(keepalive.o):keepalive.c:(.bss+0x0): multiple definition of `_libssh2_wincng'; ../src/.libs/libssh2.a(channel.o):channel.c:(.bss+0x0): first defined here
D:/Space/aria2-build-msys2-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../src/.libs/libssh2.a(global.o):global.c:(.bss+0x0): multiple definition of `_libssh2_wincng'; ../src/.libs/libssh2.a(channel.o):channel.c:(.bss+0x0): first defined here
D:/Space/aria2-build-msys2-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../src/.libs/libssh2.a(bcrypt_pbkdf.o):bcrypt_pbkdf.c:(.bss+0x0): multiple definition of `_libssh2_wincng'; ../src/.libs/libssh2.a(channel.o):channel.c:(.bss+0x0): first defined here
D:/Space/aria2-build-msys2-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../src/.libs/libssh2.a(crypt.o):crypt.c:(.bss+0x0): multiple definition of `_libssh2_wincng'; ../src/.libs/libssh2.a(channel.o):channel.c:(.bss+0x0): first defined here
D:/Space/aria2-build-msys2-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../src/.libs/libssh2.a(kex.o):kex.c:(.bss+0x0): multiple definition of `_libssh2_wincng'; ../src/.libs/libssh2.a(channel.o):channel.c:(.bss+0x0): first defined here
D:/Space/aria2-build-msys2-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../src/.libs/libssh2.a(mac.o):mac.c:(.bss+0x0): multiple definition of `_libssh2_wincng'; ../src/.libs/libssh2.a(channel.o):channel.c:(.bss+0x0): first defined here
D:/Space/aria2-build-msys2-master/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../src/.libs/libssh2.a(comp.o):comp.c:(.bss+0x0): multiple definition of `_libssh2_wincng'; ../src/.libs/libssh2.a(channel.o):channel.c:(.bss+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
make[1]: *** [Makefile:626:ssh2.exe] 错误 1
make[1]: 离开目录“/home/admin/aria2/libssh2-1.9.0/tests”
make: *** [Makefile:547:install-recursive] 错误 1