[MPlayer-users] Mplayer drivers make error (RH8)
Dominik 'Rathann' Mierzejewski
dominik at rangers.eu.org
Thu Feb 12 21:45:05 CET 2004
On Thursday, 12 February 2004 at 21:16, Mike Warner wrote:
> I searched the archives and found this addressed a couple times, but each
> time the solution didn't help. The latest mga_vid.c and Makefile from the
> CVS repository didn't help, either.
>
> I'll start with the first error:
>
> Modversions.h isn't in the hardcoded directory, but rather in
> /usr/include/linux Should I have the kernel files also in
> /usr/include/linux/src/linux (or whatever the path from the Makefile is)?
> If so, should I just cp them from where they are now? (I'm relatively new
> to Linux, but not a total newbie)
>
> After that, there are tons of parse errors in mga_vid.c. Hopefully, they
> are related to the aformentioned error.
Try the attached patch. (patch -p0 within MPlayer's source directory)
--
MPlayer RPMs maintainer: http://greysector.rangers.eu.org/mplayer.html
"The Universe doesn't give you any points for doing things that are easy."
-- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
-------------- next part --------------
--- drivers/Makefile.r Fri Mar 7 19:42:08 2003
+++ drivers/Makefile Mon Oct 6 00:02:36 2003
@@ -1,5 +1,5 @@
-KERNEL_INCLUDES = /usr/src/linux/include
+KERNEL_INCLUDES = /lib/modules/$(shell uname -r)/build/include
INCLUDES = -I$(KERNEL_INCLUDES)
CFLAGS = -O2 -D__KERNEL__ -DMODULE -include $(KERNEL_INCLUDES)/linux/modversions.h -Wall
VERSION = $(shell grep UTS_RELEASE $(KERNEL_INCLUDES)/linux/version.h | cut -d '"' -f2)
More information about the MPlayer-users
mailing list