LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-10-2015, 02:23 PM   #1
akashi
LQ Newbie
 
Registered: Dec 2010
Posts: 20

Rep: Reputation: 0
Compiling aria2


Hi, first of I am fairly new to Linux. I purchased a Raspberry Pi and have been using Raspbian to learn more about Linux.

I am trying to compile a package called aria2 from source and have done the following to satisfy the dependencies:

Code:
sudo apt-get install libssl-dev libssh2-1-dev libc-ares-dev libxml2-dev zlib1g-dev libsqlite3-dev libexpat1-dev libxml2-dev libcppunit-dev libtool -y
./configure completed without any errors but when I run make, I got the following warnings:

Code:
make
make  all-recursive
make[1]: Entering directory '/home/pi/aria2-1.19.0'
Making all in po
make[2]: Entering directory '/home/pi/aria2-1.19.0/po'
make[2]: Leaving directory '/home/pi/aria2-1.19.0/po'
Making all in lib
make[2]: Entering directory '/home/pi/aria2-1.19.0/lib'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/pi/aria2-1.19.0/lib'
Making all in deps
make[2]: Entering directory '/home/pi/aria2-1.19.0/deps'
Making all in wslay
make[3]: Entering directory '/home/pi/aria2-1.19.0/deps/wslay'
make  all-recursive
make[4]: Entering directory '/home/pi/aria2-1.19.0/deps/wslay'
Making all in lib
make[5]: Entering directory '/home/pi/aria2-1.19.0/deps/wslay/lib'
Making all in includes
make[6]: Entering directory '/home/pi/aria2-1.19.0/deps/wslay/lib/includes'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/pi/aria2-1.19.0/deps/wslay/lib/includes'
make[6]: Entering directory '/home/pi/aria2-1.19.0/deps/wslay/lib'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -DHAVE_CONFIG_H -I./includes -I./inclu                                                                                          des  -Wall -g -O2 -MT wslay_frame.lo -MD -MP -MF .deps/wslay_frame.Tpo -c -o wslay_frame.lo wslay_frame.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -Wall -g -O2 -MT wslay_fra                                                                                          me.lo -MD -MP -MF .deps/wslay_frame.Tpo -c wslay_frame.c  -fPIC -DPIC -o .libs/wslay_frame.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -Wall -g -O2 -MT wslay_fra                                                                                          me.lo -MD -MP -MF .deps/wslay_frame.Tpo -c wslay_frame.c -o wslay_frame.o >/dev/null 2>&1
mv -f .deps/wslay_frame.Tpo .deps/wslay_frame.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -DHAVE_CONFIG_H -I./includes -I./inclu                                                                                          des  -Wall -g -O2 -MT wslay_event.lo -MD -MP -MF .deps/wslay_event.Tpo -c -o wslay_event.lo wslay_event.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -Wall -g -O2 -MT wslay_eve                                                                                          nt.lo -MD -MP -MF .deps/wslay_event.Tpo -c wslay_event.c  -fPIC -DPIC -o .libs/wslay_event.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -Wall -g -O2 -MT wslay_eve                                                                                          nt.lo -MD -MP -MF .deps/wslay_event.Tpo -c wslay_event.c -o wslay_event.o >/dev/null 2>&1
mv -f .deps/wslay_event.Tpo .deps/wslay_event.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -DHAVE_CONFIG_H -I./includes -I./inclu                                                                                          des  -Wall -g -O2 -MT wslay_queue.lo -MD -MP -MF .deps/wslay_queue.Tpo -c -o wslay_queue.lo wslay_queue.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -Wall -g -O2 -MT wslay_que                                                                                          ue.lo -MD -MP -MF .deps/wslay_queue.Tpo -c wslay_queue.c  -fPIC -DPIC -o .libs/wslay_queue.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -Wall -g -O2 -MT wslay_que                                                                                          ue.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
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -DHAVE_CONFIG_H -I./includes -I./inclu                                                                                          des  -Wall -g -O2 -MT wslay_net.lo -MD -MP -MF .deps/wslay_net.Tpo -c -o wslay_net.lo wslay_net.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -Wall -g -O2 -MT wslay_net                                                                                          .lo -MD -MP -MF .deps/wslay_net.Tpo -c wslay_net.c  -fPIC -DPIC -o .libs/wslay_net.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -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
mv -f .deps/wslay_net.Tpo .deps/wslay_net.Plo
/bin/bash ../libtool  --tag=CC   --mode=link gcc -Wall -g -O2 -no-undefined -version-info 0:0:0  -o libwslay.la   ws                                                                                          lay_frame.lo wslay_event.lo wslay_queue.lo wslay_net.lo
libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
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" && ln -s "../libwslay.la" "libwslay.la" )
make[6]: Leaving directory '/home/pi/aria2-1.19.0/deps/wslay/lib'
make[5]: Leaving directory '/home/pi/aria2-1.19.0/deps/wslay/lib'
Making all in tests
make[5]: Entering directory '/home/pi/aria2-1.19.0/deps/wslay/tests'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/pi/aria2-1.19.0/deps/wslay/tests'
make[5]: Entering directory '/home/pi/aria2-1.19.0/deps/wslay'
make[5]: Leaving directory '/home/pi/aria2-1.19.0/deps/wslay'
make[4]: Leaving directory '/home/pi/aria2-1.19.0/deps/wslay'
make[3]: Leaving directory '/home/pi/aria2-1.19.0/deps/wslay'
make[3]: Entering directory '/home/pi/aria2-1.19.0/deps'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/pi/aria2-1.19.0/deps'
make[2]: Leaving directory '/home/pi/aria2-1.19.0/deps'
Making all in src
make[2]: Entering directory '/home/pi/aria2-1.19.0/src'
Making all in includes
make[3]: Entering directory '/home/pi/aria2-1.19.0/src/includes'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/pi/aria2-1.19.0/src/includes'
make[3]: Entering directory '/home/pi/aria2-1.19.0/src'
  CXX      A2STR.lo
  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      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
  CC       uri_split.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      WebSocketInteractionCommand.lo
  CXX      WebSocketResponseCommand.lo
  CXX      WebSocketSession.lo
  CXX      WebSocketSessionMan.lo
  CXX      XmlAttr.lo
  CXX      XmlParser.lo
  CXX      Xml2XmlParser.lo
  CXX      XmlRpcDiskWriter.lo
  CXX      XmlRpcRequestParserStateImpl.lo
  CXX      XmlRpcRequestParserStateMachine.lo
  CXX      FallocFileAllocationIterator.lo
  CXX      EpollEventPoll.lo
  CXX      LibsslARC4Encryptor.lo
  CXX      LibsslDHKeyExchange.lo
  CXX      LibsslTLSContext.lo
  CXX      LibsslTLSSession.lo
  CXX      LibsslMessageDigestImpl.lo
  CXX      GZipDecodingStreamFilter.lo
  CXX      GZipEncoder.lo
  CXX      GZipFile.lo
  CXX      Adler32MessageDigestImpl.lo
  CXX      Sqlite3CookieParser.lo
  CXX      Sqlite3CookieParserImpl.lo
  CXX      SSHSession.lo
  CXX      SftpNegotiationCommand.lo
  CXX      SftpDownloadCommand.lo
  CXX      SftpFinishDownloadCommand.lo
  CXX      AsyncNameResolver.lo
  CXX      AsyncNameResolverMan.lo
  CXX      AbstractBtMessage.lo
  CXX      ActivePeerConnectionCommand.lo
  CXX      AnnounceList.lo
  CXX      AnnounceTier.lo
  CXX      bencode2.lo
  CXX      BencodeParser.lo
  CXX      bittorrent_helper.lo
  CXX      BtAbortOutstandingRequestEvent.lo
  CXX      BtAllowedFastMessage.lo
  CXX      BtAnnounce.lo
  CXX      BtBitfieldMessage.lo
  CXX      BtBitfieldMessageValidator.lo
  CXX      BtCancelMessage.lo
  CXX      BtCheckIntegrityEntry.lo
  CXX      BtChokeMessage.lo
  CXX      BtDependency.lo
  CXX      BtExtendedMessage.lo
  CXX      BtFileAllocationEntry.lo
  CXX      BtHandshakeMessage.lo
  CXX      BtHandshakeMessageValidator.lo
  CXX      BtHaveAllMessage.lo
  CXX      BtHaveMessage.lo
  CXX      BtHaveNoneMessage.lo
  CXX      BtInterestedMessage.lo
  CXX      BtKeepAliveMessage.lo
  CXX      BtLeecherStateChoke.lo
  CXX      BtNotInterestedMessage.lo
  CXX      BtPieceMessage.lo
  CXX      BtPieceMessageValidator.lo
  CXX      BtPortMessage.lo
  CXX      BtPostDownloadHandler.lo
  CXX      BtRegistry.lo
  CXX      BtRejectMessage.lo
  CXX      BtRequestMessage.lo
  CXX      BtRuntime.lo
  CXX      BtSeederStateChoke.lo
  CXX      BtSetup.lo
  CXX      BtStopDownloadCommand.lo
  CXX      BtSuggestPieceMessage.lo
  CXX      BtUnchokeMessage.lo
  CXX      DefaultBtAnnounce.lo
  CXX      DefaultBtInteractive.lo
  CXX      DefaultBtMessageDispatcher.lo
  CXX      DefaultBtMessageFactory.lo
  CXX      DefaultBtMessageReceiver.lo
  CXX      DefaultBtRequestFactory.lo
  CXX      DefaultExtensionMessageFactory.lo
  CXX      DefaultPeerStorage.lo
  CXX      DHTAbstractMessage.lo
  CXX      DHTAbstractTask.lo
  CXX      DHTAnnouncePeerMessage.lo
  CXX      DHTAnnouncePeerReplyMessage.lo
  CXX      DHTAutoSaveCommand.lo
  CXX      DHTBucket.lo
  CXX      DHTBucketRefreshCommand.lo
  CXX      DHTBucketRefreshTask.lo
  CXX      DHTBucketTree.lo
  CXX      DHTConnectionImpl.lo
  CXX      DHTEntryPointNameResolveCommand.lo
  CXX      DHTFindNodeMessage.lo
  CXX      DHTFindNodeReplyMessage.lo
  CXX      DHTGetPeersCommand.lo
  CXX      DHTGetPeersMessage.lo
  CXX      DHTGetPeersReplyMessage.lo
  CXX      DHTInteractionCommand.lo
  CXX      DHTMessage.lo
  CXX      DHTMessageDispatcherImpl.lo
  CXX      DHTMessageEntry.lo
  CXX      DHTMessageFactoryImpl.lo
  CXX      DHTMessageReceiver.lo
  CXX      DHTMessageTracker.lo
  CXX      DHTMessageTrackerEntry.lo
  CXX      DHTNode.lo
  CXX      DHTNodeLookupEntry.lo
  CXX      DHTNodeLookupTask.lo
  CXX      DHTNodeLookupTaskCallback.lo
  CXX      DHTPeerAnnounceCommand.lo
  CXX      DHTPeerAnnounceEntry.lo
  CXX      DHTPeerAnnounceStorage.lo
  CXX      DHTPeerLookupTask.lo
  CXX      DHTPeerLookupTaskCallback.lo
  CXX      DHTPingMessage.lo
  CXX      DHTPingReplyMessage.lo
  CXX      DHTPingTask.lo
  CXX      DHTQueryMessage.lo
  CXX      DHTRegistry.lo
  CXX      DHTReplaceNodeTask.lo
  CXX      DHTResponseMessage.lo
  CXX      DHTRoutingTable.lo
  CXX      DHTRoutingTableDeserializer.lo
  CXX      DHTRoutingTableSerializer.lo
  CXX      DHTSetup.lo
  CXX      DHTTaskExecutor.lo
  CXX      DHTTaskFactoryImpl.lo
  CXX      DHTTaskQueueImpl.lo
  CXX      DHTTokenTracker.lo
  CXX      DHTTokenUpdateCommand.lo
  CXX      DHTUnknownMessage.lo
  CXX      ExtensionMessageRegistry.lo
  CXX      HandshakeExtensionMessage.lo
  CXX      IndexBtMessage.lo
  CXX      IndexBtMessageValidator.lo
  CXX      InitiatorMSEHandshakeCommand.lo
  CXX      LpdDispatchMessageCommand.lo
  CXX      LpdMessage.lo
  CXX      LpdMessageDispatcher.lo
  CXX      LpdMessageReceiver.lo
  CXX      LpdReceiveMessageCommand.lo
  CXX      magnet.lo
  CXX      MSEHandshake.lo
  CXX      NameResolveCommand.lo
  CXX      Peer.lo
  CXX      PeerAbstractCommand.lo
  CXX      PeerAddrEntry.lo
  CXX      PeerChokeCommand.lo
  CXX      PeerConnection.lo
  CXX      PeerInitiateConnectionCommand.lo
  CXX      PeerInteractionCommand.lo
  CXX      PeerListenCommand.lo
  CXX      PeerReceiveHandshakeCommand.lo
  CXX      PeerSessionResource.lo
  CXX      PriorityPieceSelector.lo
  CXX      RangeBtMessage.lo
  CXX      RangeBtMessageValidator.lo
  CXX      ReceiverMSEHandshakeCommand.lo
  CXX      RequestSlot.lo
  CXX      SeedCheckCommand.lo
  CXX      ShareRatioSeedCriteria.lo
  CXX      SimpleBtMessage.lo
  CXX      TimeSeedCriteria.lo
  CXX      TrackerWatcherCommand.lo
  CXX      UDPTrackerClient.lo
  CXX      UDPTrackerRequest.lo
  CXX      UnionSeedCriteria.lo
  CXX      UTMetadataDataExtensionMessage.lo
  CXX      UTMetadataExtensionMessage.lo
  CXX      UTMetadataPostDownloadHandler.lo
  CXX      UTMetadataRejectExtensionMessage.lo
  CXX      UTMetadataRequestExtensionMessage.lo
  CXX      UTMetadataRequestFactory.lo
  CXX      UTMetadataRequestTracker.lo
  CXX      UTPexExtensionMessage.lo
  CXX      ZeroBtMessage.lo
  CXX      Metalink2RequestGroup.lo
  CXX      MetalinkEntry.lo
  CXX      Metalinker.lo
  CXX      MetalinkMetaurl.lo
  CXX      MetalinkParserController.lo
  CXX      MetalinkParserState.lo
  CXX      MetalinkParserStateImpl.lo
  CXX      MetalinkParserStateMachine.lo
  CXX      MetalinkParserStateV3Impl.lo
  CXX      MetalinkParserStateV4Impl.lo
  CXX      MetalinkPostDownloadHandler.lo
  CXX      MetalinkResource.lo
  CXX      metalink_helper.lo
