BUG - error when compiling ratop

elof2 at sentor.se elof2 at sentor.se
Fri Apr 15 09:10:26 EDT 2011


I compiled argus-clients-3.0.5.5 on a linux Debian machine and at the end 
of the compilation it says:
...
making in ./ratop
make[1]: Entering directory `/usr/src/argus-clients-3.0.5.5/ratop'
gcc -O3 -I. -I../include -I../common  -DHAVE_CONFIG_H -c ./ratop.c
./ratop.c: In function âaRefreshDisplayâ:
./ratop.c:1209: error: static declaration of âaHighlightDisplayâ follows 
non-static declaration
./ratop.c:1206: error: previous declaration of âaHighlightDisplayâ was 
here
./ratop.c: In function âaHighlightDisplayâ:
./ratop.c:1228: error: âaWindowStartLineâ undeclared (first use in this 
function)
./ratop.c:1228: error: (Each undeclared identifier is reported only once
./ratop.c:1228: error: for each function it appears in.)
./ratop.c:1228: error: âaDisplayLinesâ undeclared (first use in this 
function)
./ratop.c:1235: error: âaWindowâ undeclared (first use in this function)
./ratop.c:1236: error: â undeclared (first use in this function)
./ratop.c: In function âaRefreshDisplayâ:
./ratop.c:1423: error: static declaration of â follows non-static 
declaration
./ratop.c:1419: error: previous declaration of â was here
./ratop.c:1456: error: static declaration of â follows non-static 
declaration
./ratop.c:1418: error: previous declaration of â was here
./ratop.c:1480: error: static declaration of â follows non-static 
declaration
./ratop.c:1417: error: previous declaration of â was here
./ratop.c:4431: error: static declaration of â follows non-static 
declaration
./ratop.c:4428: error: previous declaration of â was here
./ratop.c:5004: error: expected declaration or statement at end of input
make[1]: *** [ratop.o] Error 1
make[1]: Leaving directory `/usr/src/argus-clients-3.0.5.5/ratop'
...


All other ra-tools are compiled without problems. It is only ratop that 
complain.

I have not analyzed this.

PS: On my FreeBSD box it compiled without problems.

/Elof


More information about the argus mailing list