CryptUnprotectData undeclared - cannot compile

Michael Stefaniuc mstefani at
Mon May 30 07:40:20 CDT 2005


have you done a cvs update -Pd ?


Pavel Troller wrote:
>   For some time, about 10 - 14 days, I cannot compile wine from CVS anymore.
> The reason is as follows:
> make[3]: Entering directory `/usr/src/emul/wine/dlls/crypt32/tests'
> ../../../tools/winegcc/winegcc -B../../../tools/winebuild -mconsole protectdata.o testlist.o  -o -L../../../libs/port -lwine_port -L../../../dlls -L../../../dlls/crypt32 -L../../../libs -lcrypt32  -s -L/opt/ungif/lib
> protectdata.o(.text+0x3b5): In function `test_cryptunprotectdata':
> /usr/src/emul/wine/dlls/crypt32/tests/protectdata.c:114: undefined reference to `CryptUnprotectData'
> protectdata.o(.text+0x42f):/usr/src/emul/wine/dlls/crypt32/tests/protectdata.c:120: undefined reference to `CryptUnprotectData'
> protectdata.o(.text+0x4b9):/usr/src/emul/wine/dlls/crypt32/tests/protectdata.c:129: undefined reference to `CryptUnprotectData'
> protectdata.o(.text+0x54f):/usr/src/emul/wine/dlls/crypt32/tests/protectdata.c:140: undefined reference to `CryptUnprotectData'
> protectdata.o(.text+0x702):/usr/src/emul/wine/dlls/crypt32/tests/protectdata.c:160: undefined reference to `CryptUnprotectData'
> protectdata.o(.text+0x782):/usr/src/emul/wine/dlls/crypt32/tests/protectdata.c:167: more undefined references to `CryptUnprotectData' follow
> collect2: ld returned 1 exit status
>   The same reported another user on the user's list, but nobody noticed it.
>   It would be nice to fix this problem to be able to compile wine again.
>                             With regards, Pavel Troller

Michael Stefaniuc               Tel.: +49-711-96437-199
Sr. Network Engineer            Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani at
Hauptstaetterstr. 58  
D-70178 Stuttgart

More information about the wine-devel mailing list