[dsc] DSC Collector compile error

Josh Mullis josh.mullis at cox.com
Fri Oct 3 19:44:26 UTC 2008


Good day,

I am currently getting this error when attempting to do a "make" for the
collector.
I have read over the instructions atleast 5 times to make sure I didn't
miss and prerequisites.
I also scoured the internet for a viable solution.


Below are the errors:
===Even further down is a FULL "make" output.===


Thanks
-Josh

=========================================================================
/usr/local/dsc-200808221554/collector/dsc/pcap.c:976: undefined
reference to `pcap_open_offline'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:978: undefined
reference to `pcap_open_live'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:985: undefined
reference to `pcap_compile'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:987: undefined
reference to `pcap_geterr'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:987: undefined
reference to `pcap_geterr'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:990: undefined
reference to `pcap_setfilter'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:992: undefined
reference to `pcap_geterr'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:992: undefined
reference to `pcap_geterr'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:995: undefined
reference to `pcap_datalink'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:1018: undefined
reference to `pcap_datalink'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:1018: undefined
reference to `pcap_datalink'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:1023: undefined
reference to `pcap_file'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:1026: undefined
reference to `pcap_get_selectable_fd'
pcap.o: In function `Pcap_run':
/usr/local/dsc-200808221554/collector/dsc/pcap.c:1054: undefined
reference to `pcap_dispatch'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:1083: undefined
reference to `pcap_dispatch'
pcap.o: In function `Pcap_close':
/usr/local/dsc-200808221554/collector/dsc/pcap.c:1098: undefined
reference to `pcap_close'
collect2: ld returned 1 exit status
make[1]: *** [dsc] Error 1
make[1]: Leaving directory `/usr/local/dsc-200808221554/collector/dsc'
make: *** [all] Error 2
====================================================================



FULL OUTPUT
===================================================================
(cd dsc; test -s Makefile || ./configure ; make all)
make[1]: Entering directory `/usr/local/dsc-200808221554/collector/dsc'
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o base64.o
base64.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
generic_counter.o generic_counter.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o pcap.o pcap.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o ncap.o ncap.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
dns_protocol.o dns_protocol.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o dns_message.o
dns_message.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o ip_message.o
ip_message.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o daemon.o
daemon.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o md_array.o
md_array.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o null_index.o
null_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o qtype_index.o
qtype_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
qclass_index.o qclass_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o tld_index.o
tld_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o rcode_index.o
rcode_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
qnamelen_index.o qnamelen_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o qname_index.o
qname_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
msglen_index.o msglen_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
client_ipv4_addr_index.o client_ipv4_addr_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
client_ipv4_net_index.o client_ipv4_net_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
md_array_xml_printer.o md_array_xml_printer.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
ip_direction_index.o ip_direction_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
ip_proto_index.o ip_proto_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
ip_version_index.o ip_version_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
certain_qnames_index.o certain_qnames_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
query_classification_index.o query_classification_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
idn_qname_index.o idn_qname_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
edns_version_index.o edns_version_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
edns_bufsiz_index.o edns_bufsiz_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
do_bit_index.o do_bit_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
rd_bit_index.o rd_bit_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
opcode_index.o opcode_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
transport_index.o transport_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
dns_ip_version_index.o dns_ip_version_index.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
dns_source_port_index.o dns_source_port_index.c
../TmfBase/Hapy/src/.libs/libHapy.a is out of date
cd ../TmfBase/Hapy; make all
make[2]: Entering directory
`/usr/local/dsc-200808221554/collector/TmfBase/Hapy'
Making all in src
make[3]: Entering directory
`/usr/local/dsc-200808221554/collector/TmfBase/Hapy/src'
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../src/include/Hapy -I../src/include -I../src/include    -g -O1 -Wall
-Wwrite-strings -Woverloaded-virtual -MT Algorithm.lo -MD -MP -MF
".deps/Algorithm.Tpo" \
	  -c -o Algorithm.lo `test -f 'Algorithm.cc' || echo './'`Algorithm.cc;
\
	then mv -f ".deps/Algorithm.Tpo" ".deps/Algorithm.Plo"; \
	else rm -f ".deps/Algorithm.Tpo"; exit 1; \
	fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../src/include/Hapy -I../src/include
-I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT
Algorithm.lo -MD -MP -MF .deps/Algorithm.Tpo -c Algorithm.cc -o
Algorithm.o
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../src/include/Hapy -I../src/include -I../src/include    -g -O1 -Wall
-Wwrite-strings -Woverloaded-virtual -MT Algorithms.lo -MD -MP -MF
".deps/Algorithms.Tpo" \
	  -c -o Algorithms.lo `test -f 'Algorithms.cc' || echo
'./'`Algorithms.cc; \
	then mv -f ".deps/Algorithms.Tpo" ".deps/Algorithms.Plo"; \
	else rm -f ".deps/Algorithms.Tpo"; exit 1; \
	fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../src/include/Hapy -I../src/include
-I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT
Algorithms.lo -MD -MP -MF .deps/Algorithms.Tpo -c Algorithms.cc -o
Algorithms.o
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../src/include/Hapy -I../src/include -I../src/include    -g -O1 -Wall
-Wwrite-strings -Woverloaded-virtual -MT Area.lo -MD -MP -MF
".deps/Area.Tpo" \
	  -c -o Area.lo `test -f 'Area.cc' || echo './'`Area.cc; \
	then mv -f ".deps/Area.Tpo" ".deps/Area.Plo"; \
	else rm -f ".deps/Area.Tpo"; exit 1; \
	fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../src/include/Hapy -I../src/include
-I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT
Area.lo -MD -MP -MF .deps/Area.Tpo -c Area.cc -o Area.o
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../src/include/Hapy -I../src/include -I../src/include    -g -O1 -Wall
-Wwrite-strings -Woverloaded-virtual -MT Assert.lo -MD -MP -MF
".deps/Assert.Tpo" \
	  -c -o Assert.lo `test -f 'Assert.cc' || echo './'`Assert.cc; \
	then mv -f ".deps/Assert.Tpo" ".deps/Assert.Plo"; \
	else rm -f ".deps/Assert.Tpo"; exit 1; \
	fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../src/include/Hapy -I../src/include
-I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT
Assert.lo -MD -MP -MF .deps/Assert.Tpo -c Assert.cc -o Assert.o
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../src/include/Hapy -I../src/include -I../src/include    -g -O1 -Wall
-Wwrite-strings -Woverloaded-virtual -MT Buffer.lo -MD -MP -MF
".deps/Buffer.Tpo" \
	  -c -o Buffer.lo `test -f 'Buffer.cc' || echo './'`Buffer.cc; \
	then mv -f ".deps/Buffer.Tpo" ".deps/Buffer.Plo"; \
	else rm -f ".deps/Buffer.Tpo"; exit 1; \
	fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../src/include/Hapy -I../src/include
-I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT
Buffer.lo -MD -MP -MF .deps/Buffer.Tpo -c Buffer.cc -o Buffer.o
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../src/include/Hapy -I../src/include -I../src/include    -g -O1 -Wall
-Wwrite-strings -Woverloaded-virtual -MT Parser.lo -MD -MP -MF
".deps/Parser.Tpo" \
	  -c -o Parser.lo `test -f 'Parser.cc' || echo './'`Parser.cc; \
	then mv -f ".deps/Parser.Tpo" ".deps/Parser.Plo"; \
	else rm -f ".deps/Parser.Tpo"; exit 1; \
	fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../src/include/Hapy -I../src/include
-I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT
Parser.lo -MD -MP -MF .deps/Parser.Tpo -c Parser.cc -o Parser.o
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../src/include/Hapy -I../src/include -I../src/include    -g -O1 -Wall
-Wwrite-strings -Woverloaded-virtual -MT Pree.lo -MD -MP -MF
".deps/Pree.Tpo" \
	  -c -o Pree.lo `test -f 'Pree.cc' || echo './'`Pree.cc; \
	then mv -f ".deps/Pree.Tpo" ".deps/Pree.Plo"; \
	else rm -f ".deps/Pree.Tpo"; exit 1; \
	fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../src/include/Hapy -I../src/include
-I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT
Pree.lo -MD -MP -MF .deps/Pree.Tpo -c Pree.cc -o Pree.o
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../src/include/Hapy -I../src/include -I../src/include    -g -O1 -Wall
-Wwrite-strings -Woverloaded-virtual -MT PrettyPrint.lo -MD -MP -MF
".deps/PrettyPrint.Tpo" \
	  -c -o PrettyPrint.lo `test -f 'PrettyPrint.cc' || echo
'./'`PrettyPrint.cc; \
	then mv -f ".deps/PrettyPrint.Tpo" ".deps/PrettyPrint.Plo"; \
	else rm -f ".deps/PrettyPrint.Tpo"; exit 1; \
	fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../src/include/Hapy -I../src/include
