Menu

#21 unable to compile under windows

open
nobody
None
5
2015-01-21
2004-08-06
No

Trying to compile under windows gives the following errors

INSTDIR = \Apache2

SERVERNAME = localhost

PORT = 80

To change these options use 'nmake /f Makefile.win
[option=value]'

Example: nmake /f Makefile.win PORT=8080

echo Building Win32 Release targets (R suffixes)

Building Win32 Release targets (R suffixes)

cd srclib\apr

NMAKE -nologo -f apr.mak CFG="apr - Win32
Release" RECURSE=0

NMAKE -nologo -f libapr.mak CFG="libapr -
Win32 Release" RECURSE=0

cd ..\..

cd srclib\apr-iconv

NMAKE -nologo -f apriconv.mak CFG="apriconv - Win32
Release" RECURSE=0

NMAKE -nologo -f libapriconv.mak CFG="libapriconv -
Win32 Release" RECURSE=0

cd ccs

NMAKE /nologo /f Makefile.win all BUILD_MODE=Release
BIND_MODE=shared

cd ..\ces

NMAKE /nologo /f Makefile.win all BUILD_MODE=Release
BIND_MODE=shared

cd ..

cd ..\..

cd srclib\apr-util\uri

NMAKE -nologo -f gen_uri_delims.mak
CFG="gen_uri_delims - Win32 Release" RECURSE=0

cd ..\..\..

cd srclib\apr-util\xml\expat\lib

NMAKE -nologo -f xml.mak CFG="xml - Win32
Release" RECURSE=0

cd ..\..\..

NMAKE -nologo -f aprutil.mak CFG="aprutil -
Win32 Release" RECURSE=0

NMAKE -nologo -f libaprutil.mak CFG="libaprutil -
Win32 Release" RECURSE=0

cd ..\..

cd srclib\pcre

NMAKE -nologo -f dftables.mak CFG="dftables -
Win32 Release" RECURSE=0

NMAKE -nologo -f pcre.mak CFG="pcre - Win32
Release" RECURSE=0

NMAKE -nologo -f pcreposix.mak CFG="pcreposix -
Win32 Release" RECURSE=0

cd ..\..

cd server

NMAKE -nologo -f gen_test_char.mak
CFG="gen_test_char - Win32 Release" RECURSE=0

cd ..

NMAKE -nologo -f libhttpd.mak CFG="libhttpd -
Win32 Release" RECURSE=0

NMAKE -nologo -f Apache.mak CFG="Apache -
Win32 Release" RECURSE=0

cd modules\aaa

NMAKE -nologo -f mod_access.mak CFG="mod_access -
Win32 Release" RECURSE=0

NMAKE -nologo -f mod_auth.mak CFG="mod_auth -
Win32 Release" RECURSE=0

NMAKE -nologo -f mod_auth_anon.mak
CFG="mod_auth_anon - Win32 Release" RECURSE=0

NMAKE -nologo -f mod_auth_dbm.mak CFG="mod_auth_dbm
- Win32 Release" RECURSE=0

NMAKE -nologo -f mod_auth_digest.mak
CFG="mod_auth_digest - Win32 Release" RECURSE=0

cd ..\..

cd modules\arch\win32

NMAKE -nologo -f mod_isapi.mak CFG="mod_isapi -
Win32 Release" RECURSE=0

cd ..\..\..

cd modules\cache

NMAKE -nologo -f mod_file_cache.mak
CFG="mod_file_cache - Win32 Release" RECURSE=0

cd ..\..

cd modules\dav\main

NMAKE -nologo -f mod_dav.mak CFG="mod_dav -
Win32 Release" RECURSE=0

cd ..\..\..

cd modules\dav\fs

NMAKE -nologo -f mod_dav_fs.mak CFG="mod_dav_fs -
Win32 Release" RECURSE=0

cd ..\..\..

cd modules\experimental

NMAKE -nologo -f mod_cache.mak CFG="mod_cache -
Win32 Release" RECURSE=0

NMAKE -nologo -f mod_charset_lite.mak
CFG="mod_charset_lite - Win32 Release" RECURSE=0

NMAKE -nologo -f mod_mem_cache.mak
CFG="mod_mem_cache - Win32 Release" RECURSE=0

NMAKE -nologo -f mod_disk_cache.mak
CFG="mod_disk_cache - Win32 Release" RECURSE=0

NMAKE -nologo -f util_ldap.mak CFG="util_ldap -
Win32 Release" RECURSE=0

NMAKE -nologo -f mod_auth_ldap.mak
CFG="mod_auth_ldap - Win32 Release" RECURSE=0

cd ..\..

cd modules\filters

NMAKE -nologo -f mod_ext_filter.mak
CFG="mod_ext_filter - Win32 Release" RECURSE=0

