aMule Forum

English => aMule crashes => Topic started by: Catoblepa on July 30, 2008, 09:41:09 AM

Title: aMule cannot start - high CPU usage
Post by: Catoblepa on July 30, 2008, 09:41:09 AM
Hello!

I've managed to compile and install aMule 2.2.1 from source on my Fedora 9 x86_64. I've followed the compilation instructions listed on this page: http://www.amule.org/wiki/index.php/HowTo_Compile_In_RedHat-Fedora (http://www.amule.org/wiki/index.php/HowTo_Compile_In_RedHat-Fedora).
The compilation was fine, except for a couple of failed Crypto++ tests.

The problem is: every time I try to execute aMule, it can't start. The aMule process actually starts (taking very high CPU usage), but nothing happens, until I kill it.
If I execute aMule from terminal, I get this output:

Initialising aMule
Checking if there is an instance already running...
No other instances are running.
HTTP download thread started
Host: amule.sourceforge.net:80
URL: http://amule.sourceforge.net/lastversion
Response: 0 (Error: 1)
WARNING: Void response on stream creation
HTTP download thread ended

I've tried to let the process run for some minutes, but nothing else happens...
Title: Re: aMule cannot start - high CPU usage
Post by: wuischke on July 30, 2008, 10:37:42 AM
Quote
The compilation was fine, except for a couple of failed Crypto++ tests.
Please disable optimization for crypto++ until the test are passed and recompile.
Title: Re: aMule cannot start - high CPU usage
Post by: Catoblepa on July 31, 2008, 10:02:42 AM
Quote
The compilation was fine, except for a couple of failed Crypto++ tests.
Please disable optimization for crypto++ until the test are passed and recompile.

Could you explain better, please?
Which compilation option do I have to use for disabling optimization for crypto++?

Thanks in advance!
Title: Re: aMule cannot start - high CPU usage
Post by: wuischke on July 31, 2008, 10:48:41 AM
Please add " -DCRYPTOPP_DISABLE_ASM" to the first line in GNUMakefile (CXXFLAGS=...), which should disable assembler optimization. Then recompile cryptopp and see if all test can be completed successfully then.
Title: Re: aMule cannot start - high CPU usage
Post by: Catoblepa on July 31, 2008, 11:34:23 AM
Now aMule perfectly works!  ;D
Thanks a lot!
Bye!