DSC 2.8.1 Installation issues
Biesiadecki, Jack R. (ARC-IO)[ASRC RESEARCH & TECHNOLOGY SOLUTIONS]
jack.r.biesiadecki at nasa.gov
Wed Jul 10 23:29:22 UTC 2019
Hello,
The latest release that installed without issue is dsc version 2.6.1. I am attempting to update to dsc 2.8.1 from source and encounter several errors. Version 2.7.0 and newer produce the following.
Output of ./configuration on version 2.8.1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... x86_64-unknown-freebsd11.2
checking host system type... x86_64-unknown-freebsd11.2
checking for a sed that does not truncate output... /usr/bin/sed
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -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 whether time.h and sys/time.h may both be included... yes
checking for pcap_open_live in -lpcap... yes
checking pcap/pcap.h usability... yes
checking pcap/pcap.h presence... yes
checking for pcap/pcap.h... yes
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking sys/endian.h usability... yes
checking sys/endian.h presence... yes
checking for sys/endian.h... yes
checking machine/endian.h usability... yes
checking machine/endian.h presence... yes
checking for machine/endian.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for pcap_create... yes
checking for pcap_set_tstamp_precision... yes
checking for pcap_set_immediate_mode... yes
checking for pcap_set_tstamp_type... yes
checking for pcap_setdirection... yes
checking for sched_yield... yes
checking for pcap_open_offline_with_tstamp_precision... yes
checking for pcap_activate... yes
checking for pcap_direction_t... yes
checking for inet_aton in -lresolv... no
checking for gethostbyname in -lnsl... no
checking for connect in -lsocket... no
checking for GeoIP_open in -lGeoIP... no
checking for libmaxminddb... yes
checking for log10 in -lm... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking arpa/nameser_compat.h usability... yes
checking arpa/nameser_compat.h presence... yes
checking for arpa/nameser_compat.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... no
checking sys/statfs.h presence... no
checking for sys/statfs.h... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking for sys/time.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking netinet/ip_compat.h usability... no
checking netinet/ip_compat.h presence... yes
configure: WARNING: netinet/ip_compat.h: present but cannot be compiled
configure: WARNING: netinet/ip_compat.h: check for missing prerequisite headers?
configure: WARNING: netinet/ip_compat.h: see the Autoconf documentation
configure: WARNING: netinet/ip_compat.h: section "Present But Cannot Be Compiled"
configure: WARNING: netinet/ip_compat.h: proceeding with the compiler's result
configure: WARNING: ## ------------------------------- ##
configure: WARNING: ## Report this to dsc at dns-oarc.net ##
configure: WARNING: ## ------------------------------- ##
checking for netinet/ip_compat.h... no
checking pcap/sll.h usability... no
checking pcap/sll.h presence... no
checking for pcap/sll.h... no
checking GeoIP.h usability... no
checking GeoIP.h presence... no
checking for GeoIP.h... no
checking maxminddb.h usability... no
checking maxminddb.h presence... no
checking for maxminddb.h... no
checking for endian.h... (cached) no
checking for sys/endian.h... (cached) yes
checking for machine/endian.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... (cached) 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 cc 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 correctly handles 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
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/test/Makefile
config.status: creating cron/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
Output generated from make:
Making all in src
make all-recursive
Making all in test
depbase=`echo asn_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT asn_index.o -MD -MP -MF $depbase.Tpo -c -o asn_index.o asn_index.c && mv -f $depbase.Tpo $depbase.Po
asn_index.c:101:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(_asn);
^
1 warning generated.
depbase=`echo certain_qnames_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT certain_qnames_index.o -MD -MP -MF $depbase.Tpo -c -o certain_qnames_index.o certain_qnames_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo client_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT client_index.o -MD -MP -MF $depbase.Tpo -c -o client_index.o client_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo client_subnet_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT client_subnet_index.o -MD -MP -MF $depbase.Tpo -c -o client_subnet_index.o client_subnet_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo compat.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT compat.o -MD -MP -MF $depbase.Tpo -c -o compat.o compat.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo config_hooks.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT config_hooks.o -MD -MP -MF $depbase.Tpo -c -o config_hooks.o config_hooks.c && mv -f $depbase.Tpo $depbase.Po
config_hooks.c:144:28: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)'
[-Wimplicit-function-declaration]
return hashendian(key, strlen(key), 0);
^
config_hooks.c:144:28: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
config_hooks.c:150:12: warning: implicitly declaring library function 'strcasecmp' with type 'int (const char *, const char *)'
[-Wimplicit-function-declaration]
return strcasecmp(a, b);
^
config_hooks.c:150:12: note: include the header <strings.h> or explicitly provide a declaration for 'strcasecmp'
config_hooks.c:156:27: warning: implicit declaration of function 'strtoull' is invalid in C99 [-Wimplicit-function-declaration]
statistics_interval = strtoull(s, NULL, 10);
^
config_hooks.c:177:10: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)'
[-Wimplicit-function-declaration]
if (!strcmp(firstindexer, "response_time") || !strcmp(secondindexer, "response_time")) {
^
config_hooks.c:177:10: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
config_hooks.c:232:9: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
i = atoi(s);
^
config_hooks.c:242:21: warning: implicit declaration of function 'strtoull' is invalid in C99 [-Wimplicit-function-declaration]
minfree_bytes = strtoull(s, NULL, 10);
^
config_hooks.c:402:24: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
pcap_buffer_size = atoi(s);
^
config_hooks.c:420:18: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
pt_timeout = atoi(s);
^
config_hooks.c:439:12: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
port = atoi(s);
^
config_hooks.c:466:23: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
int max_queries = atoi(s);
^
config_hooks.c:492:23: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
int max_seconds = atoi(s);
^
config_hooks.c:518:23: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
int bucket_size = atoi(s);
^
12 warnings generated.
depbase=`echo country_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT country_index.o -MD -MP -MF $depbase.Tpo -c -o country_index.o country_index.c && mv -f $depbase.Tpo $depbase.Po
country_index.c:251:28: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)'
[-Wimplicit-function-declaration]
return hashendian(key, strlen(key), 0);
^
country_index.c:251:28: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
country_index.c:257:12: warning: implicitly declaring library function 'strcasecmp' with type 'int (const char *, const char *)'
[-Wimplicit-function-declaration]
return strcasecmp(a, b);
^
country_index.c:257:12: note: include the header <strings.h> or explicitly provide a declaration for 'strcasecmp'
2 warnings generated.
depbase=`echo daemon.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT daemon.o -MD -MP -MF $depbase.Tpo -c -o daemon.o daemon.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo dns_ip_version_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT dns_ip_version_index.o -MD -MP -MF $depbase.Tpo -c -o dns_ip_version_index.o dns_ip_version_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo dns_message.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT dns_message.o -MD -MP -MF $depbase.Tpo -c -o dns_message.o dns_message.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo dns_protocol.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT dns_protocol.o -MD -MP -MF $depbase.Tpo -c -o dns_protocol.o dns_protocol.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo dns_source_port_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT dns_source_port_index.o -MD -MP -MF $depbase.Tpo -c -o dns_source_port_index.o dns_source_port_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo do_bit_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT do_bit_index.o -MD -MP -MF $depbase.Tpo -c -o do_bit_index.o do_bit_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo edns_bufsiz_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT edns_bufsiz_index.o -MD -MP -MF $depbase.Tpo -c -o edns_bufsiz_index.o edns_bufsiz_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo edns_version_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT edns_version_index.o -MD -MP -MF $depbase.Tpo -c -o edns_version_index.o edns_version_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo hashtbl.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT hashtbl.o -MD -MP -MF $depbase.Tpo -c -o hashtbl.o hashtbl.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo idn_qname_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT idn_qname_index.o -MD -MP -MF $depbase.Tpo -c -o idn_qname_index.o idn_qname_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo inX_addr.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT inX_addr.o -MD -MP -MF $depbase.Tpo -c -o inX_addr.o inX_addr.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo ip_direction_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT ip_direction_index.o -MD -MP -MF $depbase.Tpo -c -o ip_direction_index.o ip_direction_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo ip_proto_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT ip_proto_index.o -MD -MP -MF $depbase.Tpo -c -o ip_proto_index.o ip_proto_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo ip_version_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT ip_version_index.o -MD -MP -MF $depbase.Tpo -c -o ip_version_index.o ip_version_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo md_array.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT md_array.o -MD -MP -MF $depbase.Tpo -c -o md_array.o md_array.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo md_array_json_printer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT md_array_json_printer.o -MD -MP -MF $depbase.Tpo -c -o md_array_json_printer.o md_array_json_printer.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo md_array_xml_printer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT md_array_xml_printer.o -MD -MP -MF $depbase.Tpo -c -o md_array_xml_printer.o md_array_xml_printer.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo msglen_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT msglen_index.o -MD -MP -MF $depbase.Tpo -c -o msglen_index.o msglen_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo null_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT null_index.o -MD -MP -MF $depbase.Tpo -c -o null_index.o null_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo opcode_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT opcode_index.o -MD -MP -MF $depbase.Tpo -c -o opcode_index.o opcode_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo parse_conf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT parse_conf.o -MD -MP -MF $depbase.Tpo -c -o parse_conf.o parse_conf.c && mv -f $depbase.Tpo $depbase.Po
parse_conf.c:141:23: warning: implicitly declaring library function 'strndup' with type 'char *(const char *, unsigned long)'
[-Wimplicit-function-declaration]
char* interface = strndup(tokens[1].token, tokens[1].length);
^
parse_conf.c:141:23: note: include the header <string.h> or explicitly provide a declaration for 'strndup'
parse_conf.c:150:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(interface);
^
parse_conf.c:165:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(run_dir);
^
parse_conf.c:180:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(minfree_bytes);
^
parse_conf.c:195:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(pid_file);
^
parse_conf.c:210:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(statistics_interval);
^
parse_conf.c:225:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(local_address);
^
parse_conf.c:231:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(local_address);
^
parse_conf.c:247:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(bpf_program);
^
parse_conf.c:265:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(name);
^
parse_conf.c:285:28: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)'
[-Wimplicit-function-declaration]
} else if (!(arg = strchr(opt, '='))) {
^
parse_conf.c:285:28: note: include the header <string.h> or explicitly provide a declaration for 'strchr'
parse_conf.c:293:25: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)'
[-Wimplicit-function-declaration]
} else if (!strcmp(opt, "min-count")) {
^
parse_conf.c:293:25: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
parse_conf.c:294:34: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
opts.min_count = atoi(arg);
^
parse_conf.c:296:34: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
opts.max_cells = atoi(arg);
^
parse_conf.c:302:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(opt);
^
parse_conf.c:322:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(name);
^
parse_conf.c:341:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(bpf_vlan_tag_byte_order);
^
parse_conf.c:356:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(output_format);
^
parse_conf.c:374:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(match_vlan);
^
parse_conf.c:390:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(name);
^
parse_conf.c:397:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(name);
^
parse_conf.c:535:10: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned
long)' [-Wimplicit-function-declaration]
if (!strncmp(tokens[1].token, "geoip", tokens[1].length)) {
^
parse_conf.c:535:10: note: include the header <string.h> or explicitly provide a declaration for 'strncmp'
parse_conf.c:622:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(pcap_buffer_size);
^
parse_conf.c:643:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(timeout);
^
parse_conf.c:664:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(mask);
^
parse_conf.c:679:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(mask);
^
parse_conf.c:694:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(dns_port);
^
parse_conf.c:709:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(s);
^
parse_conf.c:724:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(s);
^
parse_conf.c:739:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(s);
^
parse_conf.c:754:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(s);
^
parse_conf.c:769:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(s);
^
parse_conf.c:784:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(s);
^
parse_conf.c:996:9: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)'
[-Wimplicit-function-declaration]
memset(tokens, 0, sizeof(conf_token_t) * PARSE_MAX_ARGS);
^
parse_conf.c:996:9: note: include the header <string.h> or explicitly provide a declaration for 'memset'
parse_conf.c:1037:13: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(buffer);
^
parse_conf.c:1048:13: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(buffer);
^
parse_conf.c:1057:13: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(buffer);
^
parse_conf.c:1073:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(buffer);
^
38 warnings generated.
depbase=`echo pcap.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT pcap.o -MD -MP -MF $depbase.Tpo -c -o pcap.o pcap.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo qclass_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT qclass_index.o -MD -MP -MF $depbase.Tpo -c -o qclass_index.o qclass_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo qname_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT qname_index.o -MD -MP -MF $depbase.Tpo -c -o qname_index.o qname_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo qnamelen_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT qnamelen_index.o -MD -MP -MF $depbase.Tpo -c -o qnamelen_index.o qnamelen_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo qr_aa_bits_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT qr_aa_bits_index.o -MD -MP -MF $depbase.Tpo -c -o qr_aa_bits_index.o qr_aa_bits_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo qtype_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT qtype_index.o -MD -MP -MF $depbase.Tpo -c -o qtype_index.o qtype_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo query_classification_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT query_classification_index.o -MD -MP -MF $depbase.Tpo -c -o query_classification_index.o query_classification_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo rcode_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT rcode_index.o -MD -MP -MF $depbase.Tpo -c -o rcode_index.o rcode_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo rd_bit_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT rd_bit_index.o -MD -MP -MF $depbase.Tpo -c -o rd_bit_index.o rd_bit_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo server_ip_addr_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT server_ip_addr_index.o -MD -MP -MF $depbase.Tpo -c -o server_ip_addr_index.o server_ip_addr_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo tc_bit_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT tc_bit_index.o -MD -MP -MF $depbase.Tpo -c -o tc_bit_index.o tc_bit_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo tld_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT tld_index.o -MD -MP -MF $depbase.Tpo -c -o tld_index.o tld_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo transport_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT transport_index.o -MD -MP -MF $depbase.Tpo -c -o transport_index.o transport_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo xmalloc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT xmalloc.o -MD -MP -MF $depbase.Tpo -c -o xmalloc.o xmalloc.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo response_time_index.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT response_time_index.o -MD -MP -MF $depbase.Tpo -c -o response_time_index.o response_time_index.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo ext/base64.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT ext/base64.o -MD -MP -MF $depbase.Tpo -c -o ext/base64.o ext/base64.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo ext/lookup3.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT ext/lookup3.o -MD -MP -MF $depbase.Tpo -c -o ext/lookup3.o ext/lookup3.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo pcap_layers/pcap_layers.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -g -O2 -MT pcap_layers/pcap_layers.o -MD -MP -MF $depbase.Tpo -c -o pcap_layers/pcap_layers.o pcap_layers/pcap_layers.c && mv -f $depbase.Tpo $depbase.Po
pcap_layers/pcap_layers.c:73:2: error: "DLT_LINUX_SLL defined but no <pcap/sll.h> (HAVE_PCAP_SLL_H)"
#error "DLT_LINUX_SLL defined but no <pcap/sll.h> (HAVE_PCAP_SLL_H)"
^
pcap_layers/pcap_layers.c:574:15: error: use of undeclared identifier 'SLL_HDR_LEN'
if (len < SLL_HDR_LEN)
^
pcap_layers/pcap_layers.c:576:22: error: incomplete definition of type 'struct sll_header'
etype = nptohs(&s->sll_pkttype);
~^
pcap_layers/byteorder.h:24:18: note: expanded from macro 'nptohs'
((((uint8_t*)(p))[0] << 8) | ((uint8_t*)(p))[1])
^
pcap_layers/pcap_layers.c:571:12: note: forward declaration of 'struct sll_header'
struct sll_header *s = (struct sll_header *)pkt;
^
pcap_layers/pcap_layers.c:576:22: error: incomplete definition of type 'struct sll_header'
etype = nptohs(&s->sll_pkttype);
~^
pcap_layers/byteorder.h:24:45: note: expanded from macro 'nptohs'
((((uint8_t*)(p))[0] << 8) | ((uint8_t*)(p))[1])
^
pcap_layers/pcap_layers.c:571:12: note: forward declaration of 'struct sll_header'
struct sll_header *s = (struct sll_header *)pkt;
^
pcap_layers/pcap_layers.c:580:12: error: use of undeclared identifier 'SLL_HDR_LEN'
pkt += SLL_HDR_LEN;
^
pcap_layers/pcap_layers.c:581:12: error: use of undeclared identifier 'SLL_HDR_LEN'
len -= SLL_HDR_LEN;
^
pcap_layers/pcap_layers.c:593:23: error: incomplete definition of type 'struct sll_header'
eproto = nptohs(&s->sll_protocol);
~^
pcap_layers/byteorder.h:24:18: note: expanded from macro 'nptohs'
((((uint8_t*)(p))[0] << 8) | ((uint8_t*)(p))[1])
^
pcap_layers/pcap_layers.c:571:12: note: forward declaration of 'struct sll_header'
struct sll_header *s = (struct sll_header *)pkt;
^
pcap_layers/pcap_layers.c:593:23: error: incomplete definition of type 'struct sll_header'
eproto = nptohs(&s->sll_protocol);
~^
pcap_layers/byteorder.h:24:45: note: expanded from macro 'nptohs'
((((uint8_t*)(p))[0] << 8) | ((uint8_t*)(p))[1])
^
pcap_layers/pcap_layers.c:571:12: note: forward declaration of 'struct sll_header'
struct sll_header *s = (struct sll_header *)pkt;
^
8 errors generated.
*** Error code 1
Thanks,
Jack
Jack Biesiadecki | Systems Integration Senior Specialist
jack.r.biesiadecki at nasa.gov<mailto:jack.r.biesiadecki at nasa.gov> | o. +1.650.604.2982 | nttdataservices.com<http://www.nttdataservices.com/> @nttdataservices<https://twitter.com/NTTDATAServices>
NTT DATA Services
Consulting | Industry Solutions | Digital | Cloud | Application, Infrastructure & BPO Services
More information about the dsc
mailing list