NMAKE -nologo -f mod_include.mak CFG="mod_include
- Win32 Release" RECURSE=0

cd ..\..

cd modules\generators

NMAKE -nologo -f mod_asis.mak CFG="mod_asis -
Win32 Release" RECURSE=0

NMAKE -nologo -f mod_autoindex.mak
CFG="mod_autoindex - Win32 Release" RECURSE=0

NMAKE -nologo -f mod_cgi.mak CFG="mod_cgi -
Win32 Release" RECURSE=0

NMAKE -nologo -f mod_info.mak CFG="mod_info -
Win32 Release" RECURSE=0

NMAKE -nologo -f mod_status.mak CFG="mod_status -
Win32 Release" RECURSE=0

cd ..\..

cd modules\http

NMAKE -nologo -f mod_mime.mak CFG="mod_mime -
Win32 Release" RECURSE=0

cd ..\..

cd modules\loggers

NMAKE -nologo -f mod_log_config.mak
CFG="mod_log_config - Win32 Release" RECURSE=0

NMAKE -nologo -f mod_log_forensic.mak
CFG="mod_log_forensic - Win32 Release" RECURSE=0

NMAKE -nologo -f mod_logio.mak CFG="mod_logio -
Win32 Release" RECURSE=0

cd ..\..

cd modules\mappers

NMAKE -nologo -f mod_actions.mak CFG="mod_actions
- Win32 Release" RECURSE=0

NMAKE -nologo -f mod_alias.mak CFG="mod_alias -
Win32 Release" RECURSE=0

NMAKE -nologo -f mod_dir.mak CFG="mod_dir -
Win32 Release" RECURSE=0

NMAKE -nologo -f mod_imap.mak CFG="mod_imap -
Win32 Release" RECURSE=0

NMAKE -nologo -f mod_negotiation.mak
CFG="mod_negotiation - Win32 Release" RECURSE=0

NMAKE -nologo -f mod_rewrite.mak CFG="mod_rewrite
- Win32 Release" RECURSE=0

NMAKE -nologo -f mod_speling.mak CFG="mod_speling
- Win32 Release" RECURSE=0

NMAKE -nologo -f mod_userdir.mak CFG="mod_userdir
- Win32 Release" RECURSE=0

NMAKE -nologo -f mod_vhost_alias.mak
CFG="mod_vhost_alias - Win32 Release" RECURSE=0

cd ..\..

cd modules\metadata

NMAKE -nologo -f mod_cern_meta.mak
CFG="mod_cern_meta - Win32 Release" RECURSE=0

NMAKE -nologo -f mod_env.mak CFG="mod_env -
Win32 Release" RECURSE=0

NMAKE -nologo -f mod_expires.mak CFG="mod_expires
- Win32 Release" RECURSE=0

NMAKE -nologo -f mod_headers.mak CFG="mod_headers
- Win32 Release" RECURSE=0

NMAKE -nologo -f mod_mime_magic.mak
CFG="mod_mime_magic - Win32 Release" RECURSE=0

NMAKE -nologo -f mod_setenvif.mak CFG="mod_setenvif
- Win32 Release" RECURSE=0

NMAKE -nologo -f mod_unique_id.mak
CFG="mod_unique_id - Win32 Release" RECURSE=0

NMAKE -nologo -f mod_usertrack.mak
CFG="mod_usertrack - Win32 Release" RECURSE=0

cd ..\..

cd modules\proxy

NMAKE -nologo -f mod_proxy.mak CFG="mod_proxy -
Win32 Release" RECURSE=0

NMAKE -nologo -f mod_proxy_connect.mak
CFG="mod_proxy_connect - Win32 Release" RECURSE=0

NMAKE -nologo -f mod_proxy_ftp.mak
CFG="mod_proxy_ftp - Win32 Release" RECURSE=0

NMAKE -nologo -f mod_proxy_http.mak
CFG="mod_proxy_http - Win32 Release" RECURSE=0

cd ..\..

cd modules\ntlm

NMAKE -nologo -f Makefile.nt CFG="mod_ntlm - Win32
Release" RECURSE=0

cl.exe /nologo /c /O2 /MD /W3 /GX /DNDEBUG /DWIN32
/D_WINDOWS /DSHARED_MODULE /DEAPI /I..\..\include
mod_ntlm.c

mod_ntlm.c

mod_ntlm.c(139) : error C2143: syntax error : missing
')' before '*'

mod_ntlm.c(139) : error C2143: syntax error : missing
'{' before '*'

mod_ntlm.c(139) : error C2371: 'uchar' : redefinition;
different basic types

samba.h(35) : see declaration of 'uchar'

mod_ntlm.c(139) : error C2143: syntax error : missing
';' before '*'

mod_ntlm.c(139) : error C2059: syntax error : 'type'

