You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Frank McCreedy <fr...@nrlssc.navy.mil> on 2007/09/07 20:31:00 UTC
[users@httpd] httpd 2.0.61 win32 source build
sorry if this is a repost, I just joined the list, but is anyone
having problems building the 2.0.61 httpd win32 source? Mine is
having problems with rand.c it seems (2.0.59 built without problems
recently - I'm using vis c++ 6)
rand.c
C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(33) : error
C2065: 'HCRYPTPROV' : undeclared identifier
C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(33) : error
C2146: syntax error : missing ';' before identifier 'hProv'
C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(33) : error
C2065: 'hProv' : undeclared identifier
C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(34) : error
C2275: 'apr_status_t' : illegal use of this type as an expression
./include\apr_errno.h(44) : see declaration of 'apr_status_t'
C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(34) : error
C2146: syntax error : missing ';' before identifier 'res'
C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(34) : error
C2065: 'res' : undeclared identifier
C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(39) : error
C2275: 'DWORD' : illegal use of this type as an expression
C:\Program Files\Microsoft Visual
Studio\VC98\INCLUDE\windef.h(141) : see declaration of 'DWORD'
C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(39) : error
C2146: syntax error : missing ';' before identifier 'flags'
C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(39) : error
C2065: 'flags' : undeclared identifier
C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(40) : error
C2065: 'CRYPT_VERIFYCONTEXT' : undeclared identifier
C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(42) :
warning C4013: 'CryptAcquireContext' undefined; assuming extern returning int
C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(42) : error
C2065: 'PROV_RSA_FULL' : undeclared identifier
C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(45) :
warning C4013: 'CryptGenRandom' undefined; assuming extern returning int
C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(48) :
warning C4013: 'CryptReleaseContext' undefined; assuming extern returning int
start.c
// Frank P. McCreedy
// Computer Scientist, DMAP Team
// Naval Research Laboratory (NRL) Code 7440.2
// 1005 Balch Boulevard, Room D-9B
// Stennis Space Center, MS 39529
// Ph# (228) 688-4678
// Fax (228) 688-4853
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] httpd 2.0.61 win32 source build
Posted by Frank McCreedy <fr...@nrlssc.navy.mil>.
>At 01:31 PM 9/7/2007, you wrote:
>sorry if this is a repost, I just joined the list, but is anyone
having problems building the 2.0.61 httpd win32 source? Mine is
having >problems with rand.c it seems (2.0.59 built without problems
recently - I'm using vis c++ 6)
>rand.c
>C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(33) :
error C2065: 'HCRYPTPROV' : undeclared identifier
>.
>.
>C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(48) :
warning C4013: 'CryptReleaseContext' undefined; assuming extern >returning int
>start.c
>In case anyone else runs across this, the problem was with the
ordering of the headers... windows.h can be commented out
and >wincrypt.h should be moved to after apr.h:
>// #include <windows.h>
>#include "apr.h"
>#include <wincrypt.h>
>#include "apr_private.h"
>#include "apr_general.h"
>#include "apr_portable.h"
>#include "apr_arch_misc.h"
**also it helps to delete the files /modules/ssl/mod_ssl.dep and
/support/abs.dep:
http://mail-archives.apache.org/mod_mbox/httpd-users/200605.mbox/%3C445819A0.5020300@rowe-clan.net%3E
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] httpd 2.0.61 win32 source build
Posted by Frank McCreedy <fr...@nrlssc.navy.mil>.
At 01:31 PM 9/7/2007, you wrote:
>sorry if this is a repost, I just joined the list, but is anyone
>having problems building the 2.0.61 httpd win32 source? Mine is
>having problems with rand.c it seems (2.0.59 built without problems
>recently - I'm using vis c++ 6)
>
>rand.c
>C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(33) : error
>C2065: 'HCRYPTPROV' : undeclared identifier
>C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(33) : error
>C2146: syntax error : missing ';' before identifier 'hProv'
>C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(33) : error
>C2065: 'hProv' : undeclared identifier
>C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(34) : error
>C2275: 'apr_status_t' : illegal use of this type as an expression
> ./include\apr_errno.h(44) : see declaration of 'apr_status_t'
>C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(34) : error
>C2146: syntax error : missing ';' before identifier 'res'
>C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(34) : error
>C2065: 'res' : undeclared identifier
>C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(39) : error
>C2275: 'DWORD' : illegal use of this type as an expression
> C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\windef.h(141) : see declaration of 'DWORD'
>C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(39) : error
>C2146: syntax error : missing ';' before identifier 'flags'
>C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(39) : error
>C2065: 'flags' : undeclared identifier
>C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(40) : error
>C2065: 'CRYPT_VERIFYCONTEXT' : undeclared identifier
>C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(42) :
>warning C4013: 'CryptAcquireContext' undefined; assuming extern returning int
>C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(42) : error
>C2065: 'PROV_RSA_FULL' : undeclared identifier
>C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(45) :
>warning C4013: 'CryptGenRandom' undefined; assuming extern returning int
>C:\apachebuild\httpd-2.0.61\srclib\apr\misc\win32\rand.c(48) :
>warning C4013: 'CryptReleaseContext' undefined; assuming extern returning int
>start.c
>
In case anyone else runs across this, the problem was with the
ordering of the headers... windows.h can be commented out and
wincrypt.h should be moved to after apr.h:
// #include <windows.h>
#include "apr.h"
#include <wincrypt.h>
#include "apr_private.h"
#include "apr_general.h"
#include "apr_portable.h"
#include "apr_arch_misc.h"
references:
http://mail-archives.apache.org/mod_mbox/apr-dev/200609.mbox/%3Cc72f00d10609180128v22770cecs2d66bfd084c4beb1@mail.gmail.com%3E
http://mail-archives.apache.org/mod_mbox/apr-commits/200706.mbox/%3C20070629170512.A1CED1A981A@eris.apache.org%3E
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org