I am trying to create a sniffer program with libpcap on windows xp sp2. I am using Dev-C++ 126.96.36.199 and I downloaded the winpcap 3.0 developer's pack. On site the winpcap, there is a documentation about the use with MS Visual C++, but I don't get to compile using the Dev-C++.
There is a winpcap how-to using Dev-C++? Or what is the error in compiler log?
Compilador: Default compiler
gcc.exe "D:\Progs\test3.c" -o "D:\Progs\test3.exe" -I"D:\Dev-Cpp\include" -L"D:\Dev-Cpp\lib"
In file included from D:/Dev-Cpp/include/pcap-stdinc.h:32,
D:/Dev-Cpp/include/bittypes.h:36: error: redefinition of typedef 'int8_t'
D:/Dev-Cpp/include/stdint.h:27: error: previous declaration of 'int8_t' was here
D:/Dev-Cpp/include/bittypes.h:52: error: redefinition of typedef 'int16_t'
D:/Dev-Cpp/include/stdint.h:29: error: previous declaration of 'int16_t' was here
D:/Dev-Cpp/include/bittypes.h:71: error: redefinition of typedef 'int32_t'
D:/Dev-Cpp/include/stdint.h:31: error: previous declaration of 'int32_t' was here
Thanks by help.