[dsc] collector compilation error in solaris

Avinesh Joshi avinesh_joshi at rediffmail.com
Fri Dec 14 11:03:11 UTC 2007

after putting -lresolv make is successfull but when i run make install
i get the following error
make install
(cd dsc; make install)
../TmfBase/Hapy/src/.libs/libHapy.a is out of date
cd ../TmfBase/Hapy; make all
Making all in src
Making all in doc
Making all in tests
installing in
install -d -m 755 /usr/local/dsc/bin/
install -d -m 755 /usr/local/dsc/etc/
install -d -m 755 /usr/local/dsc/var/
install -d -m 755 /usr/local/dsc/var/log/
install -m 755 dsc /usr/local/dsc/bin/
install: dsc was not found anywhere!
*** Error code 2
make: Fatal error: Command failed for target `install'
Current working directory /dns-stat/dsc-200706121022/collector/dsc
*** Error code 1
make: Fatal error: Command failed for target `install'


On Fri, 14 Dec 2007 Alexander Gall wrote :
>On 14 Dec 2007 07:22:08 -0000, "Avinesh  Joshi" <avinesh_joshi at rediffmail.com> said:
> >
> > After changing it to g++ i am getting following error
> > g++ -o dsc base64.o  generic_counter.o  pcap.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  do_bit_index.o  rd_bit_index.o  opcode_index.o  transport_index.o  ParseConfig.o  config_hooks.o  hashtbl.o  lookup3.o  xmalloc.o  inX_addr.o  -lpcap  ../TmfBase/Hapy/src/.libs/libHapy.a -lsocket -lnsl
> > Undefined                      first referenced
> > symbol                            in file
> > inet_aton                          query_classification_index.o
> > ld: fatal: Symbol referencing errors. No output written to dsc
> > collect2: ld returned 1 exit status
> > *** Error code 1
> > make: Fatal error: Command failed for target `dsc'
>inet_aton is in a different library on Solaris 8/9.  You need to add
>-lresolv to LDFLAGS.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dns-oarc.net/pipermail/dsc/attachments/20071214/47b07a37/attachment.htm>

More information about the dsc mailing list