Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 76313

Summary: xine-lib 1.0 fails to compile - libstdc++.la missing
Product: Gentoo Linux Reporter: Dean Pierce <piercede>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: normal CC: vapier
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dean Pierce 2005-01-01 09:15:00 UTC
when compiling xine-lib, the compile fails saying that it cannot find libstdc++.la

Reproducible: Always
Steps to Reproduce:
1. emerge xine-lib

Actual Results:  
The compile fails with 

/bin/sh ../../libtool-nofpic --mode=link i686-pc-linux-gnu-gcc
-I/usr/X11R6/include -DXINE_COMPILE  -I/usr/include/SDL -D_REENTRANT
-I../../src/video_out/vidix -I../../src/video_out/vidix -I/usr/include   
-I/usr/include/ -mcpu=athlon -O3 -pipe -fomit-frame-pointer -falign-functions=4
-falign-loops=4 -falign-jumps=4  -mpreferred-stack-boundary=2
-fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math
-funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -DXINE_COMPILE  -Wnested-externs -Wcast-align
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -DENABLE_IPV6
-march=athlon-xp -O2 -pipe -frename-registers -mno-sse2 -mno-sse3
-ffunction-sections   -o xineplug_vo_out_sdl.la -rpath
/usr/lib/xine/plugins/1.0.0 -avoid-version -module  alphablend.lo
video_out_sdl.lo -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
../../src/xine-engine/libxine.la 
grep: /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libstdc++.la: No such
file or directory
libtool-nofpic: link: `/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libstdc++.la' is not
a valid libtool archive
make[4]: *** [xineplug_vo_out_sdl.la] Error 1
make[4]: Leaving directory
`/var/tmp/portage/xine-lib-1.0/work/xine-lib-1.0/src/video_out'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/xine-lib-1.0/work/xine-lib-1.0/src/video_out'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1.0/work/xine-lib-1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1.0/work/xine-lib-1.0'
make: *** [all] Error 2

!!! ERROR: media-libs/xine-lib-1.0 failed.
!!! Function src_compile, Line 226, Exitcode 2
!!! Parallel make failed
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
successful compilation and installation of xine-lib-1.0

caliban deanalator # emerge info
Portage 2.0.51-r8 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20041102-r0,
2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 AMD Athlon(TM) XP 2200+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jun 27 2004, 21:21:12)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.4.22, 2.4.19-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acl alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dba
dvd encode esd fam flac foomaticdb fortran gd gd-external gdbm gif gnome gpm gtk
gtk2 guile imlib ipv6 java jpeg junit kde libwww mad mikmod motif mpeg mysql
ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline ruby sdl slang spell ssl svga tcltk tcpd tetex threads tiff truetype
unicode xml xml2 xmms xv zlib"
Comment 1 Chris White (RETIRED) gentoo-dev 2005-01-01 11:09:54 UTC
Vapier,

  IIRC you know the answer to this.. I just forgot what it was.  I believe it's "gcc-config and it will all be ok".  Just making sure though...
Comment 2 SpanKY gentoo-dev 2005-01-01 12:14:11 UTC

*** This bug has been marked as a duplicate of 73435 ***