Thank you very much for your reply.
I believe this problem is fixed now. I pointed the compiler to the proper Include and Lib directories. Here is the compilation command I used (for Microsoft Visual C++) and here are also some of the errors I get: cl /I ..\..\Include Testapp.c /link LIBPATH:..\..\Lib ws2_32.lib wpcap.lib Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.00.9254 for 80x86 Copyright (C) Microsoft Corporation 1984-2001. All rights reserved. Testapp.c ..\..\Include\NET\bpf.h(53) : error C2061: syntax error : identifier 'bpf_u_int32' ..\..\Include\NET\bpf.h(53) : error C2059: syntax error : ';' ..\..\Include\NET\bpf.h(74) : error C2061: syntax error : identifier 'u_int' ..\..\Include\NET\bpf.h(76) : error C2059: syntax error : '}' ..\..\Include\NET\bpf.h(82) : error C2061: syntax error : identifier 'u_int' ..\..\Include\NET\bpf.h(83) : error C2061: syntax error : identifier 'bs_drop' ..\..\Include\NET\bpf.h(83) : error C2059: syntax error : ';' ..\..\Include\NET\bpf.h(84) : error C2059: syntax error : '}' ..\..\Include\NET\bpf.h(98) : error C2061: syntax error : identifier 'u_short' ..\..\Include\NET\bpf.h(99) : error C2061: syntax error : identifier 'bv_minor' ..\..\Include\NET\bpf.h(99) : error C2059: syntax error : ';' ..\..\Include\NET\bpf.h(100) : error C2059: syntax error : '}' ..\..\Include\NET\bpf.h(150) : error C2079: 'bh_tstamp' uses undefined struct 't imeval' Thank you in advance for your help. Ahmed On Thu, 13 Mar 2003, Loris Degioanni wrote: > Which simbols doesn't the compiler find? Are they from WinPcap or from other > libraries? The first case should be quite strange unless you modified some > file or directory name, because the examples are configured to look for the > libraries in the correct relative path. > In the second case, make sure that the compiler's library path is correctly > configured. > > Loris > > > > > Hello, > > > > I have a question regarding WinPcap. I have never used WinPcap before. I > > have very recently downloaded and installed the WinPcap > > 3.0 beta (for Windows 2000) found at > > http://winpcap.polito.it/install/default.htm. > > I also installed the developers's pack. > > However, when I tried compiling the examples supplied with the developer's > > pack, I got many compilation errors (mostly "LNK2019: unresolved external > > symbol" errors). Please note that I did not modify the example > > (Testapp.c). > > > > Your help is greatly appreciated. > > > > Ahmed > > > > > > > > ================================================================== > > This is the WinPcap users list. It is archived at > > http://www.mail-archive.com/[EMAIL PROTECTED]/ > > > > To unsubscribe use > > mailto: [EMAIL PROTECTED] > > ================================================================== > > > > > > ================================================================== > This is the WinPcap users list. It is archived at > http://www.mail-archive.com/[EMAIL PROTECTED]/ > > To unsubscribe use > mailto: [EMAIL PROTECTED] > ================================================================== > ================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[EMAIL PROTECTED]/ To unsubscribe use mailto: [EMAIL PROTECTED] ==================================================================
