Compiling on Solaris w/o bpf.h ??

Tom Briglia briglia at stanford.edu
Wed Oct 25 19:43:27 EDT 2006


Hi Folks,

I am a newbie to Argus and trying to compile on Solaris. I have seen
multiple references that Argus will compile on Solaris which is why I even
tried in the first place.

I successfully compiled and installed Bison, libpcap, libwrap, and sasl on
Solaris 10 and successfully ran the argus ./configure script. When I try to
compile Argus it starts crapping out due to no bpf.h:

gcc -O2 -mcpu=v9 -m64 -O -I. -I../include -I../../tcp_wrappers_7.6-ipv6.4
-I../../libpcap-0.9.5 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DLBL_ALIGN=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_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_SOLARIS=1
-DSTDC_HEADERS=1  -DARGUS_SYSLOG=1 -c ./gencode.c
./gencode.c:62:21: net/bpf.h: No such file or directory

I have searched my system and searched google and I get the impression
"bfp.h" is not native to Solaris.

I figured maybe it would be included in libpcap yet it is not.

So what is the real deal? How can Argus be compiled on Solaris w/o bpf.h?

I have a whole network of Solaris systems I would like to run Argus on yet
am now hitting this showstpper . . .

Any help will be greatly appreciated!

Thanks!

Tom



More information about the argus mailing list