-I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT
PrettyPrint.lo -MD -MP -MF .deps/PrettyPrint.Tpo -c PrettyPrint.cc -o
PrettyPrint.o
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../src/include/Hapy -I../src/include -I../src/include    -g -O1 -Wall
-Wwrite-strings -Woverloaded-virtual -MT PreeKids.lo -MD -MP -MF
".deps/PreeKids.Tpo" \
	  -c -o PreeKids.lo `test -f 'PreeKids.cc' || echo './'`PreeKids.cc; \
	then mv -f ".deps/PreeKids.Tpo" ".deps/PreeKids.Plo"; \
	else rm -f ".deps/PreeKids.Tpo"; exit 1; \
	fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../src/include/Hapy -I../src/include
-I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT
PreeKids.lo -MD -MP -MF .deps/PreeKids.Tpo -c PreeKids.cc -o PreeKids.o
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../src/include/Hapy -I../src/include -I../src/include    -g -O1 -Wall
-Wwrite-strings -Woverloaded-virtual -MT Result.lo -MD -MP -MF
".deps/Result.Tpo" \
	  -c -o Result.lo `test -f 'Result.cc' || echo './'`Result.cc; \
	then mv -f ".deps/Result.Tpo" ".deps/Result.Plo"; \
	else rm -f ".deps/Result.Tpo"; exit 1; \
	fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../src/include/Hapy -I../src/include
-I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT
Result.lo -MD -MP -MF .deps/Result.Tpo -c Result.cc -o Result.o
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../src/include/Hapy -I../src/include -I../src/include    -g -O1 -Wall
-Wwrite-strings -Woverloaded-virtual -MT Rule.lo -MD -MP -MF
".deps/Rule.Tpo" \
	  -c -o Rule.lo `test -f 'Rule.cc' || echo './'`Rule.cc; \
	then mv -f ".deps/Rule.Tpo" ".deps/Rule.Plo"; \
	else rm -f ".deps/Rule.Tpo"; exit 1; \
	fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../src/include/Hapy -I../src/include
-I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT
Rule.lo -MD -MP -MF .deps/Rule.Tpo -c Rule.cc -o Rule.o
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../src/include/Hapy -I../src/include -I../src/include    -g -O1 -Wall
-Wwrite-strings -Woverloaded-virtual -MT RuleBase.lo -MD -MP -MF
".deps/RuleBase.Tpo" \
	  -c -o RuleBase.lo `test -f 'RuleBase.cc' || echo './'`RuleBase.cc; \
	then mv -f ".deps/RuleBase.Tpo" ".deps/RuleBase.Plo"; \
	else rm -f ".deps/RuleBase.Tpo"; exit 1; \
	fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../src/include/Hapy -I../src/include
-I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT
RuleBase.lo -MD -MP -MF .deps/RuleBase.Tpo -c RuleBase.cc -o RuleBase.o
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../src/include/Hapy -I../src/include -I../src/include    -g -O1 -Wall
-Wwrite-strings -Woverloaded-virtual -MT RuleId.lo -MD -MP -MF
".deps/RuleId.Tpo" \
	  -c -o RuleId.lo `test -f 'RuleId.cc' || echo './'`RuleId.cc; \
	then mv -f ".deps/RuleId.Tpo" ".deps/RuleId.Plo"; \
	else rm -f ".deps/RuleId.Tpo"; exit 1; \
	fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../src/include/Hapy -I../src/include
-I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT
RuleId.lo -MD -MP -MF .deps/RuleId.Tpo -c RuleId.cc -o RuleId.o
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../src/include/Hapy -I../src/include -I../src/include    -g -O1 -Wall
-Wwrite-strings -Woverloaded-virtual -MT Rules.lo -MD -MP -MF
".deps/Rules.Tpo" \
	  -c -o Rules.lo `test -f 'Rules.cc' || echo './'`Rules.cc; \
	then mv -f ".deps/Rules.Tpo" ".deps/Rules.Plo"; \
	else rm -f ".deps/Rules.Tpo"; exit 1; \
	fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../src/include/Hapy -I../src/include
