GNOME Bugzilla – Bug 314042
pango_font_get_font_map
Last modified: 2005-09-17 11:18:34 UTC
Distribution/Version: Debian testing while compiling gaim-1.5.0 occurs the next error: /bin/sh ../libtool --silent --tag=CC --mode=link cc -g -I/developer/garnome/include -L/developer/garnome/lib -O2 -pipe -Wall -g3 -Wl,--export-dynamic -L/developer/garnome/lib -o gaim -export-dynamic account.o accountopt.o blist.o buddyicon.o cmds.o connection.o conversation.o core.o debug.o eventloop.o ft.o imgstore.o log.o md5.o network.o notify.o plugin.o pluginpref.o pounce.o prefix.o prefs.o privacy.o proxy.o prpl.o request.o roomlist.o server.o sha.o signals.o status.o stringref.o sound.o sslconn.o util.o value.o xmlnode.o away.o dnd-hints.o gaim-disclosure.o gtkaccount.o gtkcellrendererprogress.o gtkblist.o gtkconn.o gtkconv.o gtkdebug.o gtkdialogs.o gtkeventloop.o gtkft.o gtkimhtml.o gtkimhtmltoolbar.o gtklog.o gtknotify.o gtkplugin.o gtkpluginpref.o gtkprefs.o gtkprivacy.o gtkpounce.o gtkrequest.o gtkroomlist.o gtksound.o gtksourceiter.o gtkutils.o idle.o main.o session.o stock.o themes.o -Wl,--rpath -Wl,/developer/garnome/lib -L/developer/garnome/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangocairo-1.0 -lpangox-1.0 -lpangoft2-1.0 -lfreetype -lz -lcairo -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfontconfig -lpixman -lXrender -lX11 -L/usr/X11R6/lib -lSM -lICE -lX11 -lXext -L/usr/X11R6/lib -lXss -L/usr/X11R6/lib -lSM -lICE -Wl,--rpath -Wl,/developer/garnome/lib -L/developer/garnome/lib -L/usr/X11R6/lib -lgtkspell -laspell -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangocairo-1.0 -lpangox-1.0 -lpangoft2-1.0 -lfreetype -lz -lcairo -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfontconfig -lpixman -lXrender -lX11 -L/developer/garnome/lib -lstartup-notification-1 -lnsl /developer/garnome/lib/libpangocairo-1.0.so: undefined reference to `pango_font_get_font_map'
Which version of garnome are you using to compile ? and which version of Pango, GTK+ and Glib is included ?
garnome: 2.11.91 pango: 1.9.1 cairo: 0.9.0 gtk+: 2.7.5 glib: 2.7.7
You might want to update glib and gtk+ to version 2.8.0 this resolved the funiness with control-center on this issue. gaim possibily has the same issue. Secondly check if cairo is compiled with png support. This is mentioned at the end of the configure process. If png is not compiled into cairo check if you have libpgn.pc and libpng12.pc in the searchpath of garnome
I've build garnome-2.11-20050819.1645 which includes glib and gtk+ 2.8.0 and the cairo's configure script result is : cairo will be compiled with the following surface backends: Xlib: yes Quartz: no XCB: no (requires XCB http://xcb.freedesktop.org) Win32: no PostScript: yes PDF: yes glitz: yes the following font backends: FreeType: yes Win32: no ATSUI: no and the following features: PNG functions: yes I still have the error compiling gaim: /developer/garnome/lib/libpangocairo-1.0.so: undefined reference to `pango_font_get_font_map'
Can you please run nm /developer/garnome/lib/libpangocairo-1.0.so >> nm.so and check if pango_font_get_font_map is in the nm.so file. If not try recompiling cairo and check again
devel@debenq:~$ nm /developer/garnome/lib/libpangocairo-1.0.so | grep pango_font_get_font_map U pango_font_get_font_map yes, is in :S
Created attachment 51292 [details] [review] patch to solve the issue
Eduard, can you file a bug upstream with pango?
Reassigning to pango.
Arrgh...reassigning to GARNOME. Does this still happen with garnome-2.12.0?
This is a libtool problem with it linking against old verions of Pango from your installed copy.