From: Tor L. <tm...@ik...> - 2010-06-15 19:22:37
|
> /usr/i686-pc-mingw32/sys-root/mingw/lib/libglib-2.0.a(gutils.o):(.text+0x2a3): undefined reference to `_CoTaskMemFree@4' > /usr/i686-pc-mingw32/sys-root/mingw/lib/libintl.a(dcigettext.o):(.text+0x7ba): undefined reference to `_libiconv' > What am I missing? Linking with -lole32 and -liconv (or whatever the iconv library is called that your libintl is built against, -liconv would be an educated guess). Yes, ideally the .pc file you are using should have automated this. It apparently did for -lintl, but as you are using a static libintl, the GLib .pc file should also have added a reference to -liconv. Or something. To properly distribute static library stacks is a bit hard. --tml |