Sparc64 OpenBSD4.1 Compile issue

Peter Van Epp vanepp at sfu.ca
Thu Feb 7 19:40:50 EST 2008


On Thu, Feb 07, 2008 at 05:32:56PM -0600, Eric Pancer wrote:
> On Thu, 2008-02-07 at 18:19:40 -0500, Carter Bullard proclaimed...
> 
> > The clock in your earlier records was saying Jan 1970 as
> > well.   Is the clock set on this machine?
> 
> Yes, the clock is definitely set.
> 
> It looks like clients/ra may have a problem since I'm taking flows from
> several servers and the times are all off. I could test 2.x if you think
> that would help...
> 
> - Eric

On FreeBSD 6.2 rc.69 doesn't build:

../bin/mkdep -c gcc -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 -DHAVE_GETADDRINFO=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 -DARGUSDEBUG=1 -DARGUS_THREADS=1 -DHAVE_SCHED_GET_PRIORITY_MIN=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 -DHAVE_NCURSES_H=1 -DARGUS_CURSES=1 -DARGUS_NCURSES_H=1 -DARGUS_READLINE=1 -DARGUS_READLINE_EVENT_HOOK=1 -DCONFIG_X86_BSWAP=1 -DSTDC_HEADERS=1 -I. -I../include -I../common ra.c racount.c rasort.c rasplit.c rastrip.c rabins.c racluster.c rahisto.c ralabel.c  rapolicy.c ranonymize.c rapath.c rastream.c ratree.c rafilteraddr.c ratimerange.c  ratemplate.c
make: don't know how to make depend. Stop
*** Error code 2

On Suse on PPC it is happier (this far):

../bin/mkdep -c gcc -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_SETENV=1 -DHAVE_ALARM=1 -DHAVE_GETADDRINFO=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 -DARGUSDEBUG=1 -D_FILE_OFFSET_BITS=64 -DARGUSMYSQL=1 -DARGUS_THREADS=1 -DHAVE_SCHED_GET_PRIORITY_MIN=1 -DHAVE_TCP_WRAPPER=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_NCURSES_H=1 -DARGUS_CURSES=1 -DARGUS_NCURSES_H=1 -DSTDC_HEADERS=1 -I. -I../include -I../common  ra.c racount.c rasort.c rasplit.c rastrip.c rabins.c racluster.c rahisto.c ralabel.c rapolicy.c ranonymize.c rapath.c rastream.c ratree.c rafilteraddr.c ratimerange.c ratemplate.c
make[1]: Leaving directory `/usr/local/src/argus/argus-clients-3.0.0.rc.69/clients'
make[1]: Entering directory `/usr/local/src/argus/argus-clients-3.0.0.rc.69/ragraph'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/usr/local/src/argus/argus-clients-3.0.0.rc.69/ragraph'
make[1]: Entering directory `/usr/local/src/argus/argus-clients-3.0.0.rc.69/ratop'

but Suse (PPC 64 bit) builds and is happy with the time stamps on .rc.69:

 08-02-07 16:36:44  e         udp     90.154.150.141.64836    <->        142.58.1.54.50149         2        583   CON
 08-02-07 16:36:44  e         tcp     142.58.101.251.443       ->       75.157.33.85.60039         1         60   RST
 08-02-07 16:36:44  e         tcp     142.58.144.188.3674      ->     216.127.88.121.80           10       1901   FIN
 08-02-07 16:36:44  e s       tcp      142.58.101.10.61510     ->       142.245.1.15.25            1         66   REQ
 08-02-07 16:36:44  e         udp       142.58.103.1.41451    <->    195.122.131.250.53            2        304   CON
 08-02-07 16:36:44  eI        udp      142.58.64.236.14976     ->     83.153.219.206.58681         1        140   INT

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



More information about the argus mailing list