Hi,

Apparently, the bug with the libccscript disappeared with the transition
to g++ 4.0, so it should be ok to close this bug when the gcc-4.0 build
package will be uploaded.

However, bayonne FTBFS with g++ 4.0. If you didn't already have them,
patches are attached :
- Fix 1 is for friend classes which must be declared.
- Fix 2 replaces calls to IXDR_*_LONG by IXDR_*_INT32. Calls to
IXDR_GET_INT32 and IXDR_GET_U_INT32 could be cast to long and u_long,
but I suppose it wouldn't change much (most values are not assigned to
'long' variables anyway).

HTH
Regis
-- 
"While a monkey can be a manager, it takes a human to be an engineer"
                        Erik Zapletal
diff -urN bayonne-1.2.14.original/drivers/phonedev/driver.h bayonne-1.2.14/drivers/phonedev/driver.h
--- bayonne-1.2.14.original/drivers/phonedev/driver.h	2002-12-12 03:43:41.000000000 +0000
+++ bayonne-1.2.14/drivers/phonedev/driver.h	2005-07-28 19:26:25.636920624 +0100
@@ -51,6 +51,7 @@
 } cpatone_t;
 
 class PhonedevTrunk;
+class PhonedevService;
 
 typedef union
 {
diff -urN bayonne-1.2.14.original/drivers/zapata/driver.h bayonne-1.2.14/drivers/zapata/driver.h
--- bayonne-1.2.14.original/drivers/zapata/driver.h	2002-12-12 03:48:32.000000000 +0000
+++ bayonne-1.2.14/drivers/zapata/driver.h	2005-07-28 19:27:48.575312072 +0100
@@ -23,6 +23,7 @@
 #endif
 
 class ZapataTrunk;
+class ZapataService;
 
 typedef bool (ZapataTrunk::*trunkhandler_t)(TrunkEvent *event);
 
diff -urN bayonne-1.2.14.original/modules/auditing/tcpmon.cpp bayonne-1.2.14/modules/auditing/tcpmon.cpp
--- bayonne-1.2.14.original/modules/auditing/tcpmon.cpp	2002-12-11 03:52:24.000000000 +0000
+++ bayonne-1.2.14/modules/auditing/tcpmon.cpp	2005-07-28 19:19:20.122608632 +0100
@@ -80,6 +80,8 @@
 
 #endif
 
+class MonSession;
+
 class TcpMonitor : public TCPSocket, public Monitor, public Server
 {
 private:
iff -urN bayonne-1.2.14.original/server/bayonne.h bayonne-1.2.14/server/bayonne.h
--- bayonne-1.2.14.original/server/bayonne.h	2004-11-02 16:03:30.000000000 +0000
+++ bayonne-1.2.14/server/bayonne.h	2005-07-28 19:16:52.704019664 +0100
@@ -2052,6 +2052,8 @@
 	aaImage(aaScript *script);
 };
 
+class Conference;
+
 /**
  * The mixer object is a resource for conferences.
  *
@@ -2270,6 +2272,8 @@
 };
 #endif
 
+class ScriptInterface;
+
 /**
  * We derive a Bayonne server version of ScriptInterp, "Trunk",
  * which holds most common elements of the script engine for Bayonne
diff -urN bayonne-1.2.14.original/modules/sunrpc/bayonne_xdr.c bayonne-1.2.14/modules/sunrpc/bayonne_xdr.c
--- bayonne-1.2.14.original/modules/sunrpc/bayonne_xdr.c	2004-11-11 11:27:49.000000000 +0000
+++ bayonne-1.2.14/modules/sunrpc/bayonne_xdr.c	2005-07-28 19:24:58.418179888 +0100
@@ -66,12 +66,12 @@
 				 return FALSE;
 
 		} else {
-		IXDR_PUT_LONG(buf, objp->pol_active);
-		IXDR_PUT_LONG(buf, objp->max_incoming);
-		IXDR_PUT_LONG(buf, objp->max_outgoing);
-		IXDR_PUT_LONG(buf, objp->tot_incoming);
-		IXDR_PUT_LONG(buf, objp->tot_outgoing);
-		IXDR_PUT_LONG(buf, objp->pol_members);
+		IXDR_PUT_INT32(buf, objp->pol_active);
+		IXDR_PUT_INT32(buf, objp->max_incoming);
+		IXDR_PUT_INT32(buf, objp->max_outgoing);
+		IXDR_PUT_INT32(buf, objp->tot_incoming);
+		IXDR_PUT_INT32(buf, objp->tot_outgoing);
+		IXDR_PUT_INT32(buf, objp->pol_members);
 		}
 		 if (!xdr_array (xdrs, (char **)&objp->pol_ports.pol_ports_val, (u_int *) &objp->pol_ports.pol_ports_len, ~0,
 			sizeof (int), (xdrproc_t) xdr_int))
@@ -100,12 +100,12 @@
 				 return FALSE;
 
 		} else {
-		objp->pol_active = IXDR_GET_LONG(buf);
-		objp->max_incoming = IXDR_GET_LONG(buf);
-		objp->max_outgoing = IXDR_GET_LONG(buf);
-		objp->tot_incoming = IXDR_GET_LONG(buf);
-		objp->tot_outgoing = IXDR_GET_LONG(buf);
-		objp->pol_members = IXDR_GET_LONG(buf);
+		objp->pol_active = IXDR_GET_INT32(buf);
+		objp->max_incoming = IXDR_GET_INT32(buf);
+		objp->max_outgoing = IXDR_GET_INT32(buf);
+		objp->tot_incoming = IXDR_GET_INT32(buf);
+		objp->tot_outgoing = IXDR_GET_INT32(buf);
+		objp->pol_members = IXDR_GET_INT32(buf);
 		}
 		 if (!xdr_array (xdrs, (char **)&objp->pol_ports.pol_ports_val, (u_int *) &objp->pol_ports.pol_ports_len, ~0,
 			sizeof (int), (xdrproc_t) xdr_int))
@@ -154,9 +154,9 @@
 				 return FALSE;
 
 		} else {
-		IXDR_PUT_LONG(buf, objp->mixer_avail);
-		IXDR_PUT_LONG(buf, objp->mixer_used);
-		IXDR_PUT_LONG(buf, objp->mixer_groups);
+		IXDR_PUT_INT32(buf, objp->mixer_avail);
+		IXDR_PUT_INT32(buf, objp->mixer_used);
+		IXDR_PUT_INT32(buf, objp->mixer_groups);
 		}
 		 if (!xdr_array (xdrs, (char **)&objp->mixer_conf.mixer_conf_val, (u_int *) &objp->mixer_conf.mixer_conf_len, ~0,
 			sizeof (bayonne_conf), (xdrproc_t) xdr_bayonne_conf))
@@ -173,9 +173,9 @@
 				 return FALSE;
 
 		} else {
-		objp->mixer_avail = IXDR_GET_LONG(buf);
-		objp->mixer_used = IXDR_GET_LONG(buf);
-		objp->mixer_groups = IXDR_GET_LONG(buf);
+		objp->mixer_avail = IXDR_GET_INT32(buf);
+		objp->mixer_used = IXDR_GET_INT32(buf);
+		objp->mixer_groups = IXDR_GET_INT32(buf);
 		}
 		 if (!xdr_array (xdrs, (char **)&objp->mixer_conf.mixer_conf_val, (u_int *) &objp->mixer_conf.mixer_conf_len, ~0,
 			sizeof (bayonne_conf), (xdrproc_t) xdr_bayonne_conf))
@@ -286,9 +286,9 @@
 				 return FALSE;
 
 		} else {
-		IXDR_PUT_LONG(buf, objp->conf_mixer);
-		IXDR_PUT_LONG(buf, objp->conf_alloc);
-		IXDR_PUT_LONG(buf, objp->conf_groups);
+		IXDR_PUT_INT32(buf, objp->conf_mixer);
+		IXDR_PUT_INT32(buf, objp->conf_alloc);
+		IXDR_PUT_INT32(buf, objp->conf_groups);
 		}
 		 if (!xdr_array (xdrs, (char **)&objp->conf_limits.conf_limits_val, (u_int *) &objp->conf_limits.conf_limits_len, ~0,
 			sizeof (int), (xdrproc_t) xdr_int))
@@ -305,9 +305,9 @@
 				 return FALSE;
 
 		} else {
-		objp->conf_mixer = IXDR_GET_LONG(buf);
-		objp->conf_alloc = IXDR_GET_LONG(buf);
-		objp->conf_groups = IXDR_GET_LONG(buf);
+		objp->conf_mixer = IXDR_GET_INT32(buf);
+		objp->conf_alloc = IXDR_GET_INT32(buf);
+		objp->conf_groups = IXDR_GET_INT32(buf);
 		}
 		 if (!xdr_array (xdrs, (char **)&objp->conf_limits.conf_limits_val, (u_int *) &objp->conf_limits.conf_limits_len, ~0,
 			sizeof (int), (xdrproc_t) xdr_int))
@@ -416,13 +416,13 @@
 			 if (!xdr_long (xdrs, &objp->gid))
 				 return FALSE;
 		} else {
-			IXDR_PUT_U_LONG(buf, objp->nodes);
-			IXDR_PUT_U_LONG(buf, objp->ports);
-			IXDR_PUT_U_LONG(buf, objp->used);
-			IXDR_PUT_U_LONG(buf, objp->mixers);
-			IXDR_PUT_U_LONG(buf, objp->conferences);
-			IXDR_PUT_LONG(buf, objp->uid);
-			IXDR_PUT_LONG(buf, objp->gid);
+			IXDR_PUT_U_INT32(buf, objp->nodes);
+			IXDR_PUT_U_INT32(buf, objp->ports);
+			IXDR_PUT_U_INT32(buf, objp->used);
+			IXDR_PUT_U_INT32(buf, objp->mixers);
+			IXDR_PUT_U_INT32(buf, objp->conferences);
+			IXDR_PUT_INT32(buf, objp->uid);
+			IXDR_PUT_INT32(buf, objp->gid);
 		}
 		return TRUE;
 	} else if (xdrs->x_op == XDR_DECODE) {
@@ -455,13 +455,13 @@
 			 if (!xdr_long (xdrs, &objp->gid))
 				 return FALSE;
 		} else {
-			objp->nodes = IXDR_GET_U_LONG(buf);
-			objp->ports = IXDR_GET_U_LONG(buf);
-			objp->used = IXDR_GET_U_LONG(buf);
-			objp->mixers = IXDR_GET_U_LONG(buf);
-			objp->conferences = IXDR_GET_U_LONG(buf);
-			objp->uid = IXDR_GET_LONG(buf);
-			objp->gid = IXDR_GET_LONG(buf);
+			objp->nodes = IXDR_GET_U_INT32(buf);
+			objp->ports = IXDR_GET_U_INT32(buf);
+			objp->used = IXDR_GET_U_INT32(buf);
+			objp->mixers = IXDR_GET_U_INT32(buf);
+			objp->conferences = IXDR_GET_U_INT32(buf);
+			objp->uid = IXDR_GET_INT32(buf);
+			objp->gid = IXDR_GET_INT32(buf);
 		}
 	 return TRUE;
 	}

Reply via email to