On Wed, 3 Mar 2004, Geoffrey Young wrote:
> hi all (especially randy and steve)
>
> ok, so I'm trying to compile things on win32 (win2k with VC++ 5.0). I've
> followed the mp2 instructions, which pointed me toward compiling Apache 2.0
> from sources. I'm using the official 2.0.48 sources.
>
> so, never having using VC++ before (don't ask me why I had the CD lying
> around), I'm messing with it all for the first time using the official
> 2.0.48 sources. I followed the "Developer Studio Workspace IDE Build"
> instructions in win_compiling.html (debug version) and am hit with the
> following errors.
>
> rand.c
> C:\httpd-2.0.48\srclib\apr\misc\win32\rand.c(102) : error C2065: 'HRESULT' :
> undeclared identifier
> C:\httpd-2.0.48\srclib\apr\misc\win32\rand.c(102) : error C2064: term does
> not evaluate to a function
> C:\httpd-2.0.48\srclib\apr\misc\win32\rand.c(102) : warning C4013:
> 'UuidCreate' undefined; assuming extern returning int
> C:\httpd-2.0.48\srclib\apr\misc\win32\rand.c(102) : error C2065: 'UUID' :
> undeclared identifier
> C:\httpd-2.0.48\srclib\apr\misc\win32\rand.c(102) : error C2059: syntax
> error : ')'
> C:\httpd-2.0.48\srclib\apr\misc\win32\rand.c(104) : warning C4035:
> 'apr_os_uuid_get' : no return value
> C:\httpd-2.0.48\srclib\apr\misc\win32\rand.c(105) : error C2059: syntax
> error : 'return'
> C:\httpd-2.0.48\srclib\apr\misc\win32\rand.c(106) : error C2059: syntax
> error : '}'
>
> all the other *.c files seem to be ok. a command line nmake tells the same
> story. google showed nothing.
>
> so, have you seen this? or is my VC++ version so old that this is going to
> be impossible? or am I missing something silly and obvious to anyone not
> tied to a unix mindset :)
>
> --Geoff
Hi Geoff,
Unfortunately, in an effort to keep users up-to-date
(read: help build Mr Gates a bigger house), there's quite
a few incompatible changes between VC++ 5 and 6. Win32
Apache builds with 6 - I believe it can also do so with
5, but I'm not sure how (Bill Rowe probably knows). I've
heard that there's a compatibility kit one can get for
free from Microsoft's site to help in compiling things
built for VC++ 6 using VC++ 5.
You might have better luck using VC++ 7 - there's a
free version of this available from Microsoft's site
with a .NET software development kit. This I think can
be used to compile Apache without change (the
precompiled packages at http://www.devside.net/ use this, I
believe). I don't use VC++ 7 because, once again, there's
compatibility issues between 6 and 7, which would affect
the ppm packages I build for ActivePerl (which is built
with 6). However, if you build everything (including Perl)
with 7, this shouldn't be a problem.
Welcome to the Dark Side :)
--
best regards,
randy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]