Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57138 - mplayer-1.0_pre5 failed to build with matrox option
Summary: mplayer-1.0_pre5 failed to build with matrox option
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-15 01:03 UTC by Norman Yarvin
Modified: 2004-07-16 04:57 UTC (History)
0 users

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 Norman Yarvin 2004-07-15 01:03:23 UTC
In the drivers directory, mplayer-1.0_pre5 contains a Makefile updated to work with the 2.6 kernel.  So the Makefile part of the old "mga-kernel-2.6.patch" is no longer needed.  However, the matrox driver itself has not been updated, so the mga_vid.c part of the old mga-kernel-2.6.patch is still necessary.  Removing the Makefile part of the patch, and modifying the ebuild so that it applied the rest, made the ebuild work properly.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Chris White (RETIRED) gentoo-dev 2004-07-15 01:27:43 UTC
* Applying mplayer-1.0_pre5-mga-kernel-2.6.patch...                      [ ok ]

Thanks for the heads up on that btw.  Upstream was supposed to have that fixed.
I guess not :).  Patch applies with mga_vid.c as the only patch file.

Added this to cvs.  Thanks again.  Please re-open if you have further issues.
Comment 2 Matthias Muthmann 2004-07-15 10:57:14 UTC
Emerging mplayer with matrox-support and linux 2.6 doesn't work for me.
I get the following output:


 * Make completed
rm -f libpostproc.a
ar rc libpostproc.a postprocess.o
true libpostproc.a
gcc -fno-pic -nopie -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=athlon-tbird -mcpu=athlon-tbird -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -fomit-frame-pointer -fPIC -DPIC -I.. -I../.. -o postprocess_pic.o postprocess.c
In file included from postprocess.c:659:
postprocess_template.c: In function `postProcess_MMX2':
postprocess_template.c:2872: warning: use of memory input without lvalue in asm operand 4 is deprecated
postprocess_template.c:2872: warning: use of memory input without lvalue in asm operand 4 is deprecated
postprocess_template.c: In function `do_a_deblock_MMX2':
postprocess_template.c:2872: warning: use of memory input without lvalue in asm operand 4 is deprecated
gcc -fno-pic -nopie -shared -Wl,-soname,libpostproc.so.0 \
-o libpostproc.so postprocess_pic.o
matrox
grep: /lib/modules/2.6.7/build/include/linux/version.h: No such file or directory
grep: /lib/modules/2.6.7/build/include/linux/version.h: No such file or directory
grep: /lib/modules/2.6.7/build/include/linux/version.h: No such file or directory
grep: /lib/modules/2.6.7/build/include/linux/version.h: No such file or directory
make mga_vid.o mga_vid_test
grep: /lib/modules/2.6.7/build/include/linux/version.h: No such file or directory
grep: /lib/modules/2.6.7/build/include/linux/version.h: No such file or directory
grep: /lib/modules/2.6.7/build/include/linux/version.h: No such file or directory
grep: /lib/modules/2.6.7/build/include/linux/version.h: No such file or directory
make[1]: Entering directory `/var/tmp/portage/mplayer-1.0_pre5/work/MPlayer-1.0pre5/drivers'
gcc -fno-pic -nopie -O2  -D__KERNEL__  -DMODULE          -include /lib/modules/`uname -r`/build/include/linux/modversions.h -Wall -I/lib/modules/`uname -r`/build/include -I/lib/modules/`uname -r`/build/include/asm -c mga_vid.c
<command line>:138396149:49720: /lib/modules/2.6.7/build/include/linux/modversions.h: No such file or directory
In file included from /lib/modules/2.6.7/build/include/linux/capability.h:16,
                 from /lib/modules/2.6.7/build/include/linux/sched.h:7,
                 from /lib/modules/2.6.7/build/include/linux/module.h:10,
                 from mga_vid.c:43:
/lib/modules/2.6.7/build/include/linux/types.h:18: error: conflicting types for `__kernel_dev_t'
/usr/include/asm/posix_types.h:10: error: previous declaration of `__kernel_dev_t'
/lib/modules/2.6.7/build/include/linux/types.h:30: error: syntax error before "timer_t"
/lib/modules/2.6.7/build/include/linux/types.h:30: warning: type defaults to `int' in declaration of `timer_t'
/lib/modules/2.6.7/build/include/linux/types.h:30: warning: data definition has no type or storage class
/lib/modules/2.6.7/build/include/linux/types.h:31: error: syntax error before "clockid_t"
/lib/modules/2.6.7/build/include/linux/types.h:31: warning: type defaults to `int' in declaration of `clockid_t'
/lib/modules/2.6.7/build/include/linux/types.h:31: warning: data definition has no type or storage class
In file included from /lib/modules/2.6.7/build/include/linux/preempt.h:10,
                 from /lib/modules/2.6.7/build/include/linux/spinlock.h:9,
                 from /lib/modules/2.6.7/build/include/linux/capability.h:45,
                 from /lib/modules/2.6.7/build/include/linux/sched.h:7,
                 from /lib/modules/2.6.7/build/include/linux/module.h:10,
                 from mga_vid.c:43:
