[linux-dvb] compile problems on 2.6.29-rc1
e9hack
e9hack at googlemail.com
Tue Jan 13 21:55:15 CET 2009
e9hack at googlemail.com schrieb:
> 2009/1/12 e9hack <e9hack at googlemail.com>
>> I've problems to compile the current hg tree with some modifications on
>> linux 2.6.29-rc1.
>
>
> It seems, any included file like #include <media/....> uses the file from
> kernel source tree instead of the v4l-dvb tree.
Hi,
I could solve my compile problem with a little patch:
diff -r b09b5128742f v4l/Makefile
--- a/v4l/Makefile Mon Jan 12 22:50:52 2009 -0200
+++ b/v4l/Makefile Tue Jan 13 21:45:36 2009 +0100
@@ -161,6 +161,7 @@ ifeq ($(VERSION).$(PATCHLEVEL),2.6)
# Needed for kernel 2.6.24 or upper
KBUILD_CPPFLAGS := -I$(SUBDIRS)/../linux/include $(KBUILD_CPPFLAGS) -I$(SUBDIRS)/
+ LINUXINCLUDE := -I$(SUBDIRS)/../linux/include $(LINUXINCLUDE) -I$(SUBDIRS)/
In 2.6.28.1 LINUXINCLUDE is part of KBUILD_CPPFLAGS of the kernel. In 2.6.29-rc1
LINUXINCLUDE is part of the command line for gcc. LINUXINCLUDE is include before
KBUILD_CPPFLAGS.
Regards,
Hartmut
More information about the linux-dvb
mailing list