aMule Forum
English => en_Bugs => Topic started by: exobuzz on April 09, 2004, 03:20:47 PM
-
hi.. first of all. keep up the good work with amule :-)
now my problems.. I havn't built from cvs for a while, but this corruption bug was driving me crazy.. so
ran configure with ./configure --disable-debug-syms --enable-optimise
it recognises my system as debian/gentoo for the cryptoo headers
Crypto++ library/headers style? gentoo_debian
however
g++ -I/usr/include/ -D__CRYPTO_DEBIAN_GENTOO__ -g -O2 -o amulecmd amulecmd-TextClient.o amulecmd-MD5Sum.o amulecmd-ECSocket.o -pthread -lwx_base-2.4 -L/usr/lib -lcurl -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz -lcrypto++
/usr/bin/ld: cannot find -lcrypto++
collect2: ld returned 1 exit status
There is no libcrypto++ as part of the libcrypto++ dev deb. There is a libcrypto though. removing of the -lcrypto++ will allow this to work (As its already specifies -lcrypto twice!) (Adding a symlink can also fix this of course.
Then later on I get another error. some sources are including an include which doesn't exist
crypto++/config.h which doesn't exist
however there is a crypto++/cryptopp_config.h which is the one it wants.
guess it needs some more checks in the configure stage
I'll symlink the config.h and see if i can get it to build
-
So, I changed the files
ClientCredits.cpp
ClientCredits.h
to use crypto++/cryptopp_config.h
and it all seems to build well (with some warning about names being redefined).. Do both ClientCredits.cpp and CleintCredits.h need to include this file ? Seems strange.
-
hi,
seems only debian doesn't include config.h in the sources .. all other distris have both (cryptopp_config.h & config.h) or only config.h
greets
-
I made some mistakes my my original post. I mistook libcrypto as the required library on my system its not its libcrypto++5.1. There is no libcrypto++ though.
i added -lcrypto++5.1 at the linking stage and everything seems to be working.
-
There is a bug report on this in BTS :
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=241148
May be fixed in next package upload :)