/lib/modules/2.6.7/build/include/linux/linkage.h:5:25: asm/linkage.h: No such file or directory
In file included from /lib/modules/2.6.7/build/include/linux/thread_info.h:20,
                 from /lib/modules/2.6.7/build/include/linux/spinlock.h:12,
                 from /lib/modules/2.6.7/build/include/linux/capability.h:45,
                 from /lib/modules/2.6.7/build/include/linux/sched.h:7,
                 from /lib/modules/2.6.7/build/include/linux/module.h:10,
                 from mga_vid.c:43:
/lib/modules/2.6.7/build/include/linux/bitops.h: In function `get_bitmask_order':
/lib/modules/2.6.7/build/include/linux/bitops.h:78: warning: implicit declaration of function `fls'
In file included from /lib/modules/2.6.7/build/include/linux/spinlock.h:12,
                 from /lib/modules/2.6.7/build/include/linux/capability.h:45,
                 from /lib/modules/2.6.7/build/include/linux/sched.h:7,
                 from /lib/modules/2.6.7/build/include/linux/module.h:10,
                 from mga_vid.c:43:
/lib/modules/2.6.7/build/include/linux/thread_info.h:21:29: asm/thread_info.h: No such file or directory
In file included from /lib/modules/2.6.7/build/include/linux/spinlock.h:12,
                 from /lib/modules/2.6.7/build/include/linux/capability.h:45,
                 from /lib/modules/2.6.7/build/include/linux/sched.h:7,
                 from /lib/modules/2.6.7/build/include/linux/module.h:10,
                 from mga_vid.c:43:
/lib/modules/2.6.7/build/include/linux/thread_info.h: In function `set_thread_flag':
/lib/modules/2.6.7/build/include/linux/thread_info.h:32: warning: implicit declaration of function `current_thread_info'
/lib/modules/2.6.7/build/include/linux/thread_info.h:32: error: invalid type argument of `->'
/lib/modules/2.6.7/build/include/linux/thread_info.h: In function `clear_thread_flag':
/lib/modules/2.6.7/build/include/linux/thread_info.h:37: error: invalid type argument of `->'
/lib/modules/2.6.7/build/include/linux/thread_info.h: In function `test_and_set_thread_flag':
/lib/modules/2.6.7/build/include/linux/thread_info.h:42: error: invalid type argument of `->'
/lib/modules/2.6.7/build/include/linux/thread_info.h: In function `test_and_clear_thread_flag':
/lib/modules/2.6.7/build/include/linux/thread_info.h:47: error: invalid type argument of `->'
/lib/modules/2.6.7/build/include/linux/thread_info.h: In function `test_thread_flag':
/lib/modules/2.6.7/build/include/linux/thread_info.h:52: error: invalid type argument of `->'
/lib/modules/2.6.7/build/include/linux/thread_info.h:52: error: invalid type argument of `->'
/lib/modules/2.6.7/build/include/linux/thread_info.h: At top level:
/lib/modules/2.6.7/build/include/linux/thread_info.h:55: warning: `struct thread_info' declared inside parameter list
/lib/modules/2.6.7/build/include/linux/thread_info.h:55: warning: its scope is only this definition or declaration, which is probably not what you want
/lib/modules/2.6.7/build/include/linux/thread_info.h: In function `set_ti_thread_flag':
/lib/modules/2.6.7/build/include/linux/thread_info.h:57: error: dereferencing pointer to incomplete type
/lib/modules/2.6.7/build/include/linux/thread_info.h: At top level:
/lib/modules/2.6.7/build/include/linux/thread_info.h:60: warning: `struct thread_info' declared inside parameter list
/lib/modules/2.6.7/build/include/linux/thread_info.h: In function `clear_ti_thread_flag':
/lib/modules/2.6.7/build/include/linux/thread_info.h:62: error: dereferencing pointer to incomplete type
/lib/modules/2.6.7/build/include/linux/thread_info.h: At top level:
/lib/modules/2.6.7/build/include/linux/thread_info.h:65: warning: `struct thread_info' declared inside parameter list
/lib/modules/2.6.7/build/include/linux/thread_info.h: In function `test_and_set_ti_thread_flag':
/lib/modules/2.6.7/build/include/linux/thread_info.h:67: error: dereferencing pointer to incomplete type
/lib/modules/2.6.7/build/include/linux/thread_info.h: At top level:
/lib/modules/2.6.7/build/include/linux/thread_info.h:70: warning: `struct thread_info' declared inside parameter list
/lib/modules/2.6.7/build/include/linux/thread_info.h: In function `test_and_clear_ti_thread_flag':
/lib/modules/2.6.7/build/include/linux/thread_info.h:72: error: dereferencing pointer to incomplete type
/lib/modules/2.6.7/build/include/linux/thread_info.h: At top level:
/lib/modules/2.6.7/build/include/linux/thread_info.h:75: warning: `struct thread_info' declared inside parameter list
/lib/modules/2.6.7/build/include/linux/thread_info.h: In function `test_ti_thread_flag':
/lib/modules/2.6.7/build/include/linux/thread_info.h:77: error: dereferencing pointer to incomplete type
/lib/modules/2.6.7/build/include/linux/thread_info.h:77: error: dereferencing pointer to incomplete type
/lib/modules/2.6.7/build/include/linux/thread_info.h: In function `set_need_resched':
/lib/modules/2.6.7/build/include/linux/thread_info.h:82: error: `TIF_NEED_RESCHED' undeclared (first use in this function)
/lib/modules/2.6.7/build/include/linux/thread_info.h:82: error: (Each undeclared identifier is reported only once
/lib/modules/2.6.7/build/include/linux/thread_info.h:82: error: for each function it appears in.)
/lib/modules/2.6.7/build/include/linux/thread_info.h: In function `clear_need_resched':
/lib/modules/2.6.7/build/include/linux/thread_info.h:87: error: `TIF_NEED_RESCHED' undeclared (first use in this function)
In file included from /lib/modules/2.6.7/build/include/linux/spinlock.h:13,
                 from /lib/modules/2.6.7/build/include/linux/capability.h:45,
                 from /lib/modules/2.6.7/build/include/linux/sched.h:7,
                 from /lib/modules/2.6.7/build/include/linux/module.h:10,
                 from mga_vid.c:43:
