Has anyone successfully compiled Argus on Mac OS X

Andy andy at quadrant.net
Fri May 10 15:55:34 EDT 2002


I am new to this list so please bear with me.

Has anyone successfully compiled this package on Os X

Os 10.1.2 server

Here are the errors that I immediately recieve upon trying a make.

making in ./common
cc -O -I. -I../include -I../libpcap-0.7.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 
-DSTDC_HEADERS=1  -DARGUS_SYSLOG=1 -c ./argus_parse.c
In file included from /usr/include/netinet/if_ether.h:64,
                  from ../include/argus_out.h:56,
                  from ../include/argus_parse.h:52,
                  from ./argus_parse.c:120:
/usr/include/net/if_arp.h:100: field `arp_pa' has incomplete type
/usr/include/net/if_arp.h:101: field `arp_ha' has incomplete type
In file included from ../include/cons_out.h:44,
                  from ../include/argus_util.h:62,
                  from ../include/argus_parse.h:54,
                  from ./argus_parse.c:120:
/usr/include/net/if.h:174: field `ifru_addr' has incomplete type
/usr/include/net/if.h:175: field `ifru_dstaddr' has incomplete type
/usr/include/net/if.h:176: field `ifru_broadaddr' has incomplete type
/usr/include/net/if.h:202: field `ifra_addr' has incomplete type
/usr/include/net/if.h:203: field `ifra_broadaddr' has incomplete type
/usr/include/net/if.h:204: field `ifra_mask' has incomplete type
/usr/include/net/if.h:255: field `addr' has incomplete type
/usr/include/net/if.h:256: field `dstaddr' has incomplete type
./argus_parse.c: In function `ArgusGetServerSocket':
./argus_parse.c:1800: `SOCK_STREAM' undeclared (first use in this function)
./argus_parse.c:1800: (Each undeclared identifier is reported only once
./argus_parse.c:1800: for each function it appears in.)
./argus_parse.c:1820: `SOCK_DGRAM' undeclared (first use in this function)
./argus_parse.c:1856: `AF_INET' undeclared (first use in this function)
./argus_parse.c:1868: `SOL_SOCKET' undeclared (first use in this function)
./argus_parse.c:1868: `SO_KEEPALIVE' undeclared (first use in this function)
make[1]: *** [argus_parse.o] Error 1
making in ./server
cc -O -I . -I../include -I../libpcap-0.7.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 
-DSTDC_HEADERS=1  -c ./argus.c
In file included from /usr/include/netinet/if_ether.h:64,
                  from ./ArgusModeler.h:122,
                  from ./argus.c:56:
/usr/include/net/if_arp.h:100: field `arp_pa' has incomplete type
/usr/include/net/if_arp.h:101: field `arp_ha' has incomplete type
make[1]: *** [argus.o] Error 1
making in ./clients
cc -O -I . -I../include -I../common -I../libpcap-0.7.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 -DSTDC_HEADERS=1  -c ./ragator.c
In file included from /usr/include/netinet/if_ether.h:64,
                  from ../include/argus_out.h:56,
                  from ../include/argus_client.h:42,
                  from ./ragator.c:57:
/usr/include/net/if_arp.h:100: field `arp_pa' has incomplete type
/usr/include/net/if_arp.h:101: field `arp_ha' has incomplete type
In file included from ../include/cons_out.h:44,
                  from ../include/argus_util.h:62,
                  from ../include/argus_parse.h:54,
                  from ../include/argus_client.h:44,
                  from ./ragator.c:57:
/usr/include/net/if.h:174: field `ifru_addr' has incomplete type
/usr/include/net/if.h:175: field `ifru_dstaddr' has incomplete type
/usr/include/net/if.h:176: field `ifru_broadaddr' has incomplete type
/usr/include/net/if.h:202: field `ifra_addr' has incomplete type
/usr/include/net/if.h:203: field `ifra_broadaddr' has incomplete type
/usr/include/net/if.h:204: field `ifra_mask' has incomplete type
/usr/include/net/if.h:255: field `addr' has incomplete type
/usr/include/net/if.h:256: field `dstaddr' has incomplete type
make[1]: *** [ragator.o] Error 1

Use "exit" to leave _tcsh.

-- 



More information about the argus mailing list