Works fine hereinfirit wrote: Apps that do NOT work:
app-text/gpdf-2.10.0
Works fine hereinfirit wrote: Apps that do NOT work:
app-text/gpdf-2.10.0
I build my system from scratch with --as-needed and ths is what I got. Without --as-needed it compiles.pussi wrote:Works fine hereinfirit wrote: Apps that do NOT work:
app-text/gpdf-2.10.0
Code: Select all
../../goo/libGoo.a(gfile.o): In function `openTempFile(GString**, _IO_FILE**, char*, char*)':
gfile.cc:(.text+0x4ba): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
../libgpdf.a(gpdf-control.o): In function `gpdf_control_private_status_timeout':gpdf-control.cc:(.text+0x120): undefined reference to `gnome_appbar_clear_stack'../libgpdf.a(gpdf-control.o): In function `gpdf_control_private_push':
gpdf-control.cc:(.text+0x205): undefined reference to `gnome_appbar_push'
../libgpdf.a(gpdf-control.o): In function `gpdf_control_print_job_print':
gpdf-control.cc:(.text+0x181f): undefined reference to `gnome_print_job_set_file'
gpdf-control.cc:(.text+0x1828): undefined reference to `gnome_print_job_get_config'
gpdf-control.cc:(.text+0x183d): undefined reference to `gnome_print_config_get_page_size'
gpdf-control.cc:(.text+0x184f): undefined reference to `gnome_print_config_get_boolean'
gpdf-control.cc:(.text+0x1899): undefined reference to `glade_xml_new'
gpdf-control.cc:(.text+0x18a4): undefined reference to `glade_xml_signal_autoconnect'
gpdf-control.cc:(.text+0x18b1): undefined reference to `glade_xml_get_widget'
gpdf-control.cc:(.text+0x18ca): undefined reference to `glade_xml_get_widget'
gpdf-control.cc:(.text+0x18ee): undefined reference to `glade_xml_get_widget'
gpdf-control.cc:(.text+0x190a): undefined reference to `glade_xml_get_widget'
gpdf-control.cc:(.text+0x1a29): undefined reference to `gnome_print_job_print'
../libgpdf.a(gpdf-control.o): In function `gpdf_control_print':
gpdf-control.cc:(.text+0x1aa5): undefined reference to `gnome_print_config_default'
gpdf-control.cc:(.text+0x1ab0): undefined reference to `gnome_print_job_new'
gpdf-control.cc:(.text+0x1ad3): undefined reference to `gnome_print_dialog_new'
gpdf-control.cc:(.text+0x1b08): undefined reference to `gnome_print_dialog_get_type'
gpdf-control.cc:(.text+0x1b2d): undefined reference to `gnome_print_dialog_construct_range_page'
gpdf-control.cc:(.text+0x1bdb): undefined reference to `gnome_print_config_get'
gpdf-control.cc:(.text+0x1beb): undefined reference to `gnome_print_config_get'
gpdf-control.cc:(.text+0x1c17): undefined reference to `gnome_print_config_get'
gpdf-control.cc:(.text+0x1c9e): undefined reference to `gnome_print_dialog_get_type'
gpdf-control.cc:(.text+0x1cc0): undefined reference to `gnome_print_dialog_get_range'
gpdf-control.cc:(.text+0x1d0a): undefined reference to `gnome_print_job_get_config'
gpdf-control.cc:(.text+0x1d17): undefined reference to `gnome_print_config_get'
gpdf-control.cc:(.text+0x1d28): undefined reference to `gnome_print_job_get_config'
gpdf-control.cc:(.text+0x1d38): undefined reference to `gnome_print_config_set'
gpdf-control.cc:(.text+0x1e24): undefined reference to `gnome_print_dialog_get_range_page'
../libgpdf.a(gpdf-control.o): In function `gpdf_control_constructor':
gpdf-control.cc:(.text+0x4c0f): undefined reference to `gnome_appbar_new'
gpdf-control.cc:(.text+0x4c28): undefined reference to `gnome_appbar_get_type'
gpdf-control.cc:(.text+0x4c52): undefined reference to `gnome_appbar_get_progress'
../libgpdf.a(gpdf-control.o): In function `gpdf_control_private_set_status':
gpdf-control.cc:(.text+0x9a): undefined reference to `gnome_appbar_set_status'
../libgpdf.a(gpdf-control.o): In function `gpdf_control_private_pop':
gpdf-control.cc:(.text+0x2fa): undefined reference to `gnome_appbar_pop'
../libgpdf.a(gpdf-control.o): In function `gpdf_control_private_clear_stack':
gpdf-control.cc:(.text+0x35a): undefined reference to `gnome_appbar_clear_stack'../libgpdf.a(gpdf-control.o): In function `gpdf_control_private_refresh':
gpdf-control.cc:(.text+0x53a): undefined reference to `gnome_appbar_refresh'
../libgpdf.a(gpdf-view.o): In function `gpdf_view_render_page':
gpdf-view.cc:(.text+0x185e): undefined reference to `gnome_print_config_default'gpdf-view.cc:(.text+0x1887): undefined reference to `gnome_print_preview_new_full'
gpdf-view.cc:(.text+0x1893): undefined reference to `gnome_print_config_unref'
../libgpdf.a(gpdf-bookmarks-view.o): In function `gpdf_bookmarks_view_get_tools_menu':
gpdf-bookmarks-view.cc:(.text+0x2137): undefined reference to `gnome_app_fill_menu_with_data'
../libgpdf.a(pdf-properties-display.o): In function `gpdf_properties_display_set_label_text':
pdf-properties-display.c:(.text+0xa0): undefined reference to `glade_xml_get_widget'
../libgpdf.a(pdf-properties-display.o): In function `gpdf_properties_display_instance_init':
pdf-properties-display.c:(.text+0x6f1): undefined reference to `glade_xml_new'
pdf-properties-display.c:(.text+0x70b): undefined reference to `glade_xml_get_widget'
pdf-properties-display.c:(.text+0x723): undefined reference to `glade_xml_get_widget'
../libgpdf.a(GPOutputDev.o): In function `GPOFontMap::initBase14Fonts()':
GPOutputDev.cc:(.text+0x138): undefined reference to `gnome_font_face_find'
../libgpdf.a(GPOutputDev.o): In function `GPOFontMap::getFontFaceBase14(GfxFont*)':
GPOutputDev.cc:(.text+0x1ab): undefined reference to `gnome_font_face_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOFontMap::getFontFaceEmbedded(GfxFont*)':
GPOutputDev.cc:(.text+0x7d8): undefined reference to `gnome_font_face_load'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::startPage(int, GfxState*)':
GPOutputDev.cc:(.text+0xbf6): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::endPage()':
GPOutputDev.cc:(.text+0xc75): undefined reference to `gnome_print_showpage'
GPOutputDev.cc:(.text+0xc92): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::saveState(GfxState*)':
GPOutputDev.cc:(.text+0xd38): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::restoreState(GfxState*)':GPOutputDev.cc:(.text+0xdc1): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateCTM(GfxState*, double, double, double, double, double, double)':
GPOutputDev.cc:(.text+0xe73): undefined reference to `gnome_print_concat'
GPOutputDev.cc:(.text+0xe91): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateLineDash(GfxState*)':
GPOutputDev.cc:(.text+0xf13): undefined reference to `gnome_print_setdash'
GPOutputDev.cc:(.text+0xf31): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateLineJoin(GfxState*)':
GPOutputDev.cc:(.text+0xfc1): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateLineCap(GfxState*)':
GPOutputDev.cc:(.text+0x1061): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateMiterLimit(GfxState*)':
GPOutputDev.cc:(.text+0x1101): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateLineWidth(GfxState*)':
GPOutputDev.cc:(.text+0x11a1): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateFillColor(GfxState*)':
GPOutputDev.cc:(.text+0x125e): undefined reference to `gnome_print_setrgbcolor'
GPOutputDev.cc:(.text+0x1271): undefined reference to `gnome_print_setopacity'
GPOutputDev.cc:(.text+0x1291): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateStrokeColor(GfxState*)':
GPOutputDev.cc:(.text+0x1381): undefined reference to `gnome_print_setrgbcolor'
GPOutputDev.cc:(.text+0x1394): undefined reference to `gnome_print_setopacity'
GPOutputDev.cc:(.text+0x13b1): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateFont(GfxState*)':
GPOutputDev.cc:(.text+0x147d): undefined reference to `gnome_font_face_get_font_default'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::doPath(GfxPath*)':
GPOutputDev.cc:(.text+0x1593): undefined reference to `gnome_print_newpath'
GPOutputDev.cc:(.text+0x15cb): undefined reference to `gnome_print_moveto'
GPOutputDev.cc:(.text+0x161f): undefined reference to `gnome_print_curveto'
GPOutputDev.cc:(.text+0x166b): undefined reference to `gnome_print_lineto'
GPOutputDev.cc:(.text+0x167d): undefined reference to `gnome_print_closepath'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::stroke(GfxState*)':
GPOutputDev.cc:(.text+0x16f1): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::fill(GfxState*)':
GPOutputDev.cc:(.text+0x17a1): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::eoFill(GfxState*)':
GPOutputDev.cc:(.text+0x1851): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::clip(GfxState*)':
GPOutputDev.cc:(.text+0x18f4): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::eoClip(GfxState*)':
GPOutputDev.cc:(.text+0x1994): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o):GPOutputDev.cc:(.text+0x1a91): more undefined references to `gnome_print_context_get_type' follow
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::drawString(GfxState*, GString*)':
GPOutputDev.cc:(.text+0x1ac4): undefined reference to `gnome_print_gsave'
GPOutputDev.cc:(.text+0x1b58): undefined reference to `gnome_print_concat'
GPOutputDev.cc:(.text+0x1b71): undefined reference to `gnome_print_moveto'
GPOutputDev.cc:(.text+0x1b76): undefined reference to `gnome_glyphlist_new'
GPOutputDev.cc:(.text+0x1b8a): undefined reference to `gnome_glyphlist_font'
GPOutputDev.cc:(.text+0x1c17): undefined reference to `gnome_glyphlist_color'
GPOutputDev.cc:(.text+0x1c23): undefined reference to `gnome_glyphlist_advance'
GPOutputDev.cc:(.text+0x1c3a): undefined reference to `gnome_glyphlist_rmoveto'
GPOutputDev.cc:(.text+0x1c6c): undefined reference to `gnome_font_lookup_default'
GPOutputDev.cc:(.text+0x1c7b): undefined reference to `gnome_glyphlist_glyph'
GPOutputDev.cc:(.text+0x1c91): undefined reference to `gnome_glyphlist_rmoveto'
GPOutputDev.cc:(.text+0x1e2e): undefined reference to `gnome_print_glyphlist'
GPOutputDev.cc:(.text+0x1e38): undefined reference to `gnome_glyphlist_unref'
GPOutputDev.cc:(.text+0x1e41): undefined reference to `gnome_print_grestore'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::drawImageMask(GfxState*, Object*, Stream*, int, int, int, int)':
GPOutputDev.cc:(.text+0x2027): undefined reference to `gnome_print_rgbaimage'
GPOutputDev.cc:(.text+0x205b): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int*, int)':
GPOutputDev.cc:(.text+0x21f3): undefined reference to `gnome_print_rgbimage'
GPOutputDev.cc:(.text+0x2227): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOFontMap::getFontFaceFallback(GfxFont*)':
GPOutputDev.cc:(.text+0x39d): undefined reference to `gnome_font_face_find'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::startPage(int, GfxState*)':
GPOutputDev.cc:(.text+0xbf1): undefined reference to `gnome_print_beginpage'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::saveState(GfxState*)':
GPOutputDev.cc:(.text+0xd33): undefined reference to `gnome_print_gsave'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::restoreState(GfxState*)':GPOutputDev.cc:(.text+0xdb7): undefined reference to `gnome_print_grestore'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateLineJoin(GfxState*)':
GPOutputDev.cc:(.text+0xfb7): undefined reference to `gnome_print_setlinejoin'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateLineCap(GfxState*)':
GPOutputDev.cc:(.text+0x1057): undefined reference to `gnome_print_setlinecap'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateMiterLimit(GfxState*)':
GPOutputDev.cc:(.text+0x10f9): undefined reference to `gnome_print_setmiterlimit'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateLineWidth(GfxState*)':
GPOutputDev.cc:(.text+0x1199): undefined reference to `gnome_print_setlinewidth'../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::stroke(GfxState*)':
GPOutputDev.cc:(.text+0x16ea): undefined reference to `gnome_print_stroke'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::fill(GfxState*)':
GPOutputDev.cc:(.text+0x179a): undefined reference to `gnome_print_fill'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::eoFill(GfxState*)':
GPOutputDev.cc:(.text+0x184a): undefined reference to `gnome_print_eofill'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::clip(GfxState*)':
GPOutputDev.cc:(.text+0x18ef): undefined reference to `gnome_print_clip'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::eoClip(GfxState*)':
GPOutputDev.cc:(.text+0x198f): undefined reference to `gnome_print_eoclip'
../libgpdf.a(gpdf-font-face.o): In function `gpdf_font_face_get_type':
gpdf-font-face.c:(.text+0x56): undefined reference to `gnome_font_face_get_type'../libgpdf.a(gpdf-font-face.o): In function `gpdf_font_face_download':
gpdf-font-face.c:(.text+0x3cf): undefined reference to `gp_font_entry_ref'
gpdf-font-face.c:(.text+0x3d4): undefined reference to `gnome_font_face_get_type'
gpdf-font-face.c:(.text+0x3e8): undefined reference to `gnome_font_face_get_type'
collect2: ld returned 1 exit status
make[4]: *** [test-gpdf-control] Error 1
make[4]: Leaving directory `/var/tmp/portage/gpdf-2.10.0/work/gpdf-2.10.0/xpdf/tests'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gpdf-2.10.0/work/gpdf-2.10.0/xpdf'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gpdf-2.10.0/work/gpdf-2.10.0/xpdf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gpdf-2.10.0/work/gpdf-2.10.0'
make: *** [all] Error 2
!!! ERROR: app-text/gpdf-2.10.0 failed.
!!! Function gnome2_src_compile, Line 41, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.Code: Select all
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 internal error, aborting at /usr/portage/tmp/portage/binutils-2.16.1/work/binutils-2.16.1/bfd/elflink.c line 6437 in elf_link_output_extsym
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: Please report this bug.
collect2: ld returned 1 exit status
make[5]: *** [wxcas] Error 1
make[5]: Leaving directory `/usr/portage/tmp/portage/amule-2.0.1/work/aMule-2.0.1/src/utils/wxCas/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/portage/tmp/portage/amule-2.0.1/work/aMule-2.0.1/src/utils/wxCas'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/portage/tmp/portage/amule-2.0.1/work/aMule-2.0.1/src/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/portage/tmp/portage/amule-2.0.1/work/aMule-2.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/portage/tmp/portage/amule-2.0.1/work/aMule-2.0.1'
make: *** [all] Error 2
!!! ERROR: net-p2p/amule-2.0.1 failed.
!!! Function src_compile, Line 62, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Code: Select all
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11-morph11 i686)
=================================================================
System uname: 2.6.11-morph11 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python: 2.4.1-r1
sys-apps/sandbox: 1.2.9
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.18
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -ftracer -pipe -momit-leaf-frame-pointer -fomit-frame-pointer -fno-ident -ffast-math -fprefetch-loop-arrays -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -ftracer -pipe -momit-leaf-frame-pointer -fomit-frame-pointer -fno-ident -ffast-math -fprefetch-loop-arrays -fforce-addr -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache digest distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://mirror.gentoo.no/ http://mirror.pudas.net/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.aiya.ru/pub/gentoo/"
LANG="nb_NO"
LC_ALL="nb_NO"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--relax"
LINGUAS="no"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/portage/tmp"
PORTDIR="/usr/portage/tree"
PORTDIR_OVERLAY="/usr/local/overlays/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib alsa apache2 asm avi bash-completion berkdb bitmap-fonts cdr crypt curl encode fbcon flac fortran gd gdbm gif gpm gtk2 imlib jpeg kdeenablefinal libg++ libwww mad mbox mmx motif mp3 mpeg mysql ncurses nls nptl ogg oggvorbis opengl pcre pdflib perl pic png python readline sse ssl tcpd tiff truetype truetype-fonts type1-fonts vhosts vorbis xml2 xv zlib video_cards_radeon linguas_no alsa_cards_ens1371 input_drivers_ps2mouse"
Unset: ASFLAGS, CTARGET
can everyone, for sake of completeness, post the errors they get as well. These could help binutils folks find and fix bugs with --as-needed. thanks.123ichi wrote:net-p2p/amule-2.0.1 failed for me.
LDFLAGS=" -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--relax"
Using binutils-2.16.1, gcc-3.4.4 and glibc-2.3.5.
Have had a few problems with binutils, but I haven't tried --as-needed with older versions of binutils, so I don't know whether or not binutils is the culprit in this case.
However I did try to remove the other LDFLAGS one by one, while keeping --as-needed, as I thought it might be a problem with conflicting LDFLAGS, but that didn't help.
And yes, amule did compile without any problems whatsoever without the --as-needed flag.
Code: Select all
.libs/libobrender.so: undefined reference to `parse_xdg_data_dir_paths'
collect2: ld returned 1 exit status
make[1]: *** [render/rendertest] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/usr/portage/tmp/portage/openbox-3.3_rc1-r2/work/openbox-3.3-rc1'
make: *** [all-recursive] Error 1
!!! ERROR: x11-wm/openbox-3.3_rc1-r2 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message
Code: Select all
...
checking size of short... configure: error: cannot compute sizeof (short), 77
....
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
binutils-2.16.1 works fine for me. Anybody with errors?devsk wrote:can everyone, for sake of completeness, post the errors they get as well. These could help binutils folks find and fix bugs with --as-needed. thanks.
Thanks added.123ichi wrote:net-p2p/ctorrent fails, as it can't find openssl.
x11-wm/openbox-3.3_rc1-r2 fails with:Code: Select all
.libs/libobrender.so: undefined reference to `parse_xdg_data_dir_paths' collect2: ld returned 1 exit status make[1]: *** [render/rendertest] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/usr/portage/tmp/portage/openbox-3.3_rc1-r2/work/openbox-3.3-rc1' make: *** [all-recursive] Error 1 !!! ERROR: x11-wm/openbox-3.3_rc1-r2 failed. !!! Function src_compile, Line 42, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message
Afaik this is not an --as-needed error. Also works for me....123ichi wrote: x11-terms/rxvt-unicode-5.3 fails withCode: Select all
... checking size of short... configure: error: cannot compute sizeof (short), 77 .... !!! Function econf, Line 485, Exitcode 0 !!! econf failed
Dont het me wrong all feedback is appriciated123ichi wrote:Well, I only get that message with rxvt-unicode when I have --as-needed enabled, even if I remove all the other ldflags.
But you probably know a lot more about these things than I do, as I'm merely a novice.
The glibc thing was just for those who, like me, didn't understand why the compile failed and because of that might me misled to believe that --as-needed breaks glibc (again, like I did).
I'm trying to reproduce the problems you have with the wx widget packages.... I'll check the version I have installed against yours.123ichi wrote:x11-libs/wxGTK-2.6.0-r1, dev-python/wxpython-2.6.0.0-r1, sys-apps/parted-1.6.22 and dev-db/mysql-4.0.24-r1, also fails. I don't have the logs for these, sorry.
n0rbi666 wrote:net-im/tleenx2 - does not work with --as-needed enabled, without - it compiles ok
Thanks addedRainmaker wrote:initng does not work with --as-needed enabled. Could you add it to the list?

Code: Select all
if useq kdeenablefinal; thenuseq is the quiet one, usev is the verbose one, use is same as useq atm.HardenCoonor wrote: BTW, has anybody noticed that in kde.eclass the option kdeenablefinal is interpreted by useq instead of use?
Is the use of "useq" correct? Or is it an error? Since it is in there for quite some time now, i guess it is correct. I have to apologise, i did not check it.Code: Select all
if useq kdeenablefinal; then
Thanks, anyone have a version that does not work?n0rbi666 wrote:net-p2p/amule-2.0.1 - works for me
Thanks, I do not have samba installed so if anyone still has problems..... else I will remove it from the list.n0rbi666 wrote:net-fs/samba-3.0.14a-r1 - works for me
beep-media-player will compile but will not start for me. It will spawn the following errorn0rbi666 wrote:media-sound/beep-media-player-0.9.7-r6 - works for me
Code: Select all
beep-media-player: symbol lookup error: /usr/lib/libbeep.so.2: undefined symbol: gconf_client_get_defaultThese also do not work for me, I thought i had them working but I was wrong. Thanks for the reportinfirit wrote:I'm trying to reproduce the problems you have with the wx widget packages.... I'll check the version I have installed against yours.123ichi wrote:x11-libs/wxGTK-2.6.0-r1, dev-python/wxpython-2.6.0.0-r1, sys-apps/parted-1.6.22 and dev-db/mysql-4.0.24-r1, also fails. I don't have the logs for these, sorry.
It works for me without any problem, now I'm using it and it plays very goodinfirit wrote:beep-media-player will compile but will not start for me. It will spawn the following errorn0rbi666 wrote:media-sound/beep-media-player-0.9.7-r6 - works for meDoes it run for you?Code: Select all
beep-media-player: symbol lookup error: /usr/lib/libbeep.so.2: undefined symbol: gconf_client_get_default
Code: Select all
LDFLAGS="$LDFLAGS -Wl,--as-needed"Code: Select all
emerge gnome-light gdmCode: Select all
i686-pc-linux-gnu-gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse,387 -ffast-math -Wl,-O9 -Wl,--enable-new-dtags -Wl,--sort-common -s -Wl,--as-needed -o .libs/clock-applet clock.o calendar-client.o calendar-sources.o -Wl,--export-dynamic -pthread ../../libpanel-applet/.libs/libpanel-applet-2.so -L/usr/lib /usr/lib/libglade-2.0.so /usr/lib/libgnomeui-2.so /usr/lib/libgnome-keyring.so /usr/lib/libjpeg.so /usr/lib/libbonoboui-2.so -lSM -lICE -lX11 /usr/lib/libgnomecanvas-2.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libecal-1.2.so -L/usr/lib/mozilla /usr/lib/libedataserver-1.2.so -lplc4 -lplds4 -lnspr4 /usr/lib/libgnome-2.so /usr/lib/libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so /usr/lib/libgnomevfs-2.so /usr/lib/libxml2.so -lz -lssl -lcrypto -lresolv -lrt /usr/lib/libbonobo-2.so /usr/lib/libgconf-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lplc4
collect2: ld returned 1 exit status
make[3]: *** [clock-applet] Fout 1
make[3]: Leaving directory `/var/tmp/portage/gnome-panel-2.10.2/work/gnome-panel-2.10.2/applets/clock'
make[2]: *** [all-recursive] Fout 1
make[2]: Leaving directory `/var/tmp/portage/gnome-panel-2.10.2/work/gnome-panel-2.10.2/applets'
make[1]: *** [all-recursive] Fout 1
make[1]: Leaving directory `/var/tmp/portage/gnome-panel-2.10.2/work/gnome-panel-2.10.2'
make: *** [all] Fout 2Code: Select all
ld: cannot find -lplc4