Comment 2 for bug 755930

Revision history for this message
Colin Watson (cjwatson) wrote :

This now fails with:

i686-linux-gnu-gcc -g -O2 -Wl,-Bsymbolic-functions -o loqui eggtrayicon.o gtkutils.o main.o loqui_app_actions.o loqui_stock.o loqui_app.o loqui_app_info.o loqui_channel_entry_store.o loqui_channel_entry_action.o loqui_channel_buffer_gtk.o loqui_dropdown_box.o loqui_account_manager_store.o channel_tree.o nick_list.o about.o account_list_dialog.o loqui_statusbar.o prefs_dialog.o loqui_channel_text_view.o command_dialog.o remark_entry.o loqui_channelbar.o loqui_select_dialog.o prefs_general_upgrader.o loqui-core-gtk.o loqui-style-entry.o loqui-account-dialog.o loqui-protocol-selection-dialog.o loqui-transfer-window.o loqui-tray-icon.o loqui-channel-entry-action-group.o loqui-channel-entry-ui-data.o loqui-channel-entry-action-group-ui.o loqui-notifier-gtk.o /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so /usr/lib/i386-linux-gnu/libatk-1.0.so /usr/lib/i386-linux-gnu/libgio-2.0.so /usr/lib/i386-linux-gnu/libpangoft2-1.0.so /usr/lib/i386-linux-gnu/libpangocairo-1.0.so -lgdk_pixbuf-2.0 /usr/lib/i386-linux-gnu/libcairo.so /usr/lib/i386-linux-gnu/libpango-1.0.so /usr/lib/i386-linux-gnu/libfreetype.so -lfontconfig /usr/lib/i386-linux-gnu/libgmodule-2.0.so -pthread ../libloqui/.libs/libloqui.a /usr/lib/i386-linux-gnu/libgobject-2.0.so -lgnet-2.0 /usr/lib/i386-linux-gnu/libgthread-2.0.so -lrt /usr/lib/i386-linux-gnu/libglib-2.0.so -Wl,--rpath -Wl,/usr/lib/i386-linux-gnu -Wl,--rpath -Wl,/usr/lib/i386-linux-gnu
/usr/bin/ld: eggtrayicon.o: undefined reference to symbol 'XFlush'
/usr/bin/ld: note: 'XFlush' is defined in DSO /usr/lib/i386-linux-gnu/libX11.so.6 so try adding it to the linker command line
/usr/lib/i386-linux-gnu/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[5]: *** [loqui] Error 1

... which as you say is an indirect linking problem. I'll sort this out.