Wine-20050830 Compile error

Pavel Troller patrol at sinus.cz
Tue Aug 30 23:17:14 CDT 2005


> Hello,
> 
> After getting the lastest tar, I get the following error:
> 
> gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__
> -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2
> -fno-strict-aliasing -gstabs+ -Wpointer-arith  -g -O2  -o add.o add.c
> In file included from add.c:39:
> winldap_private.h:289: error: syntax error before "BerElement"
> winldap_private.h:290: error: syntax error before "BerElement"
> winldap_private.h:322: error: syntax error before "BerElement"
> winldap_private.h:323: error: syntax error before "BerElement"
> make[2]: *** [add.o] Error 1
> make[2]: Leaving directory `/usr/src/wine/dlls/wldap32'
> make[1]: *** [wldap32] Error 2
> make[1]: Leaving directory `/usr/src/wine/dlls'
> make: *** [dlls] Error 2
> 
Hi!
  Exactly the same here. BerElement is undefined in winldap_private.h. It's
defined in winldap.h but trying to include both winldap.h and winldap_private.h
leads to a lot of collisions. So I copied the definition of BerElement from
winldap.h to winldap_private.h and it at least compiles :-).
                        With regards, Pavel Troller



More information about the wine-devel mailing list