aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amule-2.2.2 & freebsd 7.0  (Read 2617 times)

white_hen

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
amule-2.2.2 & freebsd 7.0
« on: August 16, 2008, 02:47:06 PM »

I installed aMule-2.2.2 into my freebsd 7.0 like wiki: http://www.amule.org/wiki/index.php/Install-amule-freebsd

(gdb) bt
#0  0x081acfb2 in CryptoPP::BytePrecision<unsigned int> ()
#1  0x081aa66f in CryptoPP::RandomNumberGenerator::GenerateWord32 ()
#2  0x081908a2 in GetRandomUint32 ()
#3  0x0814d2a7 in CPreferences::BuildItemList ()
#4  0x08063a2e in CamuleApp::OnInit ()
#5  0x0805538f in CamuleDaemonApp::OnInit ()
#6  0x08056011 in wxAppConsole::CallOnInit ()
#7  0x283e3010 in ?? ()
#8  0x283e30e7 in ?? ()
#9  0x08053c50 in main ()

(gdb) bt full
#0  0x081acfb2 in CryptoPP::BytePrecision<unsigned int> ()
No symbol table info available.
#1  0x081aa66f in CryptoPP::RandomNumberGenerator::GenerateWord32 ()
No symbol table info available.
#2  0x081908a2 in GetRandomUint32 ()
No symbol table info available.
#3  0x0814d2a7 in CPreferences::BuildItemList ()
No symbol table info available.
#4  0x08063a2e in CamuleApp::OnInit ()
No symbol table info available.
#5  0x0805538f in CamuleDaemonApp::OnInit ()
No symbol table info available.
#6  0x08056011 in wxAppConsole::CallOnInit ()
No symbol table info available.
#7  0x283e3010 in ?? ()
No symbol table info available.
#8  0x283e30e7 in ?? ()
No symbol table info available.
#9  0x08053c50 in main ()
No symbol table info available.

(gdb) thread apply all bt

Thread 2 (Thread 0x28801100 (LWP 100094)):
#0  0x081acfb2 in CryptoPP::BytePrecision<unsigned int> ()
#1  0x081aa66f in CryptoPP::RandomNumberGenerator::GenerateWord32 ()
#2  0x081908a2 in GetRandomUint32 ()
#3  0x0814d2a7 in CPreferences::BuildItemList ()
#4  0x08063a2e in CamuleApp::OnInit ()
#5  0x0805538f in CamuleDaemonApp::OnInit ()
#6  0x08056011 in wxAppConsole::CallOnInit ()
#7  0x283e3010 in ?? ()
#8  0x283e30e7 in ?? ()
#9  0x08053c50 in main ()
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: amule-2.2.2 & freebsd 7.0
« Reply #1 on: August 16, 2008, 06:10:15 PM »

It would be interesting to know what the error was. SIGSEGV? Uncaught exception? Else?

If you don't use a self-compiled cryptopp library, then do. Compile it from source.

Important

After compilation, in the cryptopp source directory execute ‘cryptest.exe v’.
If it fails, edit GNUMakefile, and add ‘-DCRYPTOPP_DISABLE_ASM’ to the first line, then recompile, test again.
If it fails again, decrease optimization level (‘-O’ flag), until it succeeds.

Success is, when the test prints ‘All test passed.’

Then recompile aMule.
Logged
concordia cum veritate

white_hen

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: amule-2.2.2 & freebsd 7.0
« Reply #2 on: August 29, 2008, 01:38:19 AM »

After several compilations i try with the crypto++ 5.5.2 library
I compile crypto++ from sources and recompile amule again and its run.

Thak you.
Logged