No luck when running configure. Here is a microsoft onedrive link to my config.log. Errors start at line 5,176
https://1drv.ms/u/s!AseRhtq9Dm_nghRh9L1GRqghZAUh
Partial output below
configure:24043: gcc -c -g -O2 -DOS_WIN32 -std=c11 -I/npcap-sdk/Include conftest.c >&5
In file included from /usr/include/sys/socket.h:13,
from /npcap-sdk/Include/pcap/socket.h:67,
from /npcap-sdk/Include/pcap/pcap.h:87,
from /npcap-sdk/Include/pcap.h:43,
from conftest.c:155:
/usr/include/cygwin/socket.h:27:8: error: redefinition of ‘struct sockaddr’
27 | struct sockaddr {
| ^~~~~~~~
In file included from /usr/include/w32api/winsock2.h:57,
from conftest.c:150:
/usr/include/w32api/psdk_inc/_ip_types.h:70:8: note: originally defined here
70 | struct sockaddr {
| ^~~~~~~~
In file included from /usr/include/sys/socket.h:13,
from /npcap-sdk/Include/pcap/socket.h:67,
from /npcap-sdk/Include/pcap/pcap.h:87,
from /npcap-sdk/Include/pcap.h:43,
from conftest.c:155:
/usr/include/cygwin/socket.h:39:8: error: redefinition of ‘struct sockaddr_storage’
39 | struct sockaddr_storage {
| ^~~~~~~~~~~~~~~~
In file included from conftest.c:150:
/usr/include/w32api/winsock2.h:269:10: note: originally defined here
269 | struct sockaddr_storage {
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/sys/socket.h:13,
from /npcap-sdk/Include/pcap/socket.h:67,
from /npcap-sdk/Include/pcap/pcap.h:87,
from /npcap-sdk/Include/pcap.h:43,
from conftest.c:155:
/usr/include/cygwin/socket.h:52:8: error: redefinition of ‘struct linger’
52 | struct linger {
| ^~~~~~
In file included from /usr/include/w32api/winsock2.h:57,
from conftest.c:150:
/usr/include/w32api/psdk_inc/_ip_types.h:63:8: note: originally defined here
63 | struct linger {
| ^~~~~~
In file included from /npcap-sdk/Include/pcap/socket.h:67,
from /npcap-sdk/Include/pcap/pcap.h:87,
from /npcap-sdk/Include/pcap.h:43,
from conftest.c:155:
/usr/include/sys/socket.h:21:7: error: conflicting types for ‘accept’
21 | int accept (int, struct sockaddr *__peer, socklen_t *);
| ^~~~~~
In file included from conftest.c:150:
/usr/include/w32api/winsock2.h:1003:37: note: previous declaration of ‘accept’ was here
1003 | WINSOCK_API_LINKAGE SOCKET WSAAPI accept(SOCKET s,struct sockaddr *addr,int *addrlen);
| ^~~~~~
In file included from /npcap-sdk/Include/pcap/socket.h:67,
from /npcap-sdk/Include/pcap/pcap.h:87,
from /npcap-sdk/Include/pcap.h:43,
from conftest.c:155:
/usr/include/sys/socket.h:23:7: error: conflicting types for ‘bind’
23 | int bind (int, const struct sockaddr *__my_addr, socklen_t __addrlen);
| ^~~~
In file included from conftest.c:150:
/usr/include/w32api/winsock2.h:1004:34: note: previous declaration of ‘bind’ was here
1004 | WINSOCK_API_LINKAGE int WSAAPI bind(SOCKET s,const struct sockaddr *name,int namelen);
| ^~~~
In file included from /npcap-sdk/Include/pcap/socket.h:67,
from /npcap-sdk/Include/pcap/pcap.h:87,
from /npcap-sdk/Include/pcap.h:43,
from conftest.c:155:
/usr/include/sys/socket.h:24:7: error: conflicting types for ‘connect’
24 | int connect (int, const struct sockaddr *, socklen_t);
| ^~~~~~~
In file included from conftest.c:150:
/usr/include/w32api/winsock2.h:1006:34: note: previous declaration of ‘connect’ was here
1006 | WINSOCK_API_LINKAGE int WSAAPI connect(SOCKET s,const struct sockaddr *name,int namelen);
| ^~~~~~~
In file included from /npcap-sdk/Include/pcap/socket.h:67,
from /npcap-sdk/Include/pcap/pcap.h:87,
from /npcap-sdk/Include/pcap.h:43,
from conftest.c:155:
/usr/include/sys/socket.h:25:7: error: conflicting types for ‘getpeername’
25 | int getpeername (int, struct sockaddr *__peer, socklen_t *);
| ^~~~~~~~~~~
In file included from conftest.c:150:
/usr/include/w32api/winsock2.h:1008:34: note: previous declaration of ‘getpeername’ was here
1008 | WINSOCK_API_LINKAGE int WSAAPI getpeername(SOCKET s,struct sockaddr *name,int *namelen);
| ^~~~~~~~~~~
In file included from /npcap-sdk/Include/pcap/socket.h:67,
from /npcap-sdk/Include/pcap/pcap.h:87,
from /npcap-sdk/Include/pcap.h:43,
from conftest.c:155:
/usr/include/sys/socket.h:26:7: error: conflicting types for ‘getsockname’
26 | int getsockname (int, struct sockaddr *__addr, socklen_t *);
| ^~~~~~~~~~~
In file included from conftest.c:150:
/usr/include/w32api/winsock2.h:1009:34: note: previous declaration of ‘getsockname’ was here
1009 | WINSOCK_API_LINKAGE int WSAAPI getsockname(SOCKET s,struct sockaddr *name,int *namelen);
| ^~~~~~~~~~~
In file included from /npcap-sdk/Include/pcap/socket.h:67,
from /npcap-sdk/Include/pcap/pcap.h:87,
from /npcap-sdk/Include/pcap.h:43,
from conftest.c:155:
/usr/include/sys/socket.h:27:7: error: conflicting types for ‘listen’
27 | int listen (int, int __n);
| ^~~~~~
In file included from conftest.c:150:
/usr/include/w32api/winsock2.h:1017:34: note: previous declaration of ‘listen’ was here
1017 | WINSOCK_API_LINKAGE int WSAAPI listen(SOCKET s,int backlog);
| ^~~~~~
In file included from /npcap-sdk/Include/pcap/socket.h:67,
from /npcap-sdk/Include/pcap/pcap.h:87,
from /npcap-sdk/Include/pcap.h:43,
from conftest.c:155:
/usr/include/sys/socket.h:28:11: error: conflicting types for ‘recv’
28 | ssize_t recv (int, void *__buff, size_t __len, int __flags);
| ^~~~
In file included from conftest.c:150:
/usr/include/w32api/winsock2.h:1022:34: note: previous declaration of ‘recv’ was here
1022 | WINSOCK_API_LINKAGE int WSAAPI recv(SOCKET s,char *buf,int len,int flags);
| ^~~~
In file included from /npcap-sdk/Include/pcap/socket.h:67,
from /npcap-sdk/Include/pcap/pcap.h:87,
from /npcap-sdk/Include/pcap.h:43,
from conftest.c:155:
/usr/include/sys/socket.h:29:11: error: conflicting types for ‘recvfrom’
29 | ssize_t recvfrom (int, void *__buff, size_t __len, int __flags,
| ^~~~~~~~
In file included from conftest.c:150:
/usr/include/w32api/winsock2.h:1023:34: note: previous declaration of ‘recvfrom’ was here
1023 | WINSOCK_API_LINKAGE int WSAAPI recvfrom(SOCKET s,char *buf,int len,int flags,struct sockaddr *from,int *fromlen);
| ^~~~~~~~
In file included from /npcap-sdk/Include/pcap/socket.h:67,
from /npcap-sdk/Include/pcap/pcap.h:87,
from /npcap-sdk/Include/pcap.h:43,
from conftest.c:155:
/usr/include/sys/socket.h:32:11: error: conflicting types for ‘send’
32 | ssize_t send (int, const void *__buff, size_t __len, int __flags);