/lib/modules/2.6.7/build/include/linux/kernel.h:16:21: asm/bug.h: No such file or directory
In file included from /lib/modules/2.6.7/build/include/linux/spinlock.h:16,
                 from /lib/modules/2.6.7/build/include/linux/capability.h:45,
                 from /lib/modules/2.6.7/build/include/linux/sched.h:7,
                 from /lib/modules/2.6.7/build/include/linux/module.h:10,
                 from mga_vid.c:43:
/usr/include/asm/processor.h: At top level:
/usr/include/asm/processor.h:75: error: `CONFIG_NR_CPUS' undeclared here (not in a function)
In file included from /lib/modules/2.6.7/build/include/linux/capability.h:45,
                 from /lib/modules/2.6.7/build/include/linux/sched.h:7,
                 from /lib/modules/2.6.7/build/include/linux/module.h:10,
                 from mga_vid.c:43:
/lib/modules/2.6.7/build/include/linux/spinlock.h:246:1: warning: "write_unlock" redefined
In file included from /lib/modules/2.6.7/build/include/linux/spinlock.h:39,
                 from /lib/modules/2.6.7/build/include/linux/capability.h:45,
                 from /lib/modules/2.6.7/build/include/linux/sched.h:7,
                 from /lib/modules/2.6.7/build/include/linux/module.h:10,
                 from mga_vid.c:43:
/usr/include/asm/spinlock.h:201:1: warning: this is the location of the previous definition
In file included from /lib/modules/2.6.7/build/include/linux/capability.h:45,
                 from /lib/modules/2.6.7/build/include/linux/sched.h:7,
                 from /lib/modules/2.6.7/build/include/linux/module.h:10,
                 from mga_vid.c:43:
/lib/modules/2.6.7/build/include/linux/spinlock.h:252:1: warning: "read_unlock" redefined
In file included from /lib/modules/2.6.7/build/include/linux/spinlock.h:39,
                 from /lib/modules/2.6.7/build/include/linux/capability.h:45,
                 from /lib/modules/2.6.7/build/include/linux/sched.h:7,
                 from /lib/modules/2.6.7/build/include/linux/module.h:10,
                 from mga_vid.c:43:
/usr/include/asm/spinlock.h:200:1: warning: this is the location of the previous definition
In file included from /lib/modules/2.6.7/build/include/linux/capability.h:45,
                 from /lib/modules/2.6.7/build/include/linux/sched.h:7,
                 from /lib/modules/2.6.7/build/include/linux/module.h:10,
                 from mga_vid.c:43:
/lib/modules/2.6.7/build/include/linux/spinlock.h: In function `bit_spin_unlock':
/lib/modules/2.6.7/build/include/linux/spinlock.h:449: warning: implicit declaration of function `BUG_ON'
In file included from /lib/modules/2.6.7/build/include/linux/time.h:28,
                 from /lib/modules/2.6.7/build/include/linux/timex.h:186,
                 from /lib/modules/2.6.7/build/include/linux/sched.h:11,
                 from /lib/modules/2.6.7/build/include/linux/module.h:10,
                 from mga_vid.c:43:
/lib/modules/2.6.7/build/include/linux/seqlock.h: In function `write_seqlock':
/lib/modules/2.6.7/build/include/linux/seqlock.h:52: warning: implicit declaration of function `_raw_spin_lock'
/lib/modules/2.6.7/build/include/linux/seqlock.h: In function `write_sequnlock':
/lib/modules/2.6.7/build/include/linux/seqlock.h:61: warning: implicit declaration of function `_raw_spin_unlock'
/lib/modules/2.6.7/build/include/linux/seqlock.h: In function `write_tryseqlock':
/lib/modules/2.6.7/build/include/linux/seqlock.h:66: warning: implicit declaration of function `_raw_spin_trylock'
In file included from /lib/modules/2.6.7/build/include/linux/sched.h:15,
                 from /lib/modules/2.6.7/build/include/linux/module.h:10,
                 from mga_vid.c:43:
/lib/modules/2.6.7/build/include/linux/cpumask.h:6:25: asm/cpumask.h: No such file or directory
/lib/modules/2.6.7/build/include/linux/cpumask.h:7:21: asm/bug.h: No such file or directory
In file included from /lib/modules/2.6.7/build/include/linux/sched.h:15,
                 from /lib/modules/2.6.7/build/include/linux/module.h:10,
                 from mga_vid.c:43:
/lib/modules/2.6.7/build/include/linux/cpumask.h: At top level:
/lib/modules/2.6.7/build/include/linux/cpumask.h:11: error: syntax error before "cpu_online_map"
/lib/modules/2.6.7/build/include/linux/cpumask.h:11: warning: type defaults to `int' in declaration of `cpu_online_map'
/lib/modules/2.6.7/build/include/linux/cpumask.h:11: warning: data definition has no type or storage class
/lib/modules/2.6.7/build/include/linux/cpumask.h:12: error: syntax error before "cpu_possible_map"
/lib/modules/2.6.7/build/include/linux/cpumask.h:12: warning: type defaults to `int' in declaration of `cpu_possible_map'
/lib/modules/2.6.7/build/include/linux/cpumask.h:12: warning: data definition has no type or storage class
/lib/modules/2.6.7/build/include/linux/cpumask.h:13: error: syntax error before "cpu_present_map"
/lib/modules/2.6.7/build/include/linux/cpumask.h:13: warning: type defaults to `int' in declaration of `cpu_present_map'
/lib/modules/2.6.7/build/include/linux/cpumask.h:13: warning: data definition has no type or storage class
In file included from /usr/include/asm/smp.h:10,
                 from /lib/modules/2.6.7/build/include/linux/smp.h:17,
                 from /lib/modules/2.6.7/build/include/linux/sched.h:23,
                 from /lib/modules/2.6.7/build/include/linux/module.h:10,
                 from mga_vid.c:43:
