[Ntop-misc] Direction and IP/TCP timeout settings

Craig Merchant cmerchant at responsys.com
Tue Jul 23 15:59:49 EDT 2013


Thanks, Mike.

That solved the first error, but I still get:

./raclient.c: In function âRaProcessEventRecordâ:
./raclient.c:1717: error: âBytefâ undeclared (first use in this function)
./raclient.c:1717: error: (Each undeclared identifier is reported only once
./raclient.c:1717: error: for each function it appears in.)
./raclient.c:1717: error: expected expression before â)â token
make[2]: *** [raclient.o] Error 1
make[2]: Leaving directory `/root/argus-clients-3.0.7.12/examples/ramysql'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/argus-clients-3.0.7.12/examples'
make: *** [all] Error 2

I just removed the examples directory since I don't use either ramysql or ratop and the make was successful.

Thanks for your help!

Craig

-----Original Message-----
From: Mike Iglesias [mailto:iglesias at uci.edu] 
Sent: Tuesday, July 23, 2013 12:41 PM
To: Craig Merchant
Cc: Carter Bullard; Argus (argus-info at lists.andrew.cmu.edu)
Subject: Re: [ARGUS] [Ntop-misc] Direction and IP/TCP timeout settings

On 07/23/2013 12:24 PM, Craig Merchant wrote:

> When I ran make, I got the following error:
> 
>  
> 
> In file included from ./raclient.c:48:
> 
> ./rasqlinsert.h:87:31: error: readline/readline.h: No such file or 
> directory
> 
> ./raclient.c: In function âRaProcessEventRecordâ:
> 
> ./raclient.c:1717: error: âBytefâ undeclared (first use in this 
> function)
> 
> ./raclient.c:1717: error: (Each undeclared identifier is reported only 
> once
> 
> ./raclient.c:1717: error: for each function it appears in.)
> 
> ./raclient.c:1717: error: expected expression before â)â token
> 
> make[2]: *** [raclient.o] Error 1
> 
> make[2]: Leaving directory `/root/argus-clients-3.0.7.12/examples/ramysql'
> 
> make[1]: *** [all] Error 2
> 
> make[1]: Leaving directory `/root/argus-clients-3.0.7.12/examples'
> 
> make: *** [all] Error 2

Looks like you're missing the includes for the readline library.  If you're using a Linux system, you might look for a readline-devel package that has what you need to get it to compile.  On a Fedora system, the "readline"
package has the library and "readline-devel" has the files necessary to build a program that uses the readline code.


-- 
Mike Iglesias                          Email:       iglesias at uci.edu
University of California, Irvine       phone:       949-824-6926
Office of Information Technology       FAX:         949-824-2270




More information about the argus mailing list