mod_ntlm.c(139) : error C2059: syntax error : ')'

mod_ntlm.c(163) : warning C4013: 'ap_table_setn'
undefined; assuming extern returning int

mod_ntlm.c(164) : warning C4013: 'ap_pstrcat'
undefined; assuming extern returning int

mod_ntlm.c(186) : warning C4013: 'uuencode' undefined;
assuming extern returning int

mod_ntlm.c(186) : warning C4047: '=' : 'char *' differs
in levels of indirection from 'int '

mod_ntlm.c(188) : warning C4013: 'ap_pcalloc'
undefined; assuming extern returning int

mod_ntlm.c(191) : error C2039: 'client' : is not a
member of 'conn_rec'

..\..\include\httpd.h(939) : see declaration of
'conn_rec'

mod_ntlm.c(200) : warning C4013: 'ap_table_get'
undefined; assuming extern returning int

mod_ntlm.c(200) : warning C4047: 'initializing' :
'const char *' differs in levels of indirection from 'int '

mod_ntlm.c(210) : warning C4047: 'function' : 'int '
differs in levels of indirection from 'struct
request_rec *'

mod_ntlm.c(210) : warning C4024: 'ap_log_rerror' :
different types for formal and actual parameter 4

mod_ntlm.c(210) : warning C4133: 'function' :
incompatible types - from 'char [18]' to 'const struct
request_rec *'

mod_ntlm.c(211) : error C2065: 'SERVER_ERROR' :
undeclared identifier

mod_ntlm.c(216) : error C2065: 'AUTH_REQUIRED' :
undeclared identifier

mod_ntlm.c(221) : warning C4047: 'function' : 'int '
differs in levels of indirection from 'struct
request_rec *'

mod_ntlm.c(221) : warning C4024: 'ap_log_rerror' :
different types for formal and actual parameter 4

mod_ntlm.c(222) : warning C4133: 'function' :
incompatible types - from 'char [44]' to 'const struct
request_rec *'

mod_ntlm.c(230) : warning C4013: 'ap_uudecode'
undefined; assuming extern returning int

mod_ntlm.c(243) : error C2039: 'user' : is not a member
of 'conn_rec'

..\..\include\httpd.h(939) : see declaration of
'conn_rec'

mod_ntlm.c(244) : error C2039: 'user' : is not a member
of 'conn_rec'

..\..\include\httpd.h(939) : see declaration of
'conn_rec'

mod_ntlm.c(244) : warning C4022: 'memcpy' : pointer
mismatch for actual parameter 2

mod_ntlm.c(244) : error C2168: 'memcpy' : too few
actual parameters for intrinsic function

mod_ntlm.c(245) : error C2039: 'user' : is not a member
of 'conn_rec'

..\..\include\httpd.h(939) : see declaration of
'conn_rec'

mod_ntlm.c(246) : error C2039: 'user' : is not a member
of 'conn_rec'

..\..\include\httpd.h(939) : see declaration of
'conn_rec'

mod_ntlm.c(246) : error C2198: 'strlower' : too few
actual parameters

mod_ntlm.c(247) : error C2039: 'ap_auth_type' : is not
a member of 'conn_rec'

..\..\include\httpd.h(939) : see declaration of
'conn_rec'

mod_ntlm.c(248) : error C2039: 'client' : is not a
member of 'conn_rec'

..\..\include\httpd.h(939) : see declaration of
'conn_rec'

mod_ntlm.c(250) : error C2039: 'user' : is not a member
of 'conn_rec'

..\..\include\httpd.h(939) : see declaration of
'conn_rec'

mod_ntlm.c(250) : error C2168: 'strcpy' : too few
actual parameters for intrinsic function

mod_ntlm.c(257) : warning C4047: 'function' : 'int '
differs in levels of indirection from 'struct
request_rec *'

mod_ntlm.c(257) : warning C4024: 'ap_log_rerror' :
different types for formal and actual parameter 4

mod_ntlm.c(257) : warning C4133: 'function' :
incompatible types - from 'char [33]' to 'const struct
request_rec *'

mod_ntlm.c(263) : error C2143: syntax error : missing
')' before '*'

mod_ntlm.c(263) : error C2143: syntax error : missing
'{' before '*'

mod_ntlm.c(263) : error C2059: syntax error : 'type'

mod_ntlm.c(263) : error C2059: syntax error : ')'

mod_ntlm.c(276) : warning C4047: 'return' : 'const char
*' differs in levels of indirection from 'int '

mod_ntlm.c(284) : warning C4013: 'XtOffsetOf'
undefined; assuming extern returning int

mod_ntlm.c(284) : error C2143: syntax error : missing
')' before 'type'

mod_ntlm.c(284) : error C2099: initializer is not a
constant

