[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] magma and rgmanager compile error



I checked out the stable cluster software from cvs and got these two compile 
errors:

first error:
magma/lib/message.c: In function ‘connect_nb’:
message.c:270: warning: pointer targets in passing argument 5 of ‘getsockopt’ 
differ in signedness

diff message.c message.c.~1.9.2.2.~
<       int ret, flags = 1, err;
<       unsigned int l;
---
>       int ret, flags = 1, err, l;

2nd error:
In file included from clulog.c:49:
../../include/clulog.h:49: error: multiple storage classes in declaration 
specifiers
clulog.c:67: error: static declaration of ‘loglevel’ follows non-static 
declaration
../../include/clulog.h:49: error: previous declaration of ‘loglevel’ was here
make[2]: *** [clulog.o] Error 1

rgmanager/src/clulib: diff clulog.c clulog.c.~1.2.2.1.~
67c67
< int   loglevel = LOGLEVEL_DFLT;
---
> static int   loglevel = LOGLEVEL_DFLT;

Cheers,

wolfgang


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]