[Bug 10320] New: wine-0.9.48 cannot be compiled with openldap-2.4.6

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 5 13:26:19 CST 2007


           Summary: wine-0.9.48 cannot be compiled with openldap-2.4.6
           Product: Wine
           Version: 0.9.48.
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-misc
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: nyb at users.sourceforge.net


compiling wine-0.9.48 with openldap-2.4.6 fails with the following errors:

gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT
-fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement
-Wwrite-strings -Wpointer-arith  -O3 -fomit-frame-pointer -pipe
-march=pentium-m   -o parse.o parse.c
parse.c: In function 'ldap_parse_sort_controlW':
parse.c:339: warning: implicit declaration of function
parse.c: In function 'ldap_parse_vlv_controlW':
parse.c:420: warning: implicit declaration of function 'ldap_parse_vlv_control'
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./wldap32.spec   
add.o ber.o bind.o compare.o control.o delete.o dn.o error.o extended.o init.o
main.o misc.o modify.o modrdn.o option.o page.o parse.o rename.o search.o
value.o     wldap32.res    -o wldap32.dll.so  -luser32 -lkernel32  -lldap_r
-llber ../../libs/port/libwine_port.a
parse.o: In function `ldap_parse_vlv_controlW':
parse.c:(.text+0x260): undefined reference to `ldap_parse_vlv_control'
parse.c:(.text+0x3e5): undefined reference to `ldap_parse_vlv_control'
parse.o: In function `ldap_parse_sort_controlW':
parse.c:(.text+0xa2c): undefined reference to `ldap_parse_sort_control'
collect2: ld returned 1 exit status
winegcc: gcc failed
make[2]: *** [wldap32.dll.so] Error 2

Apparently the related API parts have changed in openldap-2.4 and the
ldap_parse_vlv_control and ldap_parse_sort_control functions have been removed
in favor of some slightly different code (i.e. they were not just renamed), so
the wldap32 code needs to be adjusted a bit. As far as I can tell there is no
way to disable using openldap, other than removing the related headers, so it
is impossible to compile wine without manual Makefile/configfile editing.


Theodoros Kalamatianos

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list