Anonymous | Login | Signup for a new account | 2024-12-05 04:41 CET |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001748 | aMule | Misc | public | 2015-02-16 01:29 | 2015-03-17 11:43 | ||||
Reporter | Oswald.Luc | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | no change required | ||||||
Platform | Intel(R) Pentium(R) CPU B950 | OS | Ubuntu 14.04 (trusty) | OS Version | 3.13.0-45-generi | ||||
Product Version | 2.3.1 | ||||||||
Target Version | Fixed in Version | 2.3.2 | |||||||
Summary | 0001748: unable to compile Ubuntu 14.04 (trusty) | ||||||||
Description | Compiling UPnPBase.cpp UPnPBase.cpp: In static member function ‘static int CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)’: UPnPBase.cpp:1329:10: error: cannot convert ‘UpnpString* {aka s_UpnpString*}’ to ‘const char*’ for argument ‘2’ to ‘int UpnpSubscribe(UpnpClient_Handle, const char*, int*, char*)’ newSID); ^ UPnPBase.cpp:1336:53: error: no matching function for call to ‘std::map<const std::basic_string<char>, CUPnPService*, std::less<const std::basic_string<char> >, std::allocator<std::pair<const std::basic_string<char>, CUPnPService*> > >::find(UpnpString*&)’ upnpCP->m_ServiceMap.find(es_event->PublisherUrl); ^ UPnPBase.cpp:1336:53: note: candidates are: In file included from /usr/include/c++/4.8/map:61:0, from UPnPBase.h:32, from UPnPBase.cpp:34: /usr/include/c++/4.8/bits/stl_map.h:821:7: note: std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const key_type&) [with _Key = const std::basic_string<char>; _Tp = CUPnPService*; _Compare = std::less<const std::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::basic_string<char>, CUPnPService*> >; std::map<_Key, _Tp, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const std::basic_string<char>, CUPnPService*> >; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = const std::basic_string<char>] find(const key_type& __x) ^ /usr/include/c++/4.8/bits/stl_map.h:821:7: note: no known conversion for argument 1 from ‘UpnpString* {aka s_UpnpString*}’ to ‘std::map<const std::basic_string<char>, CUPnPService*, std::less<const std::basic_string<char> >, std::allocator<std::pair<const std::basic_string<char>, CUPnPService*> > >::key_type& {aka const std::basic_string<char>&}’ /usr/include/c++/4.8/bits/stl_map.h:836:7: note: std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const key_type&) const [with _Key = const std::basic_string<char>; _Tp = CUPnPService*; _Compare = std::less<const std::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::basic_string<char>, CUPnPService*> >; std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const std::basic_string<char>, CUPnPService*> >; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = const std::basic_string<char>] find(const key_type& __x) const ^ /usr/include/c++/4.8/bits/stl_map.h:836:7: note: no known conversion for argument 1 from ‘UpnpString* {aka s_UpnpString*}’ to ‘std::map<const std::basic_string<char>, CUPnPService*, std::less<const std::basic_string<char> >, std::allocator<std::pair<const std::basic_string<char>, CUPnPService*> > >::key_type& {aka const std::basic_string<char>&}’ make[3]: *** [libmuleappcore_a-UPnPBase.o] Erreur 1 | ||||||||
Steps To Reproduce | ./configure --disable-monolithic --enable-amule-daemon gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) | ||||||||
Tags | No tags attached. | ||||||||
Fixed in Revision | |||||||||
Operating System | Any | ||||||||
Attached Files | |||||||||
Notes | |
(0003653) GonoszTopi (administrator) 2015-03-10 21:50 |
What libupnp version do you have installed? Please try configuring aMule with ./configure --disable-monolithic --enable-amule-daemon CPPFLAGS="-DBROKEN_DEBIAN_LIBUPNP" and see whether it helps. |
(0003655) Oswald.Luc (reporter) 2015-03-12 01:05 |
I use libupnp Version: 1:1.6.17-1.2 But I tried to compile SVN tarball 10868 dated 26/01/2015 without the flag CPPFLAGS="-DBROKEN_DEBIAN_LIBUPNP" and it worked fine ! Thanks ! I don't know how to mark it solved. |
(0003656) GonoszTopi (administrator) 2015-03-17 11:43 |
Good to hear that. |
Issue History | |||
Date Modified | Username | Field | Change |
2015-02-16 01:29 | Oswald.Luc | New Issue | |
2015-03-10 21:50 | GonoszTopi | Note Added: 0003653 | |
2015-03-10 21:50 | GonoszTopi | Status | new => feedback |
2015-03-12 01:05 | Oswald.Luc | Note Added: 0003655 | |
2015-03-12 01:05 | Oswald.Luc | Status | feedback => new |
2015-03-17 11:43 | GonoszTopi | Note Added: 0003656 | |
2015-03-17 11:43 | GonoszTopi | Status | new => resolved |
2015-03-17 11:43 | GonoszTopi | Resolution | open => no change required |
2015-03-17 11:43 | GonoszTopi | Fixed in Version | => 2.3.2 |
Copyright © 2000 - 2024 MantisBT Team |