Compiling Argus for HPUX 10.20

Carter Bullard cbullard at nortelnetworks.com
Tue Jun 13 16:56:51 EDT 2000


Hey Mike,
   There are a few things that probably need to be checked
to make this work.  First things first.
 
   In the file ./include/compat.h, on line 64, we've got this
#if defined statement:
 

#if defined(__sgi) || defined(bsdi)
struct ether_addr {
        u_char  ether_addr_octet[6];
};
#endif
 
This should be modified to include HP_UX so change it to:
 
#if defined(__sgi) || defined(bsdi) || defined(__hpux)
struct ether_addr {
        u_char  ether_addr_octet[6];
};
#endif
 
This should solve the ether related incomplete type complaints.
For the time problems, in ./common/argus_parse.c, you need to
change this code on line 1800 from:
 

#if !defined(HAVE_SOLARIS) && !defined(__sgi) && !defined(linux) &&
!defined(AIX)
   tm->tm_zone = NULL;
   tm->tm_gmtoff = 0;
#endif
 
to:
 

#if !defined(HAVE_SOLARIS) && !defined(__sgi) && !defined(linux) &&
!defined(AIX) && !defined(__hpux)
   tm->tm_zone = NULL;
   tm->tm_gmtoff = 0;
#endif
 
This should do it!  Hope this helps, and if you are still having problems,
send mail!
 
Carter
 

-----Original Message-----
From: Mike Brown [mailto:mikeb at srl.css.mot.com]
Sent: Monday, June 12, 2000 4:56 PM
To: argus at sei.cmu.edu
Subject: Compiling Argus for HPUX 10.20


Dear Argus Help, 

I'm trying to compile the latest version of Argus (1.8.1) for HPUX.  After
doing a ./configure (everything seems to go OK)  I've got the latest
tcpwrappers and a very recent libpcap.  The following two errors come up: 


In file included from ../include/argus_util.h:54, 
                 from ./argus_parse.c:126: 
../include/cons_out.h:72: field `ethersrc' has incomplete type 
../include/cons_out.h:73: field `etherdst' has incomplete type 
../include/cons_out.h:107: field `ethersrc' has incomplete type 
../include/cons_out.h:108: field `etherdst' has incomplete type 


In file included from ./argus_parse.c:128: 
../include/argus_client.h:60: field `eaddr' has incomplete type 
./argus_parse.c: In function `parseTime': 
./argus_parse.c:1800: structure has no member named `tm_zone' 
./argus_parse.c:1801: structure has no member named `tm_gmtoff' 


Any thoughts? 
Thanks. 


Mike 
  

-- 

        Michael F. Brown

        Motorola CSS

        2015-5 N. Division St.

        Harvard, IL 60033

        email:  mikeb at srl.css.mot.com  

        phone:  (815) 884-1926

        fax:    (815) 884-2519

        MS:  IL21/AN284
  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20000613/9adce96b/attachment.html>


More information about the argus mailing list