Index: xorp-1.6/libxorp/ipvxnet.hh
===================================================================
--- xorp-1.6.orig/libxorp/ipvxnet.hh
+++ xorp-1.6/libxorp/ipvxnet.hh
@@ -54,7 +54,7 @@ inline void
 IPNet<IPvX>::initialize_from_string(const char *cp)
     throw (InvalidString, InvalidNetmaskLength)
 {
-    char *slash = strrchr(cp, '/');
+    char *slash = strrchr(const_cast<char*>(cp), '/');
     if (slash == 0) xorp_throw(InvalidString, "Missing slash");
 
     if (*(slash + 1) == 0)
Index: xorp-1.6/libxipc/finder_msgs.cc
===================================================================
--- xorp-1.6.orig/libxipc/finder_msgs.cc
+++ xorp-1.6/libxipc/finder_msgs.cc
@@ -228,8 +228,8 @@ ParsedFinderXrlResponse::ParsedFinderXrl
     : ParsedFinderMessageBase(data, FinderXrlResponse::c_type), _xrl_args(0)
 {
     data += bytes_parsed();
-    char* p0 = strstr(data, "/");
-    char* p1 = strstr(data, "\n");
+    char* p0 = strstr(const_cast<char*>(data), "/");
+    char* p1 = strstr(const_cast<char*>(data), "\n");
     if (p0 == 0 || p1 == 0) {
 	xorp_throw(BadFinderMessageFormat, "XrlError not present");
     }
Index: xorp-1.6/libxorp/ipnet.hh
===================================================================
--- xorp-1.6.orig/libxorp/ipnet.hh
+++ xorp-1.6/libxorp/ipnet.hh
@@ -563,7 +563,7 @@ template <class A> void
 IPNet<A>::initialize_from_string(const char *cp)
     throw (InvalidString, InvalidNetmaskLength)
 {
-    char *slash = strrchr(cp, '/');
+    char *slash = strrchr(const_cast<char*>(cp), '/');
     if (slash == 0)
 	xorp_throw(InvalidString, "Missing slash");
 
Index: xorp-1.6/libxipc/xrl_pf_factory.cc
===================================================================
--- xorp-1.6.orig/libxipc/xrl_pf_factory.cc
+++ xorp-1.6/libxipc/xrl_pf_factory.cc
@@ -69,7 +69,7 @@ XrlPFSender*
 XrlPFSenderFactory::create_sender(EventLoop& eventloop,
 				  const char* protocol_colon_address)
 {
-    char *colon = strstr(protocol_colon_address, ":");
+    char *colon = strstr(const_cast<char*>(protocol_colon_address), ":");
     if (colon == 0) {
 	debug_msg("No colon in supposedly colon separated <protocol><address>"
 		  "combination\n\t\"%s\".\n", protocol_colon_address);
Index: xorp-1.6/policy/common/element.cc
===================================================================
--- xorp-1.6.orig/policy/common/element.cc
+++ xorp-1.6/policy/common/element.cc
@@ -89,7 +89,7 @@ ElemCom32::ElemCom32(const char* c_str)
     }
 
     int len = strlen(c_str);
-    char *colon = strstr(c_str, ":");
+    char *colon = strstr(const_cast<char*>(c_str), ":");
 
     if(len > 0 && colon != NULL) {
 	uint32_t msw, lsw;
