tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lorenz Breu <...@hot-shot.com>
Subject Building tomcat native under win32 fails
Date Wed, 22 Oct 2008 07:45:24 GMT
Hi

I tried to build tomcat native today following the instructions on the
homepage. APR compiled just fine, but when I try to build tcnative using
VS 2008 I get the following:

1>Compiling...
1>system.c
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(422)
: error C2146: syntax error : missing ')' before identifier 'lppe'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(422)
: error C2081: 'LPPROCESSENTRY32W' : name in formal parameter list illegal
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(422)
: error C2061: syntax error : identifier 'lppe'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(422)
: error C2059: syntax error : ';'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(422)
: error C2059: syntax error : ')'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(422)
: error C2061: syntax error : identifier 'apr_winapi_pfn_Process32FirstW'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(422)
: error C2059: syntax error : ';'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(422)
: error C2513: '/*global*/ ' : no variable declared before '='
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(422)
: error C2146: syntax error : missing ')' before identifier 'lppe'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(422)
: error C2081: 'LPPROCESSENTRY32W' : name in formal parameter list illegal
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(422)
: error C2061: syntax error : identifier 'lppe'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(422)
: error C2059: syntax error : ';'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(422)
: error C2059: syntax error : ')'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(422)
: error C2449: found '{' at file scope (missing function header?)
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(422)
: error C2059: syntax error : '}'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(431)
: error C2146: syntax error : missing ')' before identifier 'lppe'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(431)
: error C2081: 'LPPROCESSENTRY32W' : name in formal parameter list illegal
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(431)
: error C2061: syntax error : identifier 'lppe'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(431)
: error C2059: syntax error : ';'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(431)
: error C2059: syntax error : ')'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(431)
: error C2061: syntax error : identifier 'apr_winapi_pfn_Process32NextW'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(431)
: error C2059: syntax error : ';'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(431)
: error C2513: '/*global*/ ' : no variable declared before '='
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(431)
: error C2146: syntax error : missing ')' before identifier 'lppe'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(431)
: error C2081: 'LPPROCESSENTRY32W' : name in formal parameter list illegal
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(431)
: error C2061: syntax error : identifier 'lppe'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(431)
: error C2059: syntax error : ';'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(431)
: error C2059: syntax error : ')'
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(431)
: error C2449: found '{' at file scope (missing function header?)
1>h:\Visual
Studio\tomcat-native-1.1.15-win32-src\jni\apr\include\arch\win32\apr_arch_misc.h(431)
: error C2059: syntax error : '}'
1>H:\Visual Studio\openssl-0.9.8i\include\openssl/ossl_typ.h(178) :
error C2059: syntax error : 'type'

I saw that some people had problems with this using mingw, so I guess it
just hasn't been fixed. Or has anyone on this list experienced and
solved the same problem??

Cheers,
Lorenz



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message