Re: compile problems on 2.6.29-rc1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



e9hack@xxxxxxxxxxxxxx schrieb:
> 2009/1/12 e9hack <e9hack@xxxxxxxxxxxxxx>
>> 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

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead linux-media@xxxxxxxxxxxxxxx
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux