You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Nallu Naren <na...@gmail.com> on 2014/01/29 12:28:35 UTC

[users@httpd] Windows- 'apr_sockaddr_t::sin6' uses undefined struct 'sockaddr_in6'

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
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

Re: [users@httpd] Windows- 'apr_sockaddr_t::sin6' uses undefined struct 'sockaddr_in6'

Posted by Nallu Naren <na...@gmail.com>.
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.schmieder@jedox.com> wrote:

> Nallu Naren schrieb:
>
>> On Thu, Jan 30, 2014 at 2:50 PM, Hendrik Schmieder
>>
>> <hendrik.schmieder@jedox.com <ma...@jedox.com>> wrote:
>>
>>     Nallu Naren schrieb:
>>
>>         On Thu, Jan 30, 2014 at 1:34 PM, Hendrik Schmieder
>>         <hendrik.schmieder@jedox.com
>>         <ma...@jedox.com>
>>         <mailto:hendrik.schmieder@__jedox.com
>>         <ma...@jedox.com>>> wrote:
>>
>>              Nallu Naren schrieb:
>>
>>                  On Wed, Jan 29, 2014 at 6:29 PM, Hendrik Schmieder
>>         <hendrik.schmieder@jedox.com <ma...@jedox.com>
>>         <mailto:hendrik.schmieder@__jedox.com
>>         <ma...@jedox.com>>
>>         <mailto:hendrik.schmieder@
>>         <mailto:hendrik.schmieder@>__je__dox.com <http://jedox.com>
>>
>>
>>         <mailto:hendrik.schmieder@__jedox.com
>>         <ma...@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-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
-Naren

Re: [users@httpd] Windows- 'apr_sockaddr_t::sin6' uses undefined struct 'sockaddr_in6'

Posted by Hendrik Schmieder <he...@jedox.com>.
Nallu Naren schrieb:
> On Thu, Jan 30, 2014 at 2:50 PM, Hendrik Schmieder
> <hendrik.schmieder@jedox.com <ma...@jedox.com>> wrote:
>
>     Nallu Naren schrieb:
>
>         On Thu, Jan 30, 2014 at 1:34 PM, Hendrik Schmieder
>         <hendrik.schmieder@jedox.com
>         <ma...@jedox.com>
>         <mailto:hendrik.schmieder@__jedox.com
>         <ma...@jedox.com>>> wrote:
>
>              Nallu Naren schrieb:
>
>                  On Wed, Jan 29, 2014 at 6:29 PM, Hendrik Schmieder
>         <hendrik.schmieder@jedox.com <ma...@jedox.com>
>         <mailto:hendrik.schmieder@__jedox.com
>         <ma...@jedox.com>>
>         <mailto:hendrik.schmieder@
>         <mailto:hendrik.schmieder@>__je__dox.com <http://jedox.com>
>
>         <mailto:hendrik.schmieder@__jedox.com
>         <ma...@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-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Windows- 'apr_sockaddr_t::sin6' uses undefined struct 'sockaddr_in6'

Posted by Nallu Naren <na...@gmail.com>.
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.schmieder@jedox.com> wrote:

> Nallu Naren schrieb:
>
>> On Thu, Jan 30, 2014 at 1:34 PM, Hendrik Schmieder
>> <hendrik.schmieder@jedox.com <ma...@jedox.com>> wrote:
>>
>>     Nallu Naren schrieb:
>>
>>         On Wed, Jan 29, 2014 at 6:29 PM, Hendrik Schmieder
>>         <hendrik.schmieder@jedox.com
>>         <ma...@jedox.com>
>>         <mailto:hendrik.schmieder@__jedox.com
>>
>>         <ma...@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
>>     <ma...@httpd.apache.org>
>>
>>     For additional commands, e-mail: users-help@httpd.apache.org
>>     <ma...@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-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
-Naren

Re: [users@httpd] Windows- 'apr_sockaddr_t::sin6' uses undefined struct 'sockaddr_in6'

Posted by Hendrik Schmieder <he...@jedox.com>.
Nallu Naren schrieb:
> On Thu, Jan 30, 2014 at 1:34 PM, Hendrik Schmieder
> <hendrik.schmieder@jedox.com <ma...@jedox.com>> wrote:
>
>     Nallu Naren schrieb:
>
>         On Wed, Jan 29, 2014 at 6:29 PM, Hendrik Schmieder
>         <hendrik.schmieder@jedox.com
>         <ma...@jedox.com>
>         <mailto:hendrik.schmieder@__jedox.com
>         <ma...@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
>     <ma...@httpd.apache.org>
>     For additional commands, e-mail: users-help@httpd.apache.org
>     <ma...@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-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Windows- 'apr_sockaddr_t::sin6' uses undefined struct 'sockaddr_in6'

Posted by Nallu Naren <na...@gmail.com>.
My module uses winsock2.h from  C:\Program Files (x86)\Microsoft Visual
Studio 8\VC\PlatformSDK\Include



On Thu, Jan 30, 2014 at 1:34 PM, Hendrik Schmieder <
hendrik.schmieder@jedox.com> wrote:

> Nallu Naren schrieb:
>
>> On Wed, Jan 29, 2014 at 6:29 PM, Hendrik Schmieder
>> <hendrik.schmieder@jedox.com <ma...@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>
>>         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
>> >>
>>     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
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
-Naren

Re: [users@httpd] Windows- 'apr_sockaddr_t::sin6' uses undefined struct 'sockaddr_in6'

Posted by Hendrik Schmieder <he...@jedox.com>.
Nallu Naren schrieb:
> On Wed, Jan 29, 2014 at 6:29 PM, Hendrik Schmieder
> <hendrik.schmieder@jedox.com <ma...@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>
>         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>>
>     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
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Windows- 'apr_sockaddr_t::sin6' uses undefined struct 'sockaddr_in6'

Posted by Nallu Naren <na...@gmail.com>.
I've tried this, but still give me the same error.

Do I need to use Visual Studio 2008?


On Wed, Jan 29, 2014 at 6:29 PM, Hendrik Schmieder <
hendrik.schmieder@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
>> 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>
> is of help.
>
> Otherwise look from where winsock2.h is included.
>
>   Hendrik
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
-Naren

Re: [users@httpd] Windows- 'apr_sockaddr_t::sin6' uses undefined struct 'sockaddr_in6'

Posted by Hendrik Schmieder <he...@jedox.com>.
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
> 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>
is of help.

Otherwise look from where winsock2.h is included.

   Hendrik



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org