common/argus_util.c fails to build in RC24

Christoph Badura bad at bsd.de
Tue Aug 8 05:58:31 EDT 2006


Compiling RC24 of both argus and argus-clients fails in common/argus_util.c.

I'm surprised that it fails because different structure members are missing.
Is the code in the common subdirectory not common between the server and
the clients?

A quick glance over the output of 'diff -ru' of the two common directories
shows heaps of differences, some of them security related in the sasl code.
Is this intentional?

### Making in /u/1/pkgobj/local/argus-clients3/work.i386/argus-clients-3.0.0.rc.24/common
cc -O3 -O2 -pthread -I. -I../include -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_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 -DARGUS_CURSES=1 -DCONFIG_X86_BSWAP=1 -DSTDC_HEADERS=1  -DARGUS_SYSLOG -c ./argus_util.c
argus_util.c: In function `ArgusNtoH':
argus_util.c:11246: error: structure has no member named `src_pkt_drop'
argus_util.c:11246: error: structure has no member named `src_pkt_drop'
argus_util.c:11246: error: structure has no member named `src_pkt_drop'
argus_util.c:11246: error: structure has no member named `src_pkt_drop'
argus_util.c:11246: error: structure has no member named `src_pkt_drop'
argus_util.c:11247: error: structure has no member named `dst_pkt_drop'
argus_util.c:11247: error: structure has no member named `dst_pkt_drop'
argus_util.c:11247: error: structure has no member named `dst_pkt_drop'
argus_util.c:11247: error: structure has no member named `dst_pkt_drop'
argus_util.c:11247: error: structure has no member named `dst_pkt_drop'
argus_util.c: In function `ArgusHtoN':
argus_util.c:11661: error: structure has no member named `src_pkt_drop'
argus_util.c:11661: error: structure has no member named `src_pkt_drop'
argus_util.c:11661: error: structure has no member named `src_pkt_drop'
argus_util.c:11661: error: structure has no member named `src_pkt_drop'
argus_util.c:11661: error: structure has no member named `src_pkt_drop'
argus_util.c:11662: error: structure has no member named `dst_pkt_drop'
argus_util.c:11662: error: structure has no member named `dst_pkt_drop'
argus_util.c:11662: error: structure has no member named `dst_pkt_drop'
argus_util.c:11662: error: structure has no member named `dst_pkt_drop'
argus_util.c:11662: error: structure has no member named `dst_pkt_drop'
*** Error code 1

Stop.
make: stopped in /u/1/pkgobj/local/argus-clients3/work.i386/argus-clients-3.0.0.rc.24/common
### Making in /u/1/pkgobj/local/argus-server3/work.i386/argus-3.0.0.rc.24/common
cc -O3 -O2 -I/usr/include -O2 -I/usr/include -I. -I/usr/include  -I./../include -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_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 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRUCT_ETHER_ADDR=1 -DHAVE_DECL_ETHER_HOSTTON=0 -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 -DCONFIG_X86_BSWAP=1 -DSTDC_HEADERS=1  -DARGUS_SYSLOG=1 -c argus_util.c
argus_util.c: In function `ArgusNtoH':
argus_util.c:260: error: structure has no member named `ip_id'
argus_util.c:260: error: structure has no member named `ip_id'
argus_util.c:260: error: structure has no member named `ip_id'
argus_util.c:260: error: structure has no member named `ip_id'
argus_util.c:260: error: structure has no member named `ip_id'
argus_util.c: In function `ArgusHtoN':
argus_util.c:637: error: structure has no member named `ip_id'
argus_util.c:637: error: structure has no member named `ip_id'
argus_util.c:637: error: structure has no member named `ip_id'
argus_util.c:637: error: structure has no member named `ip_id'
argus_util.c:637: error: structure has no member named `ip_id'
*** Error code 1

--chb



More information about the argus mailing list