[dsc] Compilation Error

Azrol Hezri Badarudin azrol at tnb.com.my
Mon Sep 26 04:30:13 UTC 2011


Hi,

 

I am having problem to compile dsc on my collector server. Here is the
problem. Any feedback is appreciated.

 

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 country_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
-lsocket -lnsl -lresolv
../TmfBase/Hapy/src/.libs/libHapy.a

Undefined                       first referenced

 symbol                             in file

pcap_file                                 pcap.o

pcap_geterr                           pcap.o

pcap_datalink                       pcap.o

pcap_open_offline             pcap.o

pcap_stats                              pcap.o

pcap_dispatch                       pcap.o

pcap_get_selectable_fd  pcap.o

pcap_setnonblock              pcap.o

pcap_compile                       pcap.o

pcap_setfilter                       pcap.o

pcap_close                             pcap.o

pcap_open_live                   pcap.o

ld: fatal: Symbol referencing errors. No output written to dsc

collect2: ld returned 1 exit status

make[1]: *** [dsc] Error 1

make[1]: Leaving directory `/tmp/dsc-201106061022/collector/dsc'

*** Error code 2

make: Fatal error: Command failed for target `all'

 

-- Azrol --

 



NOTIFICATION
Privileged/confidential information may be contained in this 
e-mail and any attachment(s). If you are not the intended 
recipient, any use of, reliance on, reference to, disclosure 
of, alteration to or copying of the information for any purpose 
is prohibited. Any information not related to TNB's official 
business is solely the author's and does not necessarily 
represent TNB's view and is not necessarily endorsed by TNB. 
TNB shall not be liable for any  loss or damage caused by any 
illegal activities under the law and/or improper use of e-mail 
including but not limited to liability related to the content 
of the e-mail(including viruses and other malicious codes, 
harassment and defamation ) or related to its dissemination. 
TNB is not responsible for any unauthorised changes made to 
the information or for the effect of such changes.


More information about the dsc mailing list