compile problem for rc25 under Linux
MN
mnewton at stanford.edu
Wed Aug 16 20:15:34 EDT 2006
On an Ubuntu 6.06 server, Intel Xeon platform, using GCC 4.0, rc25:
make[1]: Entering directory `/usr/local/src/argus-clients-3.0.0.rc.25/ratop'
gcc -O3 -pthread -I. -I../include -I../common -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_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_SYS_BITYPES_H=1 -DHAVE_INTTYPES_H=1 -D_FILE_OFFSET_BITS=64 -DARGUS_THREADS=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 ./ratop.c./ratop.c: In function 'RaResizeHandler':
./ratop.c:555: error: 'RaScreenResize' undeclared (first use in this function)
./ratop.c:555: error: (Each undeclared identifier is reported only once
./ratop.c:555: error: for each function it appears in.)
./ratop.c:566: error: 'curscr' undeclared (first use in this function)
make[1]: *** [ratop.o] Error 1
It appears as if the RaResizeHandler function needs a
#if defined(ARGUS_CURSES)
around most of its body, as the other uses do.
- mike
More information about the argus
mailing list