metalink_helper.cc: In function 'std::vector<std::pair<std::basic_string<char>, std::vector<aria2::MetalinkEntry*> >                                                                                           > aria2::metalink::groupEntryByMetaurlName(const std::vector<std::unique_ptr<aria2::MetalinkEntry> >&)':
metalink_helper.cc:89:43: warning: deducing '_U2' as 'std::initializer_list<aria2::MetalinkEntry*>' [enabled by defa                                                                                          ult]
/usr/include/c++/4.6/bits/stl_pair.h:131:2: warning:   in call to 'std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1                                                                                           = const char (&)[1], _U2 = std::initializer_list<aria2::MetalinkEntry*>, <template-parameter-2-3> = void, _T1 = std                                                                                          ::basic_string<char>, _T2 = std::vector<aria2::MetalinkEntry*>]' [enabled by default]
metalink_helper.cc:89:43: warning:   (you can disable this with -fno-deduce-init-list) [enabled by default]
metalink_helper.cc:103:66: warning: deducing '_U2' as 'std::initializer_list<aria2::MetalinkEntry*>' [enabled by def                                                                                          ault]
/usr/include/c++/4.6/bits/stl_pair.h:131:2: warning:   in call to 'std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1                                                                                           = std::basic_string<char>&, _U2 = std::initializer_list<aria2::MetalinkEntry*>, <template-parameter-2-3> = void, _T                                                                                          1 = std::basic_string<char>, _T2 = std::vector<aria2::MetalinkEntry*>]' [enabled by default]
metalink_helper.cc:103:66: warning:   (you can disable this with -fno-deduce-init-list) [enabled by default]
  CXX      PollEventPoll.lo
  CXXLD    libaria2.la
  CXX      main.o
  CXXLD    aria2c