-I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT
Rules.lo -MD -MP -MF .deps/Rules.Tpo -c Rules.cc -o Rules.o
/bin/sh ../libtool --mode=link g++  -g -O1 -Wall -Wwrite-strings
-Woverloaded-virtual   -o libHapy.la -rpath /usr/local/lib  Algorithm.lo
Algorithms.lo Area.lo Assert.lo Buffer.lo Parser.lo Pree.lo
PrettyPrint.lo PreeKids.lo Result.lo Rule.lo RuleBase.lo RuleId.lo
Rules.lo  -lnsl 
mkdir .libs
ar cru .libs/libHapy.a  Algorithm.o Algorithms.o Area.o Assert.o
Buffer.o Parser.o Pree.o PrettyPrint.o PreeKids.o Result.o Rule.o
RuleBase.o RuleId.o Rules.o
ranlib .libs/libHapy.a
creating libHapy.la
(cd .libs && rm -f libHapy.la && ln -s ../libHapy.la libHapy.la)
make[3]: Leaving directory
`/usr/local/dsc-200808221554/collector/TmfBase/Hapy/src'
Making all in doc
make[3]: Entering directory
`/usr/local/dsc-200808221554/collector/TmfBase/Hapy/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/usr/local/dsc-200808221554/collector/TmfBase/Hapy/doc'
Making all in tests
make[3]: Entering directory
`/usr/local/dsc-200808221554/collector/TmfBase/Hapy/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/usr/local/dsc-200808221554/collector/TmfBase/Hapy/tests'
make[3]: Entering directory
`/usr/local/dsc-200808221554/collector/TmfBase/Hapy'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory
`/usr/local/dsc-200808221554/collector/TmfBase/Hapy'
make[2]: Leaving directory
`/usr/local/dsc-200808221554/collector/TmfBase/Hapy'
g++  -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include  -c -o ParseConfig.o ParseConfig.cc
ParseConfig.cc:54: warning: non-local variable ‘<anonymous enum>
configToken’ uses anonymous type
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o
config_hooks.o config_hooks.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o hashtbl.o
hashtbl.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o lookup3.o
lookup3.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o xmalloc.o
xmalloc.c
cc -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include -g -Wall -DUSE_IPV6=1
-I ../TmfBase/Hapy/src/include -I/usr/local/include  -c -o inX_addr.o
inX_addr.c
g++ -o dsc base64.o generic_counter.o pcap.o ncap.o dns_protocol.o
dns_message.o ip_message.o daemon.o md_array.o null_index.o
qtype_index.o qclass_index.o tld_index.o rcode_index.o qnamelen_index.o
qname_index.o msglen_index.o client_ipv4_addr_index.o
client_ipv4_net_index.o md_array_xml_printer.o ip_direction_index.o
ip_proto_index.o ip_version_index.o certain_qnames_index.o
query_classification_index.o idn_qname_index.o edns_version_index.o
edns_bufsiz_index.o do_bit_index.o rd_bit_index.o opcode_index.o
transport_index.o dns_ip_version_index.o dns_source_port_index.o
ParseConfig.o config_hooks.o hashtbl.o lookup3.o xmalloc.o inX_addr.o
-L/usr/local/lib -lnsl -lresolv  ../TmfBase/Hapy/src/.libs/libHapy.a
pcap.o: In function `Pcap_init':
/usr/local/dsc-200808221554/collector/dsc/pcap.c:976: undefined
reference to `pcap_open_offline'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:978: undefined
reference to `pcap_open_live'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:985: undefined
reference to `pcap_compile'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:987: undefined
reference to `pcap_geterr'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:987: undefined
reference to `pcap_geterr'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:990: undefined
reference to `pcap_setfilter'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:992: undefined
reference to `pcap_geterr'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:992: undefined
reference to `pcap_geterr'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:995: undefined
reference to `pcap_datalink'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:1018: undefined
reference to `pcap_datalink'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:1018: undefined
reference to `pcap_datalink'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:1023: undefined
reference to `pcap_file'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:1026: undefined
reference to `pcap_get_selectable_fd'
pcap.o: In function `Pcap_run':
/usr/local/dsc-200808221554/collector/dsc/pcap.c:1054: undefined
reference to `pcap_dispatch'
/usr/local/dsc-200808221554/collector/dsc/pcap.c:1083: undefined
reference to `pcap_dispatch'
pcap.o: In function `Pcap_close':
/usr/local/dsc-200808221554/collector/dsc/pcap.c:1098: undefined
reference to `pcap_close'
collect2: ld returned 1 exit status
make[1]: *** [dsc] Error 1
make[1]: Leaving directory `/usr/local/dsc-200808221554/collector/dsc'
make: *** [all] Error 2
===============================================================================



More information about the dsc mailing list