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
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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: ---


Attachments

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
`/var/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/doc'
/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/libmpeg2.la ../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/libmpeg2.so ../libvo/libvo.a -lSM -lICE -L/usr/X11R6/lib -lXv
-L/usr/lib /usr/lib/libSDL.so /usr/lib/libasound.so -L/usr/kde/3/lib -lartsc
/usr/lib/libesd.so /usr/lib/libaudiofile.so -lm -lX11 -lXext -lvga -ldl -lpthread
/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[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/libaviplay.al aviread/.libs/libaviread.al aviwrite/.libs/libaviwrite.al common/.libs/libcommon.al subtitle/.libs/libsubtitle.al video/.libs/libvideo.al -Wl,--no-whole-archive  -L/usr/X11R6/lib -L/usr/kde/3/lib -lz -L/usr/lib /usr/lib/libSDL.so /usr/lib/libasound.so -lartsc /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm -lvga -lSM -lICE -lXinerama -lXv -lXrender -lXft -lXxf86vm -lXxf86dga -lXi -lXext -lX11 -lpthread -lnsl -ldl  -Wl,-soname -Wl,libaviplay-0.7.so.0 -o .libs/libaviplay-0.7.so.0.0.29
/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]: *** [libaviplay.la] Ошибка 1
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.29.20030204/work/avifile0.7-0.7.29/lib'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.29.20030204/work/avifile0.7-0.7.29/lib'
make: *** [all-recursive] Ошибка 1

!!! ERROR: media-video/avifile-0.7.29.20030204 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