Compile problem on HP-UX 11.00

Mac Schwarz mac at phil.uni-erlangen.de
Wed Oct 22 06:07:37 EDT 2003


Hi,

while trying to compile argus on HP-UX 11.00 I'm getting errors about
incomplete types:

Platform: HP-UX 11.00
Compiler: gcc 3.0.1

argus-2.0.5:

making in ./common
        gcc -O2 -I. -I../include -I../../libpcap-2003.10.19
-D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DLBL_ALIGN=1
-DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1
-DHAVE_SYSLOG_H=1 -DHAVE_HPUX10_20=1  -DARGUS_SYSLOG=1 -c
./argus_parse.c
In file included from ../include/argus_out.h:56,
                 from ../include/argus_parse.h:52,
                 from argus_parse.c:119:
/usr/include/netinet/if_ether.h:90: field `ea_hdr' has incomplete type
/usr/include/netinet/if_ether.h:121: field `ea_hdr' has incomplete
type
In file included from ../include/argus_util.h:62,
                 from ../include/argus_parse.h:54,
                 from argus_parse.c:119:
../include/cons_out.h:78: field `ethersrc' has incomplete type
../include/cons_out.h:79: field `etherdst' has incomplete type
../include/cons_out.h:113: field `ethersrc' has incomplete type
../include/cons_out.h:114: field `etherdst' has incomplete type
argus_parse.c: In function `parseTime':
argus_parse.c:3028: structure has no member named `tm_zone'
argus_parse.c:3029: structure has no member named `tm_gmtoff'
*** Error exit code 1
                                                                                
Stop.
*** Error exit code 1
                                                                                
Stop.


Same problems with argus-2.0.6.beta.14. Note the
-DHAVE_HPUX10_20=1. In configure.in only HPUX9 and HPUX11_20 are
defined.

	mac



More information about the argus mailing list