| Author | 
  | 
slaphappy
 
 
  Joined: 10 Mar 2006 Posts: 1
 
  | 
 Posted: Fri 10 Mar '06 0:16    Post subject: Build fails with Visual Studio 6 | 
     | 
 
  | 
 
This is the error I get:  #error :  Support for LDAP v2.0 toolkits has been removed from apr-util. Please use an LDAP v3.0 toolkit.
 
apr_ldap_url.c
 
 
I have the same problem whether compiling it by hand or in the IDE.  Any ideas on what to do? | 
 
  | 
| Back to top | 
 | 
Steffen Moderator
 
  Joined: 15 Oct 2005 Posts: 3131 Location: Hilversum, NL, EU
  | 
 | 
| Back to top | 
 | 
apie
 
 
  Joined: 30 Mar 2006 Posts: 7
 
  | 
 | 
| Back to top | 
 | 
James Blond Moderator
  
  Joined: 19 Jan 2006 Posts: 7442 Location: EU, Germany, Next to Hamburg
  | 
 Posted: Thu 30 Mar '06 13:39    Post subject: Re: MS VC++ 6.0 is still OK | 
     | 
 
  | 
 
 	  | apie wrote: | 	 		  | After installing [...] error disappeared. | 	  
 
Can you tell us the error message? | 
 
  | 
| Back to top | 
 | 
apie
 
 
  Joined: 30 Mar 2006 Posts: 7
 
  | 
 Posted: Thu 30 Mar '06 16:24    Post subject:  | 
     | 
 
  | 
 
| The same error as slaphappy mentioned. | 
 
  | 
| Back to top | 
 | 
James Blond Moderator
  
  Joined: 19 Jan 2006 Posts: 7442 Location: EU, Germany, Next to Hamburg
  | 
 | 
| Back to top | 
 | 
apie
 
 
  Joined: 30 Mar 2006 Posts: 7
 
  | 
 Posted: Fri 31 Mar '06 3:55    Post subject:  | 
     | 
 
  | 
 
Thank you for your reply. But you might misread my post.
 
In my post, I said "I successfuly compiled Apache 2.2.0 with VC++ 6.0."   | 
 
  | 
| Back to top | 
 | 
mphare
 
  
  Joined: 12 May 2006 Posts: 43 Location: Texas
  | 
 Posted: Thu 13 Jul '06 21:24    Post subject:  | 
     | 
 
  | 
 
OK, I downloaded the 2003 Platform, installed it and I still get the LDAP error mentioned above.
 
 
I downloaded and installed the VC++ 2005 Express and it gets a 'Cannot find windows.h' errors everywhere.
 
 
Any clues on this? | 
 
  | 
| Back to top | 
 | 
mphare
 
  
  Joined: 12 May 2006 Posts: 43 Location: Texas
  | 
 | 
| Back to top | 
 | 
mphare
 
  
  Joined: 12 May 2006 Posts: 43 Location: Texas
  | 
 Posted: Fri 14 Jul '06 0:11    Post subject:  | 
     | 
 
  | 
 
Here's a sample of the link problems:
 
 	  | Code: | 	 		  dso.c
 
apr_atomic.c
 
Generating Code...
 
Compiling resources...
 
Linking...
 
   Creating library .\Release/libapr-1.lib and object .\Release/libapr-1.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
 
proc.obj : error LNK2019: unresolved external symbol __imp__SetSecurityDescriptorDacl@16 referenced in function _apr_procattr_user_set@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-1.dll : fatal error LNK1120: 25 unresolved externals
 
Build log was saved at "file://d:\Development\Apache\httpd-2.2.2\srclib\apr\Release\BuildLog.htm"
 
libapr - 30 error(s), 0 warning(s) | 	  
 
 
I get a similar set of errors on several modules. | 
 
  | 
| Back to top | 
 | 
Kambiz
 
 
  Joined: 09 Sep 2006 Posts: 3
 
  | 
 Posted: Sat 09 Sep '06 23:37    Post subject: Re: MS VC++ 6.0 is still OK | 
     | 
 
  | 
 
 	  | James Blond wrote: | 	 		   	  | apie wrote: | 	 		  | After installing [...] error disappeared. | 	  
 
Can you tell us the error message? | 	  
 
 
I get error "Support for LDAP v2.0 toolkits has been removed from apr-util. Please use an LDAP v3.0 toolkit." even after installing
 
"Windows® Server 2003 SP1 Platform SDK Web Install" and
 
"Windows Server 2003 R2 SDK Full Download" and
 
"Windows Server 2003 R2 SDK Web Install"
 
 
I tried every one of them. Somebody can help me to compile Apache http server 2.2.3 !?!?
 
 
Thanks | 
 
  | 
| Back to top | 
 |