[Goodies-dev] [Bug 2461] New: Unable to compile with ldflag: --as-needed
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Sun Oct 22 14:49:04 CEST 2006
Do not reply to this email. To comment on this bug, please visit:
http://bugzilla.xfce.org/show_bug.cgi?id=2461
Summary: Unable to compile with ldflag: --as-needed
Product: Xfce Panel Plugins
Version: unspecified
Platform: PC (x86)
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: Medium
Component: systemload
AssignedTo: goodies-dev at xfce.org
ReportedBy: genthree at gmail.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1)
Gecko/20060601 Firefox/2.0 (Ubuntu-edgy)
Build Identifier:
A while aso I read somewhere that if I compile with --as-needed in the ldflags,
apps link much less libraries so they will start faster...
I completely compiled Xfce from svn using these linker flags: "-Wl,-O1
-Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed -s";
All built just fine, except for the systemload plugin...
Reproducible: Always
Steps to Reproduce:
1. use these ldflags: "-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common
-Wl,--as-needed -s"
2. compile xfce4-systemload-plugin
3. unable to complete the compile
Actual Results:
~500 lines like these:
xfce4_systemload_plugin-systemload.o: In function `main':
systemload.c:(.text+0x1c): undefined reference to `gtk_init'
systemload.c:(.text+0x35): undefined reference to
`xfce_external_panel_plugin_new'
systemload.c:(.text+0x6b): undefined reference to `g_signal_connect_data'
...
--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Goodies-dev
mailing list