! 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 !
Fix xfce4-systemload-0.4 to compile with -Wl,--as-needed [PATCH]
Status:
RESOLVED: INVALID
Product:
Xfce4-systemload-plugin
Component:
General

Comments

Description Samuli Suominen 2007-01-10 15:19:55 CET
Patch to fix building with LDFLAGS="-Wl,--as-needed" is at,

http://bugs.gentoo.org/attachment.cgi?id=105767

Actual problem,

Generating and caching the translation database
i686-pc-linux-gnu-gcc  -O2 -march=athlon-xp -pipe  -Wl,-O1,--as-needed -o
xfce4-systemload-plugin -lxfce4panel -lxfcegui4 -lgtk-x11-2.0 -lxfce4util
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0
-lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
xfce4_systemload_plugin-systemload.o xfce4_systemload_plugin-uptime.o
xfce4_systemload_plugin-memswap.o xfce4_systemload_plugin-cpu.o  
WARNING: ../po/nl.po is not in UTF-8 but ISO-8859-1, converting...
xfce4_systemload_plugin-systemload.o: In function `main':
systemload.c:(.text+0x1f): undefined reference to `gtk_init'
systemload.c:(.text+0x38): undefined reference to
`xfce_external_panel_plugin_new'
systemload.c:(.text+0x73): undefined reference to `g_signal_connect_data'
systemload.c:(.text+0x7b): undefined reference to `gtk_widget_show'
systemload.c:(.text+0x80): undefined reference to `gtk_main'
xfce4_systemload_plugin-systemload.o: In function `monitor_create_options':

Output supressed.

Ta, Samuli
Comment 1 Nick Schermer editbugs 2007-01-12 17:04:28 CET
This is already fixed in trunk.

Bug #2734

Reported by:
Samuli Suominen
Reported on: 2007-01-10
Last modified on: 2010-10-28

People

Assignee:
Xfce-Goodies Maintainers
CC List:
1 user

Version

Version:
0.4.2 or older

Attachments

Additional information