undefined reference errors in glibmm build (leading to a gtkmm build)

I am attempting to build gtkmm for the TDM-GCC version of MinGW-w64 (with msys).


As an underlay for this build, I downloaded  the all-in-one bundle of the GTK+ stack including 3rd-party dependencies:

gtk+-bundle_2.20.1-20100912_win64.zip from http://www.gtk.org/download-windows-64bit.html

Extracted the files to C:\msys\1.0\local


I confirmed that "gtk-demo" works!


I successfully built and installed libsigc++ (version 2.2.8).


However, I was not so successful with my glibmm build.







I get undefined reference errors to g_type_is_a and similar functions.

I discovered that the unfound functions are in /usr/local/lib/libgobject-2.0.dll.a

and also in /usr/local/lib/gobject-2.0.lib




./configure LDFLAGS='/usr/local/lib/libgobject-2.0.dll.a'


This did not help! (and gave a warning about linking to a static library)




./configure LDFLAGS='/usr/local/lib/gobject-2.0.lib'


This also did not help! (but did not generate a warning)


 I’m probably missing something simple – I hope one of you out there on this mailing list can point out the mistake in my build process.




Jim Tilton


Dr. James C. Tilton                                                Voice:   301-286-9510

NASA Goddard Space Flight Center                   FAX:     301-286-1776

Mail Code 606.3                                                    E-Mail:  James C Tilton nasa gov

(Computational & Information Sciences and Technology Office)

Greenbelt, MD 20771      

URLs:      http://ipp.gsfc.nasa.gov/ft_tech_rhseg.shtm and http://cisto.gsfc.nasa.gov/TILTON/


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