Sparc64 OpenBSD4.1 Compile issue
Peter Van Epp
vanepp at sfu.ca
Tue Feb 12 17:52:22 EST 2008
With a couple of patches (attached below), clients.rc.69 builds after
a fashion (some warnings, some of them I should probably heed :-)) on
a 64 bit Solaris 9 box and runs mostly correctly (it has lost the date
somewhere perhaps in those warnings :-)):
Argus is on an OpenBSD Intel 32 bit box
bin/ra -S142.58.1.235:560 -n
06:23:06.524986 e udp 142.58.2.73.52718 -> 239.255.255.250.1900 2 350 INT
06:23:06.817006 e tcp 142.58.1.233.50812 -> 142.58.1.235.560 8 1036 CON
06:23:07.799481 e tcp 142.58.1.234.49380 <?> 142.58.1.235.22 8 768 CON
06:23:08.008706 e udp 142.58.1.37.138 -> 142.58.1.255.138 1 243 INT
which should look like this (from FreeBSD) from the same data stream:
08-02-12 06:23:06 e udp 142.58.2.73.52718 -> 239.255.255.250.1900 2 350 INT
08-02-12 06:23:06 e tcp 142.58.1.233.50812 -> 142.58.1.235.560 8 1036 CON
08-02-12 06:23:07 e tcp 142.58.1.234.49380 <?> 142.58.1.235.22 8 768 CON
08-02-12 06:23:08 e udp 142.58.1.37.138 -> 142.58.1.255.138 1 243 INT
but it does have the correct date:
bin/ra -S142.58.1.235:560 -n -u
1202826752.812183 e ospf 142.58.1.254 -> 224.0.0.5 1 78 INT
./timet.pl 1202826752
Tue Feb 12 6:32:32 Canada/Pacific 2008
(modulo the OpenBSD clock being wrong). Which makes Eric's problem even more
puzzling. Unfortunatly I don't have anything 64 bit I could try OpenBSD on.
Peter Van Epp / Operations and Technical Support
Simon Fraser University, Burnaby, B.C. Canada
(with the warning this may break Solaris 10 ...)
*** include/cons_out.h.orig Tue Feb 12 12:59:37 2008
--- include/cons_out.h Tue Feb 12 14:23:52 2008
***************
*** 50,56 ****
--- 50,60 ----
#if !defined(__OpenBSD__)
#include <net/if.h>
+ #if !defined(HAVE_SOLARIS)
#include <netinet/if_ether.h>
+ #else
+ #include <netinet/arp.h>
+ #endif
#endif
#include <netinet/in.h>
*** include/argus_out.h.orig Tue Feb 12 12:55:03 2008
--- include/argus_out.h Tue Feb 12 14:18:40 2008
***************
*** 39,45 ****
--- 39,47 ----
#include <netinet/in.h>
#endif
+ #if!defined(HAVE_SOLARIS)
#include <netinet/if_ether.h>
+ #endif
#include <netinet/rtp.h>
#include <argus_llc.h>
More information about the argus
mailing list