Hi,
I hava a bad news for you. I'm not able to compile Ganglia-2.5.6
$ ./configure --prefix=/home/xkarase2/ganglia/run25
...
...
...
$ make
...
...
...
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I.. -I. -I./dnet -g -O2 -Wall
-D_REENTRANT 
-c `test -f 'addr.c' || echo './'`addr.c
In file included from addr.c:23:
/usr/include/net/raw.h:24: warning: `struct sk_buff' declared inside
parameter l
ist
/usr/include/net/raw.h:24: warning: its scope is only this definition or
declara
tion, which is probably not what you want.
/usr/include/net/raw.h:24: warning: `struct sock' declared inside
parameter list
/usr/include/net/raw.h:25: warning: `struct sk_buff' declared inside
parameter l
ist
/usr/include/net/raw.h:25: warning: `struct sock' declared inside
parameter list
/usr/include/net/raw.h:31: `MAX_INET_PROTOS' undeclared here (not in a
function)
addr.c: In function `addr_pton':
addr.c:224: warning: implicit declaration of function `strlcpy'
make[2]: *** [addr.o] Error 1
make[2]: Leaving directory
`/home/xkarase2/ganglia/ganglia-monitor-core-2.5.6/li
b'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/xkarase2/ganglia/ganglia-monitor-core-2.5.6'
make: *** [all] Error 2

The system is Debian-stable

I think the problem is, that raw.h needs a macro called MAX_INET_PROTOS,
which is defined in protocol.h - but the protocol.h is not included.

When I tryed to include it, I run into troubles with another header files
- protocol.h problebly conflicts with some files, which are included in
the sources...

I think you will have the same problem on any system with <net/raw.h>

Sory for reporting the bad news :-(

Regards
        Tony


Reply via email to