[Goodies-dev] [Bug 2734] New: Fix xfce4-systemload-0.4 to compile with -Wl, --as-needed [PATCH]

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed Jan 10 16:19:55 CET 2007


DO NOT REPLY TO THIS EMAIL.  Also, do not reply via email to the person
whose email is mentioned below.  To comment on this bug, please visit:
http://bugzilla.xfce.org/show_bug.cgi?id=2734

           Summary: Fix xfce4-systemload-0.4 to compile with -Wl,--as-needed
                    [PATCH]
           Product: Xfce Panel Plugins
           Version: unspecified
          Platform: All
               URL: http://bugs.gentoo.org/show_bug.cgi?id=160643
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: systemload
        AssignedTo: goodies-dev at xfce.org
        ReportedBy: sasuomin at uusikaupunki.fi


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


-- 
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