Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141707 - x11-misc/trayer-1.0 fails with --as-needed
Summary: x11-misc/trayer-1.0 fails with --as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Lukasz Strzygowski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2006-07-25 07:51 UTC by Daniel Webert
Modified: 2006-07-25 13:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Webert 2006-07-25 07:51:51 UTC
x11-misc/trayer-1.0 fails with --as-needed

<snip>
[...]
gcc -mtune=i686 -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs -I/usr/i
nclude/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -c bg.c                                                                    gcc -Wl,--as-needed -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgdk_pixbuf_xlib-2.0 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -L/usr/X11R6/lib  -lXmu panel.o misc.o plugin.o gtkbar.o bg.o systray/systray.o -o trayer                                               panel.o: In function `handle_error':                                            panel.c:(.text+0x48): undefined reference to `gdk_display'                      panel.c:(.text+0x50): undefined reference to `XGetErrorText'                    panel.o: In function `open_profile':                                            panel.c:(.text+0xaf): undefined reference to `g_strdup_printf'
panel.c:(.text+0x11e): undefined reference to `g_free'
panel.c:(.text+0x137): undefined reference to `g_strdup_printf'
panel.c:(.text+0x176): undefined reference to `g_free'
panel.o: In function `panel_stop':
[...]
main.c:(.text+0x18a5): undefined reference to `gtk_box_get_type'                main.c:(.text+0x18b9): undefined reference to `g_type_check_instance_cast'      main.c:(.text+0x18d7): undefined reference to `gtk_box_pack_end'                systray/systray.o: In function `tray_destructor':
main.c:(.text+0x157f): undefined reference to `g_free'
systray/systray.o: In function `tray_added':                                    main.c:(.text+0x18e4): undefined reference to `gtk_widget_show'                 collect2: ld returned 1 exit status
make: *** [trayer] Error 1

!!! ERROR: x11-misc/trayer-1.0 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  trayer-1.0.ebuild, line 15:   Called die
</snip>
Comment 1 Lukasz Strzygowski (RETIRED) gentoo-dev 2006-07-25 13:56:15 UTC
Fixed in portage. Thanks!