tcpdump mailing list archives
WinDump fails to compile on latest libpcap
From: Yang Luo <hsluoyb () gmail com>
Date: Thu, 6 Oct 2016 16:46:26 +0800
Hi list, I'm compiling WinDump on latest Npcap/libpcap there: https://github.com/hsluoyz/windump because I need to use it to test my functions sometimes. But I got compile errors. 1>------ Build started: Project: WinDump, Configuration: Debug x64 ------ 1> getopt.c 1> util.c 1>j:\github_repos\windump\tcpdump-stdinc.h(56): fatal error C1083: Cannot open include file: 'net/netdb.h': No such file or directory 1> strcasecmp.c 1>j:\github_repos\windump\tcpdump-stdinc.h(56): fatal error C1083: Cannot open include file: 'net/netdb.h': No such file or directory 1> smbutil.c 1>j:\github_repos\windump\tcpdump-stdinc.h(56): fatal error C1083: Cannot open include file: 'net/netdb.h': No such file or directory 1> setsignal.c Also the similar issue on bittypes.h. The cause is that WinPcap has these two files: \libpcap\Win32\Include\net\netdb.h \libpcap\Win32\Include\bittypes.h But libpcap doesn't have it. Even if I checked the libpcap 1.0.0 release, they are also not there. So I don't think libpcap has deleted them after a certain time. libpcap never added them before. Given that WinDump is kind of "official" example to use libpcap/Npcap API, it's not good that they can't compile. So I want to ask that should libpcap add those two files to its code? If not, should we change the WinDump code to not use it? Thanks! Cheers, Yang _______________________________________________ tcpdump-workers mailing list tcpdump-workers () lists tcpdump org https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers
Current thread:
- WinDump fails to compile on latest libpcap Yang Luo (Oct 06)
- Re: WinDump fails to compile on latest libpcap Yang Luo (Oct 06)
- Re: WinDump fails to compile on latest libpcap Gisle Vanem (Oct 06)
- Re: WinDump fails to compile on latest libpcap Guy Harris (Oct 06)
- Re: WinDump fails to compile on latest libpcap Yang Luo (Oct 06)
- Re: WinDump fails to compile on latest libpcap Yang Luo (Oct 06)
- Re: WinDump fails to compile on latest libpcap Guy Harris (Oct 06)