clients.rc.42 on Solaris 2.9

Carter Bullard carter at qosient.com
Mon Mar 26 21:24:36 EDT 2007


I've refreshed the server and clients with fixes for compiling on  
Solaris.
Should work fine  now.

Carter

On Mar 21, 2007, at 10:59 PM, Peter Van Epp wrote:

> 	Almost but not quite :-)
>
>  warnings only ...
>
> gcc -O3 -I. -I../include  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME= 
> \"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" - 
> DPACKAGE_BUGREPORT=\"\" -DLBL_ALIGN=1 -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_UNISTD_H=1 - 
> Du_int8_t=unsigned\ char -Du_int16_t=unsigned\ short - 
> Du_int32_t=unsigned\ int -Du_int64_t=unsigned\ long\ long - 
> DHAVE_INTTYPES_H=1 -D_FILE_OFFSET_BITS=64 -DARGUS_THREADS=1 - 
> DHAVE_SYS_SOCKIO_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 - 
> DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_STRERROR=1 - 
> DARGUS_CURSES=1 -DHAVE_SOLARIS=1 -DSTDC_HEADERS=1  -DARGUS_SYSLOG - 
> c ./argus_util.c
> ./argus_util.c: In function `ArgusPrintTime':
> ./argus_util.c:11566: warning: assignment makes pointer from  
> integer without a cast
> ./argus_util.c: In function `ArgusCheckTime':
> ./argus_util.c:14423: warning: assignment makes pointer from  
> integer without a cast
> ./argus_util.c:14435: warning: assignment makes pointer from  
> integer without a cast
> ./argus_util.c:14436: warning: assignment makes pointer from  
> integer without a cast
> ./argus_util.c:14437: warning: assignment makes pointer from  
> integer without a cast
> ./argus_util.c:14438: warning: assignment makes pointer from  
> integer without a cast
>
> ...
>
> gcc -O3 -I. -I../include  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME= 
> \"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" - 
> DPACKAGE_BUGREPORT=\"\" -DLBL_ALIGN=1 -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_UNISTD_H=1 - 
> Du_int8_t=unsigned\ char -Du_int16_t=unsigned\ short - 
> Du_int32_t=unsigned\ int -Du_int64_t=unsigned\ long\ long - 
> DHAVE_INTTYPES_H=1 -D_FILE_OFFSET_BITS=64 -DARGUS_THREADS=1 - 
> DHAVE_SYS_SOCKIO_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 - 
> DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_STRERROR=1 - 
> DARGUS_CURSES=1 -DHAVE_SOLARIS=1 -DSTDC_HEADERS=1  -DARGUS_SYSLOG - 
> c ./argus_client.c
> ./argus_client.c: In function `ArgusGenerateRecordStruct':
> ./argus_client.c:2681: error: invalid lvalue in unary `&'
> ./argus_client.c:2687: error: invalid lvalue in unary `&'
> ./argus_client.c:2768: error: invalid lvalue in unary `&'
> make[1]: *** [argus_client.o] Error 1
> make[1]: Leaving directory `/ucs1/vanepp/argus-clients-3.0.0.rc.42/ 
> common'
> making in ./clients
>
> and an attempt to fix it only made it worse so I'll leave it for  
> someone that
> knows what they are doing :-).
>
> Peter Van Epp / Operations and Technical Support
> Simon Fraser University, Burnaby, B.C. Canada
>



More information about the argus mailing list