I used VC 6++ and undef INET6, the compiling error was solved as Subedar indicated.

Cheers,
flying72

----- Original Message -----
From:"Loris Degioanni" <[EMAIL PROTECTED]>
To:<[EMAIL PROTECTED]>
Subject:Re: [WinPcap-users] lib cap compilation error  and pcap.h +INET6
Date:Fri, 11 Oct 2002 16:28:28 +0800
> What compiler are you using? VisualC or cygnus/GCC?
> Have you installed the latest platform SDK?
> 
> Loris
> 
> >
> > libcap compilation error, in wcap30a3 is probably caused by. #define INET6
> >
> > #udefing it solves compilation problem but this is not a solution for
> > readers but for wcap team
> >
> > #ifndef lib_pcap_h
> > #define lib_pcap_h
> >
> > #ifdef WIN32
> > #include <pcap-stdinc.h>
> > #else /* WIN32 */
> > #include <sys/types.h>
> > #include <sys/time.h>
> > #endif /* WIN32 */
> >
> > #include <net/bpf.h>
> >
> > #include <stdio.h>
> > #undef INET6  <<<<<<<<  added this to solve the compilation problem
> >
> >
> > NOTE:
> > 30a2 had reference to iphlpapi.lib, removing reference to this lib from
> > developers pack and wpcap+libcap solves compilation problem.
> >
> > Aftab Jahan Subedar
> > Sofware Engineer/Overseas Business Development Manager
> > Suvastu Software Ltd
> > Suvastu Tower
> > 69/1 Pantapath Green Road
> > Dhaka 1205
> > Bangladesh
> > sms:+447765341890
> >
> >
> >
> >
> > ==================================================================
> >  This is the WinPcap users list. It is archived at
> >  http://www.mail-archive.com/[email protected]/
> >
> >  To unsubscribe use
> >  mailto: [EMAIL PROTECTED]?body=unsubscribe
> > ==================================================================
> >
> 
> 
> 
> ==================================================================
>  This is the WinPcap users list. It is archived at
>  http://www.mail-archive.com/[email protected]/
> 
>  To unsubscribe use 
>  mailto: [EMAIL PROTECTED]?body=unsubscribe
> ==================================================================
> 
> 

______________________________________

===================================================================


==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[email protected]/

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]?body=unsubscribe
==================================================================

Reply via email to