GNOME Bugzilla – Bug 666927
undefined reference found when compling with gdiplus
Last modified: 2011-12-28 15:36:33 UTC
I download gdk-pixbuf 2.25.0 from FTP, and compiled (using MinGW64 ) as the following configuration: $ ./configure --build=x86_64-w64-mingw32 CFLAGS=-I/usr/local/include LDFLAGS=-L /usr/local/lib CXXFLAGS=-I/usr/local/include --enable-shared --disable-static - -with-gdiplus --with-libjasper finally i got the error message: make[4]: Entering directory `/home/beta/gdk-pixbuf-2.25.0/gdk-pixbuf' CCLD libpixbufloader-gdip-ico.la Creating library file: .libs/libpixbufloader-gdip-ico.dll.a .libs/io-gdip-animation.o:io-gdip-animation.c:(.text+0x45c): undefined reference to `gdk_pixbuf_gdip_anim_iter_init' collect2: ld returned 1 exit status make[4]: *** [libpixbufloader-gdip-ico.la] Error 1 if using --without-gdiplus , that everything is ok. This issue can not duplicated on 2.23.5, look new update introduce new bugs.
the same issue can duplicate on 2.24.1
static void gdk_pixbuf_gdip_anim_iter_init(GdkPixbufGdipAnimIter* iter) { } Add a blank function ,and issue solved, please update the git.