Bug #2697: Compilation errors
| From: | Bernhard dot Bock at ThePentagon dot com | Date: | Thu, 11 Nov 1999 00:04:00 +0000 |
| Subject: | Bug #2697: Compilation errors | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12274@lists.php.net to get a copy of this message | ||
From: Bernhard.Bock@ThePentagon.com
Operating system: WinNT v4.0 SP5 (german)
PHP version: 3.0.12
PHP Bug Type: LDAP related
Bug description: Compilation errors
I have build the php3.0.12 from the source and the win32build.zip files.
The only file that cannot be build is the php3_ldap.dll because of the following errors:
C:\php-3.0.12\functions\ldap.c(607) : error C2037: left of 'ld_errno' specifies undefined
struct/union 'ldap'
C:\php-3.0.12\functions\ldap.c(607) : error C2198: 'ldap_err2string' : too few actual
parameters
Cause: the struct ldap is undefined. I guess there is an external lib/definition-file that is
missing?
I have found the ldap-sdk at www.mozilla.org and will look inside it.
If you have any helpful suggestions, please let me know!
I use the MS VC++ v6.0 SP3 Enterprise Edition to compile this.
Greetings
Bernhard