make[3]: Leaving directory '/home/pi/aria2-1.19.0/src'
make[2]: Leaving directory '/home/pi/aria2-1.19.0/src'
Making all in doc
make[2]: Entering directory '/home/pi/aria2-1.19.0/doc'
Making all in manual-src
make[3]: Entering directory '/home/pi/aria2-1.19.0/doc/manual-src'
Making all in en
make[4]: Entering directory '/home/pi/aria2-1.19.0/doc/manual-src/en'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/pi/aria2-1.19.0/doc/manual-src/en'
Making all in ru
make[4]: Entering directory '/home/pi/aria2-1.19.0/doc/manual-src/ru'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/pi/aria2-1.19.0/doc/manual-src/ru'
Making all in pt
make[4]: Entering directory '/home/pi/aria2-1.19.0/doc/manual-src/pt'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/pi/aria2-1.19.0/doc/manual-src/pt'
make[4]: Entering directory '/home/pi/aria2-1.19.0/doc/manual-src'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/pi/aria2-1.19.0/doc/manual-src'
make[3]: Leaving directory '/home/pi/aria2-1.19.0/doc/manual-src'
make[3]: Entering directory '/home/pi/aria2-1.19.0/doc'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/pi/aria2-1.19.0/doc'
make[2]: Leaving directory '/home/pi/aria2-1.19.0/doc'
Making all in test
make[2]: Entering directory '/home/pi/aria2-1.19.0/test'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/pi/aria2-1.19.0/test'
make[2]: Entering directory '/home/pi/aria2-1.19.0'
make[2]: Leaving directory '/home/pi/aria2-1.19.0'
make[1]: Leaving directory '/home/pi/aria2-1.19.0'
I am able to make install and run the package but wanted to know if I should be concerned with the warnings?

