Error building libglademm on Mac OS X 10.4 (Modified by Michael Ekstrand)



I'm trying to build libglademm on Mac OS X 10.4 using my Fink install of the gtkmm-2.4 and libglade2 packages. The libglademm make fails with the following error:

g++ -g -O2 -o .libs/basic basic.o -Wl,-bind_at_load ../../libglade/libglademm/.libs/libglademm-2.4.dylib -L/sw/lib -L/usr/X11R6/lib /sw/lib/libgtkmm-2.4.dylib /sw/lib/libgdkmm-2.4.dylib /sw/lib/libatkmm-1.6.dylib /sw/lib/libpangomm-1.4.dylib /sw/lib/libglibmm-2.4.dylib /sw/lib/libsigc-2.0.dylib /sw/lib/libglade-2.0.dylib /sw/lib/libgtk-x11-2.0.dylib /sw/lib/libxml2.dylib -ldl -lpthread -lz /sw/lib/libgdk-x11-2.0.dylib -lXrandr -lXinerama -lXext -lXcursor /sw/lib/libatk-1.0.dylib /sw/lib/libgdk_pixbuf-2.0.dylib /sw/lib/libpangoxft-1.0.dylib -lXft -lXrender /sw/lib/libpangox-1.0.dylib -lX11 /sw/lib/libpangoft2-1.0.dylib -lfontconfig -lfreetype /sw/lib/libpango-1.0.dylib -lm /sw/lib/libgobject-2.0.dylib /sw/lib/libgmodule-2.0.dylib /sw/lib/libglib-2.0.dylib /sw/lib/libintl.dylib -lc /sw/lib/libiconv.dylib
/usr/bin/ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.o) definition of _locale_charset
/usr/bin/ld: Undefined symbols:
typeinfo for Gtk::Button
typeinfo for Gtk::Dialog
typeinfo for Gtk::Widget
collect2: ld returned 1 exit status
make[2]: *** [basic] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

I have examined /sw/lib/libgtkmm-2.4.dylib with nm, and all three typeinfos in the error above do appear.

Any help in resolving this would be appreciated.

- Michael




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