mod_ntlm.c(284) : error C2059: syntax error : ')'

mod_ntlm.c(288) : error C2059: syntax error : ','

mod_ntlm.c(291) : error C2059: syntax error : ','

mod_ntlm.c(294) : error C2059: syntax error : ','

mod_ntlm.c(296) : error C2059: syntax error : '}'

mod_ntlm.c(298) : error C2061: syntax error :
identifier 'ntlm_module'

mod_ntlm.c(298) : error C2059: syntax error : ';'

mod_ntlm.c(302) : error C2065: 'configfile_t' :
undeclared identifier

mod_ntlm.c(302) : error C2065: 'f' : undeclared identifier

mod_ntlm.c(302) : warning C4552: '*' : operator has no
effect; expected operator with side-effect

mod_ntlm.c(303) : error C2143: syntax error : missing
';' before 'type'

mod_ntlm.c(304) : error C2143: syntax error : missing
';' before 'const'

mod_ntlm.c(306) : warning C4047: 'function' : 'struct
ap_configfile_t ** ' differs in levels of indirection
from 'struct apr_pool_t *'

mod_ntlm.c(306) : warning C4024: 'ap_pcfg_openfile' :
different types for formal and actual parameter 1

mod_ntlm.c(306) : warning C4133: 'function' :
incompatible types - from 'char *' to 'struct apr_pool_t *'

mod_ntlm.c(306) : error C2198: 'ap_pcfg_openfile' : too
few actual parameters

mod_ntlm.c(307) : warning C4047: 'function' : 'int '
differs in levels of indirection from 'struct
request_rec *'

mod_ntlm.c(307) : warning C4024: 'ap_log_rerror' :
different types for formal and actual parameter 4

mod_ntlm.c(307) : warning C4133: 'function' :
incompatible types - from 'char [33]' to 'const struct
request_rec *'

mod_ntlm.c(310) : error C2065: 'l' : undeclared identifier

mod_ntlm.c(310) : warning C4047: 'function' : 'char *'
differs in levels of indirection from 'int '

mod_ntlm.c(310) : warning C4024: 'ap_cfg_getline' :
different types for formal and actual parameter 1

mod_ntlm.c(310) : warning C4047: 'function' : 'struct
ap_configfile_t *' differs in levels of indirection
from 'int '

mod_ntlm.c(310) : warning C4024: 'ap_cfg_getline' :
different types for formal and actual parameter 3

mod_ntlm.c(311) : error C2109: subscript requires array
or pointer type

mod_ntlm.c(311) : error C2109: subscript requires array
or pointer type

mod_ntlm.c(313) : error C2065: 'rpw' : undeclared
identifier

mod_ntlm.c(314) : error C2065: 'w' : undeclared identifier

mod_ntlm.c(314) : warning C4047: 'function' : 'const
char ** ' differs in levels of indirection from 'int *'

mod_ntlm.c(314) : warning C4024: 'ap_getword' :
different types for formal and actual parameter 2

mod_ntlm.c(314) : warning C4047: '=' : 'int ' differs
in levels of indirection from 'char *'

mod_ntlm.c(316) : warning C4047: 'function' : 'const
char *' differs in levels of indirection from 'int '

mod_ntlm.c(316) : warning C4024: 'strcmp' : different
types for formal and actual parameter 2

mod_ntlm.c(317) : warning C4047: 'function' : 'struct
ap_configfile_t *' differs in levels of indirection
from 'int '

mod_ntlm.c(317) : warning C4024: 'ap_cfg_closefile' :
different types for formal and actual parameter 1

mod_ntlm.c(318) : warning C4047: 'function' : 'const
char ** ' differs in levels of indirection from 'int *'

mod_ntlm.c(318) : warning C4024: 'ap_getword' :
different types for formal and actual parameter 2

mod_ntlm.c(321) : warning C4047: 'function' : 'struct
ap_configfile_t *' differs in levels of indirection
from 'int '

mod_ntlm.c(321) : warning C4024: 'ap_cfg_closefile' :
different types for formal and actual parameter 1

mod_ntlm.c(325) : error C2143: syntax error : missing
'{' before '*'

mod_ntlm.c(325) : error C2143: syntax error : missing
')' before '*'

mod_ntlm.c(325) : error C2143: syntax error : missing
'{' before '*'

mod_ntlm.c(325) : error C2059: syntax error : 'type'

mod_ntlm.c(325) : error C2059: syntax error : ')'

mod_ntlm.c(378) : error C2065: 'ntlm_module' :
undeclared identifier

mod_ntlm.c(378) : error C2223: left of '->module_index'
must point to struct/union

mod_ntlm.c(378) : fatal error C1903: unable to recover
from previous error(s); stopping compilation

Discussion


Log in to post a comment.

MongoDB Logo MongoDB