! 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 !
xfce4-netload-plugin-0.4.0 fails to compile with xfce4-panel-4.7 (missing lib...
Status:
CLOSED: DUPLICATE
Product:
Xfce4-netload-plugin
Component:
General

Comments

Description Samuli Suominen 2010-08-09 11:00:52 CEST
Created attachment 3066 
Fix building with new xfce4-panel

Because xfce4-panel-4.7 is using libxfce4ui instead of libxfcegui4, the explicit linking is required in xfce4-netload-plugin, otherwise build fails on:

xfce4_netload_plugin-netload.o: In function `setup_monitor':
netload.c:(.text+0x47a): undefined reference to `xfce_err'
xfce4_netload_plugin-netload.o: In function `monitor_create_options':
netload.c:(.text+0x1321): undefined reference to `xfce_create_header'
collect2: ld returned 1 exit status

The attached patch solves the issue

Note that this patch expected the patch from bug 2782 to be applied first. Need to use LDADD instead of LDFLAGS.
Comment 1 Fabian Nowak editbugs 2010-09-14 13:35:12 CEST
I can confirm this. Found the same solution on my own. Gonna test further plugins and my own ones, of course.
Comment 2 Florian Rivoal editbugs 2010-10-14 17:46:30 CEST

*** This bug has been marked as a duplicate of bug 6466 ***

Bug #6622

Reported by:
Samuli Suominen
Reported on: 2010-08-09
Last modified on: 2012-01-13

People

Assignee:
Bernhard Walle
CC List:
2 users

Version

Attachments

Fix building with new xfce4-panel (1.16 KB, patch)
2010-08-09 11:00 CEST , Samuli Suominen
no flags

Additional information