Re: [users@httpd] step by step instructions for compiling Apache under Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the info .. but no go. I am following some
very good instructions at this URL and have gotten
much farther:

http://www.apachelounge.com/forum/viewtopic.php?t=103

However, I am getting failures on libapr:

Generating Code...
Compiling resources...
Linking...
   Creating library .\Release/libapr.lib and object
.\Release/libapr.exp
filestat.obj : error LNK2019: unresolved external
symbol __imp__FreeSid@4 referenced in function
_free_world
filestat.obj : error LNK2019: unresolved external
symbol __imp__AllocateAndInitializeSid@44 referenced
in function _resolve_prot
rand.obj : error LNK2019: unresolved external symbol
__imp__CryptReleaseContext@8 referenced in function
_apr_generate_random_bytes@8
rand.obj : error LNK2019: unresolved external symbol
__imp__CryptGenRandom@12 referenced in function
_apr_generate_random_bytes@8
rand.obj : error LNK2019: unresolved external symbol
__imp__CryptAcquireContextA@20 referenced in function
_apr_generate_random_bytes@8
groupinfo.obj : error LNK2019: unresolved external
symbol __imp__LookupAccountNameA@28 referenced in
function _apr_gid_get@12
userinfo.obj : error LNK2001: unresolved external
symbol __imp__LookupAccountNameA@28
groupinfo.obj : error LNK2019: unresolved external
symbol __imp__LookupAccountSidA@28 referenced in
function _apr_gid_name_get@12
userinfo.obj : error LNK2001: unresolved external
symbol __imp__LookupAccountSidA@28
groupinfo.obj : error LNK2019: unresolved external
symbol __imp__EqualSid@8 referenced in function
_apr_gid_compare@8
userinfo.obj : error LNK2001: unresolved external
symbol __imp__EqualSid@8
groupinfo.obj : error LNK2019: unresolved external
symbol __imp__IsValidSid@4 referenced in function
_apr_gid_compare@8
userinfo.obj : error LNK2001: unresolved external
symbol __imp__IsValidSid@4
userinfo.obj : error LNK2019: unresolved external
symbol __imp__GetSidSubAuthority@8 referenced in
function _get_sid_string
userinfo.obj : error LNK2019: unresolved external
symbol __imp__GetSidSubAuthorityCount@4 referenced in
function _get_sid_string
userinfo.obj : error LNK2019: unresolved external
symbol __imp__GetSidIdentifierAuthority@4 referenced
in function _get_sid_string
userinfo.obj : error LNK2019: unresolved external
symbol __imp__GetTokenInformation@20 referenced in
function _apr_uid_current@12
userinfo.obj : error LNK2019: unresolved external
symbol __imp__OpenProcessToken@12 referenced in
function _apr_uid_current@12
userinfo.obj : error LNK2019: unresolved external
symbol __imp__RegQueryValueExA@24 referenced in
function _apr_uid_homepath_get@12
userinfo.obj : error LNK2019: unresolved external
symbol __imp__RegCloseKey@4 referenced in function
_apr_uid_homepath_get@12
userinfo.obj : error LNK2019: unresolved external
symbol __imp__RegQueryValueExW@24 referenced in
function _apr_uid_homepath_get@12
userinfo.obj : error LNK2019: unresolved external
symbol __imp__RegOpenKeyExA@20 referenced in function
_apr_uid_homepath_get@12
.\Release/libapr.dll : fatal error LNK1120: 18
unresolved externals
Build log was saved at
"file://d:\source\httpd-2.0.59\srclib\apr\Release\BuildLog.htm"
libapr - 23 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date,
0 skipped ==========

Any suggestions here?

Thanks again!

--- toadie D <toadie643@xxxxxxxxx> wrote:

