On Sun, Feb 08, 2004 at 02:18:43AM +1100, Darren Reed wrote: > 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 [EMAIL PROTECTED] ## > configure: WARNING: ## ------------------------------------ ## > checking for netinet/if_ether.h... yes > checking for ether_hostton... yes > checking for strerror... yes > checking for strlcpy... no
Is it bailing out (which I interpret as meaning failing), or just whining and driving on? > 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. I've checked in the same private #define of DLT_DOCSIS that "pcap-bpf.c" has. - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:[EMAIL PROTECTED]
