Problem compiling ratop
Carter Bullard
carter at qosient.com
Sun Sep 25 16:41:59 EDT 2011
Hey Pieter,
The make is not finding your curses include files?
We are about to release argus-clients-3.0.5.19 or .20 as argus-clients-3.0.6.
Either grab a copy of that from the developers directory, and see if it doesn't
compile cleaner, or make sure that you do all the compiler prerequisites,
including autoconf() just to make sure:
% autoconf
% ./configure
% make clean
% make
If still having problems, send your config.log so I can see what the complaint
is all about.
Carter
On Sep 25, 2011, at 9:57 AM, Pieter Claassen wrote:
> 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 --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4367 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20110925/8acb5786/attachment.bin>
More information about the argus
mailing list