a way to compile is to apply this patch.
It s only a temporarly patch to compile. Do this at your own risks.
It worked for me.
diff --git a/core/sip/resolver.cpp b/core/sip/resolver.cpp
index 9793069..cb240af 100644
--- a/core/sip/resolver.cpp
+++ b/core/sip/resolver.cpp
@@ -822,14 +822,13 @@ dns_entry_map::insert(const
dns_entry_map::value_type& x)
bool dns_entry_map::insert(const string& key, dns_entry* e)
{
- std::pair<iterator, bool> res =
- insert(make_pair<const key_type&,mapped_type>(key,e));
+ /*std::pair<iterator, bool> res = insert(make_pair<const
key_type&,mapped_type>(key,e));
if(res.second) {
inc_ref(e);
return true;
}
-
+*/
return false;
}
~
*Ludovic RATEAU*' +33 (0)6 04 10 5000
* [email protected]
2015-01-30 2:53 GMT+01:00 cyoung <[email protected]>:
> I'm getting an error with the SEMS build: latest from GIT as of a few
> minutes ago (1/29/2015)
>
> [root@master1 sems]# make
>
> making core
> make[1]: Entering directory `/root/git/sems/core'
>
> making SIP stack
> make[2]: Entering directory `/root/git/sems/core/sip'
> g++ -MMD -c -o resolver.o resolver.cpp -D_DEBUG -D_THREAD_SAFE -D_REENTRANT
> -DSEMS_VERSION='"1.6-dev-1156-gae8a420"' -DARCH='"x8
> 6_64"' -DOS='"linux"' -DSYSTEM_SAMPLECLOCK_RATE=32000LL
> -DSEMS_APP_NAME='"sems"' -DUSE_MONITORING -DPROPAGATE_COREDUMP_SETTINGS
> -I. -fno-strict-aliasing -DUSE_INTERNAL_RESAMPLER -I.. -fno-strict-aliasing
> -Wall -Wno-reorder -Wno-unused -fPIC -g -O2
> /usr/lib/gcc/x86_64-redhat-
> linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_pair.h: In instantiation
> of ‘std::pair<const std::
> basic_string<char, std::char_traits<char>, std::allocator<char> >&,
> dns_entry*>’:
> resolver.cpp:826: instantiated from here
> /usr/lib/gcc/x86_64-redhat-
> linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_pair.h:84: error:
> forming reference to reference t
> ype ‘const std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >&’
> /usr/lib/gcc/x86_64-redhat-
> linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_pair.h: In
> function ‘std::pair<_T1, _T2> std::make
> _pair(_T1, _T2) [with _T1 = const std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >&, _T2 = dns_entry*]’:
> resolver.cpp:826: instantiated from here
> /usr/lib/gcc/x86_64-redhat-
> linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_pair.h:145: error: no
> matching function for call t
> o ‘std::pair<const std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >&, dns_entry*>::pair(const std::basic_s
> tring<char, std::char_traits<char>, std::allocator<char> >&, dns_entry*&)’
> /usr/lib/gcc/x86_64-redhat-
> linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_pair.h:80: note:
> candidates are: std::pair<_T1, _T
> 2>::pair() [with _T1 = const std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >&, _T2 = dns_entry*]
> /usr/lib/gcc/x86_64-redhat-
> linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_pair.h:69:
> note: std::pair<const s
> td::basic_string<char, std::char_traits<char>, std::allocator<char> >&,
> dns_entry*>::pair(const std::pair<const std::basic_strin
> g<char, std::char_traits<char>, std::allocator<char> >&, dns_entry*>&)
> make[2]: *** [resolver.o] Error 1
> make[2]: Leaving directory `/root/git/sems/core/sip'
> make[1]: [sip_stack] Error 2 (ignored)
>
> _______________________________________________
> Sems mailing list
> [email protected]
> http://lists.iptel.org/mailman/listinfo/sems
>
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems