! 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 !
Will not compile because of "undefined reference"
Status:
RESOLVED: WONTFIX
Severity:
blocker
Product:
Xfce4-panel

Comments

Description b1714070 2013-01-21 06:48:52 CET
Using the latest Cygwin, having successfully installed libxfce4util, xfconf, libxfce4ui, garcon and exo, all the same version, I get this error:

$ make
make  all-recursive
make[1]: Vstupuje se do adresáře "/home/Ondra/tmp/xfce4-panel-4.10.0"
Making all in libxfce4panel
make[2]: Vstupuje se do adresáře "/home/Ondra/tmp/xfce4-panel-4.10.0/libxfce4pan
el"
make  all-am
make[3]: Vstupuje se do adresáře "/home/Ondra/tmp/xfce4-panel-4.10.0/libxfce4pan
el"
make[3]: Pro "all-am" nebude nic uděláno.
make[3]: Opouští se adresář "/home/Ondra/tmp/xfce4-panel-4.10.0/libxfce4panel"
make[2]: Opouští se adresář "/home/Ondra/tmp/xfce4-panel-4.10.0/libxfce4panel"
Making all in common
make[2]: Vstupuje se do adresáře "/home/Ondra/tmp/xfce4-panel-4.10.0/common"
make[2]: Pro "all" nebude nic uděláno.
make[2]: Opouští se adresář "/home/Ondra/tmp/xfce4-panel-4.10.0/common"
Making all in panel
make[2]: Vstupuje se do adresáře "/home/Ondra/tmp/xfce4-panel-4.10.0/panel"
make  all-am
make[3]: Vstupuje se do adresáře "/home/Ondra/tmp/xfce4-panel-4.10.0/panel"
  CCLD   xfce4-panel.exe