Thanks in advance.
 
Old 06-11-2015, 09:43 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Don't take warnings as errors. If it runs and works then no need to be alarmed/panic.
 
1 members found this post helpful.
Old 06-11-2015, 02:24 PM   #3
akashi
LQ Newbie
 
Registered: Dec 2010
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks veerain.

Is it not possible to compile without any warnings? Is it good practice to ignore warnings when compiling?

Lastly, what can I do different to prevent the warning messages I posted above?

Thanks.

Last edited by akashi; 06-11-2015 at 02:31 PM.
 
Old 06-12-2015, 03:36 AM   #4
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Read info pages of gcc and search for '-fdeduce-init-list'. See it was a gcc extension and not used by C++ Standard. So aria2 complains about that.

I don't know compile steps of aria2. But if configure is issued first then pass CFLAGS="-fno-deduce-init-list" as your configure argument.

If it uses only Makefile then edit the Makefile and set CFLAGS value to include '-fno-deduce-init-list'.

Remember to append to existing CFLAGS values.
 
1 members found this post helpful.
Old 06-13-2015, 11:07 PM   #5
akashi
LQ Newbie
 
Registered: Dec 2010
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks again veerain.

With your help I was able to eliminate the warning by updating gcc on my system.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Speed up your download with Aria2 on Linux LXer Syndicated Linux News 0 03-21-2013 07:01 PM
how to selectively download files with aria2 ? nfs1mw Linux - Software 2 11-26-2012 04:49 PM
aria2 error while adding media.... setlec_seta Mandriva 5 05-11-2010 02:20 PM
I lost a download with aria2 elaich Linux - Software 1 04-13-2010 10:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration