Undeclared ARGUS_MAX_BUFFER_READ in argus_client.c

carter at qosient.com carter at qosient.com
Tue Jul 18 18:14:35 EDT 2006


Ahhhhh, yes, that should be before the #ifdef.
Carter 

Carter Bullard
QoSient LLC
150 E. 57th Street Suite 12D
New York, New York 10022
+1 212 588-9133 Phone
+1 212 588-9134 Fax  

-----Original Message-----
From: Robin Gruyters <r.gruyters at yirdis.nl>
Date: Tue, 18 Jul 2006 15:03:44 
To:carter at qosient.com
Cc:Argus <argus-info at lists.andrew.cmu.edu>
Subject: Re: [ARGUS] Undeclared ARGUS_MAX_BUFFER_READ in argus_client.c

Hi Carter,

I only see it ones within the "#ifdef ARGUS_SASL". Is it ok to move it  
to the top of the file?

-
Robin

Quoting carter at qosient.com:

> This is defined, so something must be askew.  More than likely, it   
> is defined a few lines below the use, so just move the "#define " to  
>  the top of the file?
>
> Carter
>
>
> Carter Bullard
> QoSient LLC
> 150 E. 57th Street Suite 12D
> New York, New York 10022
> +1 212 588-9133 Phone
> +1 212 588-9134 Fax
>
> -----Original Message-----
> From: Robin Gruyters <r.gruyters at yirdis.nl>
> Date: Tue, 18 Jul 2006 09:43:08
> To:Argus <argus-info at lists.andrew.cmu.edu>
> Subject: [ARGUS] Undeclared ARGUS_MAX_BUFFER_READ in argus_client.c
>
> Hello,
>
> Get the following error when trying to compile argus-client.3.0.0.rc.21
>
> [...]
> gcc -O3 -pthread -I. -I../include -DPACKAGE_NAME=\"\"
> -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
> -DPACKAGE_BUGREPORT=\"\" -DHAVE_VFPRINTF=1 -DHAVE_STRCASECMP=1
> -DHAVE_STRLCAT=1 -DHAVE_STRLCPY=1 -DHAVE_STRDUP=1 -DHAVE_STRFTIME=1
> -DHAVE_SETLINEBUF=1 -DHAVE_ALARM=1 -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_INTTYPES_H=1 -DARGUS_THREADS=1 -DHAVE_TCP_WRAPPER=1
> -DHAVE_SYS_SOCKIO_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1
> -DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_ETHER_HOSTTON=1
> -DHAVE_STRERROR=1 -DHAVE_STRTOF=1 -DARGUS_CURSES=1
> -DCONFIG_X86_BSWAP=1 -DSTDC_HEADERS=1  -DARGUS_SYSLOG -c
> ./argus_client.c
> ./argus_client.c: In function `ArgusReadStreamSocket':
> ./argus_client.c:261: error: `ARGUS_MAX_BUFFER_READ' undeclared (first
> use in this function)
> ./argus_client.c:261: error: (Each undeclared identifier is reported  
>  only once
> ./argus_client.c:261: error: for each function it appears in.)
> *** Error code 1
> [...]
>
> Regards,
>
> Robin Gruyters
> Network and Security Engineer
> Yirdis B.V.
> I: http://yirdis.com
> P: +31 (0)36 5300394
> F: +31 (0)36 5489119
>
>
>




More information about the argus mailing list