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

Marcus Meissner marcus at jet.franken.de
Thu Jan 20 02:57:48 CST 2005


On Wed, Jan 19, 2005 at 05:48:13PM -0800, Rizwan Kassim wrote:
> 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. 
> Running:
> 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? 

Both have conflicting header files apparently. Only the .so for the one
with gif_lib.h header should be installed.

Ciao, Marcus



More information about the wine-devel mailing list