Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15057 - Error compiling mpeg2dec and libdv
Summary: Error compiling mpeg2dec and libdv
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-03 13:20 UTC by Alcino Dall Igna Junior
Modified: 2003-02-08 17:32 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 Alcino Dall Igna Junior 2003-02-03 13:20:41 UTC
(cd .libs && rm -f libcpuaccel.la && ln -s ../libcpuaccel.la libcpuaccel.la)
/bin/sh ../libtool --mode=link gcc  -march=i686 -pipe -fomit-frame-pointer  -O3
-fomit-frame-pointer -Wall -Werror   -o mpeg2dec  mpeg2dec.o getopt.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              
 libcpuaccel.la
gcc -march=i686 -pipe -fomit-frame-pointer -O3 -fomit-frame-pointer -Wall
-Werror -o .libs/mpeg2dec mpeg2dec.o getopt.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 -L/usr/kde/3/lib -lartsc /usr/lib/libesd.so
/usr/lib/libaudiofile.so -lm /usr/lib/libasound.so -lX11 -lXext -lggi
/usr/lib/libgii.so /usr/lib/libgg.so -lvga /usr/lib/libaa.so -ldl -lpthread
./.libs/libcpuaccel.so
/usr/i686-pc-linux-gnu/bin/ld: cannot find -lartsc
collect2: ld returned 1 exit status
make[1]: *** [mpeg2dec] Error 1
make[1]: Leaving directory
`/var1/tmp/portage/libmpeg2-0.2.1/work/mpeg2dec-0.2.1/src'
make: *** [all-recursive] Error 1

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

====================================================
The same error appears when compiling libdv. I don't know for what I need libdv
or mpeg2dec, both appear when trying to emerge gnome 2.2_rc2, and have no idea
who provides libartsc.

Ideas?

Reproducible: Always
Steps to Reproduce:
1.set arch to ~x86
2.emerge gnome -bp
3.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-02-04 13:20:54 UTC
did you at one time have kde stuffs installed? because it seems to expect to find arts (the kde sound server) easiest fix, install arts.  Otherwise, adjust your USE settings and find out what is still linking to arts.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-02-06 17:10:55 UTC
well?
Comment 3 Alcino Dall Igna Junior 2003-02-08 17:32:51 UTC
Sorry not answering before, my box becomes a mess when I emerge xfree-4.2.99 and 
gnome2.2. The problem disappear, but why there were no dependency in the ebuild? 
Any way I had arts installed before the error, so this wasn't the cause.