[dsc] Can't compile Collector.
Michael
maillists at hecomm.org
Tue Oct 12 04:18:45 UTC 2010
When compiling collector I get the attached output from the compiler.
It's acting as though daemon.c isn't including nmap.h
I have nmap 5.0 installed (Ubuntu 64-bit Lucid Lynx.)
I have tried commenting out the "IF" part of the nmap.h include like so:
//#ifdef HAVE_NCAP
#include nmap.h
//#endif
and then tried compiling "clean". (In other words, removed the archive, re-
extracted archive, commented out if statements and then ran make.
And get exactly the same end result:
make[1]: Leaving directory `/home/user/dsc-201008131729/collector/dsc'
daemon.o: In function `dump_reports':
/home/user/dsc-201008131729/collector/dsc/daemon.c:151: undefined reference to
`Ncap_finish_time'
daemon.o: In function `main':
/home/user/dsc-201008131729/collector/dsc/daemon.c:285: undefined reference to
`Ncap_close'
/home/user/dsc-201008131729/collector/dsc/daemon.c:251: undefined reference to
`Ncap_run'
collect2: ld returned 1 exit status
make[1]: *** [dsc] Error 1
make[1]: Leaving directory `/home/user/dsc-201008131729/collector/dsc'
make: *** [all] Error 2
I see this is apparently a linking error, but am a bit of a novice in C
programming/compiling. I can see the referenced calls in nmap.c and nmap.h,
what I don't know is are we compiling based on system nmap, or local nmap. Is
there a way for me to know for certain? (i.e is the link failing because the
system version of nmap is missing these calls?)
And hopefully my email client is finally sending email as the person I
subscribed as and not as the "Default" user.
-------------- next part --------------
(cd dsc; test -s Makefile || ./configure ; make all)
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for ncap_create in -lncap... yes
checking for inet_aton in -lresolv... yes
checking for gethostbyname in -lnsl... yes
checking for connect in -lsocket... no
checking for pcap_open_live in -lpcap... yes
checking for GeoIP_open in -lGeoIP... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for memory.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for int8_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for dup2... yes
checking for gettimeofday... yes
checking for memset... yes
checking for regcomp... yes
checking for select... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for strtoull... yes
checking for statvfs... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
make[1]: Entering directory `/home/user/dsc-201008131729/collector/dsc'
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o base64.o base64.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o generic_counter.o generic_counter.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o pcap.o pcap.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o ncap.o ncap.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o dns_protocol.o dns_protocol.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o dns_message.o dns_message.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o ip_message.o ip_message.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o daemon.o daemon.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o md_array.o md_array.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o null_index.o null_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o qtype_index.o qtype_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o qclass_index.o qclass_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o tld_index.o tld_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o country_index.o country_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o rcode_index.o rcode_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o qnamelen_index.o qnamelen_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o qname_index.o qname_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o msglen_index.o msglen_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o client_ipv4_addr_index.o client_ipv4_addr_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o client_ipv4_net_index.o client_ipv4_net_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o md_array_xml_printer.o md_array_xml_printer.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o ip_direction_index.o ip_direction_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o ip_proto_index.o ip_proto_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o ip_version_index.o ip_version_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o certain_qnames_index.o certain_qnames_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o query_classification_index.o query_classification_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o idn_qname_index.o idn_qname_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o edns_version_index.o edns_version_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o edns_bufsiz_index.o edns_bufsiz_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o do_bit_index.o do_bit_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o rd_bit_index.o rd_bit_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o opcode_index.o opcode_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o transport_index.o transport_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o dns_ip_version_index.o dns_ip_version_index.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o dns_source_port_index.o dns_source_port_index.c
../TmfBase/Hapy/Makefile is out of date
cd ../TmfBase/Hapy; ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 805306365
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking whether g++ compiler understands C++... yes
enforcing -O1 on i686-pc-linux-gnu
checking whether custom g++ flags work... probably
changing g++ flags to -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual
checking for main in -lnsl... yes
checking iterator usability... yes
checking iterator presence... yes
checking for iterator... yes
checking limits usability... yes
checking limits presence... yes
checking for limits... yes
checking climits usability... yes
checking climits presence... yes
checking for climits... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for non-standard std::string::compare profile... no
checking for std::numeric_limits... yes
checking for std::iterator... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating tests/Makefile
config.status: creating src/include/Hapy/ac-config.h
config.status: executing src/include/Hapy/config.h commands
config.status: creating src/include/Hapy/config.h - prefix HAPY for src/include/Hapy/ac-config.h defines
config.status: executing depfiles commands
../TmfBase/Hapy/src/.libs/libHapy.a is out of date
cd ../TmfBase/Hapy; make all
make[2]: Entering directory `/home/user/dsc-201008131729/collector/TmfBase/Hapy'
Making all in src
make[3]: Entering directory `/home/user/dsc-201008131729/collector/TmfBase/Hapy/src'
if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -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 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../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/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -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 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../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/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -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 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../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/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -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 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../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/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -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 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../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/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Debugger.lo -MD -MP -MF ".deps/Debugger.Tpo" -c -o Debugger.lo Debugger.cc; \
then mv -f ".deps/Debugger.Tpo" ".deps/Debugger.Plo"; else rm -f ".deps/Debugger.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Debugger.lo -MD -MP -MF .deps/Debugger.Tpo -c Debugger.cc -o Debugger.o
if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT First.lo -MD -MP -MF ".deps/First.Tpo" -c -o First.lo First.cc; \
then mv -f ".deps/First.Tpo" ".deps/First.Plo"; else rm -f ".deps/First.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT First.lo -MD -MP -MF .deps/First.Tpo -c First.cc -o First.o
if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Optimizer.lo -MD -MP -MF ".deps/Optimizer.Tpo" -c -o Optimizer.lo Optimizer.cc; \
then mv -f ".deps/Optimizer.Tpo" ".deps/Optimizer.Plo"; else rm -f ".deps/Optimizer.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Optimizer.lo -MD -MP -MF .deps/Optimizer.Tpo -c Optimizer.cc -o Optimizer.o
if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -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 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../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/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -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 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../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/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -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 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../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/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT PreeFarm.lo -MD -MP -MF ".deps/PreeFarm.Tpo" -c -o PreeFarm.lo PreeFarm.cc; \
then mv -f ".deps/PreeFarm.Tpo" ".deps/PreeFarm.Plo"; else rm -f ".deps/PreeFarm.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT PreeFarm.lo -MD -MP -MF .deps/PreeFarm.Tpo -c PreeFarm.cc -o PreeFarm.o
if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -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 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../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/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -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 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../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/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -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 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../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/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -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 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../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/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -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 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../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
if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT SizeCalc.lo -MD -MP -MF ".deps/SizeCalc.Tpo" -c -o SizeCalc.lo SizeCalc.cc; \
then mv -f ".deps/SizeCalc.Tpo" ".deps/SizeCalc.Plo"; else rm -f ".deps/SizeCalc.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT SizeCalc.lo -MD -MP -MF .deps/SizeCalc.Tpo -c SizeCalc.cc -o SizeCalc.o
if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Top.lo -MD -MP -MF ".deps/Top.Tpo" -c -o Top.lo Top.cc; \
then mv -f ".deps/Top.Tpo" ".deps/Top.Plo"; else rm -f ".deps/Top.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Top.lo -MD -MP -MF .deps/Top.Tpo -c Top.cc -o Top.o
/bin/bash ../libtool --tag=CXX --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 Debugger.lo First.lo Optimizer.lo Parser.lo Pree.lo PrettyPrint.lo PreeFarm.lo Result.lo Rule.lo RuleBase.lo RuleId.lo Rules.lo SizeCalc.lo Top.lo -lnsl
mkdir .libs
ar cru .libs/libHapy.a Algorithm.o Algorithms.o Area.o Assert.o Buffer.o Debugger.o First.o Optimizer.o Parser.o Pree.o PrettyPrint.o PreeFarm.o Result.o Rule.o RuleBase.o RuleId.o Rules.o SizeCalc.o Top.o
ranlib .libs/libHapy.a
creating libHapy.la
(cd .libs && rm -f libHapy.la && ln -s ../libHapy.la libHapy.la)
make[3]: Leaving directory `/home/user/dsc-201008131729/collector/TmfBase/Hapy/src'
Making all in doc
make[3]: Entering directory `/home/user/dsc-201008131729/collector/TmfBase/Hapy/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/user/dsc-201008131729/collector/TmfBase/Hapy/doc'
Making all in tests
make[3]: Entering directory `/home/user/dsc-201008131729/collector/TmfBase/Hapy/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/user/dsc-201008131729/collector/TmfBase/Hapy/tests'
make[3]: Entering directory `/home/user/dsc-201008131729/collector/TmfBase/Hapy'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/user/dsc-201008131729/collector/TmfBase/Hapy'
make[2]: Leaving directory `/home/user/dsc-201008131729/collector/TmfBase/Hapy'
g++ -c -o ParseConfig.o -g -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include -I/usr/local/include ParseConfig.cc
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o config_hooks.o config_hooks.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o hashtbl.o hashtbl.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o lookup3.o lookup3.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o xmalloc.o xmalloc.c
cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -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 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 -lpcap -lnsl -lresolv -lncap ../TmfBase/Hapy/src/.libs/libHapy.a
make[1]: Leaving directory `/home/user/dsc-201008131729/collector/dsc'
daemon.o: In function `dump_reports':
/home/user/dsc-201008131729/collector/dsc/daemon.c:151: undefined reference to `Ncap_finish_time'
daemon.o: In function `main':
/home/user/dsc-201008131729/collector/dsc/daemon.c:285: undefined reference to `Ncap_close'
/home/user/dsc-201008131729/collector/dsc/daemon.c:251: undefined reference to `Ncap_run'
collect2: ld returned 1 exit status
make[1]: *** [dsc] Error 1
make[1]: Leaving directory `/home/user/dsc-201008131729/collector/dsc'
make: *** [all] Error 2
More information about the dsc
mailing list