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 -lartsc /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm -lvga /usr/lib/libaa.so -lSM -lICE -lXxf86dga -lXxf86vm -lXi -lXft -lXv -lXext -lX11 -lpthread -lnsl -ldl -Wl,-soname -Wl,libaviplay-0.7.so.0 -o .libs/libaviplay-0.7.so.0.0.15 /usr/i686-pc-linux-gnu/bin/ld: cannot find -lartsc collect2: ld returned 1 exit status make[2]: *** [libaviplay.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.15.20020816-r1/work/avifile0.7-0.7.15/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.15.20020816-r1/work/avifile0.7-0.7.15/lib' make: *** [all-recursive] Error 1 !!! ERROR: media-video/avifile-0.7.15.20020816-r1 failed. !!! Function src_compile, Line -222, Exitcode 2 !!! (no error message)
you have something which expects to be linked against arts (the kde sound system). This implies that you, at one time, had arts installed on your system. You have two ways to go with this: one, remerge arts; or two, find out what is linking against the missing arts, and remerge that so that it doesn't anymore.
*** Bug 15159 has been marked as a duplicate of this bug. ***