/lib/modules/2.6.7/build/include/linux/ptrace.h: In function `ptrace_link':
/lib/modules/2.6.7/build/include/linux/ptrace.h:93: error: dereferencing pointer to incomplete type
/lib/modules/2.6.7/build/include/linux/ptrace.h: In function `ptrace_unlink':
/lib/modules/2.6.7/build/include/linux/ptrace.h:98: error: dereferencing pointer to incomplete type
In file included from /usr/include/asm/smp.h:17,
                 from /lib/modules/2.6.7/build/include/linux/smp.h:17,
                 from /lib/modules/2.6.7/build/include/linux/sched.h:23,
                 from /lib/modules/2.6.7/build/include/linux/module.h:10,
                 from mga_vid.c:43:
/usr/include/asm/mpspec.h: At top level:
/usr/include/asm/mpspec.h:205: error: `CONFIG_NR_CPUS' undeclared here (not in a function)
In file included from /usr/include/asm/smp.h:21,
                 from /lib/modules/2.6.7/build/include/linux/smp.h:17,
                 from /lib/modules/2.6.7/build/include/linux/sched.h:23,
                 from /lib/modules/2.6.7/build/include/linux/module.h:10,
                 from mga_vid.c:43:
/usr/include/asm/apic.h:88: error: `CONFIG_NR_CPUS' undeclared here (not in a function)
In file included from /lib/modules/2.6.7/build/include/linux/smp.h:17,
                 from /lib/modules/2.6.7/build/include/linux/sched.h:23,
                 from /lib/modules/2.6.7/build/include/linux/module.h:10,
                 from mga_vid.c:43:
