Skip to content

How to build mod_auth_memcookie in windows x64  #3

@Parth7191

Description

@Parth7191

Hello

How to build and create .so file of mod_auth_memcookie in windows x64 bit . we have tried to build mod_auth_memcookie project,
but we can not build propery in windows x64.

Please help us and let me know how to build mod_auth_memcookie project in windows x64.

we have to build and compile project using C++ compiler with VS2012. but we have to find Some below Error and can't resolved it.

1>------ Build started: Project: mod_auth_memcookie, Configuration: Release x64 ------
1> mod_auth_memcookie.c
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\ws2tcpip.h(695): error C2065: 'ULONG_MAX' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\ws2tcpip.h(741): error C2065: 'ULONG_MAX' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\ws2tcpip.h(792): error C2065: 'ULONG_MAX' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\ws2tcpip.h(840): error C2065: 'ULONG_MAX' : undeclared identifier
1>mod_auth_memcookie.c(143): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(150): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
1>mod_auth_memcookie.c(152): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(157): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
1>mod_auth_memcookie.c(203): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(206): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(210): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(215): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(222): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(240): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(245): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(252): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(255): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(258): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(268): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(305): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(310): warning C4273: 'strupr' : inconsistent dll linkage
1> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\string.h(255) : see previous definition of 'strupr'
1>mod_auth_memcookie.c(342): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
1>mod_auth_memcookie.c(344): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(349): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
1>mod_auth_memcookie.c(353): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(359): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(381): error C2440: '=' : cannot convert from 'void *' to 'strAuth_memCookie_config_rec '
1> Conversion from 'void
' to pointer to non-'void' requires an explicit cast
1>mod_auth_memcookie.c(412): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(415): error C2440: '=' : cannot convert from 'void *' to 'strAuth_memCookie_config_rec '
1> Conversion from 'void
' to pointer to non-'void' requires an explicit cast
1>mod_auth_memcookie.c(422): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(442): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(450): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(457): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(459): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(465): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(472): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(475): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(479): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(485): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(490): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(493): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(501): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(518): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(539): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(543): error C2440: '=' : cannot convert from 'void *' to 'strAuth_memCookie_config_rec '
1> Conversion from 'void
' to pointer to non-'void' requires an explicit cast
1>mod_auth_memcookie.c(547): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(554): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(557): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(561): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(567): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(598): error C2440: 'initializing' : cannot convert from 'const void *' to 'const ap_expr_info_t '
1> Conversion from 'void
' to pointer to non-'void' requires an explicit cast
1>mod_auth_memcookie.c(613): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(617): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(623): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(630): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(637): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(639): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(644): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(772): error C2065: 'aplog_module_index' : undeclared identifier
1>mod_auth_memcookie.c(829): error C2440: 'initializing' : cannot convert from 'void *' to 'strAuth_memCookie_config_rec '
1> Conversion from 'void
' to pointer to non-'void' requires an explicit cast
1>mod_auth_memcookie.c(878): error C2440: 'initializing' : cannot convert from 'const char *(__cdecl *)(cmd_parms *,void *,const char *)' to 'cmd_func'
1> None of the functions with this name in scope match the target type
1>mod_auth_memcookie.c(881): error C2440: 'initializing' : cannot convert from 'const char *(__cdecl *)(cmd_parms *,void *,const char *)' to 'cmd_func'
1> None of the functions with this name in scope match the target type
1>mod_auth_memcookie.c(884): error C2440: 'initializing' : cannot convert from 'const char *(__cdecl *)(cmd_parms *,void *,const char *)' to 'cmd_func'
1> None of the functions with this name in scope match the target type
1>mod_auth_memcookie.c(887): error C2440: 'initializing' : cannot convert from 'const char *(__cdecl *)(cmd_parms *,void *,int)' to 'cmd_func'
1> None of the functions with this name in scope match the target type
1>mod_auth_memcookie.c(890): error C2440: 'initializing' : cannot convert from 'const char *(__cdecl *)(cmd_parms *,void *,int)' to 'cmd_func'
1> None of the functions with this name in scope match the target type
1>mod_auth_memcookie.c(893): error C2440: 'initializing' : cannot convert from 'const char *(__cdecl *)(cmd_parms *,void *,int)' to 'cmd_func'
1> None of the functions with this name in scope match the target type
1>mod_auth_memcookie.c(896): error C2440: 'initializing' : cannot convert from 'const char *(__cdecl *)(cmd_parms *,void *,const char *)' to 'cmd_func'
1> None of the functions with this name in scope match the target type
1>mod_auth_memcookie.c(899): error C2440: 'initializing' : cannot convert from 'const char *(__cdecl *)(cmd_parms *,void *,const char *)' to 'cmd_func'
1> None of the functions with this name in scope match the target type
1>mod_auth_memcookie.c(901): error C2440: 'initializing' : cannot convert from 'const char *(__cdecl *)(cmd_parms *,void *,const char *)' to 'cmd_func'
1> None of the functions with this name in scope match the target type
1>mod_auth_memcookie.c(909): error C2440: 'initializing' : cannot convert from 'const char *(__cdecl *)(cmd_parms *,void *,int)' to 'cmd_func'
1> None of the functions with this name in scope match the target type
1>mod_auth_memcookie.c(912): error C2440: 'initializing' : cannot convert from 'const char *(__cdecl *)(cmd_parms *,void *,int)' to 'cmd_func'
1> None of the functions with this name in scope match the target type
1>mod_auth_memcookie.c(919): error C2440: 'initializing' : cannot convert from 'const char *(__cdecl *)(cmd_parms *,void *,int)' to 'cmd_func'
1> None of the functions with this name in scope match the target type
1>mod_auth_memcookie.c(924): error C2086: 'module mod_auth_memcookie_module' : redefinition
1> mod_auth_memcookie.c(55) : see declaration of 'mod_auth_memcookie_module'

Please any one let me know , how to build this auth_memcookies project.

Thanks

Regards
Parth Shah

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions