Whlie building gexec-0.3.7 against ganglia-3.1.1 on debian lenny I
encountered the following error:

gexec.c: In function 'ips_create_ganglia':
gexec.c:137: error: 'gexec_cluster_t' undeclared (first use in this
function)
gexec.c:137: error: (Each undeclared identifier is reported only once
gexec.c:137: error: for each function it appears in.)
gexec.c:137: error: expected ';' before 'cluster'
gexec.c:138: error: 'gexec_host_t' undeclared (first use in this function)
gexec.c:138: error: 'host' undeclared (first use in this function)
gexec.c:147: warning: implicit declaration of function 'gexec_cluster'
gexec.c:147: error: 'cluster' undeclared (first use in this function)
gexec.c:151: warning: implicit declaration of function 'gexec_cluster_free'
gexec.c:160: error: expected expression before ')' token
gexec.c: In function 'ips_create_local_ganglia':
gexec.c:185: error: 'gexec_cluster_t' undeclared (first use in this
function)
gexec.c:185: error: expected ';' before 'cluster'
gexec.c:186: error: 'gexec_host_t' undeclared (first use in this function)
gexec.c:186: error: 'host' undeclared (first use in this function)
gexec.c:191: error: 'cluster' undeclared (first use in this function)
gexec.c:203: error: expected expression before ')' token
make[1]: *** [gexec.o] Error 1

Investigation suggested that the issue was that the following include was
missing from gexec.c:

25a26
> #include <ganglia_gexec.h>

(^^ diff output)

Apologies if this issue has already been addressed in the svn head.  For
practical reasons I am using the official releases of ganglia, gexec, and
authd.

Best,
Erik
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to