/usr/include/asm/smp.h:34: error: conflicting types for `cpu_online_map'
/lib/modules/2.6.7/build/include/linux/cpumask.h:11: error: previous declaration of `cpu_online_map'
/usr/include/asm/smp.h:66: error: `CONFIG_NR_CPUS' undeclared here (not in a function)
/usr/include/asm/smp.h:66: confused by earlier errors, bailing out
distcc[6038] ERROR: compile on localhost failed
make[1]: *** [mga_vid.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre5/work/MPlayer-1.0pre5/drivers'
make: *** [all] Error 2

!!! ERROR: media-video/mplayer-1.0_pre5 failed.
!!! Function src_compile, Line 328, Exitcode 0
!!! Failed to build matrox driver!

My System: 

Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm avi berkdb cdr crypt cups dga directfb divx4linux encode evo f77 fbcon foomaticdb gb gd gdbm ggi gif gtk gtk2 icq imlib java jikes jpeg kde kerberos lcms libg++ libwww mad matrox mga mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg ncurses nls oggvorbis opengl pda pdflib perl pic png ppds python qt qtmt quicktime readline scanner sdl slang spell ssl svga tcltk tcpd tetex tiff truetype usb video_cards_matrox x86 xface xml2 xmms xv xvid zlib"
Comment 3 Chris White (RETIRED) gentoo-dev 2004-07-15 11:12:01 UTC
Re-opening bug but merely to RESOLVED UPSTREAM it.
Comment 4 Chris White (RETIRED) gentoo-dev 2004-07-15 11:14:23 UTC
I've tried all the patches that I've been sent, nothing seems to be working.  As is such and the fact that I don't have a matrox card, please post a bug and on bugzilla.mplayer.hq with the relevent information.  When you're done, post the tracking number here so I can track it and add any applicable patches to the build.  As they are very eager to get mga_vid working, you will probably get better results there.  Thanks again for the information :).
Comment 5 Norman Yarvin 2004-07-15 12:03:13 UTC
I'm using a Matrox card (G400), and it's working fine for me now (kernel module compiles fine, and videos play successfully using the xmga output driver, which uses that kernel module).  As I said, all that needed to be done was to remove the Makefile lines from the patch, and re-add the "epatch" line to the ebuild for 1.0_pre5 in the same place as it is in the ebuild for 1.0_pre4.

However, Matthias Muthmann's problem seems to be different: in his case, the compile can't even find /lib/modules/2.6.7/build/include/linux/version.h, and so it can't figure out the kernel version.  I think this is likely a problem with his kernel installation: he didn't compile the kernel, and so that file doesn't exist.  (It is created in the kernel build process; it doesn't exist in a freshly unpacked kernel.)

Incidentally, I think it would be a good idea to split off the kernel module entirely, into a different package (media-video/mplayer-kernel-drivers or something).  This is for two reasons: 1) the kernel module is a headache to compile, and will likely continue being so, yet it isn't really necessary for mplayer; it just makes image display a very tiny bit nicer, as compared to the normal Xv video output.  (As someone who has run mplayer both ways... well, let's just say I *thought* I could see a difference in image quality, but I wasn't really sure.)  And 2) the kernel module has to be recompiled each time one installs a new kernel, and it'd be nice to be able to do this without recompiling the whole of mplayer.

If this splitting-off is inappropriate for some reason, then it would at least be good if the ebuild would continue to install the rest of mplayer even if the kernel module didn't compile, rather than bombing out completely.
Comment 6 Matthias Muthmann 2004-07-16 04:57:48 UTC
I thought about  Norman Yarvin's answer and I think he was nearly right.
I forgot that I used koutput when I built the kernel ( I used the following doc: http://www.gentoo.org/doc/en/2.6-koutput-user.xml) because I needed this for another driver. My kernel output is in /var/tmp/kernel-output/2.6.7 but the package searches it in /usr/src/linux.

Btw: koutput seems to be correctly configured, because e.g.soubmount compiled fine with it.

I hope this helps.