tcpdump mailing list archives
libpcap fails to compile on Tru64 5.1a
From: Darren Reed <darrenr () reed wattle id au>
Date: Sun, 8 Feb 2004 02:18:43 +1100 (EST)
First, configure is bailing out on numerous platforms I'm trying with: checking for limits.h... yes checking netinet/if_ether.h usability... no checking netinet/if_ether.h presence... yes configure: WARNING: netinet/if_ether.h: present but cannot be compiled configure: WARNING: netinet/if_ether.h: check for missing prerequisite headers? configure: WARNING: netinet/if_ether.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf () gnu org. ## configure: WARNING: ## ------------------------------------ ## checking for netinet/if_ether.h... yes checking for ether_hostton... yes checking for strerror... yes checking for strlcpy... no And on Tru64 5.1a, I see: tru64 /tmp/libpcap-2004.02.07# make cc -O -std1 -g3 -I. -I/usr/local/include -DHAVE_CONFIG_H -D_U_="" -c ./pcap-pf.c cc: Warning: ./pcap-pf.c, line 353: In this statement, the referenced type of the pointer value "(u_int ...)malloc(...)" is "unsigned int", which is not compatible with "int" because they differ by signed/unsigned attribute. (ptrmismatch1) p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); ----------------^ cc: Error: ./pcap-pf.c, line 359: In this statement, "DLT_DOCSIS" is not declared. (undeclared) p->dlt_list[1] = DLT_DOCSIS; -----------------------------------------^ *** Exit 1 Stop. This is because pcap-pf.c asks to not include pcap-bpf.h, where DLT_DOCSIS lives. Darren - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe
Current thread:
- libpcap fails to compile on Tru64 5.1a Darren Reed (Feb 08)
- Re: libpcap fails to compile on Tru64 5.1a Guy Harris (Feb 08)
- Re: libpcap fails to compile on Tru64 5.1a Darren Reed (Feb 09)
- Re: libpcap fails to compile on Tru64 5.1a Guy Harris (Feb 08)