clients.rc39 on Solaris 9 ...

Peter Van Epp vanepp at sfu.ca
Wed Jan 31 12:59:09 EST 2007


	Having a spare 5 minutes I tried a build of clients.rc39 on Solaris 9
(we also have 10 around somewhere):

  -DARGUS_SYSLOG -c ./argus_util.c
./argus_util.c: In function `ArgusPrintTime':
./argus_util.c:10824: warning: assignment makes pointer from integer without a cast
./argus_util.c: In function `ArgusCheckTime':
./argus_util.c:13596: warning: assignment makes pointer from integer without a cast
./argus_util.c:13608: warning: assignment makes pointer from integer without a cast
./argus_util.c:13609: warning: assignment makes pointer from integer without a cast
./argus_util.c:13610: warning: assignment makes pointer from integer without a cast
./argus_util.c:13611: warning: assignment makes pointer from integer without a cast

 (shouldn't be deadly and completes cleanly otherwise in common)
but then unhappiness ensues:

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 ./ra.c
gcc -O3 -o ../bin/ra ra.o ../lib/argus_parse.a ../lib/argus_common.a ../lib/argus_client.a -lm -lsocket -lnsl 
Undefined                       first referenced
 symbol                             in file
strcasestr                          ../lib/argus_client.a(argus_client.o)
ld: fatal: Symbol referencing errors. No output written to ../bin/ra
collect2: ld returned 1 exit status
make[1]: *** [../bin/ra] Error 1
make[1]: Leaving directory `/ucs1/vanepp/argus.rc39/argus-clients-3.0.0.rc.39/clients'

we don't look to have strcasestr

DC_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  -lcurses 
Undefined                       first referenced
 symbol                             in file
strcasestr                          ../lib/argus_client.a(argus_client.o)
ld: fatal: Symbol referencing errors. No output written to ../bin/ratop
collect2: ld returned 1 exit status
make[1]: *** [../bin/ratop] Error 1
make[1]: Leaving directory `/ucs1/vanepp/argus.rc39/argus-clients-3.0.0.rc.39/ratop'

Peter Van Epp / Operations and Technical Support 
Simon Fraser University, Burnaby, B.C. Canada



More information about the argus mailing list