! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Cygwin link problem with xfce4-panel.exe
Status:
RESOLVED: WONTFIX
Product:
Xfce4-panel

Comments

Description m 2012-02-29 02:08:03 CET
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
Comment 1 Nick Schermer editbugs 2012-02-29 09:12:30 CET
And if you compile with --disable-visibility?
Comment 2 m 2012-02-29 11:05:23 CET
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
Comment 3 m 2012-03-04 05:35:42 CET
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?
Comment 4 Nick Schermer editbugs 2012-03-05 15:18:53 CET
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.
Comment 5 m 2012-03-06 00:55:45 CET
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.
Comment 6 Nick Schermer editbugs 2012-03-06 08:02:20 CET
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.

Bug #8517

Reported by:
m
Reported on: 2012-02-29
Last modified on: 2020-05-21

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Attachments

Additional information