../common/.libs/libpanel-common.a(libpanel_common_la-panel-xfconf.o):panel-xfcon
f.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+0xd8): undefined reference to `_xfce_panel_plugin_take_window'
../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.
c:(.text+0xe0): undefined reference to `_xfce_panel_plugin_block_menu'
../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.
c:(.text+0xec): undefined reference to `_xfce_panel_plugin_unblock_menu'
../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.
c:(.text+0x1b7): undefined reference to `_xfce_panel_plugin_get_unique_id'
../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.
c:(.text+0x1c1): undefined reference to `_xfce_panel_plugin_get_name'
../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.
c:(.text+0x25c): undefined reference to `_xfce_panel_plugin_get_type'
../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-utils.
c:(.text+0x32e): undefined reference to `_xfce_panel_plugin_get_name'
collect2: ld returned 1 exit status
Makefile:540: recipe for target `xfce4-panel.exe' failed
make[3]: *** [xfce4-panel.exe] Error 1
make[3]: Opouští se adresář "/home/Ondra/tmp/xfce4-panel-4.10.0/panel"
Makefile:459: recipe for target `all' failed
make[2]: *** [all] Error 2
make[2]: Opouští se adresář "/home/Ondra/tmp/xfce4-panel-4.10.0/panel"
Makefile:520: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Opouští se adresář "/home/Ondra/tmp/xfce4-panel-4.10.0"
Makefile:430: recipe for target `all' failed
make: *** [all] Error 2
Comment 1 Jeremey Hustman 2013-02-21 00:17:35 CET
Created attachment 4926 
autogen.sh output
Comment 2 Jeremey Hustman 2013-02-21 00:18:23 CET
Created attachment 4927 
make output
Comment 3 Jeremey Hustman 2013-02-21 00:20:22 CET
(In reply to comment #0)
> Using the latest Cygwin, having successfully installed libxfce4util, xfconf,
> libxfce4ui, garcon and exo, all the same version, I get this error:
> 
> $ make
> make  all-recursive
> make[1]: Vstupuje se do adresáře "/home/Ondra/tmp/xfce4-panel-4.10.0"
> Making all in libxfce4panel
> make[2]: Vstupuje se do adresáře
> "/home/Ondra/tmp/xfce4-panel-4.10.0/libxfce4pan
> el"
> make  all-am
> make[3]: Vstupuje se do adresáře
> "/home/Ondra/tmp/xfce4-panel-4.10.0/libxfce4pan
> el"
> make[3]: Pro "all-am" nebude nic uděláno.
> make[3]: Opouští se adresář
> "/home/Ondra/tmp/xfce4-panel-4.10.0/libxfce4panel"
> make[2]: Opouští se adresář
> "/home/Ondra/tmp/xfce4-panel-4.10.0/libxfce4panel"
> Making all in common
> make[2]: Vstupuje se do adresáře "/home/Ondra/tmp/xfce4-panel-4.10.0/common"
> make[2]: Pro "all" nebude nic uděláno.
> make[2]: Opouští se adresář "/home/Ondra/tmp/xfce4-panel-4.10.0/common"
> Making all in panel
> make[2]: Vstupuje se do adresáře "/home/Ondra/tmp/xfce4-panel-4.10.0/panel"
> make  all-am
> make[3]: Vstupuje se do adresáře "/home/Ondra/tmp/xfce4-panel-4.10.0/panel"
>   CCLD   xfce4-panel.exe
> ../common/.libs/libpanel-common.a(libpanel_common_la-panel-xfconf.o):panel-
> xfcon
> f.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+0xd8): undefined reference to `_xfce_panel_plugin_take_window'
> ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-
> utils.
> c:(.text+0xe0): undefined reference to `_xfce_panel_plugin_block_menu'
> ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-
> utils.
> c:(.text+0xec): undefined reference to `_xfce_panel_plugin_unblock_menu'
> ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-
> utils.
> c:(.text+0x1b7): undefined reference to `_xfce_panel_plugin_get_unique_id'
> ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-
> utils.
> c:(.text+0x1c1): undefined reference to `_xfce_panel_plugin_get_name'
> ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-
> utils.
> c:(.text+0x25c): undefined reference to `_xfce_panel_plugin_get_type'
> ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-
> utils.
> c:(.text+0x32e): undefined reference to `_xfce_panel_plugin_get_name'
> collect2: ld returned 1 exit status
> Makefile:540: recipe for target `xfce4-panel.exe' failed
> make[3]: *** [xfce4-panel.exe] Error 1
> make[3]: Opouští se adresář "/home/Ondra/tmp/xfce4-panel-4.10.0/panel"
> Makefile:459: recipe for target `all' failed
> make[2]: *** [all] Error 2
> make[2]: Opouští se adresář "/home/Ondra/tmp/xfce4-panel-4.10.0/panel"
> Makefile:520: recipe for target `all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Opouští se adresář "/home/Ondra/tmp/xfce4-panel-4.10.0"
> Makefile:430: recipe for target `all' failed
> make: *** [all] Error 2

Hi, I'm sorry, didn't realize it would spam out like that...  I am running into the same problem trying to compile on cygwin, attached are my outputs.
Comment 4 Jeremey Hustman 2013-02-21 01:47:05 CET
(In reply to comment #3)
> (In reply to comment #0)
> > Using the latest Cygwin, having successfully installed libxfce4util, xfconf,
> > libxfce4ui, garcon and exo, all the same version, I get this error:
> > 
> > $ make
> > make  all-recursive
> > make[1]: Vstupuje se do adresáře "/home/Ondra/tmp/xfce4-panel-4.10.0"
> > Making all in libxfce4panel
> > make[2]: Vstupuje se do adresáře
> > "/home/Ondra/tmp/xfce4-panel-4.10.0/libxfce4pan
> > el"
> > make  all-am
> > make[3]: Vstupuje se do adresáře
> > "/home/Ondra/tmp/xfce4-panel-4.10.0/libxfce4pan
> > el"
> > make[3]: Pro "all-am" nebude nic uděláno.
> > make[3]: Opouští se adresář
> > "/home/Ondra/tmp/xfce4-panel-4.10.0/libxfce4panel"
> > make[2]: Opouští se adresář
> > "/home/Ondra/tmp/xfce4-panel-4.10.0/libxfce4panel"
> > Making all in common
> > make[2]: Vstupuje se do adresáře "/home/Ondra/tmp/xfce4-panel-4.10.0/common"
> > make[2]: Pro "all" nebude nic uděláno.
> > make[2]: Opouští se adresář "/home/Ondra/tmp/xfce4-panel-4.10.0/common"
> > Making all in panel
> > make[2]: Vstupuje se do adresáře "/home/Ondra/tmp/xfce4-panel-4.10.0/panel"
> > make  all-am
> > make[3]: Vstupuje se do adresáře "/home/Ondra/tmp/xfce4-panel-4.10.0/panel"
> >   CCLD   xfce4-panel.exe
> > ../common/.libs/libpanel-common.a(libpanel_common_la-panel-xfconf.o):panel-
> > xfcon
> > f.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+0xd8): undefined reference to `_xfce_panel_plugin_take_window'
> > ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-
> > utils.
> > c:(.text+0xe0): undefined reference to `_xfce_panel_plugin_block_menu'
> > ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-
> > utils.
> > c:(.text+0xec): undefined reference to `_xfce_panel_plugin_unblock_menu'
> > ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-
> > utils.
> > c:(.text+0x1b7): undefined reference to `_xfce_panel_plugin_get_unique_id'
> > ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-
> > utils.
> > c:(.text+0x1c1): undefined reference to `_xfce_panel_plugin_get_name'
> > ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-
> > utils.
> > c:(.text+0x25c): undefined reference to `_xfce_panel_plugin_get_type'
> > ../common/.libs/libpanel-common.a(libpanel_common_la-panel-utils.o):panel-
> > utils.
> > c:(.text+0x32e): undefined reference to `_xfce_panel_plugin_get_name'
> > collect2: ld returned 1 exit status
> > Makefile:540: recipe for target `xfce4-panel.exe' failed
> > make[3]: *** [xfce4-panel.exe] Error 1
> > make[3]: Opouští se adresář "/home/Ondra/tmp/xfce4-panel-4.10.0/panel"
> > Makefile:459: recipe for target `all' failed
> > make[2]: *** [all] Error 2
> > make[2]: Opouští se adresář "/home/Ondra/tmp/xfce4-panel-4.10.0/panel"
> > Makefile:520: recipe for target `all-recursive' failed
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Opouští se adresář "/home/Ondra/tmp/xfce4-panel-4.10.0"
> > Makefile:430: recipe for target `all' failed
> > make: *** [all] Error 2
> 
> Hi, I'm sorry, didn't realize it would spam out like that...  I am running
> into the same problem trying to compile on cygwin, attached are my outputs.

I followed your directions here, https://bugzilla.xfce.org/show_bug.cgi?id=8517#c4, and xfce4-panel.exe compiled as shown below.  These changes to common/Makefile.am are not in the git repository.

  CCLD     xfce4-panel.exe
./.libs/lt-xfce4-panel.c: In function 'lt_debugprintf':
./.libs/lt-xfce4-panel.c:571:7: warning: function might be possible candidate for 'gnu_printf' format attribute
./.libs/lt-xfce4-panel.c:571:7: warning: function might be possible candidate for 'gnu_printf' format attribute
./.libs/lt-xfce4-panel.c: In function 'lt_error_core':
./.libs/lt-xfce4-panel.c:582:3: warning: function might be possible candidate for 'gnu_printf' format attribute
./.libs/lt-xfce4-panel.c:582:3: warning: function might be possible candidate for 'gnu_printf' format attribute
./.libs/lt-xfce4-panel.c: In function 'lt_fatal':
./.libs/lt-xfce4-panel.c:590:1: warning: function might be possible candidate for attribute 'noreturn'
make[3]: Leaving directory `/home/jphustman/src/xfce/git/xfce4-panel/panel'

Bug #9788

Reported by:
b1714070
Reported on: 2013-01-21
Last modified on: 2020-05-21

People

Assignee:
Nick Schermer
CC List:
2 users

Version

Version:
4.10.0

Attachments

autogen.sh output (24.05 KB, text/plain)
2013-02-21 00:17 CET , Jeremey Hustman
no flags
make output (5.09 KB, text/plain)
2013-02-21 00:18 CET , Jeremey Hustman
no flags

Additional information