i686-pc-linux-gnu-g++ -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENT RANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -pipe -o .libs/aviplay actioncfg.o main.o playercontrol.o decoder_config.o configdial og.o configdialog_impl.o -Wl,-rpath -Wl,/usr/lib ../libavqt/.libs/libqavm.so -L /usr/qt/3/lib -lqt-mt ../lib/.libs/libaviplay.so -lz -L/usr/lib -L/usr/kde/3/lib -L/usr/X11R6/lib /usr/lib/libSDL.so -lartsc /usr/lib/libesd.so /usr/lib/libaudi ofile.so -lm /usr/lib/libasound.so -lvga -lpthread -lSM -lICE -lXinerama -lXv -l Xrender -lXft -lXxf86vm -lXxf86dga -lXi -lXext -lX11 -lnsl -ldl ../lib/.libs/libaviplay.so: undefined reference to `audio_init' collect2: ld returned 1 exit status make[1]: *** [aviplay] Error 1 make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.29.20030204/work/avifil e0.7-0.7.29/player' make: *** [all-recursive] Error 1 !!! ERROR: media-video/avifile-0.7.29.20030204 failed. !!! Function src_compile, Line 142, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Note this is a different error to: http://bugs.gentoo.org/show_bug.cgi?id=15248
Forcing --enable-oss as when diabled the build will fail as you experienced.
Will this fix work if the user hasn't installed OSS though? Will this force the installation of OSS?
No this will not...
Thanks. I did an 'emerge sync' and then retried and success!