> look for dir
> 
> 
>
%WINDOWS%\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd
> 
> and
> the equivalent
> 
> %WINDOWS\WinSxS\manifests\[same name as above]
> 
> 
> put the DLL as well as a copy of the manifest inside
> your bin dir.
> 
> Here's a manifest that works on Win2K SP4
> ===========
> <?xml version="1.0" encoding="UTF-8"
> standalone="yes"?>
> <assembly xmlns="urn:schemas-microsoft-com:asm.v1"
> manifestVersion="1.0">
>     <noInheritable></noInheritable>
>     <assemblyIdentity type="win32"
> name="Microsoft.VC80.CRT"
> version="8.0.50727.42" processorArchitecture="x86"
>
publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
>     <file name="msvcr80.dll"
> hash="2a0d797a8c5eac76e54e98db9682e0938c614b45"
> hashalg="SHA1"><asmv2:hash
> xmlns:asmv2="urn:schemas-microsoft-com:asm.v2"
>
xmlns:dsig="http://www.w3.org/2000/09/xmldsig#";><dsig:Transforms><dsig:Transform
>
Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Transforms><dsig:DigestMethod
>
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1";></dsig:DigestMethod><dsig:DigestValue>phRUExlAeZ8BwmlD8VlO5udAnRE=</dsig:DigestValue></asmv2:hash></file>
>     <file name="msvcp80.dll"
> hash="cc4ca55fb6aa6b7bb8577ab4b649ab77e42f8f91"
> hashalg="SHA1"><asmv2:hash
> xmlns:asmv2="urn:schemas-microsoft-com:asm.v2"
>
xmlns:dsig="http://www.w3.org/2000/09/xmldsig#";><dsig:Transforms><dsig:Transform
>
Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Transforms><dsig:DigestMethod
>
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1";></dsig:DigestMethod><dsig:DigestValue>7AY1JqoUvK3u/6bYWbOagGgAFbc=</dsig:DigestValue></asmv2:hash></file>
>     <file name="msvcm80.dll"
> hash="55e8e87bbde00d1d96cc119ccd94e0c02c9a2768"
> hashalg="SHA1"><asmv2:hash
> xmlns:asmv2="urn:schemas-microsoft-com:asm.v2"
>
xmlns:dsig="http://www.w3.org/2000/09/xmldsig#";><dsig:Transforms><dsig:Transform
>
Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Transforms><dsig:DigestMethod
>
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1";></dsig:DigestMethod><dsig:DigestValue>hWq8zazTsMeKVxWFBa6bnv4hEOw=</dsig:DigestValue></asmv2:hash></file>
> </assembly>
> 
> 
> 
> On 11/3/06, Richard de Vries
> <richard_devries@xxxxxxxxx> wrote:
> > Hi there, does anyone have any step by step
> > instructions on how to compile Apache under
> windows.
> >
> > I did find a document on the apache website that
> > describes how to compile Apache ... and as a
> matter of
> > fact, it compiled just fine.
> >
> > But I am having a hell of a time figured out how
> the
> > dependencies on some of those Visual C++ DLLS.
> There
> > is some documentation out there, but me being a
> newbie
> > to compiling applications for Windows am not able
> to
> > make heads or tails out of it. These are the
> messages
> > I am getting:
> >
> >
> > The application failed to initialize properly
> > (0x80000003). Click on OK to terminate the
> > application.
> >
> >
> > Runtime Error!
> >
> > Program "d:\Program
> Files\Apache\bin\ApacheMonitor.exe
> >
> > R6034
> > An application has made an attempt to load the C
> > runtime library incorrectly.
> > Please contact the application's support team for
> more
> > information.
> >
> > Any help or pointers would greatly be appreciated.
> >
> > Thank guys.
> >
> >  Richard
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Cheap Talk? Check out Yahoo! Messenger's low
> PC-to-Phone call rates
> > (http://voice.yahoo.com)
> >
> >
> >
>
---------------------------------------------------------------------
> > 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@xxxxxxxxxxxxxxxx
> >   "   from the digest:
> users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail:
> users-help@xxxxxxxxxxxxxxxx
> >
> >
> 
>
---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest:
> users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail:
> users-help@xxxxxxxxxxxxxxxx
> 
> 



 
____________________________________________________________________________________
Get your email and see which of your friends are online - Right on the New Yahoo.com 
(http://www.yahoo.com/preview) 


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux