I found it in "ws2ipdef.h" after adding this, I can see lot of errors.
Error 282 error C2146: syntax error : missing ';' before identifier 'iiAddress' C:\nallun_-049_6243\library\microsoft-platformsdk\Include\ws2ipdef.h 97 Error 283 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\nallun_-049_6243\library\microsoft-platformsdk\Include\ws2ipdef.h 97 Error 284 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\nallun_-049_6243\library\microsoft-platformsdk\Include\ws2ipdef.h 97 Error 285 error C2146: syntax error : missing ';' before identifier 'iiBroadcastAddress' C:\nallun_-049_6243\library\microsoft-platformsdk\Include\ws2ipdef.h 98 Error 286 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\nallun_-049_6243\library\microsoft-platformsdk\Include\ws2ipdef.h 98 Error 287 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\nallun_-049_6243\library\microsoft-platformsdk\Include\ws2ipdef.h 98 Error 288 error C2146: syntax error : missing ';' before identifier 'iiNetmask' C:\nallun_RSABLRLEGP1-049_6243\library\microsoft-platformsdk\Include\ws2ipdef.h 99 Error 289 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\nallun_-049_6243\library\microsoft-platformsdk\Include\ws2ipdef.h 99 Error 290 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\nallun_-049_6243\library\microsoft-platformsdk\Include\ws2ipdef.h 99 Error 299 error C2146: syntax error : missing ';' before identifier 'sin6_family' C:\nallun_RSABLRLEGP1-049_6243\library\microsoft-platformsdk\Include\ws2ipdef.h 157 Error 300 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\nallun_-049_6243\library\microsoft-platformsdk\Include\ws2ipdef.h 157 etc.... On Thu, Jan 30, 2014 at 2:50 PM, Hendrik Schmieder < hendrik.schmie...@jedox.com> wrote: > Nallu Naren schrieb: > >> On Thu, Jan 30, 2014 at 1:34 PM, Hendrik Schmieder >> <hendrik.schmie...@jedox.com <mailto:hendrik.schmie...@jedox.com>> wrote: >> >> Nallu Naren schrieb: >> >> On Wed, Jan 29, 2014 at 6:29 PM, Hendrik Schmieder >> <hendrik.schmie...@jedox.com >> <mailto:hendrik.schmie...@jedox.com> >> <mailto:hendrik.schmieder@__jedox.com >> >> <mailto:hendrik.schmie...@jedox.com>>> wrote: >> >> Nallu Naren schrieb: >> >> Hi Team, >> >> I've written my own module for Apache 2.2 compiled with >> 2.2.16 >> (includes >> and libs)and it is working as expected and now I've >> upgrade to 2.4.7 >> by recompiling my code with 2.4.7(includes and libs) >> which I've >> downloaded from >> http://www.apachehaus.com/cgi-____bin/download.plx#__APACHE24VC09< >> http://www.apachehaus.com/cgi-__bin/download.plx#APACHE24VC09> >> >> <http://www.apachehaus.com/__cgi-bin/download.plx#__APACHE24VC09 >> >> <http://www.apachehaus.com/cgi-bin/download.plx#APACHE24VC09>> >> and now i see the error C2079: 'apr_sockaddr_t::sin6' >> uses undefined >> struct 'sockaddr_in6' >> >> c:\library\apache-httpd\2.4.7\____win32-x86\include\apr___ >> network___io.h >> >> >> 243 >> >> I tried adding all the header files like winsock2.h, >> ws2tcpip.h, but >> nothing was solved >> I am using MS Visual Studio 2005 for compiling my code >> for 32bit >> >> Could you please tell me the problem is this because of >> the 2.4.7 >> (includes and libs) are not compatible with VS2005(vc8) ? >> >> Thanks, >> -Naren >> >> >> Maybe >> <http://stackoverflow.com/____questions/3443836/sockaddr-___ >> _in6-not-declared >> <http://stackoverflow.com/__questions/3443836/sockaddr-__ >> in6-not-declared> >> >> >> <http://stackoverflow.com/__questions/3443836/sockaddr-__ >> in6-not-declared >> <http://stackoverflow.com/questions/3443836/sockaddr- >> in6-not-declared>>> >> is of help. >> >> Otherwise look from where winsock2.h is included. >> >> Hendrik >> >> > I've tried this, but still give me the same error. >> > >> > Do I need to use Visual Studio 2008? >> > >> > >> >> Have you looked from where winsock2.h is included ? >> (there coild be several winsock2.h). >> >> >> Hendrik >> >> >> >> ------------------------------__---------------------------- >> --__--------- >> To unsubscribe, e-mail: users-unsubscribe@httpd.__apache.org >> <mailto:users-unsubscr...@httpd.apache.org> >> >> For additional commands, e-mail: users-h...@httpd.apache.org >> <mailto:users-h...@httpd.apache.org> >> >> >> >> >> -- >> -Naren >> > > My module uses winsock2.h from C:\Program Files (x86)\Microsoft Visual > > Studio 8\VC\PlatformSDK\Include > > > > > > > Then look which header file in this directory defines sockaddr_in6. > > > Hendrik > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > -- -Naren