Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15612 - libmpeg2 compilation failed
Summary: libmpeg2 compilation failed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
Depends on:
Reported: 2003-02-13 01:41 UTC by Leonid Kabanov
Modified: 2003-04-28 06:29 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kabanov 2003-02-13 01:41:32 UTC
libmpeg2 failed to compile with arts installed.

Reproducible: Always
Steps to Reproduce:
1. emerge libmpeg2

Actual Results:  
Making all in doc
make[1]: Entering directory
/bin/sh ../libtool --mode=link gcc  -march=pentium3  -pipe -fomit-frame-pointer
-falign-functions=4 -Wall -O3 -fomit-frame-pointer   -o sample2  sample2.o
../libmpeg2/ ../libvo/libvo.a   -lSM -lICE  -L/usr/X11R6/lib -lX11 
-lXext -lXv -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
gcc -march=pentium3 -pipe -fomit-frame-pointer -falign-functions=4 -Wall -O3
-fomit-frame-pointer -o .libs/sample2 sample2.o -Wl,-rpath -Wl,/usr/lib 
../libmpeg2/.libs/ ../libvo/libvo.a -lSM -lICE -L/usr/X11R6/lib -lXv
-L/usr/lib /usr/lib/ /usr/lib/ -L/usr/kde/3/lib -lartsc
/usr/lib/ /usr/lib/ -lm -lX11 -lXext -lvga -ldl -lpthread
cannot find -lartsc
collect2: ld returned 1 exit status
make[1]: *** [sample2] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/doc'
make: *** [all-recursive] Ошибка 1

!!! ERROR: media-libs/libmpeg2-0.3.1 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! (no error message)

LDFLAGS=-L/usr/kde/3.1/lib emerge libmpeg2
This line resolve the problem
Comment 1 Leonid Kabanov 2003-02-13 02:53:36 UTC
avifile have the same problem:

(cd . && ln -s codeckeeper.lo codeckeeper.o)
(cd . && ln -s Uncompressed.lo Uncompressed.o)
i686-pc-linux-gnu-gcc -shared  codeckeeper.lo Uncompressed.lo -Wl,--whole-archive aviplay/.libs/ aviread/.libs/ aviwrite/.libs/ common/.libs/ subtitle/.libs/ video/.libs/ -Wl,--no-whole-archive  -L/usr/X11R6/lib -L/usr/kde/3/lib -lz -L/usr/lib /usr/lib/ /usr/lib/ -lartsc /usr/lib/ /usr/lib/ -lm -lvga -lSM -lICE -lXinerama -lXv -lXrender -lXft -lXxf86vm -lXxf86dga -lXi -lXext -lX11 -lpthread -lnsl -ldl  -Wl,-soname -Wl, -o .libs/
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lartsc
collect2: ld returned 1 exit status
make[2]: *** [] Ошибка 1
make[2]: Leaving directory `/var/tmp/portage/avifile-'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/avifile-'
make: *** [all-recursive] Ошибка 1

!!! ERROR: media-video/avifile- failed.
!!! Function src_compile, Line 138, Exitcode 2
!!! (no error message)
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2003-04-23 08:54:55 UTC
horror, if you still have the problem, try to remerge sdl. Else please give a comment so we can close it
Comment 3 Leonid Kabanov 2003-04-23 19:24:19 UTC
I upgraded my hw and install gentoo 1.4rc3 with diffrent USE flags so now I cannot reproduce this. I think it could be closed.
Comment 4 Michele Balistreri (RETIRED) gentoo-dev 2003-04-28 06:29:19 UTC
the reporter is unable to reproduce this again, if someone still has this problem 
reopen this