How to debug undefined reference to library function (yad 0.5.1)?
Hello :-)
I'd like to learn debugging techniques as much as to solve this particular problem. While trying to build yad 0.5.1: Code:
yad-notification.o: In function `yad_notification_run': Inspecting /tmp/yad-0.5.1/src/notification.c showed that gtk_status_icon_set_tooltip_text is a function. So it should be declared in the gtk+2-2.14.7 header files (or not?). Checking: Code:
c@CW8:/usr/include/gtk-2.0$ find . -name '*.h' -exec grep gtk_status_icon_set_tooltip_text {} \; OS: Slackware 13.0 32-bit. yad download: http://code.google.com/p/yad/downloa...ar.xz&can=2&q= The downloaded package checksums OK. Netsearching for gtk_status_icon_set_tooltip_text finds no pages. Best Charles |
Quote:
1. Yad for sure will not compile/run with GTK version < X 2. Yad should compile and run with GTK version == X 3. Yad may be will compile and run with GTK version > X - as long as there is no backward incompatible changes in the new version of GTK, like renaming functions, changing it's signatures, etc You can look in gtk realease notes what changed between minimal GTK version and version you have - may be it'll give you idea. |
Thanks Valery :-)
The release notes were in /usr/doc/gtk+-2.14.7/NEWS. I could find nothing apparently related so submitted a yad issue. |
Solved. It was caused by gtk+ version differences and the yad maintainer Victor Ananjevsky has fixed it now in notification.c r155. Victor is so fast!
|
All times are GMT -5. The time now is 04:06 PM. |