aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: error compiling rc5  (Read 3577 times)

Mars_Artis

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
error compiling rc5
« on: July 22, 2004, 11:17:21 PM »

1 downloaded aMule-2.0.0rc5

2 configured it without any apparent problem

3 typed "maked" and this are the last lines:

In file included from ClientCredits.h:32,
                 from BaseClient.cpp:44:
/usr/include/cryptopp/rsa.h: At global scope:
/usr/include/cryptopp/rsa.h:113: error: template with C linkage
/usr/include/cryptopp/rsa.h:120: error: template with C linkage
BaseClient.cpp:1084:26: warning: #warning Lacks Comment Filtering
BaseClient.cpp:1702:10: warning: #warning ADDME - Import needed
BaseClient.cpp:2258:2: warning: #warning Dont forget to remove this and the magic numbers when the bug is gone.
make[4]: *** [amule-BaseClient.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


what should cause this?
Logged

Ocimin

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
Re: error compiling rc5
« Reply #1 on: July 23, 2004, 12:26:03 AM »

Have you follow this guide http://www.amule.org/wiki/index.php/HowTo_compile_on_Mac ?
Have you rename the crypto-5.1 directory in criptopp?
Have you insert --with-crypto-prefix=/Users/YOUR_NAME_HOME/amule/ option in the ./configure of amule where /Users/YOUR_NAME_HOME/amule/ is the directory in which there is renamed cryptopp?
Sorry but my english is very poor...:-)

Ocimin
Logged

Mars_Artis

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
Re: error compiling rc5
« Reply #2 on: July 23, 2004, 08:12:38 AM »

yes i followed that guides.

# install libcrypto
cd crypto-5.1
make
sudo make install
cd ..
mv crypto-5.1 cryptopp
sudo ranlib /usr/lib/libcryptopp.a

and even the new updated infos for rc5 but got the some erros.


anyway, how can i make sure that everything is correctly installed? i mean for libcrypto and wxmac etc?
« Last Edit: July 23, 2004, 01:11:50 PM by Mars_Artis »
Logged