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

Bug#382784: Missing LDFLAGS for wallpaper-tray package



>> if wallpaper-tray was started from a shell:
>> ...
>> (wp_tray:9752): libglade-WARNING **: could not find signal handler
'on_button_close_pressed'.

A little searching suggests that this bug is due to a missing linker option.

In particular in the src/Makefile the loader needs flags
"-Wl,-export-dynamic", as explained here;

http://mail.gnome.org/archives/gtk-app-devel-list/2005-November/msg00087.html

I have rebuilt wallpaper-tray with the 0.5.1 tarball, and apart from the
"tarball" being named "wp_tray" rather than "wallpaper_tray", it is
possible to recreate the debian package using the regular commands, but
the same bug is still present.

If I then hack the src/Makefile ldflags to read:

wp_tray_LDFLAGS = -Wl,-export-dynamic

"cd src"
"make clean"
"make"
./wp_tray

Then the application works as expected.

I assume that something should be placed in configure.in, or one of the
 GNOME m4 macros, so that applications using Glade export the signal
handlers correctly, or possibly the whole approach has been superseded
in some way?



Reply to: