clients.rc.42 on Solaris 2.9
carter at qosient.com
carter at qosient.com
Tue Mar 27 05:35:40 EDT 2007
If you change that to putenv(), that should clear that up? May need a parameter change?
I made that last night, and ran ratop() on a solaris 2.10 box, without a problem?
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: Peter Van Epp <vanepp at sfu.ca>
Date: Mon, 26 Mar 2007 20:19:48
To:argus-info at lists.andrew.cmu.edu
Subject: Re: [ARGUS] clients.rc.42 on Solaris 2.9
On Mon, Mar 26, 2007 at 09:24:36PM -0400, Carter Bullard wrote:
> I've refreshed the server and clients with fixes for compiling on
> Solaris.
> Should work fine now.
>
> Carter
>
Much closer but still a few problems (again on Solaris 2.9 on a
64 bit Sparc). As I get time I'll try all the other suspects too and get
libpcap on here to try argus (instead of only clients). Hopefully after next
weekend I should be a little bit less busy unless murphy interviens as usual :-)
...
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:11666: warning: assignment makes pointer from integer without a cast
./argus_util.c: In function `ArgusCheckTime':
./argus_util.c:14529: warning: assignment makes pointer from integer without a cast
./argus_util.c:14541: warning: assignment makes pointer from integer without a cast
./argus_util.c:14542: warning: assignment makes pointer from integer without a cast
./argus_util.c:14543: warning: assignment makes pointer from integer without a cast
./argus_util.c:14544: warning: assignment makes pointer from integer without a cast
...
gcc -O3 -I. -I../include -I../common -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 -c ./rasplit.c
./rasplit.c: In function `RaProcessRecord':
./rasplit.c:350: warning: passing arg 4 of `strftime' makes pointer from integer without a cast
... ratop has the only fatal one, it didn't like setenv again.
make[1]: Entering directory `/ucs1/vanepp/argus-clients-3.0.0.rc.42/ratop'
gcc -O3 -I. -I../include -I../common -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 -c ./ratop.c
./ratop.c: In function `RaRefreshDisplay':
./ratop.c:788: warning: assignment makes pointer from integer without a cast
gcc -O3 -o ../bin/ratop ratop.o ../lib/argus_parse.a ../lib/argus_common.a ../lib/argus_client.a -lm -lsocket -lnsl -R/usr/openwin/lib -lcurses
Undefined first referenced
symbol in file
setenv ratop.o
ld: fatal: Symbol referencing errors. No output written to ../bin/ratop
collect2: ld returned 1 exit status
Peter Van Epp / Operations and Technical Support
Simon Fraser University, Burnaby, B.C. Canada
More information about the argus
mailing list