new code on the server
Carter Bullard
carter at qosient.com
Thu May 10 14:35:39 EDT 2007
Hey Peter,
Mac OS X doesn't actually have readline, so we'll need to provide it.
Mac OS X tries to fake it, and it actually seems rather odd, and
possibly
illegal, that they have a link for libreadline.a that points to some
other
library. (How can they rationalize/justify that?)
I'll add all the requisite entries into the configure.in.
Try grabbing readline-5.1 or find the ARGUS_READLINE define in
ratop.c and comment that out.
Carter
On May 10, 2007, at 11:45 AM, Peter Van Epp wrote:
> Hmmm, Mac OS 10 is unhappy in a different way as well:
>
> gcc -O3 -I. -I../include -I../common -DPACKAGE_NAME=\"\" -
> DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -
> DPACKAGE_BUGREPORT=\"\" -DHAVE_VFPRINTF=1 -DHAVE_STRCASECMP=1 -
> DHAVE_STRLCAT=1 -DHAVE_STRLCPY=1 -DHAVE_STRDUP=1 -DHAVE_STRFTIME=1 -
> DHAVE_SETLINEBUF=1 -DHAVE_SETENV=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_INTTYPES_H=1 -DARGUS_THREADS=1 -DHAVE_TCP_WRAPPER=1 -
> DHAVE_SYS_SOCKIO_H=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 -DHAVE_SRANDOMDEV=1 -
> DARGUS_CURSES=1 -DHAVE_DARWIN=1 -DSTDC_HEADERS=1 -c ./ratop.c
> ./ratop.c: In function 'ArgusClientInit':
> ./ratop.c:184: error: 'rl_event_hook' undeclared (first use in this
> function)
> ./ratop.c:184: error: (Each undeclared identifier is reported only
> once
> ./ratop.c:184: error: for each function it appears in.)
> ./ratop.c: In function 'argus_redisplay_function':
> ./ratop.c:4693: error: 'rl_done' undeclared (first use in this
> function)
> ./ratop.c: In function 'argus_process_command':
> ./ratop.c:5947: error: 'rl_done' undeclared (first use in this
> function)
> make[1]: *** [ratop.o] Error 1
>
> Peter Van Epp / Operations and Technical Support
> Simon Fraser University, Burnaby, B.C. Canada
>
More information about the argus
mailing list