Remove this ad

Lead

Nov 26 13 9:39 PM

Tags : :

No fatal problems reported by ./configure so I ran make and everything seems just fine until we hit a snag in DownloadQueue.cpp:

[code]root@OptiPlex-GX620:~/aMule-2.3.1# make && make install
Compiling FileFunctions.cpp
Compiling Format.cpp
Compiling MD5Sum.cpp
Compiling MuleDebug.cpp
Compiling Path.cpp
Compiling strerror_r.c
Compiling StringFunctions.cpp
Compiling TextFile.cpp
Building libmulecommon.a
Parsing 2 files
FileName: ECTagTypes
FileContent: EC tag types for use on the ec library.
Reading content section...
Datatype: Enum
Dataname: ECTagTypes
DataType: uint8
No more content sections
All info parsed
FileName: ECCodes
FileContent: EC codes and type definition.
Reading content section...
Datatype: TypeDef
Reading content section...
Datatype: Enum
Dataname: ProtocolVersion
DataType: uint16
Reading content section...
Datatype: Enum
Dataname: ECFlags
DataType: uint32
Reading content section...
Datatype: Enum
Dataname: ECOpCodes
DataType: uint8
Reading content section...
Datatype: Enum
Dataname: ECTagNames
DataType: uint16
Reading content section...
Datatype: Enum
Dataname: EC_DETAIL_LEVEL
DataType: uint8
Reading content section...
Datatype: Enum
Dataname: EC_SEARCH_TYPE
DataType: uint8
Reading content section...
Datatype: Enum
Dataname: EC_STATTREE_NODE_VALUE_TYPE
DataType: uint8
Reading content section...
Datatype: Enum
Dataname: EcPrefs
DataType: uint32
No more content sections
All info parsed
Generating ECVersion.h... created.
Compiling ECTag.cpp
Compiling ECPacket.cpp
Compiling ECSocket.cpp
Compiling ECMuleSocket.cpp
Compiling RemoteConnect.cpp
Compiling ECSpecialTags.cpp
Building libec.a
Compiling AsyncDNS.cpp
Compiling DeadSourceList.cpp
Compiling FileArea.cpp
Compiling FileAutoClose.cpp
Compiling IPFilterScanner.cpp
Compiling Scanner.cpp
Compiling Parser.cpp
Compiling PlatformSpecific.cpp
Compiling RandomFunctions.cpp
Compiling RC4Encrypt.cpp
Compiling StateMachine.cpp
Compiling TerminationProcessAmuleweb.cpp
Compiling ThreadScheduler.cpp
Compiling UPnPBase.cpp
Compiling Entry.cpp
Compiling SearchManager.cpp
Compiling RoutingBin.cpp
Compiling UInt128.cpp
Building libmuleappcore.a
Compiling BarShader.cpp
Compiling ColorFrameCtrl.cpp
Compiling EditServerListDlg.cpp
Compiling listctrl.cpp
Compiling FileDetailListCtrl.cpp
Compiling IP2Country.cpp
Compiling MuleColour.cpp
Compiling MuleGifCtrl.cpp
Compiling MuleListCtrl.cpp
Compiling MuleNotebook.cpp
Compiling MuleTextCtrl.cpp
Compiling MuleCollection.cpp
Compiling muuli_wdr.cpp
Building libmuleappgui.a
Compiling CFile.cpp
Compiling ClientCredits.cpp
Compiling ED2KLink.cpp
Compiling Friend.cpp
Compiling GapList.cpp
Compiling MagnetURI.cpp
Compiling MemFile.cpp
Compiling NetworkFunctions.cpp
Compiling OtherFunctions.cpp
Compiling Packet.cpp
Compiling RLE.cpp
Compiling SafeFile.cpp
Compiling SHA.cpp
Compiling Tag.cpp
Compiling TerminationProcess.cpp
Compiling Timer.cpp
Building libmuleappcommon.a
Compiling CaptchaDialog.cpp
Compiling CaptchaGenerator.cpp
Compiling PartFileConvert.cpp
Compiling PartFileConvertDlg.cpp
Compiling amule.cpp
Compiling BaseClient.cpp
Compiling CanceledFileList.cpp
Compiling ClientList.cpp
Compiling ClientCreditsList.cpp
Compiling ClientTCPSocket.cpp
Compiling ClientUDPSocket.cpp
Compiling CorruptionBlackBox.cpp
Compiling DownloadClient.cpp
Compiling DownloadQueue.cpp
In file included from DownloadQueue.h:30:0,
from DownloadQueue.cpp:26:
ObservableQueue.h: In instantiation of ‘void CObservableQueue::ObserverAdded(CObservableQueue::ObserverType*) [with ValueType = CPartFile*; CObservableQueue::ObserverType = CObserver >]’:
DownloadQueue.cpp:1528:32: required from here
ObservableQueue.h:334:55: error: ‘NotifyObservers’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
NotifyObservers( EventType( EventType::STARTING ), o );
^
ObservableQueue.h:334:55: note: declarations in dependent base ‘CObservable >’ are not found by unqualified lookup
ObservableQueue.h:334:55: note: use ‘this->NotifyObservers’ instead
ObservableQueue.h: In instantiation of ‘void CObservableQueue::ObserverRemoved(CObservableQueue::ObserverType*) [with ValueType = CPartFile*; CObservableQueue::ObserverType = CObserver >]’:
DownloadQueue.cpp:1665:1: required from here
ObservableQueue.h:341:55: error: ‘NotifyObservers’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
NotifyObservers( EventType( EventType::STOPPING ), o );
^
ObservableQueue.h:341:55: note: declarations in dependent base ‘CObservable >’ are not found by unqualified lookup
ObservableQueue.h:341:55: note: use ‘this->NotifyObservers’ instead
make[3]: *** [amule-DownloadQueue.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
[/code]

Thoughts, ideas, or suggestions?

“Doing research on the Web is like using a library assembled piecemeal by pack rats and vandalized nightly. ” ― Roger Ebert

Quote    Reply   
Remove this ad
Remove this ad

#2 [url]

Nov 27 13 6:17 PM

Re: Compile fails on Ubuntu 13.10, 64 bit

Pretty sure, but will double check anyway. Not the first time I've run into dep issues!

“Doing research on the Web is like using a library assembled piecemeal by pack rats and vandalized nightly. ” ― Roger Ebert

Quote    Reply   

#3 [url]

Nov 27 13 6:24 PM

Re: Compile fails on Ubuntu 13.10, 64 bit

Hmmm...

[code]Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libreadline5-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libreadline-gplv2-dev:i386 lib64readline-gplv2-dev:i386 libreadline-gplv2-dev

Package libupnp3-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libupnp6-doc

E: Package 'libreadline5-dev' has no installation candidate
E: Package 'libupnp3-dev' has no installation candidate
E: Unable to locate package gettex
[/code]

libreadline-gplv2-dev:i386 lib64readline-gplv2-dev:i386 libreadline-gplv2-dev I can do, but libreadline5-dev and libupnp3-dev may be problematic.

My system:
[code]root@OptiPlex-GX620:~# uname -a
Linux OptiPlex-GX620 3.12.0-031200-generic #201311031935 SMP Mon Nov 4 00:36:54 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux[/code]

“Doing research on the Web is like using a library assembled piecemeal by pack rats and vandalized nightly. ” ― Roger Ebert

Quote    Reply   

#4 [url]

Nov 27 13 7:58 PM

Re: Compile fails on Ubuntu 13.10, 64 bit

libreadline-gplv2-dev should do fine. For the other: What's the output of apt-cache search libupnp?

Quote    Reply   
Remove this ad

#5 [url]

Nov 27 13 9:52 PM

Re: Compile fails on Ubuntu 13.10, 64 bit

2.3.1 release doesn't compile anymore with latest gcc.
You have to use current SVN.

libreadline is not required - where did that come from?
We have a thread here somewhere about which libupnp to use (the one shipped currently also requires current SVN). But if you don't need it, just build without it.
I have built current SVN fine in this Ubuntu version.

Quote    Reply   

#8 [url]

Nov 28 13 5:30 PM

Re: Compile fails on Ubuntu 13.10, 64 bit

libreadln was listed as a requirement on the page linked above (http://web.archive.org/web/201206282158 ... release.3F). That being said, however, I should have checked the Debian repositories closer as there is a binary available via APT, which installed just fine after APT BUILD-DEP was employed.

Now, I feel kinda stupid for trying to compile from source when there was a solution already available. With all the focus on Torrents now, it seems ED2K has fallen by the wayside. Even on Windows.

And I will admit that I find torrents (transmission-gtk being my personal fave for tools of choice) much easier to work with. However, in collecting entire seasons of some TV shows, I found sometimes the torrents were incomplete or non-existant, but there were ED2K links. Figured, "What the hell. Why not, right?" But now I'm wondering if it was worth it.

Sure there's still lots of ED2K links out there, but not a lot of sources any more. Seems like torrents really are winning out, the way BluRay won out against HD DVD, and VHS won out against BETAMAX before that (now I'm dating myself!).

“Doing research on the Web is like using a library assembled piecemeal by pack rats and vandalized nightly. ” ― Roger Ebert

Quote    Reply   
Remove this ad
Add Reply

Quick Reply

bbcode help