Problem compiling ratop

Pieter Claassen pieter at claassen.co.uk
Sun Sep 25 09:57:26 EDT 2011


I have problems compiling ratop 3.0.4.1 on Ubuntu 11.04, 64 bit.

I am not a C expert but I suspect this is a compiler issue?

Regards,
Pieter

make[1]: Entering directory
`/home/pieter/tmp/argus/argus-clients-3.0.4.1/ratop'
gcc -O3 -I. -I../include -I../common  -DHAVE_CONFIG_H -c ./ratop.c
./ratop.c: In function ‘RaRefreshDisplay’:
./ratop.c:1200:1: error: static declaration of ‘RaHighlightDisplay’ follows
non-static declaration
./ratop.c:1197:5: note: previous declaration of ‘RaHighlightDisplay’ was
here
./ratop.c: In function ‘RaHighlightDisplay’:
./ratop.c:1219:16: error: ‘RaWindowStartLine’ undeclared (first use in this
function)
./ratop.c:1219:16: note: each undeclared identifier is reported only once
for each function it appears in
./ratop.c:1219:60: error: ‘RaDisplayLines’ undeclared (first use in this
function)
./ratop.c:1226:23: error: ‘RaWindow’ undeclared (first use in this function)
./ratop.c:1227:60: error: ‘A_REVERSE’ undeclared (first use in this
function)
./ratop.c: In function ‘RaRefreshDisplay’:
./ratop.c:1411:1: error: static declaration of ‘ArgusNewRateBins’ follows
non-static declaration
./ratop.c:1407:28: note: previous declaration of ‘ArgusNewRateBins’ was here
./ratop.c:1444:1: error: static declaration of ‘ArgusProcessBins’ follows
non-static declaration
./ratop.c:1406:5: note: previous declaration of ‘ArgusProcessBins’ was here
./ratop.c:1468:1: error: static declaration of ‘ArgusProcessQueue’ follows
non-static declaration
./ratop.c:1405:5: note: previous declaration of ‘ArgusProcessQueue’ was here
./ratop.c:4414:1: error: static declaration of ‘ArgusWindowClose’ follows
non-static declaration
./ratop.c:4411:6: note: previous declaration of ‘ArgusWindowClose’ was here
./ratop.c:4987:1: error: expected declaration or statement at end of input
make[1]: *** [ratop.o] Error 1

@dell:~/Downloads# gcc --version
gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2

--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20110925/3c5eeb0d/attachment.html>


More information about the argus mailing list