This is the error output of link of xfce4-panel.exe: ../common/.libs/libpanel-common.a(libpanel_common_la-panel-xfconf.o):panel-xfconf.c:(.text+0x84): undefined reference to `_xfce_panel_get_channel_name' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x14): undefined reference to `_xfce_panel_plugin_get_type' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0xf9): undefined reference to `_xfce_panel_plugin_take_window' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x101): undefined reference to `_xfce_panel_plugin_block_menu' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x11d): undefined reference to `_xfce_panel_plugin_unblock_menu' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x207): undefined reference to `_xfce_panel_plugin_get_unique_id' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x211): undefined reference to `_xfce_panel_plugin_get_name' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x5ac): undefined reference to `_xfce_panel_plugin_get_type' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x67e): undefined reference to `_xfce_panel_plugin_get_name' collect2: ld returned 1 exit status There is similar link error occured of other users at mailing-list: http://mail.xfce.org/pipermail/xfce/2011-March/028464.html What will be the problem? Thanks in advance
And if you compile with --disable-visibility?
I've changed the ./configure option as: $ ./configure --prefix=/usr/local --disable-visibility ./configure output is: Build Configuration: * Debug Support: minimum * GNU Visibility: no * Documentation: yes (in tarball) Still error exists: CCLD xfce4-panel.exe ../common/.libs/libpanel-common.a(libpanel_common_la-panel-xfconf.o):panel-xfconf.c:(.text+0x84): undefined reference to `_xfce_panel_get_channel_name' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x14): undefined reference to `_xfce_panel_plugin_get_type' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0xf9): undefined reference to `_xfce_panel_plugin_take_window' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x101): undefined reference to `_xfce_panel_plugin_block_menu' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x11d): undefined reference to `_xfce_panel_plugin_unblock_menu' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x207): undefined reference to `_xfce_panel_plugin_get_unique_id' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x211): undefined reference to `_xfce_panel_plugin_get_name' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x5ac): undefined reference to `_xfce_panel_plugin_get_type' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x67e): undefined reference to `_xfce_panel_plugin_get_name' collect2: ld returned 1 exit status Makefile:510: recipe for target `xfce4-panel.exe' failed Thanks in advance
What can I do? Probably, It is possible to install binary of xfce from cygwin-ports(http://sourceware.org/cygwinports/), but I really want to compile from source and test. Could you please assist for this issue?
Could you add the following in common/Makefile.am above the EXTRA_DIST line: libpanel_common_la_LIBADD += $(top_builddir)/libxfce4panel/libxfce4panel-$(LIBXFCE4PANEL_VERSION_API).la libpanel_common_la_DEPENDENCIES = $(top_builddir)/libxfce4panel/libxfce4panel-$(LIBXFCE4PANEL_VERSION_API).la Make sure you run ./autogen.sh again.
Unfortunately, It didn't work. I've added specified lines at your comment. I am compiling from tar.gz file not from git. Hence I only execute ./configure and make ./configure --prefix=/usr/local make This is the output of error: CCLD xfce4-panel.exe ../common/.libs/libpanel-common.a(libpanel_common_la-panel-xfconf.o):panel-xfconf.c:(.text+0x84): undefined reference to `_xfce_panel_get_channel_name' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x14): undefined reference to `_xfce_panel_plugin_get_type' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0xf9): undefined reference to `_xfce_panel_plugin_take_window' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x101): undefined reference to `_xfce_panel_plugin_block_menu' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x11d): undefined reference to `_xfce_panel_plugin_unblock_menu' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x207): undefined reference to `_xfce_panel_plugin_get_unique_id' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x211): undefined reference to `_xfce_panel_plugin_get_name' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x5ac): undefined reference to `_xfce_panel_plugin_get_type' ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.c:(.text+0x67e): undefined reference to `_xfce_panel_plugin_get_name' collect2: ld returned 1 exit status If it is not possible to fix this bug now I can use binary from cygwin-ports. I am listening for your further suggestions. Thanks in advance.
Well for the last change you need to build from git. Will check if the fix does not give any problems and then push it anyway.