imlib problem



Whenever I link anything using imlib, I get the following error:
/opt/gnome/lib/libgdk_imlib.so: undefined reference to
`DGifGetExtensionNext'
/opt/gnome/lib/libgdk_imlib.so: undefined reference to `DGifGetRecordType'
/opt/gnome/lib/libgdk_imlib.so: undefined reference to `DGifGetImageDesc'
/opt/gnome/lib/libgdk_imlib.so: undefined reference to `DGifOpenFileName'
/opt/gnome/lib/libgdk_imlib.so: undefined reference to `DGifGetLine'
/opt/gnome/lib/libgdk_imlib.so: undefined reference to `DGifCloseFile'
/opt/gnome/lib/libgdk_imlib.so: undefined reference to `DGifGetExtension'
/opt/gnome/lib/libgdk_imlib.so: undefined reference to `PrintGifError'
collect2: ld returned 1 exit status

As a workaround, I add -lgif to the end of the compilation command. Is
there a fix?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]