! 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 !
compiling xfce-time-out-plugin doesn't work with LDFLAGS=--as-needed
Status:
RESOLVED: FIXED
Product:
Xfce4-time-out-plugin
Component:
General

Comments

Description Harold Aling 2007-07-02 19:07:59 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20061201 Firefox/2.0.0.4 (Ubuntu-feisty)
Build Identifier: 

Compiling the xfce-time-out-plugin from SVN with LDFLAGS=--as-needed doesn't work and output lots of stuff like:

$LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed -s" make

...

xfce4_time_out_plugin-time-out-countdown.o: In function `time_out_countdown_seconds_to_string':
time-out-countdown.c:(.text+0x13): undefined reference to `g_string_sized_new'
time-out-countdown.c:(.text+0xdd): undefined reference to `g_string_printf'
etc, etc...

Changing

xfce4_time_out_plugin_LDFLAGS =

to

xfce4_time_out_plugin_LDADD =

in panel-plugin/Makefile.am fixes this...


Or am I wrong about this???


Cheers!

-H-

Reproducible: Always

Steps to Reproduce:
Comment 1 Harold Aling 2007-07-06 20:01:41 CEST
"Committed fix in revision 2890.

Nick"

Thank you Nick!

Bug #3368

Reported by:
Harold Aling
Reported on: 2007-07-02
Last modified on: 2010-10-28

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
0.1.1 or older
Target Milestone:
0.1.1 or older

Attachments

Additional information