Now I've tried my module with VS2008 with SP1 installed and then I added #include <ws2tcpip.h> and problem resolved.
Thank you Hendrik for the support. -Naren On Fri, Jan 31, 2014 at 2:24 PM, Hendrik Schmieder < hendrik.schmie...@jedox.com> wrote: > Nallu Naren schrieb: > >> On Thu, Jan 30, 2014 at 2:50 PM, Hendrik Schmieder >> >> <hendrik.schmie...@jedox.com <mailto: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> >> <mailto:hendrik.schmieder@__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>> >> <mailto:hendrik.schmieder@ >> <mailto:hendrik.schmieder@>__je__dox.com <http://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>> >> >> <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 >> > [snip] > >> >> I found it in "ws2ipdef.h" after adding this, I can see lot of errors. >> >> >> >> -- >> -Naren >> > > OK, it looks like 2.4.7 doesn't compile with VS 2005 out of the box, > on the other side VS 2005 is old. > Mainstream support for VS 2005 has ended in 2011, > you only get extended support for which you have pay for. > The mainstream support for VS 2008 has ended in 2013. > > > Hendrik > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > -- -Naren