new clients 3.0.1.beta.3 on server

Carter Bullard carter at qosient.com
Mon Mar 23 20:08:50 EDT 2009


Hey Alex,
Thanks!!!!!  I've moved the definitions outside the #if def, so it
shouldn't be a problem.  I should be moving new code up in
a few days.

Thanks again!!!!!

Carter

On Mar 23, 2009, at 1:12 PM, Alexander Bochmann wrote:

> Hi,
>
> ...on Fri, Mar 13, 2009 at 03:22:20PM -0400, Carter Bullard wrote:
>
>> There is new clients code on the server:
>>   ftp://qosient.com/dev/argus-3.0/argus-clients-3.0.2.beta.3.tar.gz
>
> I just noticed compiling rasqlinsert.c will fail when
> ncurses headers are not available.
>
> Seems like the definitions for ArgusSQLBulkBufferIndex etc. are
> inside an #if defined(ARGUS_CURSES) starting in line 72.
>
> You'll get:
>
> gcc -O3 -I. -I../include -I../common  -I/usr/include/mysql - 
> DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" - 
> DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_VFPRINTF=1 - 
> DHAVE_STRCASECMP=1 -DHAVE_STRDUP=1 -DHAVE_STRFTIME=1 - 
> DHAVE_SETLINEBUF=1 -DHAVE_SETENV=1 -DHAVE_ALARM=1 - 
> DHAVE_GETADDRINFO=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_SYS_VFS_H=1 - 
> DHAVE_INTTYPES_H=1 -D_FILE_OFFSET_BITS=64 -DARGUSMYSQL=1 - 
> DARGUS_THREADS=1 -DHAVE_SCHED_GET_PRIORITY_MIN=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 - 
> DCONFIG_X86_BSWAP=1 -DSTDC_HEADERS=1 -c ./rasqlinsert.c
> ./rasqlinsert.c: In function 'RaParseComplete':
> ./rasqlinsert.c:1103: error: 'ArgusSQLBulkBufferIndex' undeclared  
> (first use in this function)
> ./rasqlinsert.c:1103: error: (Each undeclared identifier is reported  
> only once
> ./rasqlinsert.c:1103: error: for each function it appears in.)
> ./rasqlinsert.c:1104: error: 'ArgusSQLBulkBuffer' undeclared (first  
> use in this function)
> ./rasqlinsert.c: In function 'ArgusClientTimeout':
> ./rasqlinsert.c:2021: error: 'ArgusSQLBulkBuffer' undeclared (first  
> use in this function)
> ./rasqlinsert.c:2025: error: 'ArgusSQLBulkBufferIndex' undeclared  
> (first use in this function)
> ./rasqlinsert.c:2035: error: 'ArgusSQLBulkInsertSize' undeclared  
> (first use in this function)
> ./rasqlinsert.c: In function 'RaProcessSplitOptions':
> ./rasqlinsert.c:5685: warning: format not a string literal and no  
> format arguments
> ./rasqlinsert.c: In function 'RaSQLQueryProbes':
> ./rasqlinsert.c:7376: warning: format not a string literal and no  
> format arguments
> ./rasqlinsert.c: In function 'RaMySQLInit':
> ./rasqlinsert.c:7619: error: 'ArgusSQLBulkBufferSize' undeclared  
> (first use in this function)
> ./rasqlinsert.c:7639: error: 'ArgusSQLMaxPacketSize' undeclared  
> (first use in this function)
> ./rasqlinsert.c:7645: error: 'ArgusSQLBulkInsertSize' undeclared  
> (first use in this function)
> ./rasqlinsert.c:7647: error: 'ArgusSQLBulkBuffer' undeclared (first  
> use in this function)
> make[1]: *** [rasqlinsert.o] Error 1
>
>
> It's easily fixed by installing ncurses development files, but
> I had to look at the source to find out what's wrong ;)
>
> Alex.
>
>

Carter Bullard
CEO/President
QoSient, LLC
150 E 57th Street Suite 12D
New York, New York  10022

+1 212 588-9133 Phone
+1 212 588-9134 Fax






More information about the argus mailing list