View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001238aMuleMulti Platformpublic2008-01-14 12:522008-01-27 17:57
Reporterchemical 
Assigned Tophoenix 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product VersionSVN 
Target VersionFixed in Version 
Summary0001238: SVN 20080114 - buggy check for crypto++ version
DescriptionI configured todays SVN tarball with this command:
./configure --prefix=$HOME/amule/build --enable-optimize --disable-debug --enable-amule-daemon --enable-amulecmd --enable-webserver --enable-amule-gui --enable-wxcas --enable-cas --disable-upnp

It looks like there is a new dependency for cryptopp (which I miss).

I downloaded crypto++ 5.5.2, installed into default /usr Prefix. Tho configure script finds something, it doesn't recognize the version:

[..]
checking that wxWidgets has support for large files... yes
checking for crypto++ version >= 5.1... no
configure: Crypto++ version number is 0
[..]
  Libraries aMule will use to build:
                                       wxWidgets 2.8.7 (gtk2,shared)
                                       crypto++ /*! \mainpage http://www.cryptopp.com<sup><small>®</small></sup> [^] Library 5.5.2 Reference Manual (installed)
                                       libpng 1.2.24
                                       libgd 2.0.35
                                       zlib 1.2.3
TagsNo tags attached.
Fixed in Revision
Operating SystemAny
Attached Files

- Relationships

-  Notes
(0002509)
chemical (reporter)
2008-01-14 13:45

Compiling works anyway. Seems to be a cosmetic issue.
(0002510)
chemical (reporter)
2008-01-14 13:50

Linking fails. Don't know, if this is in conjunction with this:

Compiling ED2KLinkParser.cpp
Compiling MagnetURI.cpp
Compiling MuleCollection.cpp
Linking ed2k
ed2k-ED2KLinkParser.o: In function `GetLinksFilePath(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
ED2KLinkParser.cpp:(.text+0x4ab): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ED2KLinkParser.cpp:(.text+0x516): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ED2KLinkParser.cpp:(.text+0x52c): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
ED2KLinkParser.cpp:(.text+0x564): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
ED2KLinkParser.cpp:(.text+0x58e): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ED2KLinkParser.cpp:(.text+0x5a6): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ED2KLinkParser.cpp:(.text+0x5bc): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
ED2KLinkParser.cpp:(.text+0x5ed): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
ED2KLinkParser.cpp:(.text+0x613): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ED2KLinkParser.cpp:(.text+0x629): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
ED2KLinkParser.cpp:(.text+0x652): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ED2KLinkParser.cpp:(.text+0x66c): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
[...........]
MagnetURI.cpp:(.gnu.linkonce.t._ZNSt10_List_baseISsSaISsEE8_M_clearEv+0x20): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
MagnetURI.cpp:(.gnu.linkonce.t._ZNSt10_List_baseISsSaISsEE8_M_clearEv+0x4b): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
ed2k-MuleCollection.o: In function `char* std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_construct<__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > >(__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > >, std::allocator<char> const&, std::forward_iterator_tag)':
MuleCollection.cpp:(.gnu.linkonce.t._ZNSs12_S_constructIN9__gnu_cxx17__normal_iteratorIPcSt6vectorIcSaIcEEEEEES2_T_S7_RKS4_St20forward_iterator_tag+0x25): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
MuleCollection.cpp:(.gnu.linkonce.t._ZNSs12_S_constructIN9__gnu_cxx17__normal_iteratorIPcSt6vectorIcSaIcEEEEEES2_T_S7_RKS4_St20forward_iterator_tag+0x4d): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&)'
collect2: ld returned 1 exit status
make[3]: *** [ed2k] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
(0002538)
phoenix (developer)
2008-01-25 13:59

chemical, could you please check the file amule_build_install.sh that comes inside the tarball, it has the necessary steps to build aMule and their libraries.

On the other hand, the issue with cryptopp is quite weird. Lets suppose you have it installed in "/home/chemical/usr/cryptopp". Make sure you have sed, run the following command manually and post the results here:

$ grep "Reference Manual" /home/chemical/usr/cryptopp/include/cryptopp/cryptlib.h | sed -e's#.*\s\(\([0-9]\+\.\?\)\+\)\s.*#\1#g')
(0002539)
phoenix (developer)
2008-01-25 14:23

Also, post the result of the following:

$ grep "Reference Manual" /home/chemical/usr/cryptopp/include/cryptopp/cryptlib.h | grep -Eo "([0-9]+\.?+)+"
(0002540)
phoenix (developer)
2008-01-25 15:32

Please try tomorrow tarball to see if the issue is fixed.
(0002547)
chemical (reporter)
2008-01-27 15:29

fixed with at least 2008-01-27 svn! Thanks. Compilation is running right now, will report results.

- Issue History
Date Modified Username Field Change
2008-01-14 12:52 chemical New Issue
2008-01-14 12:52 chemical Operating System => Any
2008-01-14 13:44 Xaignar Status new => assigned
2008-01-14 13:44 Xaignar Assigned To => phoenix
2008-01-14 13:45 chemical Note Added: 0002509
2008-01-14 13:50 chemical Note Added: 0002510
2008-01-25 13:59 phoenix Note Added: 0002538
2008-01-25 13:59 phoenix Status assigned => feedback
2008-01-25 14:23 phoenix Note Added: 0002539
2008-01-25 15:32 phoenix Note Added: 0002540
2008-01-27 15:29 chemical Note Added: 0002547
2008-01-27 17:57 phoenix Status feedback => resolved
2008-01-27 17:57 phoenix Resolution open => fixed


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker