Problem while building bro

Hi,

While building bro, I got an error because termcap.h was not found. After I included termcap.h in libedit, term.c got compiled but I got a segmentation fault saying: Command failed for target
`dce_rpc_pac.cc'. How can I fix this up?

Thanks,

Pallavi

I am trying to build bro-1.1 on SunOS 5.9 and here is the output before make fails.

./bifcl ./event.bif
./bifcl ./const.bif
./bifcl ./common-rw.bif
./bifcl ./finger-rw.bif
./bifcl ./ident-rw.bif
./bifcl ./ftp-rw.bif
./bifcl ./smtp-rw.bif
./bifcl ./http-rw.bif
./bifcl ./strings.bif
perl ./make_dbg_constants.pl ./DebugCmdInfoConstants.in
make all-recursive
Making all in binpac
source='pac_parse.cc' object='pac_parse.o' libtool=no \
depfile='.deps/pac_parse.Po' tmpdepfile='.deps/pac_parse.TPo' \
depmode=none /bin/bash ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -W -Wall -Wno-unused -I/home/eecs/pallavi/libpcap-0.9.4 -I/home/eecs/pallavi/libpcap-0.9.4 -g -O2 -c -o pac_parse.o `test -f pac_parse.cc || echo './'`pac_parse.cc
source='pac_scan.cc' object='pac_scan.o' libtool=no \
depfile='.deps/pac_scan.Po' tmpdepfile='.deps/pac_scan.TPo' \
depmode=none /bin/bash ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -W -Wall -Wno-unused -I/home/eecs/pallavi/libpcap-0.9.4 -I/home/eecs/pallavi/libpcap-0.9.4 -g -O2 -c -o pac_scan.o `test -f pac_scan.cc || echo './'`pac_scan.cc
source='pac.cc' object='pac.o' libtool=no \
depfile='.deps/pac.Po' tmpdepfile='.deps/pac.TPo' \
depmode=none /bin/bash ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -W -Wall -Wno-unused -I/home/eecs/pallavi/libpcap-0.9.4 -I/home/eecs/pallavi/libpcap-0.9.4 -g -O2 -c -o pac.o `test -f pac.cc || echo './'`pac.cc
source='pac_main.cc' object='pac_main.o' libtool=no \
depfile='.deps/pac_main.Po' tmpdepfile='.deps/pac_main.TPo' \
depmode=none /bin/bash ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -W -Wall -Wno-unused -I/home/eecs/pallavi/libpcap-0.9.4 -I/home/eecs/pallavi/libpcap-0.9.4 -g -O2 -c -o pac_main.o `test -f pac_main.cc || echo './'`pac_main.cc
source='pac_output.cc' object='pac_output.o' libtool=no \
depfile='.deps/pac_output.Po' tmpdepfile='.deps/pac_output.TPo' \
depmode=none /bin/bash ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -W -Wall -Wno-unused -I/home/eecs/pallavi/libpcap-0.9.4 -I/home/eecs/pallavi/libpcap-0.9.4 -g -O2 -c -o pac_output.o `test -f pac_output.cc || echo './'`pac_output.cc
source='pac_utils.cc' object='pac_utils.o' libtool=no \
depfile='.deps/pac_utils.Po' tmpdepfile='.deps/pac_utils.TPo' \
depmode=none /bin/bash ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -W -Wall -Wno-unused -I/home/eecs/pallavi/libpcap-0.9.4 -I/home/eecs/pallavi/libpcap-0.9.4 -g -O2 -c -o pac_utils.o `test -f pac_utils.cc || echo './'`pac_utils.cc
g++ -g -O2 -o binpac pac_parse.o pac_scan.o pac.o pac_main.o pac_output.o pac_utils.o -lresolv -lpcap -lpcap -L/home/eecs/pallavi/libpcap-0.9.4 -lpcap -lnsl -lsocket -ltermcap
../src/binpac/binpac ./dce_rpc.pac
*** Signal 11
make: Fatal error: Command failed for target `dce_rpc_pac.cc'
Current working directory /home/eecs/pallavi/bro-1.1/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/eecs/pallavi/bro-1.1/src
*** Error code 1
make: Fatal error: Command failed for target `all'

Pallavi Joshi wrote: