olepicture.c compile failure : "structure has no member named `UserData', implicit declaration of function `DGifOpen'"

Rizwan Kassim rizwank at gmail.com
Wed Jan 19 19:48:13 CST 2005

This has been reported as Bugzilla 1730.
olepicture.c: In function `_gif_inputfunc':
olepicture.c:834: structure has no member named `UserData'
olepicture.c: In function `OLEPictureImpl_Load':
olepicture.c:923: warning: implicit declaration of function `DGifOpen'
olepicture.c:923: warning: assignment makes pointer from integer without a cast
make[2]: *** [olepicture.o] Error 1

configure, apparently, doesn't check that both libgif.so and
libungif.so are the correct versions.
This was with latest CVS 2005-01-15, in /wine/dlls/oleaut32
Some slackware and debian installs that I've found have :
/usr/lib/libgif.so -> libungif.so.3.0.0
/usr/lib/libungif.so -> libungif.so.3.0.0

libungif.so.4.1.0 was available, however. 
ln -s /usr/lib/libungif.so.4.1.0 libungif.so
ln -s /usr/lib/libungif.so.4.1.0 libgif.so
in the wine/dlls/oleaut32 directory fixes the compile.

I've added this fix to the (Unconfirmed) bug. Any input -- whats my next step? 

Thank you,
Rizwan Kassim

More information about the wine-devel mailing list